Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

Problem when moving to a new host ??

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> General
View previous topic :: View next topic  
Author Message
damir112003
Smarty n00b


Joined: 26 Feb 2015
Posts: 2

PostPosted: Fri Feb 27, 2015 6:53 am    Post subject: Problem when moving to a new host ?? Reply with quote

hello

i am a complete n00b and i really need your help Embarassed

every thing was working great, but i had to move to another host .....
and that's when the problem started .....

every thing is working on the site but some menus and some links are not showing ??? as you can see !!!!





and this is the smarty installation test

Quote:
Smarty Installation test...
Testing template directory...
/public_html/templates is OK.
Testing compile directory...
/public_html/cache/templates_c is OK.
Testing plugins directory...
/public_html/libs/plugins is OK.
Testing cache directory...
/public_html/cache is OK.
Testing configs directory...
FAILED: ./configs/ does not exist.
Testing sysplugin files...
... OK
Testing plugin files...
Back to top
View user's profile Send private message
AnrDaemon
Administrator


Joined: 03 Dec 2012
Posts: 1785

PostPosted: Fri Feb 27, 2015 1:24 pm    Post subject: Reply with quote

Your code wasn't prepared to run on a newer PHP version. As always, you can find details in logs.
Back to top
View user's profile Send private message
damir112003
Smarty n00b


Joined: 26 Feb 2015
Posts: 2

PostPosted: Fri Feb 27, 2015 3:44 pm    Post subject: Reply with quote

AnrDaemon wrote:
Your code wasn't prepared to run on a newer PHP version. As always, you can find details in logs.


thank's for your help Idea

i checked the error log as you can see !!!

Quote:

[Fri Feb 27 10:39:48 2015] [error] [client 105.98.74.2] File does not exist: /home/public_html/404.shtml
[Fri Feb 27 10:39:48 2015] [error] [client 105.98.74.2] File does not exist: /home/public_html/favicon.ico
[Fri Feb 27 10:39:48 2015] [error] [client 105.98.74.2] File does not exist: /home/public_html/404.shtml
[Fri Feb 27 10:39:48 2015] [error] [client 105.98.74.2] File does not exist: /home/public_html/favicon.ico


i don't think that the php version is the reason ..... !!!!

even on the old server when i try to install a second copy of the application (with a different DB and on an other folder ) i get the same problem !!!!
Back to top
View user's profile Send private message
AnrDaemon
Administrator


Joined: 03 Dec 2012
Posts: 1785

PostPosted: Fri Feb 27, 2015 7:16 pm    Post subject: Reply with quote

Then enable php errors logging.
Or pester your host to enable it, if you can't do it yourself.
Errors are your friends, they help you improve. Suppressing them only lead to the effects you observed.
Back to top
View user's profile Send private message
U.Tews
Administrator


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

PostPosted: Sat Feb 28, 2015 11:59 am    Post subject: Reply with quote

If you move applications to another host or folders make shure that the template_c and cache folders are empty. Compile and cached templates needs to be rebuild by Smarty in the new enviroment.

If this does not solve the problem provide the template source code of the failing template section.
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> General 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