What should I do if smarty reports an error?

Source: Internet
Author: User
Smarty error: smarty property error: Notice: Undefinedproperty: Smarty ::$ cacheinginD: \ develop \ PHP \ VertrigoServ \ www \ learn \ smarty \ libs \ Smarty. class. php smarty error
Error in smarty properties:
Notice: Undefined property: Smarty: $ cacheing in D: \ develop \ PHP \ VertrigoServ \ www \ learn \ smarty \ libs \ Smarty. class. php on line 669


Smarty engine exception:
Fatal error: Uncaught exception 'smartyexception' with message 'Call of unknown method 'hisplay '. 'In D: \ develop \ PHP \ VertrigoServ \ www \ learn \ smarty \ libs \ sysplugins \ smarty_internal_templatebase.php on line 758


I use vertrigo as a WEB server and apache + mysql. it should be okay...
But why is an error reported when creating a template ..--

------ Solution --------------------
Sorry is wrong.

Undefined property: Smarty: $ cacheing
Attribute $ cacheing is not defined.

Call of unknown method 'hisplay '....
Call an unknown method (history )...

------ Solution --------------------
Clarify the second point.
1. whether your smarty is an official version.
2. it is clear that the variable is missing and you need to register it, for example, $ smarty-> assign ('cacheing', here is the value );
------ Solution --------------------
Paste the code you executed. Check whether you follow the smarty statement.
------ Solution --------------------
Are you sure you want
$ Smarty-> display ('');
Instead
$ Smarty-> hisplay ("");

?

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.