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.

 

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
New Webmasters ask "How-To" questions here. This is where other fucking Webmasters help.

 
Thread Tools
Old 03-01-2015, 04:38 AM   #1
funnytimecpl
Registered User
 
funnytimecpl's Avatar
 
Industry Role:
Join Date: Oct 2014
Posts: 74
chaturbate script error

Hey GFY,
anyone still use this script provided by k33n and improved by sarettah from here ?
https://gfy.com/webmaster-q-and-fucki...ms-script.html

If yes , do you get this error too ?

Code:
[28-Feb-2015 15:14:13 UTC] PHP Warning:  SimpleXMLElement::__construct() [<a href='simplexmlelement.--construct'>simplexmlelement.--construct</a>]: cache/cams.xml:131: parser error : expected '&gt;' in /home/DOMAIN/public_html/includes/functions.php on line 945
[28-Feb-2015 15:14:13 UTC] PHP Warning:  SimpleXMLElement::__construct() [<a href='simplexmlelement.--construct'>simplexmlelement.--construct</a>]: y, pain games, deepthroat , humilation, and any others!&lt;/room_subject&gt;&lt;/resource in /home/DOMAIN/public_html/includes/functions.php on line 945
[28-Feb-2015 15:14:13 UTC] PHP Warning:  SimpleXMLElement::__construct() [<a href='simplexmlelement.--construct'>simplexmlelement.--construct</a>]:                                                                                ^ in /home/DOMAIN/public_html/includes/functions.php on line 945
[28-Feb-2015 15:14:13 UTC] PHP Warning:  SimpleXMLElement::__construct() [<a href='simplexmlelement.--construct'>simplexmlelement.--construct</a>]: cache/cams.xml:131: parser error : Opening and ending tag mismatch: response line 2 and resource in /home/DOMAIN/public_html/includes/functions.php on line 945
[28-Feb-2015 15:14:13 UTC] PHP Warning:  SimpleXMLElement::__construct() [<a href='simplexmlelement.--construct'>simplexmlelement.--construct</a>]: , deepthroat , humilation, and any others!&lt;/room_subject&gt;&lt;/resourcet&gt;&lt;/resource&gt; in /home/DOMAIN/public_html/includes/functions.php on line 945
[28-Feb-2015 15:14:13 UTC] PHP Warning:  SimpleXMLElement::__construct() [<a href='simplexmlelement.--construct'>simplexmlelement.--construct</a>]:                                                                                ^ in /home/DOMAIN/public_html/includes/functions.php on line 945
[28-Feb-2015 15:14:13 UTC] PHP Warning:  SimpleXMLElement::__construct() [<a href='simplexmlelement.--construct'>simplexmlelement.--construct</a>]: cache/cams.xml:131: parser error : Extra content at the end of the document in /home/DOMAIN/public_html/includes/functions.php on line 945
[28-Feb-2015 15:14:13 UTC] PHP Warning:  SimpleXMLElement::__construct() [<a href='simplexmlelement.--construct'>simplexmlelement.--construct</a>]: , deepthroat , humilation, and any others!&lt;/room_subject&gt;&lt;/resourcet&gt;&lt;/resource&gt; in /home/DOMAIN/public_html/includes/functions.php on line 945
[28-Feb-2015 15:14:13 UTC] PHP Warning:  SimpleXMLElement::__construct() [<a href='simplexmlelement.--construct'>simplexmlelement.--construct</a>]:                                                                                ^ in /home/DOMAIN/public_html/includes/functions.php on line 945
[28-Feb-2015 15:14:14 UTC] PHP Fatal error:  Uncaught exception 'Exception' with message 'String could not be parsed as XML' in /home/DOMAIN/public_html/includes/functions.php:945

Do you guys know what the problem is and how to fix it ?
Thanks!
funnytimecpl is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 03-01-2015, 06:54 AM   #2
sarettah
l8r
 
Industry Role:
Join Date: Oct 2002
Posts: 13,670
What does line 945 of the functions.php file look like?

OI have the copy of the script that you sent me but the functions file has blank lines inserted all the way through so I do not know that the line 945 I see in there is the same as your line 945.

So, let's see what your line 945 says so I can synch this up and maybe figure it out.

Thanks

Edited in: I almost forgot. It appears to be hitting a bad piece of xml in the cams.xml file. So, not necessarily a program error, more likely a data error.
sarettah is online now   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 03-01-2015, 07:02 AM   #3
Andreweb
Confirmed User
 
Andreweb's Avatar
 
Industry Role:
Join Date: Mar 2013
Location: Internet
Posts: 2,423
Mine works just fine
__________________
Make Money With: Chaturbate
Andreweb is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 03-01-2015, 08:18 AM   #4
funnytimecpl
Registered User
 
funnytimecpl's Avatar
 
Industry Role:
Join Date: Oct 2014
Posts: 74
thanks guys ,
well this is that line that gets xml file

Code:
				$cams = new SimpleXMLElement('cache/cams.xml', null, true);
funnytimecpl is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 03-01-2015, 09:33 AM   #5
sarettah
l8r
 
Industry Role:
Join Date: Oct 2002
Posts: 13,670
Quote:
Originally Posted by funnytimecpl View Post
thanks guys ,
well this is that line that gets xml file

Code:
				$cams = new SimpleXMLElement('cache/cams.xml', null, true);
Ok, well, like I said, seems to be an error in the actual feed.

So, first, are you still getting the error? Second, is it on all sites that you are using the script on or just one?

.
sarettah is online now   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
 
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks

Tags
[28-feb-2015, line, php, utc], warning, error, humilation, cache/cams.xml131, parser, deepthroat, exception, script, string, message, document, fatal, uncaught, parsed, fix, content, xml, guys, k33n, improved, expected



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.