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.
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.
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.
_________________ 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
GnomeSkull Guest
Posted:
Thu Jan 30, 2003 1:34 pm
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?
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
GnomeSkull Guest
Posted:
Thu Jan 30, 2003 1:52 pm
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.
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.
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