stuck on install.php page stuck on install.php page
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

stuck on install.php page

Started by smilla, September 12, 2005, 05:50:25 AM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

smilla

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.




Tranz

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.

Nibbler

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.

artistsinhawaii

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

Learn and live ... In January of 2011, after a botched stent attempt, the doctors told me I needed a multiple bypass surgery or I could die.  I told them I needed new doctors.

smilla

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?

smilla

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

Nibbler

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.

smilla

#7
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?

Abbas Ali

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.
Chief Geek at Ranium Systems

smilla

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

Nibbler

mysqli is no good to coppermine, you need standard mysql.

smilla

It's working now  8)

Thanks guys!! ;D

Aikidoka

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.