Jump to content

Fatal error after updating to 1.6.1.0 from 1.6.0.14


Recommended Posts

Hi all,

 

I did a simple "1 click upgrading" from version  1.6.0.14 to --> 1.6.1.0 with "Upgrade Complete" but now i get fatal error.

 

Fatal error: Class 'Core_Business_ContainerBuilder' not found in /var/www/config/bootstrap.php on line 27

 

I have also try to delete the file  /cache/class_index.php - did not work for me.

 

 

Could anyone please help me? Thx

 

Bg

Meg Zamani

Link to comment
Share on other sites


Okay, now i do get a new DB error.

 

 

[PrestaShopDatabaseException]

Subquery returns more than 1 row

 

SELECT IFNULL(

            (

                SELECT left_column

                FROM ps_theme t

                LEFT JOIN ps_theme_meta tm ON ( t.id_theme = tm.id_theme )

                LEFT JOIN ps_meta m ON ( m.id_meta = tm.id_meta )

                WHERE t.id_theme =5

                AND m.page = "index" ) , default_left_column

            )

            FROM ps_theme

            WHERE id_theme =5 LIMIT 1

at line 765 in file classes/db/Db.php

 

760.             WebserviceRequest::getInstance()->setError(500, '
 '.$this->getMsgError().'. From '.(isset($dbg[3]['class']) ? $dbg[3]['class'] : '').'->'.$dbg[3]['function'].'() Query was : '.$sql, 97);

761.         }

762.         elseif (_PS_DEBUG_SQL_ && $errno && !defined('PS_INSTALLATION_IN_PROGRESS'))

763.         {

764.             if ($sql)

765.                 throw new PrestaShopDatabaseException($this->getMsgError().'<br /><br /><pre>'.$sql.'</pre>');

766.

767.             throw new PrestaShopDatabaseException($this->getMsgError());

768.         }

769.     }

770.

Link to comment
Share on other sites

2nd Error is Inix Module

 

 

Fatal error: Access level to Inix2Module::displayWarning() must be public (as in class ModuleCore) in /var/www/modules/inixframe/InixModule.php on line 3516
[PrestaShop] Fatal error in module file :/var/www/modules/inixframe/InixModule.php:
Access level to Inix2Module::displayWarning() must be public (as in class ModuleCore)

 

HowTo fix is:

 

Find and open the file InixModule.php and find the line:

 
protected function displayWarning($msg)
 
Change it to
 
public function displayWarning($msg)
 
 
This is just a protected to --> public change.
  • Like 1
Link to comment
Share on other sites

3nd Error is in Moule page:

 

Now i do get this error when i open the AdminModules page

 

 

Payment page

 

 

Notice on line 96 in file /var/www/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code
[8] Undefined property: stdClass::$price

 

 

Modules page

 

 

Unknown error on line 121 in file /var/www/classes/PrestaShopAutoload.php
[2048] Declaration of Mail::Send() should be compatible with MailCore::Send($id_lang, $template, $subject, $template_vars, $to, $to_name = NULL, $from = NULL, $from_name = NULL, $file_attachment = NULL, $mode_smtp = NULL, $template_path = _PS_MAIL_DIR_, $die = false, $id_shop = NULL, $bcc = NULL, $reply_to = NULL)

Notice on line 136 in file /var/www/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code
[8] Undefined property: stdClass::$price

Notice on line 136 in file /var/www/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code
[8] Undefined property: stdClass::$price

Notice on line 136 in file /var/www/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code
[8] Undefined property: stdClass::$price

Notice on line 136 in file /var/www/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code
[8] Undefined property: stdClass::$price

Notice on line 136 in file /var/www/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code
[8] Undefined property: stdClass::$price

Notice on line 136 in file /var/www/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code
[8] Undefined property: stdClass::$price

Notice on line 136 in file /var/www/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code
[8] Undefined property: stdClass::$price

Notice on line 136 in file /var/www/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code
[8] Undefined property: stdClass::$price

Notice on line 136 in file /var/www/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code
[8] Undefined property: stdClass::$price

Notice on line 136 in file /var/www/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code
[8] Undefined property: stdClass::$price

Notice on line 136 in file /var/www/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code
[8] Undefined property: stdClass::$price

Notice on line 136 in file /var/www/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code
[8] Undefined property: stdClass::$price

Notice on line 136 in file /var/www/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code
[8] Undefined property: stdClass::$price

Notice on line 136 in file /var/www/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code
[8] Undefined property: stdClass::$price

Notice on line 136 in file /var/www/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code
[8] Undefined property: stdClass::$price

Notice on line 136 in file /var/www/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code
[8] Undefined property: stdClass::$price

Notice on line 136 in file /var/www/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code
[8] Undefined property: stdClass::$price

Notice on line 136 in file /var/www/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code
[8] Undefined property: stdClass::$price

Notice on line 136 in file /var/www/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code
[8] Undefined property: stdClass::$price

Notice on line 136 in file /var/www/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code
[8] Undefined property: stdClass::$price

Notice on line 136 in file /var/www/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code
[8] Undefined property: stdClass::$price

Notice on line 136 in file /var/www/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code
[8] Undefined property: stdClass::$price

Notice on line 136 in file /var/www/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code
[8] Undefined property: stdClass::$price

Notice on line 136 in file /var/www/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code
[8] Undefined property: stdClass::$price

Notice on line 136 in file /var/www/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code
[8] Undefined property: stdClass::$price

Notice on line 136 in file /var/www/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code
[8] Undefined property: stdClass::$price

Notice on line 136 in file /var/www/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code
[8] Undefined property: stdClass::$price

Notice on line 136 in file /var/www/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code
[8] Undefined property: stdClass::$price

Notice on line 136 in file /var/www/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code
[8] Undefined property: stdClass::$price

Notice on line 136 in file /var/www/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code
[8] Undefined property: stdClass::$price

Notice on line 136 in file /var/www/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code
[8] Undefined property: stdClass::$price

Notice on line 136 in file /var/www/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code
[8] Undefined property: stdClass::$price

Notice on line 136 in file /var/www/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code
[8] Undefined property: stdClass::$price

Notice on line 136 in file /var/www/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code
[8] Undefined property: stdClass::$price

Notice on line 136 in file /var/www/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code
[8] Undefined property: stdClass::$price

Notice on line 136 in file /var/www/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code
[8] Undefined property: stdClass::$price

Notice on line 136 in file /var/www/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code
[8] Undefined property: stdClass::$price
Edited by Meg (see edit history)
Link to comment
Share on other sites

3nd Error fix

 

Go to /adminXXXXX/themes/default/template/controllers/modules/list.tpl

Find and open the file list.tpl and find the line 84:

<i class="icon-shopping-cart"></i>  {if $module->price|floatval == 0}{l s='Free'}{elseif isset($module->id_currency) && isset($module->price)}{displayPrice price=$module->price currency=$module->id_currency}{/if}

Change it to:

<i class="icon-shopping-cart"></i>  {if isset($module->price)}{if $module->price|floatval == 0}{l s='Free'}{elseif isset($module->id_currency)}{displayPrice price=$module->price currency=$module->id_currency}{/if}{/if}

Next go to adminXXXXX/themes/default/template/controllers/modules/tab_module_line.tpl

 

Find and open the file tab_module_line.tpl and find the line 65:

 

 

 

<i class="icon-shopping-cart"></i>{if $module->price|floatval == 0}{l s='Free'}{elseif isset($module->price) && isset($module->id_currency)}   {displayPrice price=$module->price currency=$module->id_currency}{/if}

 

Change it to:

 

 

 

<i class="icon-shopping-cart"></i>{if isset($module->price)}{if $module->price|floatval == 0}{l s='Free'}{elseif isset($module->id_currency)}   {displayPrice price=$module->price currency=$module->id_currency}{/if}{/if}
Link to comment
Share on other sites

Part of error 3 is not fix:

 

Any idea for this?

 

Modules page

 

 

 

Unknown error on line 121 in file /var/www/classes/PrestaShopAutoload.php
[2048] Declaration of Mail::Send() should be compatible with MailCore::Send($id_lang, $template, $subject, $template_vars, $to, $to_name = NULL, $from = NULL, $from_name = NULL, $file_attachment = NULL, $mode_smtp = NULL, $template_path = _PS_MAIL_DIR_, $die = false, $id_shop = NULL, $bcc = NULL, $reply_to = NULL)
Edited by Meg (see edit history)
Link to comment
Share on other sites

  • 2 weeks later...

Hi all,


 


I have upgrading version from 1.5.4.0 to --> 1.6.1.0 by manually. I need urgent solution for this fatal issue.


 


Fatal error: Class 'Core_Business_ContainerBuilder' not found in /var/www/config/bootstrap.php on line 27


 


I have also try to delete the file  /cache/class_index.php - did not work for me.


 


 


Could anyone please help me? Thx


 


Thanks,


Rk


Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...