Fatal Error:Failed opening required 'Version.php'(include_pa

lori

Joined: 2002-10-11
Posts: 5
Posted: Fri, 2002-10-11 22:37

This is the error I've received. I had to FTP gallery to the host server. PHP 4 is supposed to be on the server. I have only FTP access to the server.

 
alindeman
alindeman's picture

Joined: 2002-10-06
Posts: 8194
Posted: Fri, 2002-10-11 22:44

Have you been following the README? What version of Gallery, PHP, Apache are you using? Any other problems? Anything go strange while uploading? How far do you get..is this in the configuration phase? Which page is this on? We need more details to be able to help you!

 
lori

Joined: 2002-10-11
Posts: 5
Posted: Fri, 2002-10-11 22:54

Apache 1.3.20, PHP 4, Gallery v1.3.1. I have followed the README explicitly. I was attempting to start the configuration process by going to the gallery url. The remainder of the error /....../init.php on line 84.

 
alindeman
alindeman's picture

Joined: 2002-10-06
Posts: 8194
Posted: Sat, 2002-10-12 00:41

Have you configured gallery by going to http://your.server/gallery/setup/index.php ???

 
lori

Joined: 2002-10-11
Posts: 5
Posted: Sun, 2002-10-13 21:34

In continuing to read the board, I renamed the.htaccess file in the setup directory as stated in FAQ C. This allowed me to run the configuration. However, now this is the error that I get: Fatal error: Failed opening required '../Version.php' (include_path='.:') in /...user.../gallery/setup/confirm.inc on line 15

 
alindeman
alindeman's picture

Joined: 2002-10-06
Posts: 8194
Posted: Sun, 2002-10-13 21:47

Are you sure you configured gallery correctly (with all the correct paths)

 
lori

Joined: 2002-10-11
Posts: 5
Posted: Sun, 2002-10-13 21:52

Yes, however, this is the same error, except for the calling page that I received when I tried to access via the gallery URL for the initial configuration. What is the purpose of the version.php. Is that a file that is a part of gallery?

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7985
Posted: Mon, 2002-10-14 00:15

Version.php is a necessary part of the application that comes in the .tar.gz file.
It also must have a capital V. Make sure that you have it in your distribution.

 
lori

Joined: 2002-10-11
Posts: 5
Posted: Mon, 2002-10-14 00:22

I have completely removed gallery from the web server and then uploaded it again and now all is fine. I still had to not use the .htaccess in the setup folder, but I got it loaded. Now to try and upload photos.