Fork me on GitHub

Smarty error in pncommerce  Bottom

  • 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!
  • ..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
  • 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.
  • 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...
  • 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...."

This list is based on users active over the last 60 minutes.