After struggeling with the mysql support in php the installer stops at step 6.
The installer does not give a error and the progress bar freezes at 55%
Already used the search but no results...
Please help!
----
Gallery URL (optional):
Gallery version:2 beta
Webserver (with version):IIS6
Datatabase (with version):MYSQL 4.1.11 (win32)
PHP version (eg 4.2.1):PHP 5.0.4.4
phpinfo URL (optional):
Graphics Toolkit(s):
Operating system:XP Professional
Web browser/version:IE^6
G1 version (for migration bugs):
Posts: 7994
Hrm. What version of G2 are you using? If you're using 2.0 beta 1, you should try a latest nightly snapshot, since we've added a great deal if improvements since beta 1.
Posts: 1
Im also stuck at Step 6. I'm trying to install beta 2 on IIS. It does see if there is a file there named config.php but nothing happens when I push the "create config file" link.
I'm suspecting it has something to do with permission to write to the config.php file. Does anyone have a clue here?
Posts: 7994
Can you elaborate on "nothing happens" ? Is it that the page reloads but you don't get any errors?
Posts: 1
I was having the same problem -- in my case it was permissions. I have apache running under the SYSTEM user, but, my user account created the file. I changed the permission so it was readable by that account and it worked. (I'm running Windows XP - I had to enable the file security properties by going to Tools (in Explorer)->Folder Options->View and uncheck "Use simple file sharing (Recommended)". Then right click on the file and pick properties and you should have a tab to set permissions).
The way the code is written is it squishes the real error. If you have trouble, edit gallery2\install\steps\CreateConfigFileStep.class Look for
if (!$out = @fopen($configFilePath, 'w')) {
And remove the @ before the call to fopen. The next time you execute step 6, it should spit out an error.
This step relies on the PHP call to is_writable, which appears to return the incorrect information. (Its possible its a php bug- see http://us3.php.net/is_writable
-neil
Posts: 7994
Hrm. Ok, so PHP is lying to us. Damn you, PHP!
I added a better error message in this case to give people a clue where to start looking to resolve this.