forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 modpack by Stramm => Topic started by: Gephri on March 06, 2008, 08:52:17 pm

Title: Comment not being accepted
Post by: Gephri on March 06, 2008, 08:52:17 pm
Unable to submit comments any longer.  My CPG is config's so members-only can make comments.  When logged in, a member can type into the comment field for a pic - but after hitting enter it triggers the following code for the db_input.php page.

Code: [Select]
if (defined('DB_INPUT_PHP')) $lang_db_input_php = array(
  'empty_name_or_com' => 'You need to type your name and a comment',


My comment coding on db_input.php is exactly like the CPG current version along with the Stramm v1.4.16

what could be triggering this inability to post comments to any picture in any album, please.

www.superstarstudents.com/gallery/index.php (http://www.superstarstudents.com/gallery/index.php)
Member: Snap (case sensitive)
Pass: me
Title: Re: Comment not being accepted
Post by: Stramm on March 06, 2008, 10:09:59 pm
login doesn't work
Title: Re: Comment not being accepted
Post by: Gephri on March 06, 2008, 10:43:17 pm
sorry - please try again
Title: Re: Comment not being accepted
Post by: Stramm on March 07, 2008, 08:43:57 am
Hmmm, works for me http://www.superstarstudents.com/gallery/displayimage.php?pos=-6092
Also I do not see that this is related to the mod pack at all?

But I've seen a BOM when loading the intermediate image page... you should look for that (  ) in all files you edited and remove it. Happens when you edit a utf8 file with an editor that isn't capable of it.
Title: Re: Comment not being accepted
Post by: Gephri on March 07, 2008, 10:53:12 pm
That is strange because I get this problem with all three browsers: FireFox, IE, Opera.  But if you don't see it and it's not related to your mod pack - I'll take my problem elsewhere.  Thanks for looking.

One more thing; can you explain what a BOM is so I can fix.

Thanks again.
Title: BOM
Post by: Gephri on March 07, 2008, 11:19:20 pm
Are you suggesting that I remove the following from my theme.php file?
Code: [Select]
<meta http-equiv="content-type" content="text/html; charset={CHARSET}" />
Title: Re: Comment not being accepted
Post by: Joachim Müller on March 09, 2008, 02:10:27 pm
http://forum.coppermine-gallery.net/index.php?action=search2;search=byte%20order%20mark