Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Error when editing picture information - edit_one_pic.php on line 110 error  (Read 2447 times)

0 Members and 1 Guest are viewing this topic.

scohen125

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 100
    • Retina Gallery

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
Logged

Joe Carver

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1545
  • aka 'i-imagine'
    • Home Page

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é

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764

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.
Logged

scohen125

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 100
    • Retina Gallery

I re-uploaded the file as suggested and the error went away.  Not sure how that file got corrupted on upload.  Thank you.
Logged
Pages: [1]   Go Up
 

Page created in 0.025 seconds with 20 queries.