coppermine-gallery.com/forum

Support => Older/other versions => cpg1.3.x Support => Topic started by: jenny20 on November 16, 2005, 04:33:10 AM

Title: Help
Post 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
Title: Re: Help
Post by: Nibbler on November 16, 2005, 04:39:01 AM
You either have 'Number of columns on thumbnail page' or 'Number of rows on thumbnail page' set to 0. Don't.
Title: Re: Help
Post by: jenny20 on November 16, 2005, 04:42:43 AM
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.
Title: Re: Help
Post by: Nibbler on November 16, 2005, 04:46:33 AM
What board ?

Enable debug mode and post the MySQL error message that you receive.
Title: Re: Help
Post by: jenny20 on November 16, 2005, 04:48:37 AM
this is my board http://passionstalkgallary.enchanted-emilyharper.org/usermgr.php
Title: Re: Help
Post by: Joachim Müller on November 16, 2005, 07:36:44 AM
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.
Title: Re: Help
Post by: jenny20 on November 16, 2005, 09:31:51 PM
i'm still getting error messages
Title: Re: Help
Post by: jenny20 on November 16, 2005, 09:46:10 PM
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?

Title: Re: Help
Post by: Joachim Müller on November 16, 2005, 11:18:44 PM
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".
Title: Re: Help
Post by: jenny20 on November 17, 2005, 12:51:57 AM
Ok dumb question how do you do that?
Title: Re: Help
Post by: Joachim Müller on November 17, 2005, 08:12:02 AM
do you have phpMyAdmin (http://www.phpmyadmin.net/)?
Title: Re: Help
Post by: jenny20 on November 17, 2005, 08:18:05 PM
no, what one do i need to download?
Title: Re: Help
Post by: Joachim Müller on November 17, 2005, 10:17:17 PM
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.
Title: Re: Help
Post by: jenny20 on November 18, 2005, 03:54:01 AM
it;s not i just wasn't sure if the differneces when i went to the page