forum.coppermine-gallery.net

Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: timiboy on October 29, 2003, 12:58:43 am

Title: Fatal Error when upgrading
Post by: timiboy on October 29, 2003, 12:58:43 am
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"

Quote
Fatal error :
There was an error while processing a database query


any idea ?? thanx for your help

tomi
Title: sorry
Post by: timiboy on October 29, 2003, 01:00:11 am
i get this exact error :

Quote
Fatal 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
Title: ttt
Post by: timiboy on October 29, 2003, 01:41:20 am
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

Quote
Fatal error :
There was an error while processing a database query


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

:S
Title: Fatal Error when upgrading
Post by: Joachim Müller on October 29, 2003, 09:17:17 am
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
Title: Fatal Error when upgrading
Post by: timiboy on October 30, 2003, 01:45:59 am
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

Quote
ALTER 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:
Title: Fatal Error when upgrading
Post by: Joachim Müller on October 30, 2003, 08:10:43 am
do you happen to use the phpnuke version of coppermine?

GauGau
Title: Fatal Error when upgrading
Post by: hyperion on October 30, 2003, 08:18:40 am
The file path would seem to indicate so:

Quote

modules/coppermine/include/init.inc.php
Title: Fatal Error when upgrading
Post by: Joachim Müller on October 30, 2003, 08:22:21 am
@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:
Title: Reluctant
Post by: RickC on November 04, 2003, 06:17:35 pm
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]
Title: Fatal Error when upgrading
Post by: Zarsky on November 04, 2003, 06:25:27 pm
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.
Title: Fatal Error when upgrading
Post by: Joachim Müller on November 04, 2003, 06:57:21 pm
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
Title: THANK YOU
Post by: RickC on November 04, 2003, 07:08:45 pm
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.