install.php just reloads install.php just reloads
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

install.php just reloads

Started by mumblingsages, September 03, 2004, 03:12:07 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

mumblingsages

I have a windows XP machine with Apache 2.0, MySQL 4.0.20D, PHP5, and CPG 1.32. When I try to run the install.php with the values below, all it does is simply reload. I have uncommented the line in the php.ini file for register_long_arrays = On and it still does not work. phpMyAdmin is able to connect to my MySQL server and I can see databases and tables just fine. Any other suggestions? If you want you can try to connect to it at http://theparrys.myphotos.cc:9090/cpg132

Form Values:
username: root     password: ******
MySQL Host: ringneck
MySQL Db Name: coppermine
MySQL Username: root
MySQL Password: ******
MySQL table prefix: cpg132_

ImageMagick path: c:/program files/imagemagick



Joachim Müller

you shouldn't work as root - create a user with less permissions for mySQL. The folder where ImageMagick resides shouldn't contain spaces. Your server is not configured to look for index.php and display it once the folder is browsed.
All those issues are probably not related to the troubles you're having though, but it leads to the conclusion that your server is far from being set up properly. Not sure what to recommend. If you're being sent to the installer after having run it once, the script probably wasn't able to create the file config.inc.php within the include folder - you haven't set permissions accordingly.
In my opinion the least of your problems is coppermine not being running, since such an improperly configured server on the internet will be hacked in no time, I guarantee that.

Joachim

mumblingsages

First thanks for the help, I do appreciate it.  While waiting for someone to reply I found Gallery http://gallery.menalto.com/index.php which took all of 15min to setup. They had a FAQ on imagemagick needing to be in a dir that didn't contain spaces (Who woulda thunk you needed to specify a value other than the default! - come 'on half the time you do that in an installer the software breaks!). Anyway that issue has been resolved. Also resolved is the index.php not loading by just browsing to the directory. Niether of these fixed my problem however. As for the directory permissions, Copppermine was extracted to the document root dir using the same ID as the apache server is running under. Being that this is a windows xp home box, I don't believe I have a problem with permissions. Could it be possible for the install.php script to maybe keep a log of where its dying, or possibly spit out an error message? I'd really like to get this up and running and compare it side by side with Gallery.

BTW: I know there are a fair number of nOObs that have tried to set this up, but assuming that I am one and that the server isn't properly setup because I am currently using root just to get things working isn't accurate and certainly isn't how I intend to leave it.

kegobeer

There have been a number of issues with PHP5 and Apache 2.xx on Windows boxes, not just here but in other apps as well.  The set up process for PHP5 is a bit different than previous versions, and if it isn't set up just right all sorts of problems can happen.  I do know that everyone who has had problems like this were ok after removing PHP5 and installing PHP4.

Not a solution, but I figured you'd want to know that.
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

mumblingsages

I switched to PHP4 and all seems to be working now.

mumblingsages

Not sure I'd count switching back to php 4 as "solving the problem"

LordWolf

I have the same issues.
Well, my php.ini and server are set up just fine (server was the easiest, php.ini -after upgrading from 4 to 5- has been tweaked during a two-week period after installing and running scripts and solving the troubles they ran into).
However, I can't go back to php 4, my current site is depending on scripts that required php5 to be set up, which is the reason I upgraded to php5 in the first place.
A few days back I downloaded Copermine, and have been trying to get past the installation script ever since.
This is one of the posts that I found in the search after I found another post where it was said to search for php5 to find the solution, and I still have a bunch to look into, hopefully one of them will have anything else than going back to php4, register_globals on (which is a security flaw AND wrong), and I already have register_long_arrays = On in my php.ini, so that isn't the issue with me as well.

Right... back to plowing through loads of posts, hoping for a useful solution.

Joachim Müller

There have been posts on this board (and others as well) that recommended to turn register_globals on, but those users who posted this are just wrong - as LordWolf already posted it's a security risk to do so and it's not necessary (won't fix any issues with coppermine and PHP5). MInd you, this is a board open to everyone, so of course there may be postings that are incorrect, as they only express the opinion of a particular user.
In my experience,  register_long_arrays = On should do the trick (remember to restart the webserver service to make this change come into effect). You could as well try the devel version of coppermine (cpg1.4.0), which has only php5 standards compliant short server vars ($_SERVER), but remember that the devel version goes unsupported, use it at your own risk (it's not recommended for production sites yet, but using PHP5 isn't recommended either - I'd still consider it "experimental", no matter what the PHP group says).

Joachim