GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Webmaster Q & Fuckin' A (https://gfy.com/forumdisplay.php?f=27)
-   -   chaturbate script error (https://gfy.com/showthread.php?t=1162121)

funnytimecpl 03-01-2015 04:38 AM

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!

sarettah 03-01-2015 06:54 AM

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.

Andreweb 03-01-2015 07:02 AM

Mine works just fine

funnytimecpl 03-01-2015 08:18 AM

thanks guys ,
well this is that line that gets xml file

Code:

                                $cams = new SimpleXMLElement('cache/cams.xml', null, true);

sarettah 03-01-2015 09:33 AM

Quote:

Originally Posted by funnytimecpl (Post 20406703)
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?

.


All times are GMT -7. The time now is 03:22 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123