Advanced search  

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

Pages: [1]   Go Down

Author Topic: Fatal Error when upgrading  (Read 5087 times)

0 Members and 1 Guest are viewing this topic.

timiboy

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Fatal Error when upgrading
« 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
Logged

timiboy

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
sorry
« Reply #1 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
Logged

timiboy

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
ttt
« Reply #2 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
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Fatal Error when upgrading
« Reply #3 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
Logged

timiboy

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Fatal Error when upgrading
« Reply #4 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:
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Fatal Error when upgrading
« Reply #5 on: October 30, 2003, 08:10:43 am »

do you happen to use the phpnuke version of coppermine?

GauGau
Logged

hyperion

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Posts: 1317
  • - retired -
Fatal Error when upgrading
« Reply #6 on: October 30, 2003, 08:18:40 am »

The file path would seem to indicate so:

Quote

modules/coppermine/include/init.inc.php
Logged
"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://forum.coppermine-gallery.net/proxy.php?request=http%3A%2F%2Fwww.mozilla.org%2Fproducts%2Ffirefox%2Fbuttons%2Fgetfirefox_small.png&hash=9f6d645801cbc882a52f0ee76cfeda02625fc537)

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Fatal Error when upgrading
« Reply #7 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:
Logged

RickC

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
    • http://www.hopetoseeyousoon.com
Reluctant
« Reply #8 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]
Logged

Zarsky

  • VIP
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 268
    • Zerr Family Website
Fatal Error when upgrading
« Reply #9 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.
Logged
Read the Online DOCs, FAQ, and SEARCH the board BEFORE posting questions for help.

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Fatal Error when upgrading
« Reply #10 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
Logged

RickC

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
    • http://www.hopetoseeyousoon.com
THANK YOU
« Reply #11 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.
Logged
Pages: [1]   Go Up
 

Page created in 0.02 seconds with 18 queries.