Hi,
I'm just trying to install a test instance of G2Alpha, and when I get to the authentication step, I create the login.txt and paste the code in it, and when i click on "Authenticate me" I get the following error: Fatal error: Call to undefined function: file_get_contents() in /var/www/html/gallery2/install/steps/AuthenticateStep.class on line 67
I thought it might have been a permissions/ownership error, so I changed the ownership to the same as all other files in the install directory, and even went up to chmod-ing login.txt to 777. unfortunately, that didn't work either. would anyone have any ideas as to what might be happening?
Thanks in advance for your help.
Posts: 5
It looks like your PHP version is too old.
The missing function "file_get_contents()" is introduced in PHP 4.3.0.
Posts: 7
According to php.net, file_get_contents was introduced in PHP 4.3.0 so there could be two options for Gallery:
1. Use another function so that older versions of PHP work with Gallery.
2. Change the Gallery README file to reflect that PHP 4.3.0 or newer is required, not PHP 4.1.0 or newer as is stated in the file now.
Posts: 13451
This has been fixed in CVS, but not in the Alpah tarball.
Posts: 239
I believe this was fixed a few days ago. If you download the newest copy from CVS, you should not have this issue anymore.
Posts: 7
Confirmed, with the CVS version I don't get this error. Thanks!