Advanced search  

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]

Pages: [1]   Go Down

Author Topic: miserable sqls help pleeease  (Read 3649 times)

0 Members and 1 Guest are viewing this topic.

pokeamong

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
miserable sqls help pleeease
« 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
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
miserable sqls help pleeease
« Reply #1 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
Logged

pokeamong

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

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
miserable sqls help pleeease
« Reply #3 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.
Logged
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

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
miserable sqls help pleeease
« Reply #4 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
Logged

hyperion

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Posts: 1317
  • - retired -
miserable sqls help pleeease
« Reply #5 on: January 16, 2004, 01:56:27 am »

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

(http://www.mozilla.org/products/firefox/buttons/getfirefox_small.png)

pokeamong

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
miserable sqls help pleeease
« Reply #6 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??
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
miserable sqls help pleeease
« Reply #7 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
Logged
Pages: [1]   Go Up
 

Page created in 0.033 seconds with 21 queries.