Register Advertise with usHelp Desk Today's Posts Search

Closed Thread
Thread Tools Search this Thread
Unread 21st May 2015, 06:50 AM   #1
Warrior Member
 
Join Date: 2015
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default
Local Host Website Development Theme Issues
Share on: 
fb share twitter share gplus share more share

Whenever I open my local host domain there is some error display on the website which is
"Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given in C:\xampp\htdocs\website.com\wp-content\themes\biznez-lite\SketchBoard\functions\modules\nbar\notificati onbar.php on line 78". May I know exactly what is this and how can I resolved it?
ajayp409 is offline  
Unread 21st May 2015, 06:56 AM   #2
HyperActive Warrior
War Room Member
 
emptee's Avatar
 
Join Date: 2014
Location: New Zealand
Posts: 210
Thanks: 25
Thanked 81 Times in 71 Posts
Default
Re: Local Host Website Development Theme Issues
Share on: 
fb share twitter share gplus share more share

Originally Posted by ajayp409 View Post

Whenever I open my local host domain there is some error display on the website which is
"Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given in C:xampphtdocswebsite.comwp-contentthemesbiznez-liteSketchBoardfunctionsmodulesnbarnotificati onbar.php on line 78". May I know exactly what is this and how can I resolved it?
Sounds like a very poorly written theme - mysql_num_rows isn't really meant to be used in WP, that's what stuff like $wpdb is for!

I'd be careful with a badly made theme - it's highly likely that there are security issues with it..

But, if you want to continue with it, can you post the contents of C:\xampp\htdocs\website.com\wp-content\themes\biznez-lite\SketchBoard\functions\modules\nbar\notificati onbar.php and point out line 78?

Cheers,
Michael

emptee is offline  
Unread 28th May 2015, 03:09 AM   #3
HyperActive Warrior
 
Member8200's Avatar
 
Join Date: 2008
Posts: 310
Thanks: 10
Thanked 39 Times in 35 Posts
Default
Re: Local Host Website Development Theme Issues
Share on: 
fb share twitter share gplus share more share

"Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given in C:\xampp\htdocs\website.com\wp-content\themes\biznez-lite\SketchBoard\functions\modules\nbar\notificati onbar.php on line 78"

This is an error in my_sql, Please double check your codes in line 78 and will see what happens. And also check your database. And lastly, restart you XAMPP before you debug. Hope this will help you

Member8200 is offline  
Closed Thread


Bookmarks

Tags
development, host, issues, local, theme, website


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT -6. The time now is 04:16 PM.