 |
Smarty
The discussions here are for Smarty, a template engine for the PHP programming language. Dedicated server web hosting provided by Guru-host.eu. |
| View previous topic :: View next topic |
| Author |
Message |
rossytzoltan Smarty n00b
Joined: 20 Apr 2011 Posts: 2
|
Posted: Wed Apr 20, 2011 11:46 pm Post subject: Help with error |
|
|
Hi,
Just moved the website from one server to another and can't for the life of me figure out the following error:
Warning: mkdir() [function.mkdir]: No such file or directory in /home/wrahi/public_html/hrbo.co.uk/system_function_initialize.php on line 0
Warning: mkdir() [function.mkdir]: No such file or directory in /home/wrahi/public_html/hrbo.co.uk/system_function_initialize.php on line 0
Warning: mkdir() [function.mkdir]: No such file or directory in /home/wrahi/public_html/hrbo.co.uk/system_function_initialize.php on line 0
Warning: Cannot modify header information - headers already sent by (output started at /home/wrahi/public_html/hrbo.co.uk/system_function_initialize.php:0) in /home/wrahi/public_html/hrbo.co.uk/system_function_initialize.php on line 0
Warning: Smarty error: unable to read resource: "index.html" in /home/wrahi/public_html/hrbo.co.uk/libs/Smarty.class.php on line 1095
I looked in the system_function_initialize.php file and it appears to be loading files from the Ioncube folder, could this be the cause? Perhaps a specific setting for the old server which is failing? There is no mkdir () function being called in that file.
Many thanks in advance,
Ross |
|
| Back to top |
|
U.Tews Administrator
Joined: 22 Nov 2006 Posts: 4200 Location: Hamburg / Germany
|
Posted: Thu Apr 21, 2011 9:29 pm Post subject: |
|
|
Warning: Smarty error: unable to read resource: "index.html" can popup if $smarty->template_dir does not point the the right folder or the folder has not the right permissions.
system_function_initialize.php is no Smarty file. So I can't help with that. |
|
| Back to top |
|
rossytzoltan Smarty n00b
Joined: 20 Apr 2011 Posts: 2
|
Posted: Thu Apr 21, 2011 9:32 pm Post subject: |
|
|
Thanks for your reply.
Turns out it was all down to the folder structure being one different from /public_html to /public_html/hrbo.co.uk.
This has now been fixed, thank you.  |
|
| 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
|