PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > PhotoPost Support > PhotoPost Classifieds Support > Classifieds Installation & Upgrades

Classifieds Installation & Upgrades If you're having install or upgrade problems, post here.

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old September 13th, 2007, 11:48 PM   #1 (permalink)
Junior Member
Verified Customer
 
Join Date: Jul 2006
Location: West LA
Posts: 12
Question Column 'id' cannot be null

I thought I saw the answer to this problem but I'm not able to locate it now. Any ideas?

Script: bulkupload

Query: INSERT INTO pp_photos (id,user,userid,cat,date,title,description,keywords,bigimage,width,height,filesize,medwidth,medheight,medsize,approved,lastpost, watermarked,allowprint,extra1,extra2,extra3,extra4,extra5,extra6,ipaddress,allowrate,allowcoms) values(NULL,'Uncle Krusty', 3, 500, 1189745161, 'P1010016', '', '', 'P1010016.JPG', 640, 480, 70809, 0, 0, 0, 1, 1189745161, 'yes','yes','','','','','','','76.87.120.84','1','1')

Result: Column 'id' cannot be null

Database handle: Resource id #34
Uncle Krusty is offline   Reply With Quote
Old September 14th, 2007, 07:40 AM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,069
I would suspect the id field on your photos table has lost its auto increment status. If you need assistance with altering database tables. Basically in your database viewer in your hosting panel try viewing the database and tell me what happens when you run this query and if it fixes things.

ALTER TABLE pp_photos CHANGE id id INT(12) NOT NULL AUTO_INCREMENT;
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Column Width Packy Photopost Pro How Do I...? 2 August 28th, 2007 06:16 AM
Right Column? SteveSteve ReviewPost How do I...? 15 December 30th, 2005 07:28 AM
Custom Field + Field Req'd = null Ocean44 Bugs From 1.0.0 2 April 27th, 2005 03:25 PM
Turn off the 'date' column and turn on a date of the last review column criscokid Photopost Pro How Do I...? 0 April 25th, 2005 04:18 AM


All times are GMT -5. The time now is 06:02 AM.

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