Joined: Mar 09, 2004 Posts: 169 Location: Telford UK
Posted:
Mon Jun 21, 2004 12:13 pm
A couple of months ago I installed the "order articles" mod by Raven not noticing that it was for 6.5 only. I know, I know
Since then the latest news has disappeared from my admin home page and also i just installed a "submit content" module which is giving an error.
The content is submitted fine but the submittal form shows this error
Code:
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/storebu/public_html/includes/sql_layer.php on line 238
I've checked the offending line which is this (top line)
Code:
case "MySQL":
$rows=mysql_num_rows($res);
return $rows;
break;;
I originally had nukecops bundle 6.5 installed and upgraded to 6.9 (which has given me a couple of other bugs that I would like to sort out ) but if anyone could throw some light on this one for me it would be much appreciated.
Joined: Mar 09, 2004 Posts: 169 Location: Telford UK
Posted:
Tue Jun 22, 2004 1:49 am
This keeps the same error and nothing changes for that module however I am now seeing this on the home page above the forums block:
Code:
SQL query: SELECT t.topic_id, f.forum_name, f.forum_id, t.topic_last_post_id, t.topic_title, t.topic_poster, t.topic_views, t.topic_replies, t.topic_moved_id FROM nuke_bbtopics t, nuke_bbforums f where t.forum_id=f.forum_id ORDER BY topic_last_post_id DESC
SQL query: SELECT auth_view, auth_read FROM nuke_bbforums where forum_id = '37'
SQL query: SELECT username, user_id FROM nuke_users where user_id='2'
SQL query: SELECT poster_id, FROM_UNIXTIME(post_time, '%m/%d/%Y at %H:%i') as post_time FROM nuke_bbposts where post_id='314'
SQL query: SELECT username, user_id FROM nuke_users where user_id='1'
SQL query: SELECT auth_view, auth_read FROM nuke_bbforums where forum_id = '31'
SQL query: SELECT username, user_id FROM nuke_users where user_id='84'
SQL query: SELECT poster_id, FROM_UNIXTIME(post_time, '%m/%d/%Y at %H:%i') as post_time FROM nuke_bbposts where post_id='313'
SQL query: SELECT username, user_id FROM nuke_users where user_id='1'
SQL query: SELECT auth_view, auth_read FROM nuke_bbforums where forum_id = '13'
SQL query: SELECT username, user_id FROM nuke_users where user_id='2'
SQL query: SELECT poster_id, FROM_UNIXTIME(post_time, '%m/%d/%Y at %H:%i') as post_time FROM nuke_bbposts where post_id='312'
SQL query: SELECT username, user_id FROM nuke_users where user_id='2'
SQL query: SELECT auth_view, auth_read FROM nuke_bbforums where forum_id = '34'
SQL query: SELECT username, user_id FROM nuke_users where user_id='2'
SQL query: SELECT poster_id, FROM_UNIXTIME(post_time, '%m/%d/%Y at %H:%i') as post_time FROM nuke_bbposts where post_id='310'
SQL query: SELECT username, user_id FROM nuke_users where user_id='2'
SQL query: SELECT auth_view, auth_read FROM nuke_bbforums where forum_id = '36'
SQL query: SELECT username, user_id FROM nuke_users where user_id='1'
SQL query: SELECT poster_id, FROM_UNIXTIME(post_time, '%m/%d/%Y at %H:%i') as post_time FROM nuke_bbposts where post_id='309'
SQL query: SELECT username, user_id FROM nuke_users where user_id='2'
In the downloads module I get this above the header
Code:
SQL query: SELECT ns_dl_show_num, ns_dl_show_full, ns_dl_show_sub_cats from nuke_ns_downloads
In the stories archive module under "please select the month you want to see"
Code:
SQL query: select time from nuke_stories order by time DESC
In the "most popular" under the polls section:
Code:
SQL query: SELECT pollID, pollTitle, timeStamp, voters FROM nuke_poll_desc order by voters DESC limit 0, 30
SQL query: SELECT optionCount FROM nuke_poll_data WHERE (pollID=4) AND (voteID=0)
SQL query: SELECT optionCount FROM nuke_poll_data WHERE (pollID=4) AND (voteID=1)
Joined: Aug 27, 2002 Posts: 16987 Location: Kansas
Posted:
Tue Jun 22, 2004 5:05 am
Those aren't errors. You only need to post the messages by the Warning message you first posted. What are those messages? That's where the error is. After you post those few messages you can turn the debug off.
Joined: Aug 27, 2002 Posts: 16987 Location: Kansas
Posted:
Tue Jun 22, 2004 7:19 am
Then either that table does not exist, it may be corrupted and needs a repair, or the table does not contain the columns the query is expecting. In phpMyAdmin, run this query in an SQL window
Code:
select cid, title from nuke_pages_categories order by title
Joined: Mar 09, 2004 Posts: 169 Location: Telford UK
Posted:
Sun Jun 27, 2004 4:30 am
I'm not having a pop - honestly.
if it wasn't for open source I wouldn't have been able to develop my site in the way I have. Period.
But there has to be a better way of getting support when something screws up.
In this case I am certain I have done the damage myself - because the latest news items do not display in the admin homepage.
I am planning to make a serious revenue out of my site and I think (I may be deluded) that it can gain traffic to compete with some of the biggest players in Internet marketing.
I have put roughly three or four months of development into this site and most of my time has been spent searching for add on's that will do what I want. I'm a non coder, although I know enough to be very dangerous. As I just proved.
What I think you should do is get together with chatserv and the other top php guys and build a commercial support option for nuke.
Now, before everyone shoots me down in flames.
I know that a lot of hackers lurk on these and other boards just waiting for their next victim to post up that they started developing a nuke site - it's the obvious place to look.
So you offer hosting with a preinstalled nuke package. Any add on's have to be on your "approved list". If people want to hack their code then you don't offer support.
Get a trouble ticket system and you are in business.
The problem with open source is that when the next owner of a site claims that it's too much hassle and money to run a "free" support site - they just close it down and everyone is stuffed.
It's crazy to have 100's of nuke sites offering downloads and support - it's so hard to find what you need.
And it's so hard to find what you need because very few nuke sites have had the foresight to make themselves search engine friendly. That's the biggest problem.
PHP - Portal is a great idea. But we both know that it's unlikely to happen any time soon because so much work is involved.
Take the latest version of nuke, tighten it up, provide a viable upgrade path, fix the silly spelling mistakes that occur in every version, and offer custom coding for those sites that go on to make money and can afford to pay.
Set up a vote on this site and mail your registered users asking them to participate - then you'll find out if it's viable.
BTW - mail all of my server details to a complete stranger I've never met, you gotta be kidding me
Joined: Aug 27, 2002 Posts: 16987 Location: Kansas
Posted:
Sun Jun 27, 2004 7:33 am
Storebuilder wrote:
BTW - mail all of my server details to a complete stranger I've never met, you gotta be kidding me
Sorry you feel this way. You ask for support and since you are not able to figure it out, there is no other way. I have had lterally hundreds of users send this information, so my reputation preceeds me. In any event, good luck.
View next topic View previous 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