|
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 |
atip07 Smarty n00b
Joined: 17 Jun 2014 Posts: 2
|
Posted: Tue Jun 17, 2014 3:51 am Post subject: Move to new Shared Hosting for a php and smarty website |
|
|
Hi,
I have a website built in by others using PHP and using Smarty as templates.
Previously it was in a Dedicated Server Hosting and now move to a Shared Hosting.
the url is http://creativecontent.my/
The sad thing is that i cannot get this website up and running. The hosting provider is not much of help i my situation.
I do suspected that i need to run the Smarty Modules in the hosting server in order to make it work.
My Question:-
1. Is there a way that i can test if they do have a Smarty Template Engine running and how to test?
2. The website should be running directly to http://creativecontent.my/main and show the correct pages, instead of telling me that i need to "To change this page, upload your website into the public_html directory".
3. Do you have a htaccess to re-direct or setup for a shared hosting and enable my website to run?
Thanks. |
|
Back to top |
|
atip07 Smarty n00b
Joined: 17 Jun 2014 Posts: 2
|
Posted: Tue Jun 17, 2014 8:50 am Post subject: |
|
|
Apache Error Log
[Tue Jun 17 16:11:36 2014] [error] [client 1.9.175.209] File does not exist: /home/creati45/public_html/main
[Tue Jun 17 16:09:46 2014] [error] [client 1.9.175.209] File does not exist: /home/creati45/public_html/main
[Tue Jun 17 16:09:42 2014] [error] [client 1.9.175.209] File does not exist: /home/creati45/public_html/favicon.ico
[Tue Jun 17 16:07:28 2014] [error] [client 1.9.175.209] File does not exist: /home/creati45/public_html/main
[Tue Jun 17 16:05:35 2014] [error] [client 1.9.175.209] PHP Warning: phpinfo() [<a href='function.phpinfo'>function.phpinfo</a>]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Asia/Kuala_Lumpur' for 'MYT/8.0/no DST' instead in /home/creati45/public_html/phpinfo.php on line 8
[Tue Jun 17 16:05:35 2014] [error] [client 1.9.175.209] PHP Warning: phpinfo() [<a href='function.phpinfo'>function.phpinfo</a>]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Asia/Kuala_Lumpur' for 'MYT/8.0/no DST' instead in /home/creati45/public_html/phpinfo.php on line 4 |
|
Back to top |
|
U.Tews Administrator
Joined: 22 Nov 2006 Posts: 5068 Location: Hamburg / Germany
|
Posted: Tue Jun 17, 2014 7:17 pm Post subject: |
|
|
Hostings providers have normally not Smarty preinstalled.
So you have to install it on the new host.
The missing files are do not belong to the Smarty template engine.
See http://nl3.php.net/manual/en/timezones.php for a list of timezone supported by PHP. |
|
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
|