forum.coppermine-gallery.net

Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: pokeamong on January 15, 2004, 07:11:42 pm

Title: miserable sqls help pleeease
Post by: pokeamong on January 15, 2004, 07:11:42 pm
i run pokeamong.com and since my server updated i get this message (pokeamong is redirected to www.paraahdox.com/poke/gallery/ ) anyone got any ideas?
i havent modded functions.inc.php

Code: [Select]
Parse error: parse error in /home/paraahdox/public_html/poke/gallery/include/functions.inc.php on line 563

Notice: Undefined index: debug_mode in /home/paraahdox/public_html/poke/gallery/include/functions.inc.php on line 96
Fatal error :
There was an error while processing a database query
Title: miserable sqls help pleeease
Post by: Joachim Müller on January 15, 2004, 11:19:40 pm
switch debug_mode to "on" in the coppermine config (at the very bottom) and check the query output again. This sould tell you waht query caused the error.

GauGau
Title: miserable sqls help pleeease
Post by: pokeamong on January 16, 2004, 12:12:41 am
erm, sorry if i sound like a moron, but ive checked config.php and i cant find any debug_mode or anything along those lines
ta
Title: miserable sqls help pleeease
Post by: Casper on January 16, 2004, 12:24:43 am
No, not in config.php.  Log on as admin, click on 'config',and scroll to the bottom.  The debug mode is switched on here.

Post the result you get when you try to go to the page you are having trouble with.
Title: miserable sqls help pleeease
Post by: pokeamong on January 16, 2004, 12:40:59 am
i cant login though, thats the point... i get

Code: [Select]
Parse error: parse error in /home/paraahdox/public_html/poke/gallery/include/functions.inc.php on line 563

Notice: Undefined index: debug_mode in /home/paraahdox/public_html/poke/gallery/include/functions.inc.php on line 96
Fatal error :
There was an error while processing a database query


take a look for yourself http://www.paraahdox.com/poke/gallery/login.php
thanks
Title: miserable sqls help pleeease
Post by: hyperion on January 16, 2004, 01:56:27 am
Try using a fresh copy of functions.inc.php.
Title: miserable sqls help pleeease
Post by: pokeamong on January 16, 2004, 11:24:51 am
Quote
Try using a fresh copy of functions.inc.php.


did that, now im just getting

Code: [Select]
Notice: Undefined index: debug_mode in /home/paraahdox/public_html/poke/gallery/include/functions.inc.php on line 96
Fatal error :
There was an error while processing a database query


any ideas??
Title: miserable sqls help pleeease
Post by: Joachim Müller on January 16, 2004, 04:46:07 pm
yeah, since you already switched debug_mode on (congrats - most people don't do that when running into problems, although they should), please let us know what queries were there/which one failed.

GauGau