coppermine-gallery.com/forum

Support => Older/other versions => cpg1.3.x Support => Topic started by: modom on April 18, 2005, 06:07:23 PM

Title: 1.3.2 version lots of theme errors
Post by: modom on April 18, 2005, 06:07:23 PM
I have safe mode turned on on the server but have a vhost.conf file for each necessary domain with safe mode turned off.  All of the themes are giving the same error.

igames error on first page:

http://www.inkaboutitllc.com/gallery/index.php
Notice: Undefined index: cat_thumb in /home/httpd/vhosts/inkaboutitllc.com/httpdocs/gallery/themes/igames/theme.php on line 1091

Notice: Undefined index: cat_albums in /home/httpd/vhosts/inkaboutitllc.com/httpdocs/gallery/themes/igames/theme.php on line 1092



fruity theme:
Notice: Undefined variable: template_tab_display in /home/httpd/vhosts/inkaboutitllc.com/httpdocs/gallery/themes/fruity/theme.php on line 1369

Notice: Undefined variable: lang_thumb_view in /home/httpd/vhosts/inkaboutitllc.com/httpdocs/gallery/themes/fruity/theme.php on line 1372

Notice: Undefined index: inactive_tab in /home/httpd/vhosts/inkaboutitllc.com/httpdocs/gallery/themes/fruity/theme.php on line 1373

================================

classic theme:
while trying to insert a comment get this error message:

While executing query "INSERT INTO cpg132_comments (pid, msg_author, msg_body, msg_date, author_md5_id, author_id, msg_raw_ip, msg_hdr_ip) VALUES ('5', 'admin', 'second comment', NOW(), '', '1', '69.152.209.174', '69.152.209.174')" on 0

mySQL error: Duplicate entry '8388607' for key 1

debug code:
USER:
------------------
Array
(
    [ID] => a5f26189b488ce81dfa97dcd25aca3fb
    [am] => 1
    [liv] => Array
        (
           
Title: Re: 1.3.2 version lots of theme errors
Post by: modom on April 18, 2005, 06:51:40 PM
If I turn off "display notices" in the coppermine admin and try to post a comment I get this error:

Critical error   


There was an error while processing a database query.


While executing query "INSERT INTO cpg132_comments (pid, msg_author, msg_body, msg_date, author_md5_id, author_id, msg_raw_ip, msg_hdr_ip) VALUES ('5', 'admin', 'test', NOW(), '', '1', '69.152.209.174', '69.152.209.174')" on 0

mySQL error: Duplicate entry '8388607' for key 1



File: /home/httpd/vhosts/inkaboutitllc.com/httpdocs/gallery/include/functions.inc.php - Line: 105

Debug mode info:
USER:
------------------
Array
(
    [ID] => a5f26189b488ce81dfa97dcd25aca3fb
    [am] => 1
    [liv] => Array
        (
           
Title: Re: 1.3.2 version lots of theme errors
Post by: Nibbler on April 18, 2005, 10:05:39 PM
The notices are not important, and the sql error has been discussed before.
Title: Re: 1.3.2 version lots of theme errors
Post by: modom on April 19, 2005, 12:06:04 AM
Do you have a link where this has been discussed?  I have searched for everything I know and could not find anything about numbering the messages.  Each time you try to put a comment in mysql keeps trying to give the comment the same id.

Thanks!
Title: Re: 1.3.2 version lots of theme errors
Post by: Nibbler on April 19, 2005, 01:38:02 PM
http://forum.coppermine-gallery.net/index.php?topic=11731.0
Title: Re: 1.3.2 version lots of theme errors
Post by: modom on April 19, 2005, 05:01:19 PM
Thank you!

I used that info for the comments table and now it is working.  I use mysql 3.23.58.  I had done a table repair for the comments table but it was still adding the same number to the msg_id.

Thanks again!