problems installing Gallery 1.3.1
|
bobthesnake
Joined: 2002-10-18
Posts: 7 |
Posted: Fri, 2002-10-18 14:46
|
|
Hi, I installed gallery 1.3.1, I run configure.bat and secure.bat and when I launch it, that's what I get: Warning: Failed opening '../platform/fs_win32.php' for inclusion (include_path='') in c:phpgalleryinit.php on line 15 Fatal error: Call to undefined function: fs_file_exists() in c:phpgalleryinit.php on line 16 That's when I try on a local server (Apache 1.3.20, php 4.0.6, mysql 3.23.40) And I get a 500 error at this adress http://www.multimania.com/bobthesnake/gallery !!! Can someone please help me??? Thank you! |
|

Posts: 7985
Does the platform/fs_win32.php file exist in your gallery directory?
Posts: 7
fs_win32.php exists in my gallery directory, but I don't have any directories in it, should I have a directory called "platform" ?
Posts: 3473
> should I have a directory called "platform" ?
Yes!
/gallery/platform/ should contain: fs_unix.php and fs_win32.php
Your gallery directory should have the following subdirectories:
classes/, errors/, html/, html_wrap/, images/... okay... lots of directories.
Sounds like something didn't go right when you unpacked the original tarball. Perhaps you need to do this again.
-Beckett (beck@beckettmw.com)
Posts: 7
ok thanks, that's what I did and it seems to work on a local server, but on my web server, it doesn't, when I try to configure the gallery, I get a 500 internal server error at this adress: http://membres.lycos.fr/bobthesnake/gallery/setup/index.php
Does anyone know why? Here're all the informations about the server: http://membres.lycos.fr/bobthesnake/test.php
I ran config.php, as it's said in the readme file, chmod 777 .htaccess, chmod 777 config.php, chmod 755 setup!!!
I downloaded netpbm1.1-gallery1.0-linux2.2-redhat6.2-intel.tgz as the server system is Debian GNU/Linux, is that right?
Thanks in advance for your help
Posts: 3473
500 Server errors usually log a helpful message to your apache error_log.
What's the error?
Another thing to try is to remove /gallery/setup/.htaccess temporarily
-Beckett (beck@beckettmw.com)
Posts: 7
ok, thanks, now that I removed /gallery/setup/.htaccess I can enter the gallery setup, but I get these error messages:
1. Error: I can't find NetPBM at the location you provided. Gallery prefers NetPBM version 9.9 and up. You can install just the binaries Gallery needs from Gallery on SourceForge or, you can compile and install the entire NetPBM package from NetPBM on SourceForge. Note: You can install the binaries from the Gallery site even if you don't have root access on your box!
I have a lot of warning concerning files of netpbm, I don't know if there's something to od with it??? e.g.: Warning: stat failed for /ppmtojpeg (errno=2 - No such file or directory) in functions.inc on line 276
2. Error: Directory /gallery/album does not exist. Please create it.
Error: Directory /gallery/temp does not exist. Please create it.
I created the directories and the paths seem to be right!!! I don't know where I made a mistake!!!
Posts: 8194
You will need to specify absolute paths when using gallery. Absolute paths are like /home/user/public_html/gallery/tmp. You can't specify a URI type things in the paths for NetPBM and Gallery albums.
You may be able to specify gallery/temp or gallery/albums (without the slash), but I have not tried this and don't know if it works
Posts: 8194
Now that I look at your site, the command 'exec' has been disabled. You probably can't run Gallery useably, sorry :sad:
Posts: 7
Is it the server provider who disabled the exec command? If so, can you advise me of someone who provides free web servers where I can use gallery???
Posts: 8194
See the <!-- BBCode Start --><A HREF="http://gallery.sourceforge.net/wiki.php?page=Web%20Hosting%20Referral%20Page" TARGET="_blank">Web Hosting Referrals</A><!-- BBCode End --> :wink:
Posts: 7
Can you please give me an example of how to fill in absolute paths!!! I'm sorry about that stupid question, but I tried and tried and tried and it seems useless!!!
Is http://www.site.com/gallery/netpbm an absolute path for example???
You said I can't specify a URL type things in the paths for NetPBM and Gallery albums, so what am I supposed to type if it's not an URL???
Thanks in advance for your help!!!
Posts: 3473
No. Suppose your web directory lives on your computer at the location
/home/foo/web
Now suppose you put your netpbm directory inside your gallery directory. So it lives at
/home/foo/web/gallery/netpbm
So that's the absolute path, not http://www.site.com/gallery/netpbm, which is a URL.
You can find what your personal"/home/foo/web" is by making a file test.php in your main web directory. In it, type:
<?php echo $DOCUMENT_ROOT; ?>
Then run test.php from your browser.
-Beckett (beck@beckettmw.com)
Posts: 8194
An absolute path is a path on the local file system.. Please try what beckett suggested
Posts: 8194
Also, keep in mind that the 'exec' command is disabled. NetPBM won't be able to run--you might not want to waste your time because Gallery will not upload pictures without 'exec' turned on..
Posts: 7
Ok, thank you for your help, I just wanted to know what was wrong, I guess I just have to find another host for my pages!!! :cry: