newbie here.
i get a couple of warnings from setup page 1 but nothing looks fatal [netpbm seems to checkout (which is what i think is causing the problem)].
no red warning signs on page 4 of setup.
and then this:
Warning: Unable to create 'init.php/config.php': Not a directory in write.inc on line 10
Unable to write to init.php/config.php
also, here are the 3 gallery diagnostics results[notice error on NetPBM]:
PHP Version 4.0.1pl2
System Linux porky.devel.redhat.com 2.2.5-22smp #1 SMP Wed Jun 2 09:11:51 EDT 1999 i686 unknown
Build Date Aug 23 2000
Configure Command './configure' '--target=i386-redhat-linux' '--prefix=/usr' '--with-config-file-path=/etc' '--disable-debug' '--enable-pic' '--enable-inline-optimization' '--with-apxs=/usr/sbin/apxs' '--disable-static' '--with-exec-dir=/usr/bin' '--with-regex=system' '--with-gettext' '--with-gd' '--with-jpeg-dir=/usr' '--with-png' '--with-zlib' '--with-db2' '--with-db3' '--with-gdbm' '--enable-debugger' '--enable-magic-quotes' '--enable-safe-mode' '--enable-sysvsem' '--enable-sysvshm' '--enable-track-vars' '--enable-yp' '--enable-ftp' '--without-mysql' '--with-xml'
Server API Apache
Virtual Directory Support disabled
Configuration File (php.ini) Path /etc
ZEND_DEBUG disabled
Thread Safety disabled
Check NetPBM
This script is designed to examine your NetPBM installation to see if it's ok to be used by Gallery. It really should be integrated into the config wizard, but one thing at a time. You should run this script after you've run the config wizard, if you've had problems with your NetPBM installation that the wizard did not detect.
1. Loading configuration files. If you see an error here, it is probably because you have not successfully run the config wizard.
Warning: Wrong datatype in call to extract() in init.php on line 11
2. Let's see if we can figure out what operating system you're using.
This is what your system reports:
Linux minnesotathinktank 2.2.16-22 #1 Tue Aug 22 16:49:06 EDT 2000 i686 unknown
This is the type of system PHP was compiled on:
Fatal error: Call to undefined function: php_uname() in /home/todd/www/gallery/setup/check_netpbm.php on line 33
and the session tests works fine.
my hunch is that even though gallery setup finds netpbm, it isnt configured correctly. when i type 'whereis netpbm' on the linux box, nothing happens.
thanks.
Posts: 487
Hmm, only things I can think of off-hand is to make sure your gallery folders and files
are read/writeable by your httpd daemon.
Secondly, there is no binary named netpbm, try 'whereis pnmcut' instead.
Posts: 13
thanks vallimar.
is there a 'safe' chmod that i can use on the entire gallery folder [so it effects all of its subfolders]? i was carefull when installing but who knows.
Posts: 7994
Todbot, this is because you're using a very old version of PHP which has a bug with the __FILE__ directive. You can probably work around this particular issue by editting setup/init.php and change:
$GALLERY_DIR = dirname(dirname(__FILE__));
to:
$GALLERY_DIR = "/path/to/your/gallery";
but you're most likely going to have more problems because of the ancient version of PHP you've got. (4.0.1pl2 is almost two years old and there have been 8 releases of PHP since).
Posts: 13
thanks bharat.
ill try to get the new php installed first. . .sounds like i need an upgrade.
Posts: 13
i got bored and did the fix anyway.
its working fine for now [ill still install the new php and switch back the code]. thanks so much for your support. good advice in a timely manner.