fredmiranda.com
Login

Moderated by: Fred Miranda
FM Forum Rules
Wedding Resource List
  

FM Forums | Wedding Photographer | Join Upload & Sell

  

Archive 2012 · WebSite errors after php upgrade

  
 
g-money
Offline
• • •
Upload & Sell: Off
p.1 #1 · WebSite errors after php upgrade


Basic details
Host GoDaddy
Site Blu Template
Web Address www.gowensphotography.com

Ok was cleaning out some old directories and what I thought were junk folders in my online root directory getting ready to install Word Press for a website over haul so I can migrate away from the flash site I have now.

Well had to call godaddy first to upgrade my php to 5.3 before wordpress could be installed. Now after everything is done (have not installed WP yet ) I have errors at the top of my splash screen and cannot log in at all to my bludomain admin page at all. Below are the errors on my home page. Any one have any idea what may have happened? I may have to put in a support ticket to blu or godaddy not sure which way to turn right now. Thanks! Will check this in the AM as I think I am going to get some shut eye right now.

Splash Screen Errors

Deprecated: Function ereg_replace() is deprecated in /home/content/g/o/w/gowens/html/bluadmin/databaseinfo.php(2) : eval()'d code(1) : eval()'d code on line 1

Deprecated: Function ereg_replace() is deprecated in /home/content/g/o/w/gowens/html/bluadmin/browserdetect.php(2) : eval()'d code(1) : eval()'d code on line 1


Errors from my blu admin login page

Deprecated: Function ereg_replace() is deprecated in /home/content/g/o/w/gowens/html/bluadmin/login.php(2) : eval()'d code(1) : eval()'d code on line 1

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/content/g/o/w/gowens/html/bluadmin/login.php(2) : eval()'d code(1) : eval()'d code:1) in /home/content/g/o/w/gowens/html/bluadmin/login.php(2) : eval()'d code(1) : eval()'d code(1) : eval()'d code on line 2

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/content/g/o/w/gowens/html/bluadmin/login.php(2) : eval()'d code(1) : eval()'d code:1) in /home/content/g/o/w/gowens/html/bluadmin/login.php(2) : eval()'d code(1) : eval()'d code(1) : eval()'d code on line 2

Deprecated: Function ereg_replace() is deprecated in /home/content/g/o/w/gowens/html/bluadmin/databaseinfo.php(2) : eval()'d code(1) : eval()'d code on line 1

Deprecated: Function ereg_replace() is deprecated in /home/content/g/o/w/gowens/html/bluadmin/variables.php(2) : eval()'d code(1) : eval()'d code on line 1


Greg



Aug 17, 2012 at 11:52 PM
Ryan Britton
Offline
• • • •
Upload & Sell: Off
p.1 #2 · WebSite errors after php upgrade


I can tell you how to fix the PHP messages, but I have zero experience with Blu's code.

Can you edit the php.ini file on your server? You can't easily fix the cause of the deprecation warning, but you can at least hide it. If so, look for the line that starts with:

error_reporting =

Add this to the end of the line:

& ~E_DEPRECATED


If not, open the root php file for your site (usually index.php) and put this on its own line immediately after the first <?php :

error_reporting(0);

The session_start warnings will go away when the ereg ones are hidden.



Aug 18, 2012 at 01:24 AM
g-money
Offline
• • •
Upload & Sell: Off
p.1 #3 · WebSite errors after php upgrade


Thanks Ryan!!


Aug 18, 2012 at 10:41 AM
g-money
Offline
• • •
Upload & Sell: Off
p.1 #4 · WebSite errors after php upgrade


Just a quick update, I know many in the past have complained about blu domain support. I turned a ticket into them this morning and this issue was resolved in under two hours.... on a weekend. That is pretty good in my book!


Aug 18, 2012 at 12:05 PM





FM Forums | Wedding Photographer | Join Upload & Sell

    
 

Welcome back
Log in to your account