PHP v 4.3.10 and Coppermine PHP v 4.3.10 and Coppermine
 

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

PHP v 4.3.10 and Coppermine

Started by Tranz, December 27, 2004, 10:26:04 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Tranz

If you have issues with Coppermine after upgrading (or your host upgraded) to php 4.3.10, it is due to using an outdated Zend Optimizer. It must be updated to v. 2.5.7

This is not an issue with coppermine. It is the incompatibility of an old Zend Optimizer and new PHP.

MC6800

Thank you.

I thank for the information that you brought about.   :D

eric.com.my

Quote from: TranzNDance on December 27, 2004, 10:26:04 AM
If you have issues with Coppermine after upgrading (or your host upgraded) to php 4.3.10, it is due to using an outdated Zend Optimizer. It must be updated to v. 2.5.7

This is not an issue with coppermine. It is the incompatibility of an old Zend Optimizer and new PHP.

I am using  Coppermine version 1.3.2 and it was working fine all along but it have this Critical error "There was an error while processing a database query" Is this due to the Zend Optimizer version as well? How can I check what is my Zend Optimizer version?

Joachim Müller

When logged in as admin, go to "admin tools" and then "phpinfo". Take a look at the very first section on the page that has the Zend logo (after the first table), the text should say something like
QuoteThis program makes use of the Zend Scripting Language Engine:
Zend Engine v1.3.0, 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

If you get
QuoteThere was an error while processing a database query
, go to coppermine config and enable debug_mode to see the actual query that failed. Your problem is probably not related.

Joachim

eric.com.my

Thanks a lot for your information.

It's funny that I still can login the user name but when I go into config menu, I cannot see any configuration from there. Please refer to attachment for clear picture.

Hope you guys can help put here. Million thanks..!

Joachim Müller

It looks like you haven't uploaded all files, or you're running a "customized" version of coppermine. Where did you get your coppermine package from? Also post a link to your site.

Joachim

P.S. This is not related to the original subject of this thread, after your next reply I will split this your question from this thread, so you should look for my answer to your next reply in a separate thread.

eric.com.my

Hi there,

I downloaded the scripts from this website as well & have not modify anything from the original script.

Here's the link to my page

http://photo.eric.com.my/mis

Thank you so much for your help.

Joachim Müller

use a tool like phpMyAdmin to browse your database, edit coppermine's config table and enable debug_mode by setting it to "1". Then post the actual query that fails. Also check if you have the minimum requirements needed for coppermine.

Joachim

eric.com.my

#8
Hi there, thank you so much for your time. I had followed the steps that I got from your previous post and I got this as the message

While executing query "SELECT aid FROM cpg132_albums WHERE category = " on 0

mySQL error: You have an error in your SQL syntax.  Check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1

I think my version should be OK because I was using it just fine way back before this problem got me   ???

My PHP & SQL version is as below

PHP version 4.3.10
MySQL version 4.0.23-standard

eric.com.my

I did a complain to my hosting server and suddenly my Coppermine Gallery is OK! Really don't know why  ???. Thanks man for everything  :)

whmeeske

Quote from: TranzNDance on December 27, 2004, 10:26:04 AM
If you have issues with Coppermine after upgrading (or your host upgraded) to php 4.3.10, it is due to using an outdated Zend Optimizer. It must be updated to v. 2.5.7

This is not an issue with coppermine. It is the incompatibility of an old Zend Optimizer and new PHP.
OK, thanks for the info.
Question : should Zend Optimizer always be updated, even if there seems to be no problems with it? What does Zend Optimizer do?

Tarique Sani

Yes Zend Optimizer should always be updated
SANIsoft PHP applications for E Biz

jmro

Hello, if you run whm / cpanel and have root access to your server run: /scripts/installzendopt can save you a lot time.