[SOLVED] error installing G2 first step

DrBob
DrBob's picture

Joined: 2005-01-09
Posts: 20
Posted: Sun, 2005-01-09 21:29

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:

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Sun, 2005-01-09 22:03

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!

 
DrBob
DrBob's picture

Joined: 2005-01-09
Posts: 20
Posted: Mon, 2005-01-10 06:49

Yes it exists (and the path is correct). I used the same files and installed gallery on my Windows system without any problem.

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Mon, 2005-01-10 07:40

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).

 
DrBob
DrBob's picture

Joined: 2005-01-09
Posts: 20
Posted: Mon, 2005-01-10 09:43

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 :-)