Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Trouble editing language file  (Read 3340 times)

0 Members and 1 Guest are viewing this topic.

royalfunk

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Trouble editing language file
« 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
Logged

Nibbler

  • Guest
Re: Trouble editing language file
« Reply #1 on: October 23, 2005, 05:53:15 pm »

Maybe posting your changes would be useful.
Logged

royalfunk

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: Trouble editing language file
« Reply #2 on: October 23, 2005, 05:55:38 pm »

Under $lang_meta_album_names I changed :
'random' => 'Random Flyer Pages', //cpg1.3.0
Logged

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: Trouble editing language file
« Reply #3 on: October 23, 2005, 06:28:09 pm »

You said you made two changes, what was the other one?
Logged

royalfunk

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: Trouble editing language file
« Reply #4 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',
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Trouble editing language file
« Reply #5 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).
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 15 queries.