miserable sqls help pleeease miserable sqls help pleeease
 

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

miserable sqls help pleeease

Started by pokeamong, January 15, 2004, 07:11:42 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

pokeamong

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

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

Joachim Müller

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

pokeamong

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

Casper

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.
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

pokeamong

i cant login though, thats the point... i get

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

hyperion

Try using a fresh copy of functions.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)

pokeamong

QuoteTry using a fresh copy of functions.inc.php.

did that, now im just getting

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??

Joachim Müller

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