Jump to content

How to manually upgrade database to 1.7.6.0?


Recommended Posts

After I upgraded from 1.7.5.1 to 1.7.6 the web site only showed a blank screen.

I then switched on Debug mode in the admin panel. Now the web site is working but I do not get any error messages. So I do not know what was wrong. If I switch debug mode off again, I get the blank screen on the main page.

Any idea where I can start looking for the fault?

See www.4x4direct.co.za

Link to comment
Share on other sites

There is another problem. If I try and upgrade any module I get this error

 

Exception thrown by module ps_linklist on upgrade. Warning: include_once(hosts/4x4direct.co.za/httpdocs/classes/../tools/pear/PEAR.php): failed to open stream: No such file or directory

 

Link to comment
Share on other sites

This morning I have another problem after the 1.7.6.0 upgrade:

Quote

at content_5d3effaf225bf5_68888986(object(SmartyCustomTemplate))in smarty_template_resource_base.php line 123

at Smarty_Template_Resource_Base->getRenderedTemplateCode(object(SmartyCustomTemplate))in smarty_template_compiled.php line 114

at Smarty_Template_Compiled->render(object(SmartyCustomTemplate))in smarty_internal_template.php line 216

at Smarty_Internal_Template->render()in smarty_internal_template.php line 385

at Smarty_Internal_Template->_subTemplateRender('module:ps_shoppingcart/ps_shoppingcart-product-line.tpl', null, null, 0, 31536000, array('product' => object(ProductListingLazyArray)), 0, true)in 35655e6409b6198f29dd6e732ef9598dec599880_2.module.psshoppingcartpsshoppingc.php line 69

at content_5d3efef43c4496_49423833(object(SmartyCustomTemplate))in smarty_template_resource_base.php line 123

at Smarty_Template_Resource_Base->getRenderedTemplateCode(object(SmartyCustomTemplate))in smarty_template_compiled.php line 114

at Smarty_Template_Compiled->render(object(SmartyCustomTemplate))in smarty_internal_template.php line 216

at Smarty_Internal_Template->render(false, 0)in smarty_internal_templatebase.php line 232

at Smarty_Internal_TemplateBase->_execute(object(SmartyCustomTemplate), null, null, null, 0)in smarty_internal_templatebase.php line 116

at Smarty_Internal_TemplateBase->fetch(null, null, null, null, false, true, false)in SmartyCustomTemplate.php line 44

at SmartyCustomTemplateCore->fetch()in Module.php line 2447

at ModuleCore->fetch('module:ps_shoppingcart/ps_shoppingcart.tpl')in ps_shoppingcart.php line 98

at Ps_Shoppingcart->renderWidget('displayTop', array('smarty' => object(SmartyCustomTemplate), 'cookie' => object(Cookie), 'cart' => object(Cart)))in Hook.php line 975

at HookCore::coreRenderWidget(object(Ps_Shoppingcart), 'displayTop', array('smarty' => object(SmartyCustomTemplate), 'cookie' => object(Cookie), 'cart' => object(Cart)))in Hook.php line 927

at HookCore::exec('displayTop', array('smarty' => object(SmartyCustomTemplate), 'cookie' => object(Cookie), 'cart' => object(Cart)), null)in smarty.config.inc.php line 167

at smartyHook(array('h' => 'displayTop'), object(SmartyCustomTemplate))in SmartyLazyRegister.php line 83

at SmartyLazyRegister->__call('smartyHook', array(array('h' => 'displayTop'), object(SmartyCustomTemplate)))in f4dabc9235da370ea5c2c94fe2565c996c021e9e_2.file.header.tpl.php line 112

at Block_8397388125d3efeefe83d21_64040124->callBlock(object(SmartyCustomTemplate))in smarty_internal_runtime_inheritance.php line 248

at Smarty_Internal_Runtime_Inheritance->callBlock(object(Block_8397388125d3efeefe83d21_64040124), object(SmartyCustomTemplate))in smarty_internal_runtime_inheritance.php line 184

at Smarty_Internal_Runtime_Inheritance->process(object(SmartyCustomTemplate), object(Block_8397388125d3efeefe83d21_64040124))in smarty_internal_runtime_inheritance.php line 156

at Smarty_Internal_Runtime_Inheritance->instanceBlock(object(SmartyCustomTemplate), 'Block_8397388125d3efeefe83d21_64040124', 'header_top')in f4dabc9235da370ea5c2c94fe2565c996c021e9e_2.file.header.tpl.php line 40

at content_5d3efeefe85ea8_74231428(object(SmartyCustomTemplate))in smarty_template_resource_base.php line 123

at Smarty_Template_Resource_Base->getRenderedTemplateCode(object(SmartyCustomTemplate))in smarty_template_compiled.php line 114

at Smarty_Template_Compiled->render(object(SmartyCustomTemplate))in smarty_internal_template.php line 216

at Smarty_Internal_Template->render()in smarty_internal_template.php line 385

at Smarty_Internal_Template->_subTemplateRender('file:_partials/header.tpl', null, 'layouts/layout-left-column.tpl', 0, 3600, array(), 0, false)in 3db6ff4075db235d9e591535b1e50ab83dcce8a2_2.file.layout-both-columns.tpl.php line 291

at Block_7583449405d3efeefe10400_75859341->callBlock(object(SmartyCustomTemplate))in smarty_internal_runtime_inheritance.php line 248

at Smarty_Internal_Runtime_Inheritance->callBlock(object(Block_7583449405d3efeefe10400_75859341), object(SmartyCustomTemplate))in smarty_internal_runtime_inheritance.php line 184

at Smarty_Internal_Runtime_Inheritance->process(object(SmartyCustomTemplate), object(Block_7583449405d3efeefe10400_75859341))in smarty_internal_runtime_inheritance.php line 156

at Smarty_Internal_Runtime_Inheritance->instanceBlock(object(SmartyCustomTemplate), 'Block_7583449405d3efeefe10400_75859341', 'header')in 3db6ff4075db235d9e591535b1e50ab83dcce8a2_2.file.layout-both-columns.tpl.php line 124

at content_5d3efeefe21bf5_07357686(object(SmartyCustomTemplate))in smarty_template_resource_base.php line 123

at Smarty_Template_Resource_Base->getRenderedTemplateCode(object(SmartyCustomTemplate))in smarty_template_compiled.php line 114

at Smarty_Template_Compiled->render(object(SmartyCustomTemplate))in smarty_internal_template.php line 216

at Smarty_Internal_Template->render()in smarty_internal_template.php line 385

at Smarty_Internal_Template->_subTemplateRender('layouts/layout-both-columns.tpl', null, 'layouts/layout-left-column.tpl', 0, 3600, array(), 2, false, null, null)in smarty_internal_runtime_inheritance.php line 125

at Smarty_Internal_Runtime_Inheritance->endChild(object(SmartyCustomTemplate), 'layouts/layout-both-columns.tpl')in ce34d6232996c4aedfaf6b9f3559456c4b893fd3_2.file.layout-left-column.tpl.php line 38

at content_5d3efeefdd5b37_20330662(object(SmartyCustomTemplate))in smarty_template_resource_base.php line 123

at Smarty_Template_Resource_Base->getRenderedTemplateCode(object(SmartyCustomTemplate))in smarty_template_compiled.php line 114

at Smarty_Template_Compiled->render(object(SmartyCustomTemplate))in smarty_internal_template.php line 216

at Smarty_Internal_Template->render()in smarty_internal_template.php line 385

at Smarty_Internal_Template->_subTemplateRender('layouts/layout-left-column.tpl', null, 'layouts/layout-left-column.tpl', 0, 3600, array(), 2, false, null, null)in smarty_internal_runtime_inheritance.php line 125

at Smarty_Internal_Runtime_Inheritance->endChild(object(SmartyCustomTemplate), 'layouts/layout-left-column.tpl')in d936a335a6ce6827c339fa422096782bd820072d_2.file.page.tpl.php line 33

at content_5d3eff1cef2f83_07704691(object(SmartyCustomTemplate))in smarty_template_resource_base.php line 123

at Smarty_Template_Resource_Base->getRenderedTemplateCode(object(SmartyCustomTemplate))in smarty_template_compiled.php line 114

at Smarty_Template_Compiled->render(object(SmartyCustomTemplate))in smarty_internal_template.php line 216

at Smarty_Internal_Template->render()in smarty_internal_template.php line 385

at Smarty_Internal_Template->_subTemplateRender('page.tpl', null, 'layouts/layout-left-column.tpl', 0, 3600, array(), 2, false, null, null)in smarty_internal_runtime_inheritance.php line 125

at Smarty_Internal_Runtime_Inheritance->endChild(object(SmartyCustomTemplate), 'page.tpl')in 57c352b56da8ee4d5b69d97f5c78e966af98ba46_2.file.index.tpl.php line 35

at content_5d3eff1cede1b7_75212534(object(SmartyCustomTemplate))in smarty_template_resource_base.php line 123

at Smarty_Template_Resource_Base->getRenderedTemplateCode(object(SmartyCustomTemplate))in smarty_template_compiled.php line 114

at Smarty_Template_Compiled->render(object(SmartyCustomTemplate))in smarty_internal_template.php line 216

at Smarty_Internal_Template->render(false, 0)in smarty_internal_templatebase.php line 232

at Smarty_Internal_TemplateBase->_execute(object(SmartyCustomTemplate), null, 'layouts/layout-left-column.tpl', null, 0)in smarty_internal_templatebase.php line 116

at Smarty_Internal_TemplateBase->fetch('index.tpl', null, 'layouts/layout-left-column.tpl', null, false, true, false)in SmartyCustom.php line 112

at SmartyCustomCore->fetch('index.tpl', null, 'layouts/layout-left-column.tpl')in FrontController.php line 683

at FrontControllerCore->smartyOutputContent('index.tpl')in FrontController.php line 667

at FrontControllerCore->display()in Controller.php line 311

at ControllerCore->run()in Dispatcher.php line 515

at DispatcherCore->dispatch()in index.php line 28

 

Link to comment
Share on other sites

Same here! When I upgrade prestashop I have to hope and pray that it doesn't break. It's its usually breaks 70% of the time and often requires a total redo. 

Wordpress upgrade... no problem! So why is prestashop so hard on us?

Link to comment
Share on other sites

My upgrade from 1.7.5.1 to 1.7.6.0 has been a disaster.

I get many problems like modules which do not wat to update and some Smarty error which kills the whole site.

Also if in normal mode I get a blank screen which I can only kind of fix by turning debug mode on.

Is there a way I can make sure that the database updated correctly when I did the upgrade?

Link to comment
Share on other sites

11 hours ago, pietpetoors said:

This morning I have another problem after the 1.7.6.0 upgrade:

 

The errors say that your template in use is not compatible with PS 1.7.6.0. Prestashop has updated symfony on last PS version. If you are using a third part template, you should contact the developer of your theme and ask for debug, i.e. upgrade as well. Seems the template is using old coding.

Link to comment
Share on other sites

Do you think the module issue is also theme related? What I find strange is that it says this file does not exist but if I search for this file in the latest version under /classes/ there is not even such a file from the version I just downloaded from Prestashop = httpdocs/classes/../tools/pear/PEAR.php

Quote

Exception thrown by module gshoppingfeed on upgrade. Warning: include_once(/var/www/vhosts/4x4direct.co.za/httpdocs/classes/../tools/pear/PEAR.php): failed to open stream: No such file or directory

 

Link to comment
Share on other sites

I have more or less same problem.  1 click upgrade 1.7.5.2 to 1.7.6.0 , no problem. Tried several installs.

1 click upgrade in 1.7.5.1 results in a blanco screen.  No error messages after switching dev mode on.  No error log file.  It is hanging or will take 6 days, don't know.

So now I have to get my 1.7.5.1 database into a fresh 1.7.6.0 install.

Link to comment
Share on other sites

I also found the answer to my question for this post.

To upgrade your DB to the latest model you must upload the install folder of the new version and then run this file

http://<shop_domain>/install/upgrade/upgrade.php

If you then get some error which has the numbers 28 in, it means your DB is already on the correct version

Link to comment
Share on other sites

Thanks pietpetoors but it seems the upgrade function from 1.7.5.2 to 1.7.6.0 is not complete/correct.  De new database is not complete after the upgrade so admin gets nuts when you open products, categories,...  Upgading the 1.7.5.2 database to 1.7.6.0 creates the same errors in admin.
I have tried everything, nothing works.
Now just installed a fresh 1.7.6.0 and I will try to export the data only from 1.7.5.2 or 1.7.5.1 and import it into 1.7.6.0
I need to setup a production site and I don't want to do all the testing on an old release.  Problem is I put my existing Zen Cart database into Prestashop 1.7.5.1...
1.7.6.0 was not tested for upgrading, they only tested a new clean install.
I don't understand that Prestashop doesn't warn us somewhere.  Many people have sleepless nights over this now.  I have put almost a week into this!

Link to comment
Share on other sites

  • 2 weeks later...

Destinea is a site of reviews and Buyer's guide of 2019.For Example: Low Light Binoculars are basic to explicit social events of people, for instance, nature fans or winged creature watchers. They have to purchase a binocular suitable for low light conditions since untamed life is most powerful in the significant lots of dawn and sunset. Check this website There are some critical nuances to completely consider before you consider buying a binocular.

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...