The smarty template is a website that runs normally on the wamp. However, after being uploaded to the linux system, the website cannot find the template.

Source: Internet
Author: User
The smarty template is a website and runs normally under wamp. However, when it is uploaded to the linux system, the website will see Fatalerror after the template cannot be found: class 'webconfmodel' notfoundin/data/home/hmu110016/htdocs/path. inc. the phponline5 smarty template is a website and runs normally under wamp. However, after being uploaded to the linux system, the website cannot find the template.
The Fatal error: Class 'webconfmodel' not found in/data/home/hmu110016/htdocs/path appears. inc. php on line 5 and I used echo $ _ SERVER ['document _ root'] to find the path:/usr/home/hmu110016/htocs. how can I modify this. I am running normally locally. Urgent Solution

------ Solution --------------------
Case sensitivity
------ Solution --------------------
When you call Model: select () in row 8 of the data/home/hmu110016/htdocs/path. inc. php file, you did not pass parameters to it.

The Model: select () you define has parameters.

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.