Forum Support

Shape 5
March 29, 2024, 06:54:01 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Shape 5 Forum
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: php errors reported  (Read 666 times)
openlink
Jr. Member
**
Offline Offline

Posts: 28



« on: 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


« Last Edit: September 27, 2011, 12:51:38 PM by openlink » Logged
mikek
Administrator
*****
Offline Offline

Posts: 28743



WWW
« Reply #1 on: 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.
Logged

Mike Knott
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Looking for the largest variety in template designs? Look no more. Never buy 1 theme again. Signups start at just $89 for access to all of our themes.
Send Us An Email
Please send us your questions and we will email you back as soon as we can. Product support questions should be posted in our support forums under the Help menu. Our staff will assist you from there.