Author Topic: Moved to a new server, now cannot upload  (Read 20410 times)

0 Members and 1 Guest are viewing this topic.

Offline BigBlueBall

  • Newbie
  • *
  • Posts: 47
    • View Profile
Re: Moved to a new server, now cannot upload
« Reply #15 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?

Offline thehammer

  • Newbie
  • *
  • Posts: 21
    • View Profile
    • DigitalWhisper
Re: Moved to a new server, now cannot upload
« Reply #16 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...



Offline BigBlueBall

  • Newbie
  • *
  • Posts: 47
    • View Profile
Re: Moved to a new server, now cannot upload
« Reply #17 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'


Offline thehammer

  • Newbie
  • *
  • Posts: 21
    • View Profile
    • DigitalWhisper
Re: Moved to a new server, now cannot upload
« Reply #18 on: December 27, 2006, 11:33:16 PM »
in admin control panel  (4images) YOU MUST have the phpinfo()... ;)

Offline BigBlueBall

  • Newbie
  • *
  • Posts: 47
    • View Profile
Re: Moved to a new server, now cannot upload
« Reply #19 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'

Offline thehammer

  • Newbie
  • *
  • Posts: 21
    • View Profile
    • DigitalWhisper
Re: Moved to a new server, now cannot upload
« Reply #20 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 ;)

Offline BigBlueBall

  • Newbie
  • *
  • Posts: 47
    • View Profile
Re: Moved to a new server, now cannot upload
« Reply #21 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?
« Last Edit: January 01, 2007, 07:34:01 PM by BigBlueBall »

Offline thehammer

  • Newbie
  • *
  • Posts: 21
    • View Profile
    • DigitalWhisper
Re: Moved to a new server, now cannot upload
« Reply #22 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 ;)

Offline BigBlueBall

  • Newbie
  • *
  • Posts: 47
    • View Profile
Re: Moved to a new server, now cannot upload
« Reply #23 on: January 04, 2007, 05:55:53 AM »