You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 37 guest(s) and 0 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - Cannot submit news with phpnuke 6.7. [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
craigjohnson
Nuke Soldier
Nuke Soldier


Joined: Jan 01, 2005
Posts: 12


PostPosted: Sat Jan 01, 2005 6:03 pm Reply with quoteBack to top

Hi

I am also having trouble submitting news. I am running phpnuke 6.7 (I know this is old but so is my server environment.)

The story so far:

My news section was working fine until:

1) I tried to move my config.php – didn’t work and I had to put it back again.
2) I installed a style and uninstalled it once I realised that my news section wasn’t working.

When I am submitting news in the first instance as an ordinary user, I have to preview it first. So I hit preview and all that happens is that I end up on my index page. I also cannot submit news any other way as I keep getting the same result.

I’m pulling out my hair here because my PHP/MySQL is rusty and I wasn’t any good at it when it wasn’t rusty.

I’ve been looking through this thread and I have pulled out an example of my news dumps for you to see if you can spot the problem in about 2 seconds flat.

I’m not sure if I should have posted a new thread when Disgruntled Tech showed us an example of what the table structure should look like in the “Cannot submit News after PHP Nuke 7.0 upgrade” post. I have because I haven’t upgraded and I’m talking about PHP-Nuke 6.7. He did give me an idea of what I had to show you to help you help me sort the problem out though. Here are the table structures:

nuke_stories is this:

Quote:
CREATE TABLE `writers_stories` (
`sid` int(11) NOT NULL auto_increment,
`catid` int(11) NOT NULL default '0',
`aid` varchar(30) NOT NULL default '',
`title` varchar(80) default NULL,
`time` datetime default NULL,
`hometext` text,
`bodytext` text NOT NULL,
`comments` int(11) default '0',
`counter` mediumint(Cool unsigned default NULL,
`topic` int(3) NOT NULL default '1',
`informant` varchar(20) NOT NULL default '',
`notes` text NOT NULL,
`ihome` int(1) NOT NULL default '0',
`alanguage` varchar(30) NOT NULL default '',
`acomm` int(1) NOT NULL default '0',
`haspoll` int(1) NOT NULL default '0',
`pollID` int(10) NOT NULL default '0',
`score` int(10) NOT NULL default '0',
`ratings` int(10) NOT NULL default '0',
`associated` text NOT NULL,
PRIMARY KEY (`sid`),
KEY `sid` (`sid`),
KEY `catid` (`catid`),
KEY `counter` (`counter`),
KEY `topic` (`topic`)
) TYPE=MyISAM AUTO_INCREMENT=16 ;


And nuke_autonews is this:

Quote:

DROP TABLE IF EXISTS `writers_autonews`;
CREATE TABLE `writers_autonews` (
`anid` int(11) NOT NULL auto_increment,
`catid` int(11) NOT NULL default '0',
`aid` varchar(30) NOT NULL default '',
`title` varchar(80) NOT NULL default '',
`time` varchar(19) NOT NULL default '',
`hometext` text NOT NULL,
`bodytext` text NOT NULL,
`topic` int(3) NOT NULL default '1',
`informant` varchar(20) NOT NULL default '',
`notes` text NOT NULL,
`ihome` int(1) NOT NULL default '0',
`alanguage` varchar(30) NOT NULL default '',
`acomm` int(1) NOT NULL default '0',
`associated` text NOT NULL,
PRIMARY KEY (`anid`),
KEY `anid` (`anid`)
) TYPE=MyISAM AUTO_INCREMENT=2 ;


I was looking at the differences and all that I could see was the last lines were different. For instance:

nuke_stories should read like this:

Quote:

TYPE=MyISAM AUTO_INCREMENT=4 ;


Instead I have:

Quote:

TYPE=MyISAM AUTO_INCREMENT=16 ;



nuke_autonews should read like this:

Quote:

TYPE=MyISAM AUTO_INCREMENT=1 ;



Instead I have:

Quote:

TYPE=MyISAM AUTO_INCREMENT=2 ;


Just different increment values.

Please tell me could this be causing my problem?

Or is it something else altogether?

I much appreciate any help you can give me!

Yours sincerely,

Craig Johnson.

PS I'm asking you only because I would rather not play with it and possibly make a pig's ear out of it.
Find all posts by craigjohnsonView user's profileSend private message
craigjohnson
Nuke Soldier
Nuke Soldier


Joined: Jan 01, 2005
Posts: 12


PostPosted: Tue Jan 04, 2005 9:00 am Reply with quoteBack to top

Any ideas people?

Please help me!
Craig.

_________________
An ignoramous is somebody who doesn't know something you learned yesterday. TEACH ME!
Find all posts by craigjohnsonView user's profileSend private message
Display posts from previous:      
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next 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



Powered by phpBB © 2001, 2005 phpBB Group

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by · TOGETHER TEAM srl ITALY http://www.togetherteam.it · DONDELEO E-COMMERCE http://www.DonDeLeo.com
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.227 Seconds - 203 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::