[SOLVED] News Detail Template fails after move to new server
Posted: Tue Sep 17, 2013 11:08 pm
After i moved a site to a new server/host, my News Detail Template have started to give me error messages like:
When i look in the referenced file on line 52 i can see it's my custom field generating the error:
But the field work just fine on my summary template.
I've noticed the new host have a different version of PHP (New Host = 5.3.10, Old Host = 5.3.27) and a long list of disabled PHP functions - Can that be the root of the problem?
CMS Version 1.11.7
Code: Select all
Notice: Trying to get property of non-object in /home/u12v7cx/www/tmp/templates_c/nd6^d1b692be4d8923892b0461accc2bef9865a7b838.module_db_tpl.News;detailartikel.php on line 52Code: Select all
<?php if ($_smarty_tpl->tpl_vars['entry']->value->fields['Billede']->value){?>I've noticed the new host have a different version of PHP (New Host = 5.3.10, Old Host = 5.3.27) and a long list of disabled PHP functions - Can that be the root of the problem?
Code: Select all
pcntl_alarm, pcntl_fork, pcntl_waitpid, pcntl_wait, pcntl_wifexited, pcntl_wifstopped, pcntl_wifsignaled, pcntl_wexitstatus, pcntl_wtermsig, pcntl_wstopsig, pcntl_signal, pcntl_signal_dispatch, pcntl_get_last_error, pcntl_strerror, pcntl_sigprocmask, pcntl_sigwaitinfo, pcntl_sigtimedwait, pcntl_exec, pcntl_getpriority, pcntl_setpriority,