Halt after input of Install.php Halt after input of Install.php
 

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

Halt after input of Install.php

Started by walmslsj60, January 10, 2005, 05:01:39 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

walmslsj60

Hi and thanks for your help!
I am experiencing an issue at setup that I cant correct at the moment.  I have installed 1.3.2 as part of a package to develop a personal website for future use.  The package is a localhost to practice, learn, and implement a future website. 

The package includes: 
Win XP sp2
MySQL 4.1.8-nt
Apache2
PHP5.0.3.3
Filezilla and server
lastest imagemagick (release)
and latest Coppermine: 1.3.2. 

All components are up and running and pass tests (ie.  PHP 5 test script through localhost).  I have implemented a MySQL database through it's admin GUI  and set user id/password with permissions.  I downloaded Coppermine and extracted to c:/, then uploaded via ftp to my localhost (on the same computer) and chmod the album and include files to 777 (and later tried 755) via the ftp program.

I type in http://localhost/mydirectorynameforcoppermine/install.php and the first setup page runs.

I enter the appropriate data:  ie. admin name and password (i assume these are new- to be created for coppermine), localhost, and user name and password for the MySql user account previously created. 

After clicking the post button at the bottom of the form, the form clears and resets to the empty form.  I'm a bit stumped by this, and cant seem to resolve this issue.  Any help is greatly appreciated!

THANKS! :)

pS...I am a newbie to all this webserver-programing-computer stuff....so i might be missing something really simple!


kegobeer

First, you need to verify you have PHP5 correctly set up to handle long arrays.  You need to enable register_long_arrays in your php.ini file.  I'm guessing you also haven't enabled GD in your php.ini file.  Do that while you are in there.  You also need to make sure you are using the mysql extensions and not the mysqli extensions.  PHP5 doesn't enable mysql out of the box.

Second, there are posts about blank pages during the install process.  You should search and see if those solutions help you.

Third, there is no chmod when dealing with Windows.  That is a *nix feature.  You will have to set read/write permissions using Windows Explorer.

Fourth, have you verified that ImageMagick is running correctly?

Fifth, why do you FTP files to your own computer?  Try "copy" and "paste".  Works much quicker.

Sixth, if you plan on using Coppermine, you should download phpMyAdmin so you administer your MySQL database(s).

You should do some searching on Google and read all that you can about running your own server, and how to properly set it up and administer it.  I hope you don't plan on letting the world use it, it's just a bad idea.  All the stuff I've read, written by the pros, stress that a home server should be used as a test bed and not a production site.  Just way too many risks associated with it.

Oh, and take a peek at the documentation before you dive into Coppermine.  It will save you a lot of headaches.
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

walmslsj60

Thanks....set long arrays done. 
Why enable GD if docs say GD OR Imagemajick must be installed?  I installed IM instead.

did not see the posts for install, but apparently didnt look well enough, looked again and found a specific one that may help.  Yes, there is no chmod in windows, but in being anal, and the docs repeatedly say to do so, i was following specific protocol for uploading via ftp on the same machine and attempting to set permissions that way.  Especially since the same problem occured after a copy and paste and permissions change.

Imagemajick works fine.

I did look at coppermine docs, several times, and no, i wouldnt set up my server for access to the world, it's just a practice, learn, and implement (ie...clone) of what would be used in the real world.  I plan on utilizing a paid professional hosting service to set up on the web (with appropriate sucurity, etc)

thanks again!  ....as soon as i try this again....i'll post in a few days.

kegobeer

Reasons to install GD:


  • GD comes bundled with PHP, it's always a good idea to enable it.  Just uncomment a line and restart Apache and wham! GD working perfectly.
  • ImageMagick can be difficult to get running correctly in Windows, which will cause seemingly unrelated issues in Coppermine.
  • There also is very little difference between the two (GIF support is back in GD 2.0.28+, but Coppermine 1.3.2 doesn't support GD/GIF out of the box - but there's a mod to allow it)
  • It's always good to have a fallback option in case ImageMagick stops working.

If you run into uploading errors, the first thing to do is switch to GD2 and try again.  It's nice to have that option, right?
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

bluemercury

i had the exact same problem. i had to copy the libmysql.dll from the /mysql/bin/ folder to the /windows/system32/ folder as well as what kegobeer say. or the php_mysql.dll would not load.

kegobeer

If you follow the Windows install instructions at php.net, and you add the path variable, then you don't have to move anything around.
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

steverobbins

If you are having trouble setting up a webserver at home, try these guys....

http://www.apachefriends.org/en/xampp.html

I set up a windows based apache / php / mysql / filezillaftp in 20 minutes.

This set up comes with all the above in one easy set up package, it takes away all the hassle and leaves you time to do the creative stuff instead of dancing with the server setup.  They have installs for just about every OS you would want, and it's free!

Best Regards
Steve Robbins.

New10x

I had the same software setup and the same Coppermine problem.  When I filled out the install.php page and hit "Let's go", the page came right back up again, and all the fill-in fields were blank again.

The solution for me was to set "register_long_arrays = On" in the PHP.ini file.

I think kegobeer suggested that.  Thanks for the help!
-----------------------------

Win XP sp2
MySQL 4.1.8-nt
Apache2
PHP5.0.3.3
Imagemagick
Coppermine: 1.3.2. 

UnknownG

I have essentailly the same set up

WinXP
Apache 2
Php 5
MySQL 4

I have set enabled register_long_arays but I stll get the cleared install.php.  I have created the sql database.  I have both php and sql working, but not sure what's going on.  I think it has to do with setting permissions.  I'm not sure which user gets the write permission.  I don't have IIS running so there is not internet guest account.  I don't want to give everyone permission so what do I do.  Is there a way to test the permissions?

Thanks in advance

Greg