forum.coppermine-gallery.net
Support => Older/other versions => cpg1.3.x Support => Topic started by: jenny20 on November 16, 2005, 04:33:10 am
-
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
-
You either have 'Number of columns on thumbnail page' or 'Number of rows on thumbnail page' set to 0. Don't.
-
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.
-
What board ?
Enable debug mode and post the MySQL error message that you receive.
-
this is my board http://passionstalkgallary.enchanted-emilyharper.org/usermgr.php
-
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.
-
i'm still getting error messages
-
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?
-
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".
-
Ok dumb question how do you do that?
-
do you have phpMyAdmin (http://www.phpmyadmin.net/)?
-
no, what one do i need to download?
-
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.
-
it;s not i just wasn't sure if the differneces when i went to the page