Shibney Posted October 7, 2009 Share Posted October 7, 2009 Ok I really need some help. I'm having some serious problems with my site. A guy I knew in college built my site, it was great then... well business has grown and we're having problems now. I am having a new site made but I'm a month away from it being ready so I have to make this one work. When I try to go to the admin page on the back door of my site, I get an error that says Duplicate 0 in line 1, or something like that. Here is some info that may be helpful. The last car I added had an ID of 0, but the car before it was 1004. Why did it start going back to 0, I know that's the problem. I am with aplus.net and they just changed servers and jacked everything up. I am not a website guy, but I know a little. I have no clue on how to fix this. My site is www.74auto.com I will paypal someone money to help me... I'm desperate. Quote Link to comment https://forums.phpfreaks.com/topic/176789-solved-really-need-some-help-super-amateur-here/ Share on other sites More sharing options...
mikesta707 Posted October 7, 2009 Share Posted October 7, 2009 well if you are willing to pay someone, there is a freelance forum for that. but without seeing any code I can't be much help. It sounds like you are trying to insert a field in your data base with an ID that is already set. Assuming ID is the primary key (which is must be if you are getting that error) and set to auto increment (it usually is, but its possible that the programmer before didn't set it to auto increment) then if you don't assign it a value in the insert statement, it will work perfectly fine. But again, I can't really help if I don't see any code. Quote Link to comment https://forums.phpfreaks.com/topic/176789-solved-really-need-some-help-super-amateur-here/#findComment-932118 Share on other sites More sharing options...
Shibney Posted October 7, 2009 Author Share Posted October 7, 2009 PROBLEM SOLVED! Thank you so much mikesta707. You saved the day! Quote Link to comment https://forums.phpfreaks.com/topic/176789-solved-really-need-some-help-super-amateur-here/#findComment-932140 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.