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:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

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.