unrecognized tag after transfer to new server

The place to talk about things that are related to CMS Made simple, but don't fit anywhere else.
Post Reply
Joseph777
Forum Members
Forum Members
Posts: 206
Joined: Wed Mar 16, 2011 9:13 am

unrecognized tag after transfer to new server

Post 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
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Contact:

Re: unrecognized tag after transfer to new server

Post by Rolf »

Check syntax in globalcontent:feed_1 line 10
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
Joseph777
Forum Members
Forum Members
Posts: 206
Joined: Wed Mar 16, 2011 9:13 am

Re: unrecognized tag after transfer to new server

Post by Joseph777 »

Rolf wrote:Check syntax in globalcontent:feed_1 line 10
there is this:
EventName: {$result['@attributes']['EventName']} <br/>
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Contact:

Re: unrecognized tag after transfer to new server

Post 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?
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
Joseph777
Forum Members
Forum Members
Posts: 206
Joined: Wed Mar 16, 2011 9:13 am

Re: unrecognized tag after transfer to new server

Post 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
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Contact:

Re: unrecognized tag after transfer to new server

Post by Rolf »

New server... changed PHP version or some other setting? Just guessing... :-\
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
Joseph777
Forum Members
Forum Members
Posts: 206
Joined: Wed Mar 16, 2011 9:13 am

Re: unrecognized tag after transfer to new server

Post 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
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: unrecognized tag after transfer to new server

Post 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.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Post Reply

Return to “The Lounge”