coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Installation & Setup => Topic started by: smilla on September 12, 2005, 05:50:25 AM

Title: stuck on install.php page
Post by: smilla on September 12, 2005, 05:50:25 AM
When I click "Let's Go" after entering all my user info, all I see is the coppermine banner on a blank page.

I have the following:

Apache 2
ImageMagick 6.2.4
MySQL 4.1
Windows XP

I'm not sure how to "chmod" the directories in windows xp (or if that's necessary).

What does the mySql database need in order to be used by coppermine (I have a database, but no tables in it)? I have a feeling that this is where the problem lies (database setup). But am not sure what is needed. ( BTW  I've created a user other than root that has access to this db. )

I've also done the following:

in the php.ini file (was php.ini_recommended) changed register_long_arrays to "on".
register_long_arrays = on

And I made sure there are no spaces in the path to imagemagick.



Title: Re: stuck on install.php page
Post by: Tranz on September 12, 2005, 06:20:20 AM
Quote from: smilla on September 12, 2005, 05:50:25 AM
I'm not sure how to "chmod" the directories in windows xp (or if that's necessary).

http://coppermine-gallery.net/tutorial/permissions/iis.php

The installation process would create the tables for you.
Title: Re: stuck on install.php page
Post by: Nibbler on September 12, 2005, 09:52:45 AM
What version of PHP are you using ?
Have you verified that MySQL is working properly and working with PHP properly ? test page? phpinfo() ?

Note: You likely won't have IIS permissions to set if you are using apache.
Title: Re: stuck on install.php page
Post by: artistsinhawaii on September 12, 2005, 10:31:36 AM
The same thing happened to me, but I can't say with certainty that this will work for you as well.

When I looked into the database I had created, I noticed that the install had indeed created all the tables I needed.   Further investigation showed that I had a corrupt init.inc.php file so I downloaded a fresh copy of Coppermine.  Uploaded the init.inc.php  file into the "include" folder of my setup and that fixed it.

Dennis

Title: Re: stuck on install.php page
Post by: smilla on September 12, 2005, 05:45:11 PM
Quote from: Nibbler on September 12, 2005, 09:52:45 AM
What version of PHP are you using ?
Have you verified that MySQL is working properly and working with PHP properly ? test page? phpinfo() ?

Note: You likely won't have IIS permissions to set if you are using apache.

I'm using php 5.0.5. What should I look for in PHP info to see if SQL is working properly?
Title: Re: stuck on install.php page
Post by: smilla on September 12, 2005, 05:47:21 PM
Quote from: madeinhawaii on September 12, 2005, 10:31:36 AM
The same thing happened to me, but I can't say with certainty that this will work for you as well.

When I looked into the database I had created, I noticed that the install had indeed created all the tables I needed.   Further investigation showed that I had a corrupt init.inc.php file so I downloaded a fresh copy of Coppermine.  Uploaded the init.inc.php  file into the "include" folder of my setup and that fixed it.

Dennis



I used MySQL administrator to create a new database. I checked the database and there were no tables. I'm not quite sure what I need to do for this...
Title: Re: stuck on install.php page
Post by: Nibbler on September 12, 2005, 05:53:53 PM
Check the phpinfo for 2 things:

1) Check that the change for enabling register long arrays has really taken.
2) Check for a full mysql section.
Title: Re: stuck on install.php page
Post by: smilla on September 12, 2005, 05:56:41 PM
Quote from: Nibbler on September 12, 2005, 05:53:53 PM
Check the phpinfo for 2 things:

1) Check that the change for enabling register long arrays has really taken.
2) Check for a full mysql section.


Register long arrays is on.

I see a SQLlite section (??), but no mySQL section! Is there anything I should be looking for to fix this?
Title: Re: stuck on install.php page
Post by: Abbas Ali on September 13, 2005, 02:47:37 PM
It seems that MySql is not installed on your server and Coppermine only works with MySql. So you will need to ask your web host to install MySql on the server and only then you will be able to install and use Coppermine.
Title: Re: stuck on install.php page
Post by: smilla on September 13, 2005, 04:41:35 PM
I now get the following on the test page:
mysqli
MysqlI Support   enabled
Client API version    4.1.7
MYSQLI_SOCKET    /tmp/mysql.sock

Directive   Local Value   Master Value
mysqli.default_host   no value   no value
mysqli.default_port   3306   3306
mysqli.default_pw   no value   no value
mysqli.default_socket   no value   no value
mysqli.default_user   no value   no value
mysqli.max_links   Unlimited   Unlimited
mysqli.reconnect   Off   Off
Title: Re: stuck on install.php page
Post by: Nibbler on September 13, 2005, 04:56:37 PM
mysqli is no good to coppermine, you need standard mysql.
Title: Re: stuck on install.php page
Post by: smilla on September 13, 2005, 05:11:54 PM
It's working now  8)

Thanks guys!! ;D
Title: Re: stuck on install.php page
Post by: Aikidoka on November 15, 2005, 04:50:23 AM
Quote from: Nibbler on September 13, 2005, 04:56:37 PM
mysqli is no good to coppermine, you need standard mysql.

The mysql calls can all be changed to their mysqli equivalent and it will work.