Webmastersite.net
Register Log In

Warning: mysql_num_rows()
I only get this when not logged in

Comments on Warning: mysql_num_rows()

Blueriver
Beginner

Usergroup: Customer
Joined: Aug 20, 2005

Total Topics: 5
Total Comments: 6
Posted Sep 24, 2005 - 6:53 AM:

I get no errors when logged in as Admin. When I visit site as a user I get this error on the first visit. It is normally listed 10 times in a row.

Site: http://www.studentads.com/classifieds/

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/s/t/studentads.com/html/classifieds/classes/database.php on line 108


Any help would be appreicated.

Paul
developer

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

Total Topics: 61
Total Comments: 7868
Paul
Posted Sep 26, 2005 - 12:36 AM:

It must be a timed action, but I can't find which one it would be. If you could somehow get the debug of it that would be useful.
Blueriver
Beginner

Usergroup: Customer
Joined: Aug 20, 2005

Total Topics: 5
Total Comments: 6
Posted Oct 02, 2005 - 11:23 AM:

I found some more information that may help...

---Setting cookie with name testcookie, value 1 and duration 11128276942

Warning: Cannot modify header information - headers already sent by (output started at /home/s/t/studentads.com/html/classifieds/classes/database.php:276) in /home/s/t/studentads.com/html/classifieds/commonfuncs.php on line 439

Warning: Cannot modify header information - headers already sent by (output started at /home/s/t/studentads.com/html/classifieds/classes/database.php:276) in /home/s/t/studentads.com/html/classifieds/commonfuncs.php on line 448

Setting cookie with name returnto, value index.php?action=displaycat&catid=7 and duration 1128277843


Warning: Cannot modify header information - headers already sent by (output started at /home/s/t/studentads.com/html/classifieds/classes/database.php:276) in /home/s/t/studentads.com/html/classifieds/commonfuncs.php on line 439

Warning: Cannot modify header information - headers already sent by (output started at /home/s/t/studentads.com/html/classifieds/classes/database.php:276) in /home/s/t/studentads.com/html/classifieds/commonfuncs.php on line 448

Warning: Cannot modify header information - headers already sent by (output started at /home/s/t/studentads.com/html/classifieds/classes/database.php:

276) in /home/s/t/studentads.com/html/classifieds/end.php on line 143
---

Also, under phpmyadmin I also got this error. Not sure if that would be causing these problems
"The additional Features for working with linked Tables have been
deactivated."

Hope this helps find the problem
Paul
developer

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

Total Topics: 61
Total Comments: 7868
Paul
Posted Oct 07, 2005 - 1:57 PM:

There are no errors in your debug output there, that's just a normal page.

The crons feature in 3.3 will make it more possible to test timed actions.
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



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