I downloaded the latest 3 nightly builds but when trying to install G2, I always receive the following error :
Warning: main(/home/[username]/public_html/gallery/install/GalleryStub.class): failed to open stream: No such file or directory in /home/[username]/public_html/gallery/install/index.php on line 42
Fatal error: main(): Failed opening required '/home/[username]/public_html/gallery/install/GalleryStub.class' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/[username]/public_html/gallery/install/index.php on line 42
I browsed through several treads with almost the same error to no avail. I also chmod'ded all files and folders (to 777) but this also does not solve the error.
Any idea's ?
Kind regards,
DrBob
----
Gallery URL (optional):
Gallery version: G2 Built of 1-9-2005
Webserver (with version): Apache 1.3.33 (Unix)
Datatabase (with version):MySQL 4.0.22-standard
PHP version (eg 4.2.1):4.3.10
phpinfo URL (optional):
Graphics Toolkit(s):
Operating system:
Web browser/version:
Posts: 8601
does the GalleryStub.class file exist? the installer will verify you have all the required files, but if you're missing some files for the installer then there isn't much we can do!
Posts: 20
Yes it exists (and the path is correct). I used the same files and installed gallery on my Windows system without any problem.
Posts: 7994
Hm, ok. Let's write some PHP to figure out what's going on.
Try this:
<?php
system("ls -al /home/[username]/public_html/gallery/install");
?>
(put that in a file, then open that file in your browser). What do you see? If the files are there and have the right permissions then we should see a directory listing. If not try tweaking the path (maybe drop the "install" part and see if you can get a directory listing of the gallery dir).
Posts: 20
The problem has been solved. The FTP tool used had transformed all filenames to lowercase characters instead of preserving case.
I still have to get used to unix being case-sensitive