ListIt2 Smarty error

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
chillifish
Forum Members
Forum Members
Posts: 92
Joined: Wed Jul 27, 2011 9:26 am

ListIt2 Smarty error

Post by chillifish »

When trying to list modules on the admin side, I get the following error:

Code: Select all

Fatal error: Uncaught --> Smarty: Unable to load template file '/home/~/public_html/modules/ListIt2/framework/templates/help.tpl' <-- thrown in /home/~/public_html/lib/smarty/libs/sysplugins/smarty_internal_templatebase.php on line 127
I appreciate the fact that ListIt2 is no longer in development, but does anyone have any ideas how I could fix it? I'm guessing there's something wrong with the script in the template file, but my Smarty knowledge is non-existent.
User avatar
velden
Dev Team Member
Dev Team Member
Posts: 3497
Joined: Mon Nov 28, 2011 9:29 am
Location: The Netherlands

Re: ListIt2 Smarty error

Post by velden »

chillifish wrote:... but my Smarty knowledge is non-existent.
What about the 'Forum search knowledge'? :D

http://forum.cmsmadesimple.org/viewtopi ... 90#p320990
chillifish
Forum Members
Forum Members
Posts: 92
Joined: Wed Jul 27, 2011 9:26 am

Re: ListIt2 Smarty error

Post by chillifish »

Obviously not as good as it should be! Thanks for that, all fixed…
chillifish
Forum Members
Forum Members
Posts: 92
Joined: Wed Jul 27, 2011 9:26 am

Re: ListIt2 Smarty error

Post by chillifish »

Unfortunately, it's not entirely fixed as I can't use the module created with it, getting the error:

Code: Select all

Unable to load template file '/home/~/public_html/modules/ListIt2/framework/templates/itemtab.tpl'
How do I go about downgrading CMSMS to a previous version where everything just worked? Is it the same as upgrading, ie, can I just write the files over the existing files and run the upgrade script?
User avatar
Jo Morg
Dev Team Member
Dev Team Member
Posts: 1967
Joined: Mon Jan 29, 2007 4:47 pm

Re: ListIt2 Smarty error

Post by Jo Morg »

chillifish wrote:Unfortunately, it's not entirely fixed as I can't use the module created with it
If you copied the lines correctly and cleared CMSMS cache it should work. It has been tested more than few times already...
chillifish wrote:How do I go about downgrading CMSMS to a previous version where everything just worked? Is it the same as upgrading, ie, can I just write the files over the existing files and run the upgrade script?
Nope, there is no downgrading method other than recovering from a backup (which is always a good practice to have one done before any upgrade). And CMSMS released an upgrade because not
chillifish wrote:... everything just worked...
"There are 10 types of people in this world, those who understand binary... and those who don't."
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
chillifish
Forum Members
Forum Members
Posts: 92
Joined: Wed Jul 27, 2011 9:26 am

Re: ListIt2 Smarty error

Post by chillifish »

It was my mistake, on my live site, I copied the first function, not the second as on my dev site, so I was just replacing like with like.

I'm sure you know that I mean that everything just worked in terms of my site and its functionality.
chillifish
Forum Members
Forum Members
Posts: 92
Joined: Wed Jul 27, 2011 9:26 am

Re: ListIt2 Smarty error

Post by chillifish »

By the way, as an aside, anybody reading this and having problems with listit2 after a site move, it hard codes the path to the plugin in the database, so you need to do a search and replace on the relevant tables.
User avatar
velden
Dev Team Member
Dev Team Member
Posts: 3497
Joined: Mon Nov 28, 2011 9:29 am
Location: The Netherlands

Re: ListIt2 Smarty error

Post by velden »

By the way, as an aside, anybody reading this and having problems with listit2 after a site move, it hard codes the path to the plugin in the database,so you need to do a search and replace on the relevant tables.
Probably you missed the 'Scan Field Fefinitions' button in the Listit2 'main' module (extensions menu > Listit2 > Field Definitions tab)

If that's what you mean please
chillifish
Forum Members
Forum Members
Posts: 92
Joined: Wed Jul 27, 2011 9:26 am

Re: ListIt2 Smarty error

Post by chillifish »

Yes, it looks like it, though it doesn't seem to explain anywhere what that button is for!
User avatar
magallo
Dev Team Member
Dev Team Member
Posts: 121
Joined: Thu Mar 24, 2011 12:37 am

Re: ListIt2 Smarty error

Post by magallo »

Have you fixed this? I'm having the same problem after i moved to a different server:

Extensions -> Modules
Fatal error: Uncaught --> Smarty: Unable to load template file '/home/tpfold/public_html/modules/ListIt2/framework/templates/help.tpl' <-- thrown in /home/tpfold/public_html/lib/smarty/libs/sysplugins/smarty_internal_templatebase.php on line 127
If i try to access any of the Listit2 istances i get:

ERROR: at line 127 in file /home/tpfold/public_html/lib/smarty/libs/sysplugins/smarty_internal_templatebase.php:

message:
Unable to load template file '/home/tpfold/public_html/modules/ListIt2/framework/templates/itemtab.tpl'
please help
Magal Hezi
Pixel Solutions, Technology Partners
magal@pixelsolutions.biz | pixelsolutions.biz

Image
chillifish
Forum Members
Forum Members
Posts: 92
Joined: Wed Jul 27, 2011 9:26 am

Re: ListIt2 Smarty error

Post by chillifish »

Yes, I used the code in this link http://forum.cmsmadesimple.org/viewtopi ... 90#p320990 and it now works.
Post Reply

Return to “Modules/Add-Ons”