coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Installation & Setup => Topic started by: royalfunk on October 23, 2005, 05:38:49 PM

Title: Trouble editing language file
Post by: royalfunk on October 23, 2005, 05:38:49 PM
I made two simple changes in the english.php file and now I get this error message when I try to use Coppermine:

Parse error: parse error, unexpected $ in /home/my_username/public_html/lang/english.php on line 1131

I know how to work with language files and I can't understand why the simple changes I made would effect anything - they were only changes to the actual display text, not to variables.

Thanks,
Aaron
Title: Re: Trouble editing language file
Post by: Nibbler on October 23, 2005, 05:53:15 PM
Maybe posting your changes would be useful.
Title: Re: Trouble editing language file
Post by: royalfunk on October 23, 2005, 05:55:38 PM
Under $lang_meta_album_names I changed :
'random' => 'Random Flyer Pages', //cpg1.3.0
Title: Re: Trouble editing language file
Post by: Tranz on October 23, 2005, 06:28:09 PM
You said you made two changes, what was the other one?
Title: Re: Trouble editing language file
Post by: royalfunk on October 23, 2005, 06:53:55 PM
My last post got cut off somehow. The other changes were...

under $lang_main_menu I changed:
  'alb_list_title' => 'Go to the flyer list',
  'alb_list_lnk' => 'Flyer List',
Title: Re: Trouble editing language file
Post by: Joachim Müller on October 24, 2005, 08:01:36 AM
what editor did you use to apply the changes? You mustn't use WYSIWYG editors like MS Frontpage or similar. Use notepad.exe instead. Post a link to your page and zip your language file and attach it to your reply (using "Additional options" when composing your message).