GaryG Posted August 23, 2012 Share Posted August 23, 2012 Is there anything wrong with these two lines that is causing these fatal error messages after I migrated to a new host? Fatal error: Cannot access empty property in /home/bbsoid/domains/bbserviceshop.com/public_html/classes/FrontController.php on line 245 Fatal error: Cannot access empty property in /home/bbsoid/domains/bbserviceshop.com/public_html/test/httpdocs/classes/FrontController.php on line 243 These are the two lines: 242 $display_tax_label = $defaultCountry->display_tax_label; 243 if ($cart->{Configuration::get('PS_TAX_ADDRESS_TYPE')}) 244 { 245 $infos = Address::getCountryAndState((int)($cart->{Configuration::get('PS_TAX_ADDRESS_TYPE')})); 246 $country = new Country((int)$infos['id_country']); 247 if (Validate::isLoadedObject($country)) 248 $display_tax_label = $country->display_tax_label; Link to comment Share on other sites More sharing options...
Guest presta-modules-addons.com Posted August 23, 2012 Share Posted August 23, 2012 What is your php version? Link to comment Share on other sites More sharing options...
GaryG Posted August 23, 2012 Author Share Posted August 23, 2012 I specifically asked for 5.2 or higher. As I see the cpanel only shows PHP is turned on but no version stated. I emailed the host admin just now to inquire. I'll let you know real quick here. Please dont go any where lol What is your php version? Link to comment Share on other sites More sharing options...
GaryG Posted August 23, 2012 Author Share Posted August 23, 2012 PHP 5.2.17 All the stats are here at this URL if you can take a look for me. http://91.210.106.122/~bbsoid/test/httpdocs/info.php What is your php version? Link to comment Share on other sites More sharing options...
GaryG Posted August 23, 2012 Author Share Posted August 23, 2012 To me it appears I met all the system requirements. I zipped up the database and moved it to the new host. Havn't changed anything but the settings inc file unless I did something to that. I dont understand the errors and why I cant get the shop to work. Very frustrating. Link to comment Share on other sites More sharing options...
GaryG Posted August 24, 2012 Author Share Posted August 24, 2012 well I knew this was never going to be answered either Link to comment Share on other sites More sharing options...
benjamin utterback Posted August 24, 2012 Share Posted August 24, 2012 Hello Gary, I will change the title of the Thread, I think that may help get some views. Also, community members can take a look at this older thread with a similar problem. http://www.prestashop.com/forums/topic/171535-fatal-error-cannot-access-empty-property-frontcontrollerphp-ps-tax-address-type/ Link to comment Share on other sites More sharing options...
mir-aus Posted August 31, 2012 Share Posted August 31, 2012 I lost my classes/FrontController.php where can i find the file again:( Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now