Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> RN v2.10.01 - All Issues
Author Message
jjmusicpro
Involved
Involved



Joined: Jul 12, 2005
Posts: 283

PostPosted: Mon Oct 15, 2007 7:39 am Reply with quote

I get an error when i try to make a new forum or post, i didnt change anything, site was working fine.

My site is gamerbomb.com

here is the error when i try to post:

Error in posting

DEBUG MODE

SQL Error : 1062 Duplicate entry '0' for key 1

INSERT INTO nuke_bbtopics (topic_title, topic_poster, topic_time, forum_id, topic_status, topic_type, topic_vote) VALUES ('Welcome to all the new members coming.', 2, 1192542593, 1, 0, 0, 0)

Line : 227
File : functions_post.php

_________________
- JJMUSICPRO
Myspacetoolbelt.com || RankBook.com || GamerBomb.com || MyspaceJar.com 
View user's profile Send private message Visit poster's website
jjmusicpro







PostPosted: Mon Oct 15, 2007 8:22 am Reply with quote

I cant do anything, i cant have people register now etc.

Just says error...

Anyone?
 
jjmusicpro







PostPosted: Mon Oct 15, 2007 8:23 am Reply with quote

Even on a post i made, when i click on it, it says "cant find post"...

Weird, i didnt change anything, it was working, then this happened....
 
montego
Site Admin



Joined: Aug 29, 2004
Posts: 9457
Location: Arizona

PostPosted: Tue Oct 16, 2007 5:15 am Reply with quote

Something HAD to change. Maybe check that table within phpMyAdmin and try to do a repair on it. The autoindex may also not be correct. Check to see what you largest topic_id is and then make sure the autoindex value is one greater than that.

_________________
Where Do YOU Stand?
HTML Newsletter::ShortLinks::Mailer::Downloads and more... 
View user's profile Send private message Visit poster's website
jjmusicpro







PostPosted: Tue Oct 16, 2007 6:27 am Reply with quote

I know this is off the top but...

I have a module thats "in home" how do i get it not to be "in home" when i hit edit, its still there....and dosent give me the option to not put it "in home"
 
jakec
Site Admin



Joined: Feb 06, 2006
Posts: 3048
Location: United Kingdom

PostPosted: Tue Oct 16, 2007 10:20 am Reply with quote

You need to tell Nuke to put one of your other modules in home, by clicking 'Put In Home' link next to module you want displayed in Home.
 
View user's profile Send private message
jjmusicpro







PostPosted: Tue Oct 16, 2007 11:38 am Reply with quote

Perfect that worked.

Now i cant seem to make any more forum catagories, or make new "news" items Sad
 
jjmusicpro







PostPosted: Tue Oct 16, 2007 12:00 pm Reply with quote

Yeah, cant add new advertisers, or make new banners, i can make new blocks etc.

it looks like it made it but just blinks, and goes back to page...
 
Gremmie
Former Moderator in Good Standing



Joined: Apr 06, 2006
Posts: 2415
Location: Iowa, USA

PostPosted: Tue Oct 16, 2007 1:49 pm Reply with quote

Enable error reporting in config.php and check your server error logs.

_________________
GCalendar - An Event Calendar for PHP-Nuke
Member_Map - A Google Maps Nuke Module 
View user's profile Send private message
evaders99
Former Moderator in Good Standing



Joined: Apr 30, 2004
Posts: 3221

PostPosted: Tue Oct 16, 2007 3:17 pm Reply with quote

I am helping debug jjmusicpro's site. Looks like none of the tables have their AUTO_INCREMENT status anymore. I am fixing these as I find them, it should explain all the errors he has.

_________________
- Star Wars Rebellion Network -

Need help? Nuke Patched Core, Coding Services, Webmaster Services 
View user's profile Send private message Visit poster's website
montego







PostPosted: Wed Oct 17, 2007 5:41 am Reply with quote

evaders99, you are a saint.

That is really strange. I have never heard of mySQL just dropping / corrupting these (at least in these forums), so this is definitely a new one.

I can see it happening if this was a moved site where there was an export/import done, or maybe on a restore, but it sounded like this was running just fine one day and puking on itself the next.

Am definitely interested in hearing more about what might have caused this.
 
PHrEEkie
Subject Matter Expert



Joined: Feb 23, 2004
Posts: 358

PostPosted: Wed Oct 17, 2007 9:58 am Reply with quote

The auto-increment is definitely an OPTION when doing an export. I'll wager he opted not to export it with the data... = D

PHrEEk

_________________
PHP - Breaking your legacy scripts one build at a time. 
View user's profile Send private message
evaders99







PostPosted: Wed Oct 17, 2007 4:47 pm Reply with quote

I'm really not sure, but I will ask if this is a recent import. As far as I can, all the other data works fine. It already has all the index data.
 
Display posts from previous:       
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> RN v2.10.01 - All Issues

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©