Help Help
 

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

Main Menu

Help

Started by jenny20, November 16, 2005, 04:33:10 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

jenny20

i got this on my coppermine board when i tired to put a layout out Warning: Division by zero in /home/enchante/public_html/passionstalkgallary/include/functions.inc.php on line 1051

Nibbler

You either have 'Number of columns on thumbnail page' or 'Number of rows on thumbnail page' set to 0. Don't.

jenny20

Is there a way someone can look at my board now i am getting this. There was an error while processing a database query . Thanks for the help in advance.

Nibbler

What board ?

Enable debug mode and post the MySQL error message that you receive.


Joachim Müller

coppermine is not a bulletin board, but an online photo gallery, that's why the term "board" doesn't apply. Anyway, you are meant to turn on debug_mode for everyone and turn off notices_display, and of course you'll have to switch it back online.

jenny20

i'm still getting error messages

jenny20

I'm having a different problem now too, everytime I change the conf. they don't change they just back to being all blanks an a message pops up saying. "There was an error while processing a database query" Can someone tell me what I've done wrong and how to fix this?


Joachim Müller

as suggested: you need to enable debug_mode to find out what query actually fails. If you can't access the config page, use a tool like phpMyAdmin or similar to directly manipulate the settings in your database. Browse coppermine's config table and set "debug_mode" from "0" to "1".

jenny20

Ok dumb question how do you do that?

Joachim Müller


jenny20

no, what one do i need to download?

Joachim Müller

I won't support phpMyAdmin. Read the necessary stuff on the page I refered to. If this is all too complicated for you, hire someone.

jenny20

it;s not i just wasn't sure if the differneces when i went to the page