Shape 5

Joomla Templates => Magnum Opus - December 07 - Club => : openlink September 27, 2011, 12:49:52 PM



: php errors reported
: openlink September 27, 2011, 12:49:52 PM
Hi

I installed this template on my 1and1 linux server and everything went fine, and still is
now i've uploaded the site to another server from another provider i get the following php errors pointing to a template file

Deprecated: Function ereg() is deprecated in /.../templates/magnumopus/index.php on line 663

Deprecated: Function ereg() is deprecated in /.../templates/magnumopus/index.php on line 667

Notice: Undefined variable: my in /.../templates/magnumopus/index.php on line 703

Notice: Trying to get property of non-object in /.../templates/magnumopus/index.php on line 703

i understand the template was made in 2007 but i really like it, I know it is easy to get rid of the deprecated messages, but I would like a more lasting solution.

I stress the fact that I
_have not modified any of those lines
_have attempted to redownload, reupload the file several times
_have also attempted to set the php version of the new server to the same as the 1and1 server

Here are the lines for reference :

if(ereg("msie 6", $br)) {

else if(ereg("msie 7", $br)) {

<?php if ( $my->id ) { initEditor(); } ?>

please advise

Thanks




: Re: php errors reported
: mikek September 27, 2011, 02:22:38 PM
Hello,

If you can private message super admin access to your site I can look into this for you.