Error when editing picture information - edit_one_pic.php on line 110 error Error when editing picture information - edit_one_pic.php on line 110 error
 

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]

Main Menu

Error when editing picture information - edit_one_pic.php on line 110 error

Started by scohen125, April 19, 2012, 09:34:11 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

scohen125

I upgraded to CPG 1.5.20.  Now when I edit picture information, I get the following error:

Fatal error: Call to undefined function cpg_trim_keywords() in /home/content/52/6897452/html/edit_one_pic.php on line 110

I have not modified any code in the edit_one_pic.php file.

This is a new problem.

My website is: www.RetinaGallery.com

Thanks for any help,
Steven Cohen

Joe Carver

That's an odd one, the function is set in include/functions.inc.php, so...

Make certain the copy on your server is "clean", try re-uploading that file.

It is looking at keywords, so...

It could be related to this post
http://forum.coppermine-gallery.net/index.php/topic,74648.msg359374.html#msg359374
(I am not very confident that it is related)

And, review what you have for keywords, separators, and separator settings in Config.

ΑndrĂ©

Obviously that function is missing in your include/functions.inc.php file. As Joe already suggested, upload the file from the cpg1.5.20 package to your gallery.

scohen125

I re-uploaded the file as suggested and the error went away.  Not sure how that file got corrupted on upload.  Thank you.