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. |
|
New Webmasters ask "How-To" questions here. This is where other fucking Webmasters help. |
|
Thread Tools |
03-01-2015, 04:38 AM | #1 |
Registered User
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 '>' 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!</room_subject></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!</room_subject></resourcet></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 : 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!</room_subject></resourcet></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: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! |
03-01-2015, 06:54 AM | #2 |
I'll make you famous
Industry Role:
Join Date: Oct 2002
Posts: 13,947
|
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. |
03-01-2015, 07:02 AM | #3 |
Confirmed User
Industry Role:
Join Date: Mar 2013
Location: Internet
Posts: 2,423
|
Mine works just fine
__________________
Make Money With: Chaturbate |
03-01-2015, 08:18 AM | #4 |
Registered User
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); |
03-01-2015, 09:33 AM | #5 | |
I'll make you famous
Industry Role:
Join Date: Oct 2002
Posts: 13,947
|
Quote:
So, first, are you still getting the error? Second, is it on all sites that you are using the script on or just one? . |
|