forum.coppermine-gallery.net

Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: zom on January 17, 2004, 07:43:47 am

Title: error message
Post by: zom on January 17, 2004, 07:43:47 am
upgrading from 1.2 rc1 to 1.2 final when calling index.php I have this message error at the top of the page (photos_copper is the name for my coppermine directory)

Warning: Unknown modifier 't' in /home/virtual/site1/fst/var/www/html/photos_copper/index.php on line 69.

The message is on the top of the page but the page appears normal bellow.
This message appears only onthe index page and no on album or thumbails pages.

an idea ?
thanks :?:
Title: error message
Post by: Joachim Müller on January 17, 2004, 11:28:08 am
upgrade to cpg1.2.1, not 1.2.0final! Always take the most recent stable version - there have been some issues been ironed out (bug fixing) between 1.2.0final and 1.2.1, no additional features.

GauGau

P.S. when requesting help with an installation it's extremely usefull if you post a link... :wink:
Title: error message
Post by: zom on January 17, 2004, 02:17:32 pm
thanks gaugau, but it the latest version I use so the 1.2.1
Title: error message
Post by: Joachim Müller on January 18, 2004, 10:44:34 am
line 69 of index.php should say
Code: [Select]
$subcat['description'] = preg_replace("/<br.*?>[\r\n]*/i", '<br />' . $ident , bb_decode($subcat['description']));The error message
Quote
unknown modifier
says that something's wrong with a regular expression that uses "T" in it. There should be no "T" in line 69, so my suggestion is your files were corrupted or you made a modification that you shouldn't have made. Get a fresh copy of the files and overwrite them (at least index.php).

GauGau