PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Installs and Upgrade - vBulletin 3.0.X (http://www.photopost.com/forum/installs-upgrade-vbulletin-3-0-x/)
-   -   Mysql error on upload (http://www.photopost.com/forum/installs-upgrade-vbulletin-3-0-x/123946-mysql-error-upload.html)

camoman March 22nd, 2006 10:32 AM

Mysql error on upload
 
I upgraded my gallery a couple weeks ago from to the latest version and now I noticed that when I try to upload multiple images I get a MYSQL error

Database error in vBulletin 3.0.7:

Invalid SQL: INSERT INTO adv_gallery_customfields_entries (imgid ) VALUES (0 )
mysql error: Duplicate entry '0' for key 1

mysql error number: 1062

Date: Wednesday 22nd of March 2006 11:21:58 AM
Script: http://www.trackshare.com/gallery/upload.php
Referer: http://www.trackshare.com/gallery/upload.php
Username: camoman
IP Address: 205.200.79.250Database error in vBulletin 3.0.7:

Invalid SQL: INSERT INTO adv_gallery_customfields_entries (imgid ) VALUES (0 )
mysql error: Duplicate entry '0' for key 1

mysql error number: 1062

Date: Wednesday 22nd of March 2006 11:21:58 AM
Script: http://www.trackshare.com/gallery/upload.php
Referer: http://www.trackshare.com/gallery/upload.php
Username: xxxxx
IP Address: xxx.xxx.xxx.xxx

Why is this happening?!?!

camoman March 22nd, 2006 08:17 PM

Anyone have any ideas on this one?? I have been doing some reseach and it almost looks like its trying to index the pictures where others already are?!? how do I fix this?

camoman March 23rd, 2006 08:35 PM

So how long does a paying user have to wait for support ?? I ended up fixing the probelm by back reving the upgrade.. What now do I try it againg?!?! sure would help if I knew what could have caused this.

camoman March 27th, 2006 08:13 AM

Well looks like the problem is back.. can anyone help me with this?!?!?!

Zachariah May 27th, 2006 02:10 PM

Take a look @ your adv_gallery_images table via. phpMyAdmin.

Browse the table and find out what the last imageid is on the last record added.

Hit: Operations Tab
At the bottem of the page is AUTO_INCREMENT under table options section.

Add 1 to your last / largest imageid and save.

EX: If your last record has imageid 2000 then place 2001 in the AUTO_INCREMENT field.

Save


All times are GMT -5. The time now is 08:58 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97