Page 1 of 1

unrecognized tag after transfer to new server

Posted: Mon Jan 07, 2013 4:09 pm
by Joseph777
Where is the problem?

This error display me, when i want display xml feed on my site (on xml parse i use function.xml_parse.php plugin)

in admin log is: ERROR DETECTED: Call to a member function assign() on a non-object at /home/abc/public_html/plugins/function.xml_parse.php:39

on my old hosting was all ok

i have more websites, on new server on 1.10.3 display error and on 1.11.2 is all ok!

Code: Select all

string(154) "Smarty error: [in globalcontent:feed_1 line 10]: syntax error: unrecognized tag: $result['@attributes']['EventName'] (Smarty_Compiler.class.php, line 446)"
Notice: Undefined offset: 1 in /home/abc/public_html/lib/smarty/Smarty_Compiler.class.php on line 449
string(120) "Smarty error: [in globalcontent:feed_1 line 10]: syntax error: unrecognized tag '' (Smarty_Compiler.class.php, line 590)" string(161) "Smarty error: [in globalcontent:feed_1 line 11]: syntax error: unrecognized tag: $result['@attributes']['ClassificationID'] (Smarty_Compiler.class.php, line 446)"
Notice: Undefined offset: 1 in /home/abc/public_html/lib/smarty/Smarty_Compiler.class.php on line 449
string(120) "Smarty error: [in globalcontent:feed_1 line 11]: syntax error: unrecognized tag '' (Smarty_Compiler.class.php, line 590)" string(159) "Smarty error: [in globalcontent:feed_1 line 12]: syntax error: unrecognized tag: $result['@attributes']['Classification'] (Smarty_Compiler.class.php, line 446)"
Notice: Undefined offset: 1 in /home/abc/public_html/lib/smarty/Smarty_Compiler.class.php on line 449
string(120) "Smarty error: [in globalcontent:feed_1 line 12]: syntax error: unrecognized tag '' (Smarty_Compiler.class.php, line 590)" string(155) "Smarty error: [in globalcontent:feed_1 line 13]: syntax error: unrecognized tag: $result['@attributes']['EventStart'] (Smarty_Compiler.class.php, line 446)"
Notice: Undefined offset: 1 in /home/abc/public_html/lib/smarty/Smarty_Compiler.class.php on line 449
string(120) "Smarty error: [in globalcontent:feed_1 line 13]: syntax error: unrecognized tag '' (Smarty_Compiler.class.php, line 590)" string(153) "Smarty error: [in globalcontent:feed_1 line 14]: syntax error: unrecognized tag: $result['@attributes']['EventEnd'] (Smarty_Compiler.class.php, line 446)"
Notice: Undefined offset: 1 in /home/abc/public_html/lib/smarty/Smarty_Compiler.class.php on line 449
string(120) "Smarty error: [in globalcontent:feed_1 line 14]: syntax error: unrecognized tag '' (Smarty_Compiler.class.php, line 590)" string(154) "Smarty error: [in globalcontent:feed_1 line 15]: syntax error: unrecognized tag: $result['@attributes']['Streaming'] (Smarty_Compiler.class.php, line 446)"
Notice: Undefined offset: 1 in /home/abc/public_html/lib/smarty/Smarty_Compiler.class.php on line 449
string(120) "Smarty error: [in globalcontent:feed_1 line 15]: syntax error: unrecognized tag '' (Smarty_Compiler.class.php, line 590)" string(164) "Smarty error: [in globalcontent:feed_1 line 16]: syntax error: unrecognized tag: $result['@attributes']['BlockedCountryCodes'] (Smarty_Compiler.class.php, line 446)"
Notice: Undefined offset: 1 in /home/abc/public_html/lib/smarty/Smarty_Compiler.class.php on line 449
string(120) "Smarty error: [in globalcontent:feed_1 line 16]: syntax error: unrecognized tag '' (Smarty_Compiler.class.php, line 590)" string(155) "Smarty error: [in globalcontent:feed_1 line 17]: syntax error: unrecognized tag: $result['@attributes']['EventGroup'] (Smarty_Compiler.class.php, line 446)"
Notice: Undefined offset: 1 in /home/abc/public_html/lib/smarty/Smarty_Compiler.class.php on line 449
string(120) "Smarty error: [in globalcontent:feed_1 line 17]: syntax error: unrecognized tag '' (Smarty_Compiler.class.php, line 590)"
Notice: Undefined property: Smarty_CMS::$smarty in /home/abc/public_html/plugins/function.xml_parse.php on line 21

Fatal error: Call to a member function assign() on a non-object in /home/abc/public_html/plugins/function.xml_parse.php on line 39

Re: unrecognized tag after transfer to new server

Posted: Tue Jan 08, 2013 8:29 am
by Rolf
Check syntax in globalcontent:feed_1 line 10

Re: unrecognized tag after transfer to new server

Posted: Tue Jan 08, 2013 11:46 am
by Joseph777
Rolf wrote:Check syntax in globalcontent:feed_1 line 10
there is this:
EventName: {$result['@attributes']['EventName']} <br/>

Re: unrecognized tag after transfer to new server

Posted: Tue Jan 08, 2013 12:46 pm
by Rolf
Joseph777 wrote:{$result['@attributes']['EventName']}
Don't think this is valid Smarty code... At least never saw it this way.
What should it do? Did it work before?

Re: unrecognized tag after transfer to new server

Posted: Tue Jan 08, 2013 1:11 pm
by Joseph777
Don't think this is valid Smarty code... At least never saw it this way.
this code +xml parse plugin parse xml feed
What should it do? Did it work before?
before it worked correctly

Re: unrecognized tag after transfer to new server

Posted: Tue Jan 08, 2013 1:32 pm
by Rolf
New server... changed PHP version or some other setting? Just guessing... :-\

Re: unrecognized tag after transfer to new server

Posted: Tue Jan 08, 2013 2:19 pm
by Joseph777
Rolf wrote:New server... changed PHP version or some other setting? Just guessing... :-\
but on new server is all ok on 1.11.2

Re: unrecognized tag after transfer to new server

Posted: Tue Jan 08, 2013 2:24 pm
by calguy1000
This is not a CMSMS issue it's a problem with the xml_parse plugin (thats what the error message says) which is not part of CMSMS.