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: install.php gives two notices  (Read 4065 times)

0 Members and 1 Guest are viewing this topic.

VertigoRay

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
install.php gives two notices
« on: September 05, 2005, 10:37:38 pm »

Code: [Select]
Notice: Undefined index: PATH_//TRANSLATED in ...\cpg\install.php on line 21

Notice: Undefined offset: -1 in ...\cpg\install.php on line 22
After the Notices, it displays the install.php page.  After filling in the info and submitting it, I get only the coppermine title logo across the top of the page.  The same two notices are displayed at the top of the page.  No erros are displayed.  No modifications to the cpg database that I'm using.

I'm using:
CPG 1.3.4
IIS 6
PHP Version 5.0.4
Zend Engine v2.0.4-dev, Copyright (c) 1998-2004 Zend Technologies
    with Zend Extension Manager v1.0.6, Copyright (c) 2003-2004, by Zend Technologies
    with Zend Optimizer v2.5.7, Copyright (c) 1998-2004, by Zend Technologies

And for additional confirmation, I'm using gd, and here's my GD ext field from phpinfo():
Code: [Select]
gd
GD Support enabled
GD Version bundled (2.0.28 compatible)
FreeType Support enabled
FreeType Linkage with freetype
FreeType Version 2.1.9
GIF Read Support enabled
GIF Create Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled
XBM Support enabled

Any help would be greatly appreciated.  Thanks in advance!
« Last Edit: September 07, 2005, 07:53:09 am by GauGau »
Logged

Nibbler

  • Guest
Re: install.php gives two notices
« Reply #1 on: September 05, 2005, 10:40:07 pm »

Make sure you have long arrays enabled in your php.ini (this is required to use CPG 1.3.x in PHP 5), and that mysql is properly setup for php.
Logged

VertigoRay

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: install.php gives two notices
« Reply #2 on: September 05, 2005, 10:51:58 pm »

Thanks for the quick response!

php.ini:
register_long_arrays = On

I assume that's what you were referring to?

Also, I've never had any problems using MySQL with PHP with the default install.  If you know a site off the top of your head where I can verify settings, that would be helpful, meantime, I'll start filtering through MySQL documentation.
Logged

VertigoRay

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: install.php gives two notices
« Reply #3 on: September 07, 2005, 04:34:28 am »

Okay ...

After some research and finding out that PHP5 is still a little buggy, I rolled back to PHP Version 4.4.0.  Now, I'm actually getting an SQL error:

Quote
Could not create a mySQL connection, please check the SQL values entered

MySQL error was : Client does not support authentication protocol requested by server; consider upgrading MySQL client

I'm running MySQL Server 4.1.14-nt.  I don't quite understand what "client" needs to be upgraded.  I would think the client, in this case would be the web browser on my desktop, or is there something that I'm just not understanding.  I'll be looking into this while eargerly awaiting a response.

Any thoughts?   Thanks in advance!

NOTE:  I'm still getting those two notices.
Logged

VertigoRay

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: install.php gives two notices
« Reply #4 on: September 07, 2005, 04:46:26 am »

I've turned on "old passwords mode" and still gotthe same error ... just fyi ...
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: install.php gives two notices
« Reply #5 on: September 07, 2005, 07:18:02 am »

what's your mysql version?
Logged

VertigoRay

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: install.php gives two notices
« Reply #6 on: September 07, 2005, 07:52:20 am »

Just reverted back to 4.0 and the problem is resolved.  It was 4.1.14-nt.
Logged
Pages: [1]   Go Up
 

Page created in 0.014 seconds with 15 queries.