error message error message
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

error message

Started by zom, January 17, 2004, 07:43:47 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

zom

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 :?:
Thanks to everyone

Joachim Müller

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:

zom

thanks gaugau, but it the latest version I use so the 1.2.1
Thanks to everyone

Joachim Müller

line 69 of index.php should say$subcat['description'] = preg_replace("/<br.*?>[\r\n]*/i", '<br />' . $ident , bb_decode($subcat['description']));The error message
Quoteunknown 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