Webmastersite.net
Register Log In

Mysql_fetch_row
Error only appears when using Opera.

Comments on Mysql_fetch_row

Orbitalz
Experienced

Usergroup: Customer
Joined: Dec 19, 2004

Total Topics: 15
Total Comments: 54
Posted Feb 03, 2005 - 1:54 PM:

Hey, This is a tad unusual.

I've submitted to my directory using FireFox and Opera as a Guest and as Admin. Both browsers give me know errors and both submissions showed up in "validate items" list.

However, when I use the web browser Opera for doing submissions, I get this error after pressing the submit button:

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/orbitalz/public_html/directory/classes/database.php on line 69


And the submission doesn't showup in my "validate items" list.

Sofar, Opera is the only browser that seems to cause this.
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7867
Paul
Posted Feb 04, 2005 - 10:26 AM:

Opera works fine for me. Must be a cookie. Post the debug info.
Orbitalz
Experienced

Usergroup: Customer
Joined: Dec 19, 2004

Total Topics: 15
Total Comments: 54
Posted Feb 04, 2005 - 10:54 AM:

yes
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7867
Paul
Posted Feb 04, 2005 - 4:51 PM:

Orbitalz wrote:
Load time so far: 0.23 seconds.
Performing query: SELECT parentids FROM wsnlinks_categories WHERE id= ;

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/orbitalz/public_html/directory/classes/database.php on line 69


It appears the category id of the link is somehow unknown. Also the case for the link insertion -- so you should notice that your link isn't showing up in any category.

Try opening suggest.php and replacing
 $thecat = new category('id', $_POST['catid']); 
with
$catid = $_POST['catid'];
$thecat = new category('id', $_POST['catid']);
Orbitalz
Experienced

Usergroup: Customer
Joined: Dec 19, 2004

Total Topics: 15
Total Comments: 54
Posted Feb 04, 2005 - 9:40 PM:

Nope, didn't fix it. I still get the same mysql error in Opera
Any other suggesstions?sad
Orbitalz
Experienced

Usergroup: Customer
Joined: Dec 19, 2004

Total Topics: 15
Total Comments: 54
Posted Feb 04, 2005 - 10:05 PM:

this is odd aswell,

before submission, I had 206 links in my directory. After submitting using Opera, My directory reports I have 207 links yet the link doesn't showup in my "validate list" nor in the directory its self.
Rik
Forum Regular

Usergroup: Customer
Joined: Sep 22, 2004
Location: Wake Forest, NC

Total Topics: 23
Total Comments: 161
Rik
Posted Feb 05, 2005 - 7:43 AM:

Why are the messages in this topic not word wrapping?

Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7867
Paul
Posted Feb 05, 2005 - 9:40 AM:

Orbitalz wrote:
this is odd aswell,

before submission, I had 206 links in my directory. After submitting using Opera, My directory reports I have 207 links yet the link doesn't showup in my "validate list" nor in the directory its self.


It's the fact that as noted before it's being submitted to no category. Do you have the category selector on submission pages on or off?

Rik wrote:
Why are the messages in this topic not word wrapping?


Because I had the value set too high.
Orbitalz
Experienced

Usergroup: Customer
Joined: Dec 19, 2004

Total Topics: 15
Total Comments: 54
Posted Feb 05, 2005 - 4:30 PM:

I have it turned on.
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7867
Paul
#10 - Quote - Permalink
Posted Feb 05, 2005 - 10:22 PM:

Do you have any other scripts installed that might be setting a cookie named catid, that you might have visited in opera but not in the other browsers? What else might you have done differently in opera?
Orbitalz
Experienced

Usergroup: Customer
Joined: Dec 19, 2004

Total Topics: 15
Total Comments: 54
#11 - Quote - Permalink
Posted Feb 06, 2005 - 12:34 PM:

Didn't do anything differently in opera. I've only changed the colors and layout. Plus I reverted back to the default suggestlink.tpl to see if it was a template error, but that didn't work either.
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7867
Paul
#12 - Quote - Permalink
Posted Feb 06, 2005 - 5:15 PM:

Well, the URL you PMed me just gives me a 404 in Opera or any other browser.
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7867
Paul
#13 - Quote - Permalink
Posted Feb 07, 2005 - 6:12 PM:

I get the error in opera on your site as well, and not in firefox. It really doesn't make any sense, as cookies couldn't be different when I've never been to the site in either browser before (and, as noted, on my own 3.14 installs Opera doesn't complain).
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



This thread is closed, so you cannot post a reply.