The smarty template is a website and runs normally under wamp. However, when it is uploaded to the linux system, the website cannot find the template and the Fatalerror: ClassWebconfModelnotfoundindatahomehmu110016htdocspath occurs. inc. phponline5 and I used echo $ _ SERVER [smarty template as a website. it 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.