EllisLab text mark
Advanced Search
     
Access to old site: Deprecated Error
Posted: 11 September 2012 08:10 PM   [ Ignore ]
Joined: 2007-03-30
111 posts

Hi,

A few years ago I had a site working fine and the client was happy. With the recession and all they stepped away from the site and left it alone. In that time things shifted and I can no longer get into the control panel to make some changes.

Instead I get this -

Entered URL:
http://www.nspropertywatch.com/soup/index.php

Enter Username & Password and get:
Deprecated: Function eregi() is deprecated in /nfs/c01/h13/mnt/31922/domains/nspropertywatch.com/html/soup/db/db.mysql.php on line 316

Current Expression Engine: 1.7.3
PHP: 5.15.3

Any guidance would be appreciated.

Cheers,
Chris

 
Posted: 13 September 2012 11:04 AM   [ Ignore ]   [ # 1 ]   [ Rating: 0 ]
Avatar
Joined: 2005-10-18
7340 posts

Hi Chris,

I’m sorry you’ve run into this! It’s odd, we usually see that error as the result of an out-of-date version of ExpressionEngine being incompatible with PHP 5.

Are you positive you are on 1.7.3? Have you or the client run any updates recently that before you noticed the problems?

I look forward to your reply!

 Signature 

How may I help you?

 
Posted: 13 September 2012 02:22 PM   [ Ignore ]   [ # 2 ]   [ Rating: 0 ]
Joined: 2007-03-30
111 posts

How can I double check my version number?

 
Posted: 14 September 2012 05:54 PM   [ Ignore ]   [ # 3 ]   [ Rating: 0 ]
Avatar
Joined: 2005-10-18
7340 posts

Hey Chris,

I’m sorry, I should have told you:
/system/config.php

$conf['app_version'"173"

Does it have anything other than 173?

Cheers,

 Signature 

How may I help you?

 
Posted: 15 September 2012 05:16 PM   [ Ignore ]   [ # 4 ]   [ Rating: 0 ]
Joined: 2007-03-30
111 posts

Thanx Dan!

I took a look and I was mistaken - it says $conf[‘app_version’] = “160”;

What would be my next step to getting it to 1.73?

Chris

 
Posted: 17 September 2012 05:00 PM   [ Ignore ]   [ # 5 ]   [ Rating: 0 ]
Avatar
Joined: 2008-01-31
4773 posts

Ah, yes. If you’re not running the latest version of EE 1, you’ll want to upgrade. That’ll get rid of the PHP errors you’ve been seeing. You should see a download for EE 1 by visiting your downloads page. Then you’ll just want to follow the update instructions here.

Let me know if you need any more help!

 Signature 

Need some help? | Current Versions: EE 2.6.1 // MM 1.2.1

 
Posted: 17 September 2012 10:18 PM   [ Ignore ]   [ # 6 ]   [ Rating: 0 ]
Joined: 2007-03-30
111 posts

Thanx Kevin - I think I’m getting closer. I have now gotten into the Control panel but it is not the control panel I’m use to.

It’s just a white screen with a collection of links - It looks like any CSS for this CP is missing.

Thoughts?

 
Posted: 19 September 2012 05:38 PM   [ Ignore ]   [ # 7 ]   [ Rating: 0 ]
Avatar
Joined: 2008-01-31
4773 posts

Sounds like you just need to make sure the URL to your theme folder is set. That can be a little difficult to find since the theming isn’t there, so you can also hard-code this preference in your system/config.php file:

$conf['theme_folder_url''http://example.com/themes/'

That get you back up and running?

 Signature 

Need some help? | Current Versions: EE 2.6.1 // MM 1.2.1

 
Posted: 19 September 2012 10:22 PM   [ Ignore ]   [ # 8 ]   [ Rating: 0 ]
Joined: 2007-03-30
111 posts

Kevin,

I’ve updated the config.php file as follows:

$conf['theme_folder_url''http://www.nspropertywatch.com/themes/'

And still no go.

Might I have my permissions set wrong? For when I go to the themes directory I get “Directory access is forbidden.”

Thoughts?

 
Posted: 21 September 2012 02:05 PM   [ Ignore ]   [ # 9 ]   [ Rating: 0 ]
Avatar
Joined: 2008-01-31
4773 posts

Hmm… well this is strange. Be on the lookout for an email from me, and we’ll have a look at this first-hand.

 Signature 

Need some help? | Current Versions: EE 2.6.1 // MM 1.2.1

 
Posted: 21 September 2012 02:29 PM   [ Ignore ]   [ # 10 ]   [ Rating: 0 ]
Joined: 2007-03-30
111 posts

Just replied to your email - Hope you can help.

Regards,
Chris

 
Posted: 24 September 2012 02:51 PM   [ Ignore ]   [ # 11 ]   [ Rating: 0 ]
Avatar
Joined: 2005-10-18
7340 posts

Hi Chris,

Thanks for sending along those details!

We’ll be following up with you there.

Cheers,

 Signature 

How may I help you?

 
Posted: 26 September 2012 10:01 AM   [ Ignore ]   [ # 12 ]   [ Rating: 0 ]
Avatar
Joined: 2002-05-20
12626 posts

Just to close the loop- it was almost the theme url- instead it was the theme path!  That’s set in the general config page of the CP and not typically in the config.php file - though it can be overriden there using:

$conf['theme_folder_path''my/full/path/to/themes/'

And since finding the full path can be tricky-if you have trouble with it, see this FAQ.

You should be good to go, swenke!

 Signature