4images Forum & Community

4images Issues / Ausgaben => Installation, Update & Configuration => Topic started by: BigBlueBall on October 01, 2006, 01:37:24 AM

Title: Moved to a new server, now cannot upload
Post by: BigBlueBall on October 01, 2006, 01:37:24 AM
I moved my website to a new server. The gallery still let's you signup and login, but when I try to upload a file I get "Error uploading image file:"

Similarly, when I try to move an existing image from one category to another, it changes the category, but both the image and the thumbnail now return the 404 image.

I've checked the most obvious problem -- file permissions -- and made sure the /data folder and contents are 777.

Any other ideas of where to look?
Title: Re: Moved to a new server, now cannot upload
Post by: thehammer on October 01, 2006, 11:36:46 AM
safe mode?
Title: Re: Moved to a new server, now cannot upload
Post by: BigBlueBall on October 01, 2006, 11:42:41 AM
safe mode?
Safe mode is off. Any other guesses?
Title: Re: Moved to a new server, now cannot upload
Post by: BigBlueBall on October 03, 2006, 07:14:54 PM
Anybody have any advice to offer?
Title: Re: Moved to a new server, now cannot upload
Post by: BigBlueBall on October 05, 2006, 04:04:03 AM
Also the captcha image doesn't appear. I've tried using both GD and ImageMagick (with the path "/usr/local/lib/ImageMagick-6.2.9") but neither makes a difference. I think the problem with uploading and moving images is related.
Title: Re: Moved to a new server, now cannot upload
Post by: BigBlueBall on October 12, 2006, 01:22:30 AM
Can anyone offer any suggestions? This problem has me stumped!
Title: Re: Moved to a new server, now cannot upload
Post by: BigBlueBall on October 15, 2006, 02:21:45 AM
Has 4images Gallery just sort of died? The user-to-user support here is disappointing. Can anyone recommend a gallery with better support?
Title: Re: Moved to a new server, now cannot upload
Post by: BigBlueBall on December 07, 2006, 06:55:29 AM
I'll try one last time.... any suggestions on this problem?
Title: Re: Moved to a new server, now cannot upload
Post by: kai on December 07, 2006, 11:53:01 AM
Please post a link to your gallery.

What version are you running?
Title: Re: Moved to a new server, now cannot upload
Post by: BigBlueBall on December 07, 2006, 04:42:02 PM
The site is http://www.messengermods.com

I'm running version 1.7.4 with the default template.
Title: Re: Moved to a new server, now cannot upload
Post by: kai on December 07, 2006, 05:14:49 PM
I'm running version 1.7.4 with the default template.

The footer shows
Quote
Powered by 4images 1.7.3
???
Title: Re: Moved to a new server, now cannot upload
Post by: BigBlueBall on December 07, 2006, 07:48:49 PM
Ok, my mistake. I can't reach the site from here (it's blocked by my office). 1.7.3
Title: Re: Moved to a new server, now cannot upload
Post by: BigBlueBall on December 12, 2006, 06:26:04 PM
So I guess the lack of help means that either:

1. No one has a clue what's wrong, or
2. No one cares.

This forum has not been good for support. It would be better just to shut it down if no one is going to help.
Title: Re: Moved to a new server, now cannot upload
Post by: thehammer on December 24, 2006, 12:33:41 AM
Hey BigBlueBall
there are strange characters on top : "  "
tipical of bad upload of PHP files...

I suggest to UPGRADE to v.1.7.4...

If tou don't have modified the original code... you dont have any problem.

take care for you ;)

Ciao!
Title: Re: Moved to a new server, now cannot upload
Post by: BigBlueBall on December 27, 2006, 01:09:21 AM
Thank you for the reply. When I first posted this topic, 1.7.4 was not yet out and I *had* just upgraded to the latest version (with no modified files). I'll try 1.7.4 tonight and let you know how it goes.
Title: Re: Moved to a new server, now cannot upload
Post by: BigBlueBall on December 27, 2006, 08:29:43 AM
Ok, I upgraded to 1.7.4 but had the same problem. I checked the config.php and found a problem, fixed that and now ALMOST everything is working. Uploads and downloads work fine, BUT... the CAPTCHA is still not displaying. Any clues on that?
Title: Re: Moved to a new server, now cannot upload
Post by: thehammer on December 27, 2006, 02:52:31 PM
the CAPTCHA is still not displaying. Any clues on that?

...check with phpinfo() ( Admin control Panel )  the modules installed if you cannot find the "FreeType Support enabled" under the GD session may be the cause...


Title: Re: Moved to a new server, now cannot upload
Post by: BigBlueBall on December 27, 2006, 03:46:56 PM
I don't even have a "GD Session" section when I run phpinfo()!

I'm running Redhat Linux, and the configure command looks like this:

 './configure' '--build=i686-redhat-linux-gnu' '--host=i686-redhat-linux-gnu' '--target=i386-redhat-linux-gnu' '--program-prefix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/usr/com' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--cache-file=../config.cache' '--with-config-file-path=/etc' '--with-config-file-scan-dir=/etc/php.d' '--enable-force-cgi-redirect' '--disable-debug' '--enable-pic' '--disable-rpath' '--enable-inline-optimization' '--with-bz2' '--with-db4=/usr' '--with-curl' '--with-exec-dir=/usr/bin' '--with-freetype-dir=/usr' '--with-png-dir=/usr' '--with-gd=shared' '--enable-gd-native-ttf' '--without-gdbm' '--with-gettext' '--with-ncurses=shared' '--with-gmp' '--with-iconv' '--with-jpeg-dir=/usr' '--with-openssl' '--with-png' '--with-pspell' '--with-xml' '--with-expat-dir=/usr' '--with-dom=shared,/usr' '--with-dom-xslt=/usr' '--with-dom-exslt=/usr' '--with-xmlrpc=shared' '--with-pcre-regex=/usr' '--with-zlib' '--with-layout=GNU' '--enable-bcmath' '--enable-exif' '--enable-ftp' '--enable-magic-quotes' '--enable-sockets' '--enable-sysvsem' '--enable-sysvshm' '--enable-track-vars' '--enable-trans-sid' '--enable-yp' '--enable-wddx' '--with-pear=/usr/share/pear' '--with-imap=shared' '--with-imap-ssl' '--with-kerberos' '--with-ldap=shared' '--with-mysql=shared,/usr' '--with-pgsql=shared' '--with-snmp=shared,/usr' '--with-snmp=shared' '--enable-ucd-snmp-hack' '--with-unixODBC=shared,/usr' '--enable-memory-limit' '--enable-shmop' '--enable-calendar' '--enable-dbx' '--enable-dio' '--enable-mbstring=shared' '--enable-mbstr-enc-trans' '--enable-mbregex' '--with-mime-magic=/usr/share/file/magic.mime' '--with-apxs2=/usr/sbin/apxs'

Title: Re: Moved to a new server, now cannot upload
Post by: thehammer on December 27, 2006, 11:33:16 PM
in admin control panel  (4images) YOU MUST have the phpinfo()... ;)
Title: Re: Moved to a new server, now cannot upload
Post by: BigBlueBall on December 28, 2006, 08:23:48 AM
in admin control panel  (4images) YOU MUST have the phpinfo()... ;)
I do have phpinfo() -- that's not the problem. As I stated in my last message, when I run phpinfo(), there is no section labeled 'GD Session'
Title: Re: Moved to a new server, now cannot upload
Post by: thehammer on December 28, 2006, 04:11:16 PM
use the script attached to test...

on my server the result is this:

Quote
GD Version: bundled (2.0.28 compatible)
FreeType Support: Enabled
FreeType Linkage: Enabled
T1Lib Support: Disabled
GIF Read Support: Enabled
GIF Create Support: Enabled
JPG Support: Enabled
PNG Support: Enabled
WBMP Support: Enabled
XBM Support: Enabled
JIS-mapped Japanese Font Support: Disabled

and all run ok ;)
Title: Re: Moved to a new server, now cannot upload
Post by: BigBlueBall on January 01, 2007, 06:40:12 PM
I get a blank screen when I run that script. Just to make sure there was nothing wrong, I added  echo "GD test"; -- Now that's all I get. Now what?

It appears that GD was not properly installed -- though I thought it was built into PHP now. Do I need to recompile PHP to get GD support?
Title: Re: Moved to a new server, now cannot upload
Post by: thehammer on January 02, 2007, 11:03:44 AM
It appears that GD was not properly installed -- though I thought it was built into PHP now. Do I need to recompile PHP to get GD support?

that was the problem....
Now you must recompile php ( or answer to your ISP to do that ) to use it...

Happy new year ;)
Title: Re: Moved to a new server, now cannot upload
Post by: BigBlueBall on January 04, 2007, 05:55:53 AM
Ok, I added GD support, thanks to http://www.cyberciti.biz/tips/add-php-gd-support-on-a-linux-server-with-plesk.html
Title: Re: Moved to a new server, now cannot upload
Post by: thehammer on January 05, 2007, 11:44:50 PM
Ok, I added GD support, thanks to http://www.cyberciti.biz/tips/add-php-gd-support-on-a-linux-server-with-plesk.html

 :lol: :lol: :lol: :lol: :lol: :lol: :lol:

thanks ;)