Advanced search  

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]

Pages: [1]   Go Down

Author Topic: stuck on install.php page  (Read 9594 times)

0 Members and 1 Guest are viewing this topic.

smilla

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
stuck on install.php page
« 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.



« Last Edit: September 13, 2005, 05:20:23 pm by Nibbler »
Logged

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: stuck on install.php page
« Reply #1 on: September 12, 2005, 06:20:20 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.
Logged

Nibbler

  • Guest
Re: stuck on install.php page
« Reply #2 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.
Logged

artistsinhawaii

  • VIP
  • Coppermine addict
  • ***
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 856
    • evj art and photography
Re: stuck on install.php page
« Reply #3 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

Logged
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

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: stuck on install.php page
« Reply #4 on: September 12, 2005, 05:45:11 pm »

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

smilla

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: stuck on install.php page
« Reply #5 on: September 12, 2005, 05:47:21 pm »

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

Nibbler

  • Guest
Re: stuck on install.php page
« Reply #6 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.
Logged

smilla

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: stuck on install.php page
« Reply #7 on: September 12, 2005, 05:56:41 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?
« Last Edit: September 12, 2005, 07:25:52 pm by smilla »
Logged

Abbas Ali

  • Administrator
  • Coppermine addict
  • *****
  • Country: in
  • Offline Offline
  • Gender: Male
  • Posts: 2165
  • Spread the PHP Web
    • Ranium Systems
Re: stuck on install.php page
« Reply #8 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.
Logged
Chief Geek at Ranium Systems

smilla

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: stuck on install.php page
« Reply #9 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
Logged

Nibbler

  • Guest
Re: stuck on install.php page
« Reply #10 on: September 13, 2005, 04:56:37 pm »

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

smilla

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: stuck on install.php page
« Reply #11 on: September 13, 2005, 05:11:54 pm »

It's working now  8)

Thanks guys!! ;D
Logged

Aikidoka

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 5
Re: stuck on install.php page
« Reply #12 on: November 15, 2005, 04:50:23 am »

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.
Logged
Pages: [1]   Go Up
 

Page created in 0.024 seconds with 15 queries.