When I run the installation script, I am prompted to enter the Admin account information, along with the information needed to connect to the database. After I fill in the fields and click the "submit" button, Coppermine just sits there for about a quarter of a second, and returns me to the initial installation screen, with none of the information saved.
I have Apache 2.0.49, PHP 5.0RC3, and MySQL 4.0.15a
The admin account will be created on install -it'll be your coppermine admin account once the install has been run successfully. You can make up a username and password.
BUT: the mySQL info needed on install can't be made up, you have to provide the info you currently have (you should have received them from your webhsot).
If you think you have filled in all necessary information, but the installer just doesn't work for you, post a screenshot of the page the installer sends you to after submitting (with the browser's address bar visible on the screenshot).
GauGau
Quote from: GauGau on June 22, 2004, 10:44:04 AM
The admin account will be created on install -it'll be your coppermine admin account once the install has been run successfully. You can make up a username and password.
BUT: the mySQL info needed on install can't be made up, you have to provide the info you currently have (you should have received them from your webhsot).
If you think you have filled in all necessary information, but the installer just doesn't work for you, post a screenshot of the page the installer sends you to after submitting (with the browser's address bar visible on the screenshot).
GauGau
I
know that the MySQL information is correct, because I happen to
be root on the web server. Here is the screen shot showing what I have after I submit the information.
[attachment deleted by admin]
OK, there's another window behind the one the screenshot shows that is labelled "Failure in Installation" that seems more interessting. Could you show that one as well?
GauGau
P.S. How is the fact that you are root on the server related to correct mySQL settings?
Quote from: GauGau on June 23, 2004, 05:18:26 AM
OK, there's another window behind the one the screenshot shows that is labelled "Failure in Installation" that seems more interessting. Could you show that one as well?
GauGau
P.S. How is the fact that you are root on the server related to correct mySQL settings?
That is just a tab that shows this message board, and this thread. As to the relation between my being root and correct MySQL settings, I set up both the user that Coppermine would be using and the database that would be used. I checked and double-checked my spelling.
hm, let's check your server config: Does it allow the post method (for forms)? Do you have any other app that uses mySQL up and running on it?
GauGau
Quote from: GauGau on June 23, 2004, 05:59:03 AM
hm, let's check your server config: Does it allow the post method (for forms)? Do you have any other app that uses mySQL up and running on it?
GauGau
Yes, the post method is allowed. I have two instances of FUD Forum running here, and I also succesfully tested PHPNuke. The forums are working well.
try running the sql commands in the sql folder manually and create a file include/config.inc.php (refer to the sample file in the include folder). Maybe you can set this up manually.
GauGau
Quote from: GauGau on June 24, 2004, 09:23:56 PM
try running the sql commands in the sql folder manually and create a file include/config.inc.php (refer to the sample file in the include folder). Maybe you can set this up manually.
GauGau
I'll give it a try. I'm also attaching a couple warings that I saw in Apache's error log.
client 66.15.105.41] PHP Notice: Undefined index: PATH_TRANSLATED in /usr/local/apache2/web_pages/something/Gallery/install.php on line 25, referer: http://www.something.com/something/Gallery/install.php
[client 66.15.105.41] PHP Notice: Undefined offset: -1 in /usr/local/apache2/web_pages/something/Gallery/install.php on line 26, referer: http://www.someplace.com/something/Gallery/install.php
Ok, enough of the nonsense here..
I came on here to look for answers to the same question.
Then on editing install.php, you can see that it checks for count($HTTP_POST_VARS) in order to create the tables, and if you are using php5, the HTTP_POST_VARS might not be the same as php4 .. whatever the reason is, if you go through the installer file and change all instances of HTTP_POST_VARS to just _POST, the installer should work.
well, you're not supposed to use PHP5 anyway afaik, since it's still beta and not meant for use on live production sites. Has this changed lately?
GauGau
You need register_long_arrays to be enabled to use the old style HTTP_POST_VARS with PHP 5 apparently, check that.
Hi ChrisBradford,
How did it go? My problem is similar to yours but I'm still not getting anywhere.
Dear GauGau,
Did you find a solution to this PHP 5, Apache 2 problem? I looks like everyone with with these packages installed, experience the same problem. I think that PHP 5.0.1 is supposed to be a safe release for all to use. I guess it is a difficult problem to solve. Hope you can find a solution. Here is my link for in case you need it: http://www.notathing.com/coppermine/install.php
did you do what Nibbler suggested?
Joachim
Yes, I made that one change.
ok, my question should have been "did you do what Nibbler suggested, and if yes: did it help?"
Joachim
Yes, I did what Nibbler said, and no, it did not help. Should I do what Miklos say?
yes, give it a try.
Joachim
After changing HTTP_POST_VARS to just _POST, the script ran, but I cannot log in. I get the following: Warning your browser does not accept script's cookies. I have enabled all cookies in my browser.
(I did NOT change HTTP_SERVER_VARS to _SERVER)
Hi GauGau,
I have changed ALL the occurances of $HTTP_*_VARS to $_* . It took me a few hours to do it, so if you need the zip-file, let me know: http://www.notathing.com/contact/contact.htm. It seems to be working beautifully, except when I try to Batch add files: 404 Can't read that file. I think this is because I have moved everything from C-drive to D-drive.
Please tell me where I can change the path from c:/imagemagick/ to d:/imagemagick/
you change the path by clicking on "config" in the admin menu, not in a file, but this can not be the reason for a 404 error. Thanks for offering to let us have the files, but short vars are already in the devel version of coppermine.
Joachim
Thanks for the help Joachim,
How can I get rid of the 404 (can't read that file) errors? Is there a version under development that I can use already?
Hennie
you're free to check out the devel version from the cvs, but you have to be aware that the devel version comes without any support.
Joachim
Thanks, I'll give it a try. I found the following link: http://cvs.sourceforge.net/viewcvs.py/coppermine/devel/
Is there an FTP link or a way to download the files all at once?
(The notification of new posts is not working at the moment.)
Thanks,
Hennie
You can try using CVS. It would also make it easier to get your files synchronised as the developers update them. http://sourceforge.net/cvs/?group_id=89658
It's working beautifully - thanks!!!!!!!! I had to reinstall coppermine and add all the pics again, because I just couldn't get rid of the 404 errors. It has something to do with the database. I was not able to do a clean install and then insert my old database values into MySQL, without getting serious errors.
Here's how to get the 1.4.0 Alpha release if you have Windows:
1. Install TortoiseCVS. http://tortoisecvs.sourceforge.net/
2. Command Prompt to where cvs.exe is installed.
3. Type: cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/coppermine login
4. Press enter twice.
5. Type: cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/coppermine checkout devel
Maybe you don't need step 3. The version I've got (29 September 2004), seem to be very stable. There is one small problem though: Only the Default theme is available.
Thanks Joachim and TranzNDance for the help and for the excellent software.
Hennie
I made the same mistake and included 'login'
It should just be
cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/coppermine
All themes (http://cvs.sourceforge.net/viewcvs.py/coppermine/devel/themes/)should be available.
Try running another 'CVS Update'.
That's great that you enjoy the software. :)
See this post by nibbler, which has a screenshot of the tortoise login page for the dev module. Makes it dead easy to do;
http://forum.coppermine-gallery.net/index.php?topic=9994.msg44991#msg44991
1. Sorry, the Themes are working perfectly. (Config)
2. Nibblers post looks better. You have to right-click and choose "CVS Checkout" to get that screen.
3. If somebody needs some cheering up: http://www.notathing.com/coppermine/
Have a good one,
Hennie ;D