Fatal Error when upgrading Fatal Error when upgrading
 

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]

Main Menu

Fatal Error when upgrading

Started by timiboy, October 29, 2003, 12:58:43 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

timiboy

I followed every instruction on how to upgrade from 1.1 to 1.2rc2, and everything went ok with update.php...but when I click the "lets go link"

QuoteFatal error :
There was an error while processing a database query

any idea ?? thanx for your help

tomi

timiboy

i get this exact error :

QuoteFatal error: Failed opening required 'include/config.inc.php' (include_path='.:/php/includes:/usr/share/php') in /home/virtual/site49/fst/var/www/html/modules/coppermine/include/init.inc.php on line 135

timiboy

well I was looking inside init.inc.php and I resolved the "error". It was just a required('include/whatever.php') to a require ('whatever.php').

But I still get this message

QuoteFatal error :
There was an error while processing a database query

and now with no error message...just dont know what to do

:S

Joachim Müller

Try to turn on debug_mode manually (using phpMyAdmin, edit table cpg11d_config, set debug_mode to "1") and check the output it generates then.

GauGau

timiboy

cant find table cpg11d_config, I just have cpg_config with two fieds, none of theme debug_mode

I get this when I run update.php

QuoteALTER TABLE cpg_comments add msg_raw_ip tinytext Already Done
ALTER TABLE cpg_comments add msg_hdr_ip tinytext Already Done
ALTER TABLE cpg_pictures add pic_raw_ip tinytext Already Done
ALTER TABLE cpg_pictures add pic_hdr_ip tinytext Already Done
INSERT INTO cpg_config VALUES ('thumb_use', 'any') Already Done
INSERT INTO cpg_config VALUES ('show_private', '0') Already Done
INSERT INTO cpg_config VALUES ('first_level', '1') Already Done
INSERT INTO cpg_config VALUES ('display_film_strip', '1') Already Done
INSERT INTO cpg_config VALUES ('max_film_strip_items', '5') Already Done
INSERT INTO cpg_config VALUES ('comment_email_notification', '0') Already Done
INSERT INTO cpg_config VALUES ('disable_popup_rightclick', '0') Already Done
INSERT INTO cpg_config VALUES ('disable_gallery_rightclick', '0') Already Done
CREATE TABLE cpg_banned ( ban_id int(11) NOT NULL auto_increment, user_id int(11) DEFAULT NULL, ip_addr tinytext DEFAULT NULL, expiry datetime DEFAULT NULL, PRIMARY KEY (ban_id) ) TYPE=MyISAM

 :cry:  :cry:  :cry:

Joachim Müller

do you happen to use the phpnuke version of coppermine?

GauGau

hyperion

The file path would seem to indicate so:

Quotemodules/coppermine/include/init.inc.php
"Then, Fletch," that bright creature said to him, and the voice was very kind, "let's begin with level flight . . . ."

-Richard Bach, Jonathan Livingston Seagull

(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fwww.mozilla.org%2Fproducts%2Ffirefox%2Fbuttons%2Fgetfirefox_small.png&hash=9f6d645801cbc882a52f0ee76cfeda02625fc537)

Joachim Müller

@hyperion:
hehe, that's what I thought.
Should we tell him the secret?
Hm, no - maybe we're wrong and he just labelled the folder this way by accident...

GauGau :lol:

RickC

Reluctant but her gos.
I have the exact same Error Using php 6.5.
Please tell me the secret.
I am very new to PHP however i'm trying to set up A new site using it. :oops:[/img]

Zarsky

php 6.5?  Um...there is no such thing.  Are you talking about phpnuke or postnuke?  If so please post requests for help in those boards.
Read the Online DOCs, FAQ, and SEARCH the board BEFORE posting questions for help.

Joachim Müller

The secret is: cpg1.2.0 for phpnuke hasn't been released yet!!! You're trying to upgrade your phpnuke-coppermine with a standalone coppermine. This will not work!
Wait untill cpg1.2.0 for phpnuke is out. Refer to the phpnuke board on this webpage for details.

GauGau

RickC

Thank You and Sorry for the miss post.

I just read about the update in the PHPnuke Support forum.

Can't Wait to get it.