install.php gives two notices install.php gives two notices
 

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 gives two notices

Started by VertigoRay, September 05, 2005, 10:37:38 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

VertigoRay

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():
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!

Nibbler

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.

VertigoRay

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.

VertigoRay

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:

QuoteCould 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.

VertigoRay

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

Joachim Müller


VertigoRay

Just reverted back to 4.0 and the problem is resolved.  It was 4.1.14-nt.