|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
Aysxax Smarty n00b
Joined: 15 May 2016 Posts: 1
|
Posted: Sun May 15, 2016 12:14 am Post subject: 'Failed to open stream' and 'Failed opening required' errors |
|
|
I've set up my site but every time I try to go there, I get these two errors and a white screen:
Code: | Warning: require(/usr/local/apache/htdocs/inc/smarty/Smarty.class.php): failed to open stream: No such file or directory in /home/aerienx2/public_html/classes/class_mysidia.php on line 326
Warning: require(/usr/local/apache/htdocs/inc/smarty/Smarty.class.php): failed to open stream: No such file or directory in /home/aerienx2/public_html/classes/class_mysidia.php on line 326
Fatal error: require(): Failed opening required '/usr/local/apache/htdocs/inc/smarty/Smarty.class.php' (include_path='.:/opt/alt/php55/usr/share/pear:/opt/alt/php55/usr/share/php') in /home/aerienx2/public_html/classes/class_mysidia.php on line 326 |
|
|
Back to top |
|
AnrDaemon Administrator
Joined: 03 Dec 2012 Posts: 1785
|
Posted: Sun May 15, 2016 12:53 am Post subject: |
|
|
You shouldn't include Smarty directly.
Include its autoloader instead. |
|
Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|