coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Installation & Setup => Topic started by: mgraf on March 05, 2005, 04:46:53 PM

Title: Coppermine went offline - mistake setting default language
Post by: mgraf on March 05, 2005, 04:46:53 PM
Hello, I am in need of some quick help please.  In my Admin config page, I mistakingly set the default language to UT8 Unicode and all of the sudden my entire coppermine gallery is offline.   This is the error now:

QuoteParse error: parse error, unexpected '@', expecting ')' in /home/grafph2/public_html/gallery/lang/english-utf-8.php on line 184

gallery URL: http://www.grafphoto.com/gallery/index.php

I tried restoring my entire site from a backup, but that didn't seem to work either.   Can someone please help me with fixing this?

Thanks.

Mark
Title: Re: Coppermine went offline - mistake setting default language
Post by: nol33t on March 05, 2005, 04:54:31 PM
Don't know what the problem is with the utf-8 file, but to change the default language, under a mysql admin tool like PhpMyAdmin,
you can use the following command to use again the english language file:


UPDATE cpg132_config SET value = 'english' WHERE name = 'lang'

(replacing cpg132_ with your coppermine table prefix if it's different)

-matt-
Title: Re: Coppermine went offline - mistake setting default language
Post by: mgraf on March 05, 2005, 04:57:20 PM
Thank you Matt for such a quick response!!

Mark