Smarty Forum Index Smarty
The discussions here are for Smarty, a template engine for the PHP programming language.
Dedicated server web hosting provided by Guru-host.eu.
Help with error

 
Post new topic   Reply to topic    Smarty Forum Index -> Installation and Setup
View previous topic :: View next topic  
Author Message
rossytzoltan
Smarty n00b


Joined: 20 Apr 2011
Posts: 2

PostPosted: Wed Apr 20, 2011 11:46 pm    Post subject: Help with error Reply with quote

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
View user's profile Send private message
U.Tews
Administrator


Joined: 22 Nov 2006
Posts: 4200
Location: Hamburg / Germany

PostPosted: Thu Apr 21, 2011 9:29 pm    Post subject: Reply with quote

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
View user's profile Send private message
rossytzoltan
Smarty n00b


Joined: 20 Apr 2011
Posts: 2

PostPosted: Thu Apr 21, 2011 9:32 pm    Post subject: Reply with quote

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. Smile
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Smarty Forum Index -> Installation and Setup All times are GMT
Page 1 of 1

 
Jump to:  
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
Protected by Anti-Spam ACP