I uploaded the new pncommerce module (0.92) and i got an error:
Warning: Smarty error: unable to read resource: "FILE:modules/pncommerce/templates/defaultcategoryintro.html" in /hsphere/local/home/altretdm/altreconomia.it/includes/classes/Smarty/Smarty.class.php on line 1102
Someone can help me? Thank you very much!
Watch
GitHub Core
Show your support for Zikula! Sign up at Github account and watch the Core project!
GitHub Modules
- mesteele101 responded to »ERR (3): E_USER_ERROR: Smarty error: [in pagesvar:pagesitem2en line XXX]…« 07:01 AM
- mazdev responded to »Pages 2.5.0 and updating - Page not found« 06:41 AM
- ehdwma created topic »Hide "Register new account" and change template to 3 col« 06:27 AM
- mesteele101 responded to »Zikula 1.3.3 - Selecting a category in Pages not working« 01:29 AM
- mdee created topic »How to implement returnpage ?« 01:00 AM
- nestormateo responded to »Fillters in Clip« 24. May
- damon responded to »Can the Updated Version Check be Turned Off (Z 1.3)« 24. May
Zikula Blog
- Anatomy of Open Source Projects on Mar 07
- Continuous Review on Mar 01
- Not Invented Here on Feb 24
- How to Contribute Your Code at Github on Jan 13
- 10 Steps to Coding-Nirvana: Tips for Successful Module Writing on Nov 12
- Submitting Bug Report Tickets That Get Results on Aug 17
- Cozi Tricks #1: Syntax Highlighting on Aug 07
Login
Smarty error in pncommerce
-
**unknown user**
- Rank: Senior
- Registered: Mar 16, 2002
- Last visit: Oct 21, 2009
- Posts: 2204
..whatever is on line 1102 in the referenced file should point you in the right direction.. probably file permissions on the defaultcategoryintro.html.. make sure they're "readable" by the webserver..
-IR -
- Rank: Team Member
- Registered: Mar 18, 2002
- Last visit: Oct 21, 2009
- Posts: 6606
The answer is in the error message... 'unable to read resource: 'FILE:modules/pncommerce/templates/defaultcategoryintro.html'. Check that the file 'modules/pncommerce/templates/defaultcategoryintro.html' exists....
-Mark
--
Visit My homepage and Zikula themes. -
**unknown user**
- Rank: Registered User
- Registered: Mar 16, 2002
- Last visit: Sep 21, 2004
- Posts: 13
Maybe i found the solution (i'll try this evening): problema is due to different template format. In previous module version templates were HTML with no Smarty tag; in new version (0.92) the module assumes that there are Smarty tags in templates files... so, you have to modify template table in database, associating new templates file (those in pntemplates directory). I hope this will solve my problem... -
- Rank: Team Member
- Registered: Jan 02, 2003
- Last visit: Oct 21, 2009
- Posts: 800
You upgraded from .82 to .92x and some of the templates settings have not been converted properly.
In the template settings replace the wrong line with "pncommerce_user_categoryview.html" (without quotes).
Frank
--
"He is not dangerous, he just wants to play...."
- Moderated by:
- Support
