coppermine-gallery.com/forum

Support => cpg1.5.x Support => cpg1.5 miscellaneous => Topic started by: scohen125 on April 19, 2012, 09:34:11 PM

Title: Error when editing picture information - edit_one_pic.php on line 110 error
Post by: scohen125 on April 19, 2012, 09:34:11 PM
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
Title: Re: Error when editing picture information - edit_one_pic.php on line 110 error
Post by: Joe Carver on April 20, 2012, 12:42:08 AM
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.
Title: Re: Error when editing picture information - edit_one_pic.php on line 110 error
Post by: ΑndrĂ© on April 20, 2012, 09:04:44 AM
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.
Title: Re: Error when editing picture information - edit_one_pic.php on line 110 error
Post by: scohen125 on April 20, 2012, 06:41:18 PM
I re-uploaded the file as suggested and the error went away.  Not sure how that file got corrupted on upload.  Thank you.