Jump to content



Latest News: (loading..)

- - - - -

Can not login to Admin panel


  • Please log in to reply
3 replies to this topic

#1   Tekkun

Tekkun
  • Members
  • 3 posts
  • Real Name:Michael

Posted 22 August 2012 - 06:13 PM

Out of the blue, whenever I attempt to login to my admin panel now I get the following error.

Deprecated: Function ereg_replace() is deprecated in /home/exoticle/public_html/catalog/admin/includes/functions/general.php on line 67

Warning: Cannot modify header information - headers already sent by (output started at /home/exoticle/public_html/catalog/admin/includes/functions/general.php:67) in/home/exoticle/public_html/catalog/admin/includes/functions/general.php on line 34

Just started to get it today. Never had that before nor have I made any changes within the last few months. Main site is still running fine, just the admin panel isn't letting us login.

#2   DunWeb

DunWeb

    The Censored One

  • Members
  • 12,732 posts
  • Real Name:Chris
  • Gender:Male
  • Location:Ontario, Canada

Posted 22 August 2012 - 07:24 PM

@Tekkun

Your hosting provider has updated their server software, therefore your store needs to be updated to be PHP 5.3 compatible.

Chris
:|: Was this post helpful ? Click the LIKE THIS button :|:

See my Profile (click here)

#3   FWR Media

FWR Media
  • Community Sponsor
  • 6,839 posts
  • Real Name:Robert Fisher
  • Gender:Male
  • Location:Stowmarket - Suffolk - UK

Posted 22 August 2012 - 07:55 PM

@Tekkun

temporarily try changing the error_reporting in admin/includes/application top to

   if ( defined( 'E_DEPRECATED' ) ) {
	 error_reporting(E_ALL & ~E_NOTICE & ~E_DEPRECATED);  
   } else error_reporting(E_ALL & ~E_NOTICE);


#4   Sumisu

Sumisu
  • Members
  • 32 posts
  • Real Name:Martin
  • Gender:Male

Posted 22 August 2012 - 11:35 PM

This has been going for a couple of years I think..., everyone knew it was being depreciated FAST even back then, it's a shame that even by this point there still isnt a nice simple way of updating that somebody's created... and everyone updating their contribs.

anyway, just as some extra info into the discussion, here's a link that might help you.. or atleast allow you to see how the changes are being made to aid you in completing your own at the very least

http://forums.oscommerce.com/topic/381320-since-were-updating-deprecated-session-and-ereg-solutions/

Edited by Sumisu, 22 August 2012 - 11:36 PM.