Advanced search  

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

Pages: [1]   Go Down

Author Topic: [Solved]: Help w/ new 1.3.1 installation  (Read 5752 times)

0 Members and 1 Guest are viewing this topic.

chetting

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
[Solved]: Help w/ new 1.3.1 installation
« on: August 09, 2004, 06:10:51 pm »

Using Windows 2000, Apache 1.3.1, PHP5, mySQL 4.0.18, and cpg 1.3.1...

trying to get past the install.php page... the page comes up, I fill out all of the fields, press lets go, and the page simply reloads - no error listed, etc.

Question is, where to go from here... Im more of a J2EE person, so this is my first install of PHP/Apache.  Im fairly sure Apache to PHP is working, since the install page came up.  Ive created a user in mySQL, and can log in w/ the user/pass I create from the mysql command prompt, so I think the mysql is ok... I am however a little foggy on the PHP to MySQL connection.  I followed the PHP instruction manual for Apache, but I did not see anything for setting up PHP->mySQL which has me a bit concerned.  Can anyone offer any suggestions as to what I may be missing?  I am using basic installs for all products, and this is all that is running on the server so I don't have any software conflicts.

Any help would be greatly appreciated.

Thank you,

Chris
« Last Edit: August 09, 2004, 11:04:35 pm by GauGau »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Help w/ new 1.3.1 installation
« Reply #1 on: August 09, 2004, 06:20:06 pm »

a blind guess: your server vars may not be configured properly. When on the install screen, do a "right-click", "show source code". Find
Code: [Select]
<formin the source code and copy'n paste the whole line the <form> tag is in into your posting here. Please post a link to your page as well. Make sure register_long_arrays is switched on in php.ini

GauGau
Logged

chetting

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: Help w/ new 1.3.1 installation
« Reply #2 on: August 09, 2004, 06:25:22 pm »

            <form action="install.php" method="post">


Doesnt make too much sense to me... I guess that explains why it keeps returning to the same page.  What VARs are you referring to?  Is this part of the Apache setup that I missed?

Logged

chetting

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: Help w/ new 1.3.1 installation
« Reply #3 on: August 09, 2004, 06:26:50 pm »


almost forgot too - install server is on a local network - unfortunately I cant give a link which you can get too... my apologies, this wont make things any easier...

Thanks!

Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Help w/ new 1.3.1 installation
« Reply #4 on: August 09, 2004, 06:31:58 pm »

Hm, the server being not accessible for support makes it nearly impossible to help, as I'm pretty sure this is related to improper server setup. For a start, I recommend you try to install another usefull software you will need anyway sooner or later: phpMyAdmin. Get it running, it may give additional info or if you don't manage to set it up properly, you might find out what actually fails.

GauGau
Logged

chetting

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: Help w/ new 1.3.1 installation
« Reply #5 on: August 09, 2004, 07:26:50 pm »


OK - phpMyAdmin is installed.  I can see the database I created (called cpg)... and it has no tables as you would imagine.  Since this piece of software can see the database, does that not infer that the php/db connection is a-ok?  You mention that it is an improper server setup - what do you mean by this - are you referring to Apache?  what should that <form> line be linked to?

Thank you...

Chris

Hm, the server being not accessible for support makes it nearly impossible to help, as I'm pretty sure this is related to improper server setup. For a start, I recommend you try to install another usefull software you will need anyway sooner or later: phpMyAdmin. Get it running, it may give additional info or if you don't manage to set it up properly, you might find out what actually fails.

GauGau
Logged

chetting

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: Help w/ new 1.3.1 installation
« Reply #6 on: August 09, 2004, 07:42:45 pm »

from the phpMyAdmin dump of PHP info...

System  Windows NT PLUTO 5.0 build 2195 
Build Date  Jul 13 2004 21:34:42 
Configure Command  cscript /nologo configure.js "--enable-snapshot-build" "--with-gd=shared" 
Server API  Apache 
Virtual Directory Support  enabled 
Configuration File (php.ini) Path  C:\WINNT\php.ini 
PHP API  20031224 
PHP Extension  20040412 
Zend Extension  220040412 
Debug Build  no 
Thread Safety  enabled 
IPv6 Support  enabled 
Registered PHP Streams  php, file, http, ftp, compress.zlib 
Registered Stream Socket Transports  tcp, udp 
Logged

chetting

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: Help w/ new 1.3.1 installation - resolved
« Reply #7 on: August 09, 2004, 07:48:14 pm »


Strange... but resolved...

I was accessing the install.php by typing in http://localhost/cpg131/install.php.  (setting up on local machine... habit)

When I switched to using http://machinename/cpg131/install.php everything worked fine... guess there is a name resolve issue...

Thanks for the info.

Chris
Logged

kenny

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
Re: [Solved]: Help w/ new 1.3.1 installation
« Reply #8 on: December 30, 2004, 02:17:56 pm »

 :)
I also encounter this problem,
always return to install.sh.
I have tried several hours.

I use php 5.0.
I have changed php.ini  register_long_arrays = on
,and It works now, thx.
Logged
Pages: [1]   Go Up
 

Page created in 0.02 seconds with 19 queries.