Lifelesspeople.com

 Forum FAQsForum FAQs  Knowledge BaseKnowledge Base  RulesRules   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   HostingHosting   RegisterRegister 
 DonateDonate   WikiWiki   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Something wrong with my CMS

 
Lifelesspeople.com Forum Index -> Help Wanted
Post new topic   Reply to topic View previous topic :: View next topic  
Author Message
kenoodo
Lifeless Person


Joined: 17 Jul 2005
Posts: 1092
Location: MengDai

PostPosted: Wed Jan 02, 2008 11:40 pm    Post subject: Something wrong with my CMS Reply with quote

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. Sad
Back to top
 
Scott
tutorialtoday.com


Joined: 24 Mar 2005
Posts: 2627
Location: Mississauga, Ontario

PostPosted: Thu Jan 03, 2008 12:24 am    Post subject: Reply with quote

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

PostPosted: Thu Jan 03, 2008 4:49 am    Post subject: Reply with quote

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

PostPosted: Thu Jan 03, 2008 6:30 am    Post subject: Reply with quote

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

PostPosted: Fri Jan 04, 2008 11:47 pm    Post subject: Reply with quote

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. Sad
Back to top
 
Display posts from previous:   
Post new topic   Reply to topic    Lifelesspeople.com Forum Index -> Help Wanted All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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


Home | Hosting | News | Forum | Links | System Status | About | Archive | Donate ]
Powered by phpBB © 2001, 2002 phpBB Group
All trademarks and copyrights on this page are owned by their respective owners. Posts and comments are owned by the poster. Everything else © 2001 - 2007 Lifelesspeople.com