Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 11-02-2008, 09:59 PM   #1
Phil
Confirmed User
 
Phil's Avatar
 
Join Date: Jan 2004
Posts: 7,659
Vshare , PHP5 and Fatal error: Call to a member function RecordCount() on a non-objec

If you ever get "Fatal error: Call to a member function RecordCount() on a non-object" error

delete this one line :

$sql = "select * from guest_info where guest_ip='$guest_ip' and log_date='$guest_date'";

in view_video.php

this only happens after you upgrade to PHP 5.
__________________
Ask Phil
Phil is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-02-2008, 10:02 PM   #2
Iron Fist
Too lazy to set a custom title
 
Join Date: Dec 2006
Posts: 23,400
Strange, my host upgraded me to PHP 5 months ago and never had a problem with vshare. Interesting.
__________________
i like waffles
Iron Fist is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-02-2008, 10:04 PM   #3
psili
Confirmed User
 
Join Date: Apr 2003
Location: Loveland, CO
Posts: 5,526
Glad you somehow found a workaround, but shit.... that's a shitty workaround. There's something else amiss with the Vshare code, but anyway.... At least your stuff's up again, though, right?
__________________
Your post count means nothing.
psili is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-02-2008, 10:12 PM   #4
Phil
Confirmed User
 
Phil's Avatar
 
Join Date: Jan 2004
Posts: 7,659
Quote:
Originally Posted by psili View Post
Glad you somehow found a workaround, but shit.... that's a shitty workaround. There's something else amiss with the Vshare code, but anyway.... At least your stuff's up again, though, right?
you can do it by declaring db connection object. I just commented out that line. All it does is checking for visitors IP if he was on the site before...
__________________
Ask Phil
Phil is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-02-2008, 10:13 PM   #5
Phil
Confirmed User
 
Phil's Avatar
 
Join Date: Jan 2004
Posts: 7,659
Quote:
Originally Posted by sharphead View Post
Strange, my host upgraded me to PHP 5 months ago and never had a problem with vshare. Interesting.
oops, sorry bro. ClipShare... I bet its about the same code in bith tho.. I saw both of them and they are almost identical.
__________________
Ask Phil
Phil is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.