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, 66 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 - editing/viewing articles produces error [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
This forum is locked: you cannot post, reply to, or edit topics.  This topic is locked: you cannot edit posts or make replies.printer-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
GnomeSkull
Guest






PostPosted: Thu Jan 30, 2003 9:24 am Reply with quoteBack to top

Using PHP Nuke 6.0 with the fixes from their site. If I (as admin) attempt to edit an article, the article is not displayed for editing, instead I see the following error:

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /var/www/html/includes/sql_layer.php on line 301
Unknown column '6ec60304427035c83fbf86ae6fe1cebf' in 'where clause'
Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /var/www/html/includes/sql_layer.php on line 301
You have an error in your SQL syntax near '' at line 1

If anyone tries to click Read More... or comments? for the article on the main page, then it just bounces back to the main page.

Any help would be greatly appreciated. I have tried totally reinstalling the site (files and databases) but the problem returned as soon as I posted the first article.

Thank you!

GnomeSkull
http://gnome.ath.cx
Find all posts by Anonymous
Zhen-Xjell
Nuke Cops Founder
Nuke Cops Founder


Joined: Nov 14, 2002
Posts: 5939


PostPosted: Thu Jan 30, 2003 10:24 am Reply with quoteBack to top

Hi, can you enable debug mode for nuke and give us the sql statement where it bombs?

_________________
Paul Laudanski, Microsoft MVP Windows-Security
CastleCops: [de] [en] [wiki]
Find all posts by Zhen-XjellView user's profileSend private messageSend e-mailVisit poster's website
GnomeSkull
Guest






PostPosted: Thu Jan 30, 2003 10:55 am Reply with quoteBack to top

sorry, i did not even know about debug mode. i enabled it though, and just before the error message previously stated, there is this query:

SQL query: SELECT catid, title, hometext, bodytext, topic, notes, ihome, alanguage, acomm FROM nuke_stories where sid=6ec60304427035c83fbf86ae6fe1cebf

currently there is only one record in that table, with sid=1

hope this helps!

Thanks!
GnomeSkull
Find all posts by Anonymous
Zhen-Xjell
Nuke Cops Founder
Nuke Cops Founder


Joined: Nov 14, 2002
Posts: 5939


PostPosted: Thu Jan 30, 2003 11:05 am Reply with quoteBack to top

Which fixes did you implement for nuke 6?

_________________
Paul Laudanski, Microsoft MVP Windows-Security
CastleCops: [de] [en] [wiki]
Find all posts by Zhen-XjellView user's profileSend private messageSend e-mailVisit poster's website
Guest







PostPosted: Thu Jan 30, 2003 12:43 pm Reply with quoteBack to top

I would think that is likely irrelevant, since I was getting the same error before the fixes. But the fixes were from this page:

http://phpnuke.org/modules.php?name=Downloads&d_op=viewdownload&cid=9

Specifically the "PHP-Nuke 6.0 Fixes" and "Themes Fix".

Like I said, I had encountered the problem, and then wiped out the whole thing and started over. Then I got the error again, so I tried those fixes on the off chance it would help. Of course it did not.

Thank you for your efforts thus far. Let me know what else you need to know.

GnomeSkull
http://gnome.ath.cx
Find all posts by Anonymous
chatserv
General
General


Joined: Jan 12, 2003
Posts: 3128

Location: Puerto Rico

PostPosted: Thu Jan 30, 2003 1:16 pm Reply with quoteBack to top

I can't find that string in my 6.0 News index.php, can you search for it in yours and post the section where it appears? If you find it post it starting one or two lines above and one or two below.

Seearch for SELECT catid, title, hometext, bodytext, topic, notes, ihome, alanguage, acomm

_________________
Feed a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime.
ScriptHeaven | NukeResources
Find all posts by chatservView user's profileSend private messageVisit poster's website
GnomeSkull
Guest






PostPosted: Thu Jan 30, 2003 1:34 pm Reply with quoteBack to top

i looked in my main index.php, not found. But maybe i am looking in the wrong file. To be clear, this error occurs when I click "Edit" beside a story. Normally the article would be opened for editing, but this error is displayed and all the fields are empty. Can you tell me the path of the file I should be searching if not just index.php at the root of the site?

Thank you!

GnomeSkull
http://gnome.ath.cx
Find all posts by Anonymous
chatserv
General
General


Joined: Jan 12, 2003
Posts: 3128

Location: Puerto Rico

PostPosted: Thu Jan 30, 2003 1:36 pm Reply with quoteBack to top

I meant the index.php of the News module but since you say it's part of the main page then what theme are you using?

_________________
Feed a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime.
ScriptHeaven | NukeResources
Find all posts by chatservView user's profileSend private messageVisit poster's website
GnomeSkull
Guest






PostPosted: Thu Jan 30, 2003 1:52 pm Reply with quoteBack to top

I looked in /modules/News/index.php also, not found there either. I have tried switching themes, the error persists across the other few I tried. The default theme is Kaput, if that matters.

Thanks!

GnomeSkull
http://gnome.ath.cx
Find all posts by Anonymous
GnomeSkull
Guest






PostPosted: Thu Jan 30, 2003 1:56 pm Reply with quoteBack to top

The URL of the edit page I am receiving the error on is http://gnome.ath.cx/admin.php?op=EditStory&sid=1 (clicked from http://gnome.ath.cx/admin.php).
Find all posts by Anonymous
GnomeSkull
Nuke Cadet
Nuke Cadet


Joined: Jan 30, 2003
Posts: 1

Location: Canada

PostPosted: Fri Jan 31, 2003 1:15 pm Reply with quoteBack to top

OK... I don't know how or why, but after sitting on the page all day, I was poking around and suddenly realized the error was gone. Thank you for you responses, but the problem seems to have dissipated on its own. Any idea where it could have been coming from, let me know. Don't want it to happen again.

Thanks!

GnomeSkull
http://gnome.ath.cx (back in business!)
Find all posts by GnomeSkullView user's profileSend private messageSend e-mailVisit poster's websiteICQ Number
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.printer-friendly view
View previous topic Log in to check your private messages View next topic
You can post new topics in this forum
You can 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.205 Seconds - 220 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::