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: Cannot move image using EDITPICTURE  (Read 3085 times)

0 Members and 1 Guest are viewing this topic.

tms_shan

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Cannot move image using EDITPICTURE
« on: March 06, 2007, 02:03:26 am »

Hey i get an error when i try to edit image

Error:There was an error while processing a database query

can anyone help me?
« Last Edit: March 06, 2007, 08:02:36 am by GauGau »
Logged

Nibbler

  • Guest
Re: Cannot move image using EDITPICTURE
« Reply #1 on: March 06, 2007, 02:35:50 am »

Enable debug mode in config and post the mysql error message you get (not the entire debug output) when you replicate the error.
Logged

tms_shan

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: Cannot move image using EDITPICTURE
« Reply #2 on: March 06, 2007, 02:42:26 am »

While executing query "UPDATE cpg1410_pictures SET aid = '30', title = 'Accepted', caption = 'Reject Rejection', keywords = '', user1 = 'Accepted', user2 = '', user3 = '', user4 = '2006', user5 = '', user6 = '', user7 = '', user8 = '', user9 = '', user10 = '', user11 = '', user12 = '', user13 = '', user14 = '', user15 = '', user16 = '', user17 = '', user18 = '', user19 = '', user20 = '' WHERE pid='413' LIMIT 1" on 0

mySQL error: Unknown column 'user5' in 'field list'
File: /home/desicov/public_html/upload/include/functions.inc.php - Line: 249


This one displayed at the bottom of the page:
/themes/chaoticsoul/theme.php

    * Notice line 34: Use of undefined constant album - assumed 'album'
    * Notice line 34: Undefined index: album

/editOnePic.php

    * Notice line 37: Undefined index: pwidth
    * Notice line 38: Undefined index: pheight
    * Notice line 46: Undefined index: user5
    * Notice line 47: Undefined index: user6
    * Notice line 48: Undefined index: user7
    * Notice line 49: Undefined index: user8
    * Notice line 50: Undefined index: user9
    * Notice line 51: Undefined index: user10
    * Notice line 52: Undefined index: user11
    * Notice line 53: Undefined index: user12
    * Notice line 54: Undefined index: user13
    * Notice line 55: Undefined index: user14
    * Notice line 56: Undefined index: user15
    * Notice line 57: Undefined index: user16
    * Notice line 58: Undefined index: user17
    * Notice line 59: Undefined index: user18
    * Notice line 60: Undefined index: user19
    * Notice line 61: Undefined index: user20
    * Notice line 63: Undefined index: galleryicon
    * Notice line 70: Undefined variable: delete
Logged

Nibbler

  • Guest
Re: Cannot move image using EDITPICTURE
« Reply #3 on: March 06, 2007, 03:09:51 am »

Review whatever mod you used to add those extra user fields.
Logged

tms_shan

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: Cannot move image using EDITPICTURE
« Reply #4 on: March 06, 2007, 03:46:34 am »

works man, thanks alot:) hey one more question..is there a MOD to select images (multiple) and move them all at once to different sections?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Cannot move image using EDITPICTURE
« Reply #5 on: March 06, 2007, 08:02:19 am »

We have a strict "one question per thread" policy that you agreed to respect when signing up. Locking.
Logged
Pages: [1]   Go Up
 

Page created in 0.021 seconds with 21 queries.