website not working once moved servers

Advanced newspaper or magazine Joomla template to build news website with unique and detailed design.
GK User
Wed Apr 25, 2012 10:25 am
Hi I've moved servers with the world news template - everything was working fine on the old one but now my home page doesn't show anything and I get this error


Undefined property: ContentViewFrontpage::$article in
/var/www/vhosts/beta.charlesorlebar.co.ukhttpdocs/templates/gk_twn/html/com_content/frontpage/default_item.php
on line 72
[Wed Apr 25 00:01:14 2012] [error] [client 62.56.59.1] PHP Notice: Trying
to get property of non-object in
/var/www/vhosts/beta.charlesorlebar.co.ukhttpdocs/templates/gk_twn/html/com_content/frontpage/default_item.php
on line 72

http://beta.charlesorlebar.co.uk/

I can access the backend and if I change templates it works - I've tried downloading the latest version of the template and overwriting the files via ftp


any ideas?

regards

Paul
User avatar
Junior Boarder

teitbite
Tue May 01, 2012 4:01 pm
Hi

Please tell me what php version is installed on new server.
User avatar
Moderator

GK User
Wed May 02, 2012 8:13 pm
I I've got this message off our new hosts

"It seems the template you are using gktwn is not compatible with php 5.3 as 5.3 doesn’t use the redundant ereg family of functions, which are gone for good, as they were slower and felt less familiar than the alternative Perl-compatible preg family."

does this help and can it be fixed?

regards

Paul
User avatar
Junior Boarder

teitbite
Thu May 03, 2012 1:05 pm
Hi

I think it's because of ereg() function too. All You need to do is to rename template's /html/com_content to /html/_com_content. If this won't help than problem is somewhere else.
User avatar
Moderator


cron