| Author |
Message |
kenoodo Lifeless Person
Joined: 17 Jul 2005 Posts: 1092 Location: MengDai
|
Posted: Wed Jan 02, 2008 11:40 pm Post subject: Something wrong with my CMS |
|
|
Everything was OK last night, and I have done nothing to my site. It started this morning, the index.php could not be opened, but I can log in the CMS admin control panel. And my BBS is working good, while the main portal is not working.
I get two errors in the error.log:
[02-Jan-2008 22:03:37] PHP Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /usr/home/kenoodo/public_html/require/class.php on line 58
[02-Jan-2008 22:03:37] PHP Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /usr/home/kenoodo/public_html/require/class.php on line 83
And there are the two lines in the error log:
line 58: $rs =& mysql_fetch_array($query, MYSQL_ASSOC);
line 83: return mysql_fetch_array($query, $result_type);
I don't know how to fix it, and have to make a index.html instead of the index.php to show the link to my BBS.  |
|
| Back to top |
|
| |
Scott tutorialtoday.com

Joined: 24 Mar 2005 Posts: 2627 Location: Mississauga, Ontario
|
Posted: Thu Jan 03, 2008 12:24 am Post subject: |
|
|
Giving us those lines don't really help us, its the query being done that we would need to know. _________________ Tutorial Management Script - Version 1.4 Released
TutorialToday - Up and running, submit your tutorials!
Linux Tutorials - Coming Soon |
|
| Back to top |
|
| |
spock iSpock

Joined: 23 Mar 2005 Posts: 2905 Location: The Netherlands
|
Posted: Thu Jan 03, 2008 4:49 am Post subject: |
|
|
The mysql_query function somewhere contains query that fails, causing it to return a not valid mysql resource that's passed in into mysql_fetch_array.
You should look into the queries being executed. _________________ My new site
My OpenTTD data package |
|
| Back to top |
|
| |
kenoodo Lifeless Person
Joined: 17 Jul 2005 Posts: 1092 Location: MengDai
|
Posted: Thu Jan 03, 2008 6:30 am Post subject: |
|
|
I posted in that CMS support forum, but get no solution.
I fond that I could open the articles by it's ID, like http://www.mengdai.com/bencandy.php?id=44 .
But when I tried to open the list.php or other pages, the problem remains, no page could be opened. |
|
| Back to top |
|
| |
kenoodo Lifeless Person
Joined: 17 Jul 2005 Posts: 1092 Location: MengDai
|
Posted: Fri Jan 04, 2008 11:47 pm Post subject: |
|
|
I failed. My CMS is gone now. The support did give me some advice, and the last one was to update everything to the latest version, my bbs, my CMS after all the vain attempts.
But I refused, the bbs is working good through all the years. Yeah, I'd say it is simple one, but I think it fit what I need, and it is the one I want.
Here comes the time for changing to another CMS, it does not need to be much powerful, just simple and stable.
It is really trouble me, you know, there are so many CMS you can get from the internet, but the right one, it seems to hide from me.  |
|
| Back to top |
|
| |
|
|
|