• Priority: 0
  • Status: Closed
  • Theme: Venedor
  • Assigned To: Kate Support
  • Private: No
  • Open Date: 26.02.15, 19:02
  • Opened by: Rubén
  • Closed by: Alex
  • Closed on: 19.03.15, 19:25
  • Reason: Closed
  • Comment: Glad to help!

Ticket #6979 - Fatal error to update 1.9

Hello, when i tried update to version 1.9 doesnt works anything…

Comments

Marek 26 Feb 2015, 19:05

Wait a moment, I’ll fix that, right now

Marek 26 Feb 2015, 19:19

I see any files are not updated on your server. What exactly you did?

Alex 26 Feb 2015, 19:19

Hi. Even your BO doesn’t loading. What did you do please describe. Just updated theme version? Or maybe something else?
BO should work in any case.

Rubén 26 Feb 2015, 19:24

Sorry, the server was change. Now is update data.
Prestashop 1.6, Venedor 1.9

Marek 26 Feb 2015, 19:25

I can’t connect to your new server. Please check details.

Rubén 26 Feb 2015, 19:28

Update, is via sftp

Marek 26 Feb 2015, 19:29

Which port?

Error:         	Authentication failed.
Error:         	Critical error: Could not connect to server
Rubén 26 Feb 2015, 19:31

sorry… now its right

Marek 26 Feb 2015, 19:41

Now it works, but I don’t know what state of your shop was before.

Marek 26 Feb 2015, 19:42

I also can recommend you to not update theme if all works fine in your shop.

Rubén 26 Feb 2015, 20:19

take this into account several things not working perfectly, and thought would be solved with the upgrade. thanks

Marek 26 Feb 2015, 20:20

I see some problem in your shop. But please describe what exactly do you mean?

Rubén 26 Feb 2015, 20:21

modules dont appear in the front office

Marek 26 Feb 2015, 20:22

I need access to you phpMyAdmin to add sql fix, or I can give you sql file, and you will do that

Rubén 26 Feb 2015, 20:25

doesnt works: revsliderprestashop, pk_isotopeSort, ph_recentposts and pk_manufacturersCarousel. None on the front

Rubén 26 Feb 2015, 20:26

ok, send the file

Marek 26 Feb 2015, 20:27

This sql fix should help with pk_manufacturersCarousel, pk_isotopeSort
https://www.dropbox.com/s/4r71sbfhho276zu/modules.sql?dl=0

Regarding ph_recentposts. please download latest version of Venedor from themeforest, and copy all files of that module to your server.
Regarding the revolution slider, please check your settings, because that module was not updated.

Rubén 26 Feb 2015, 20:28

because it puts that these versions are available: 1.6,1.7,1.8?
I should upgrade?

Marek 26 Feb 2015, 20:31

No, don’t upgrade while we will fix your issues. And if all will works fine, I also don’t recommend to make update.

Rubén 26 Feb 2015, 20:44

I did what you told me and:
pk_manufacturersCarousel: doesnt display the scroll arrows
pk_isotopeSort: doesnt works
ph_recentposts: in column, doesnt works; and in the footer doesnt display the scroll arrows
revolution slider: doesnt works
ok_columnslider: doesnt works

Rubén 26 Feb 2015, 20:49

try uninstalling and installing pk_isotypesort, and now when I try to enter the modules tab I get:
[PrestaShop] Fatal error in module pk_isotopeSort:
Cannot redeclare class pk_isotopeSort

Marek 26 Feb 2015, 20:52

This feature http://awesomescreenshot.com/0e74hz083b is enabled, but not works. I suppose it’s because of prestashop bug. Try to update prestashop to latest 1.6.0.13

Rubén 26 Feb 2015, 21:06

any module goes well, it’s hopeless

Marek 26 Feb 2015, 21:07

Try to update your prestashop to latest version.

Rubén 02 Mar 2015, 10:54

I does not work AutoUpgrade

Marek 02 Mar 2015, 10:55

It’s not a theme issue, but prestashop platform. Try to ask prestashop community to help you.

Rubén 02 Mar 2015, 12:24

and update the prestashop, but the modules are problematic, I update venedor?

Marek 02 Mar 2015, 12:26

Please upgrade your prestashop first, and then, I’ll help you with modules.

Rubén 02 Mar 2015, 12:28

prestashop is updated to 1.6.0.13

Marek 02 Mar 2015, 12:32

Very strange issue, I need a time to investigate it.

Rubén 02 Mar 2015, 13:37

Hello, update to 1.6.0.13 and update prestashop 1.8 venedor
The front office does not work, it is due?
(the same mistake from the beginning)

Rubén 02 Mar 2015, 14:26

and solve almost everything fails in venedor jquery template, when compiling gets it wrong:
if (load_effect === true)

where I can fix that?

Marek 02 Mar 2015, 14:50
Rubén 02 Mar 2015, 15:02

If I disable:
Compression of JavaScript within the HTML code
JavaScript move the end
modules are shown
but all do not work

Marek 02 Mar 2015, 15:04

The issue is that feature “JavaScript move the end” still not working. I’ll try to figure out why. But it’s not a theme issue.

Rubén 02 Mar 2015, 15:05

the problem is jquery

Marek 02 Mar 2015, 15:06

The problem is because some scripts comes before query, but should not.

Rubén 02 Mar 2015, 18:00

just fail some modules

Marek 02 Mar 2015, 21:13

I have found a way to fix it.
Open the file “classes/controller/Controller.php” find the line

$defer = (bool)Configuration::get('PS_JS_DEFER');

and replace it with

$defer = true;
Rubén 03 Mar 2015, 11:12

the problem is that code missing in the header.tpl of venedor
new updated modules continue without being

Marek 03 Mar 2015, 11:13

which code is missing?

Rubén 03 Mar 2015, 11:18

{if isset($js_defer) && !$js_defer && isset($js_files) && isset($js_def)}

{$js_def}
{foreach from=$js_files item=js_uri}
<script type="text/javascript" src="{$js_uri|escape:'html':'UTF-8'}"></script>
{/foreach}

{/if}
{if isset($css_files)}

  {foreach from=$css_files key=css_uri item=media}
      <link rel="stylesheet" href="{$css_uri|escape:'html':'UTF-8'}" type="text/css" media="{$media|escape:'html':'UTF-8'}" />
  {/foreach}

{/if}

Without this code, files are not included. Modify the header.tpl and works with the exception of new modules, which are not they fail.
will not if the names because venedor multiplies the same module up to 4 times, and fail, not active, not shown, etc … maybe the problem is in the settings venedor

as modules are removed completely? to reinstall them

Marek 03 Mar 2015, 11:21

Look into the header.tpl of default theme, you will find there the same.
But if you find a solution, it’s great, I’ll notice that for future.

Rubén 03 Mar 2015, 11:31

but the several modules not working…I make?

Marek 03 Mar 2015, 11:32

Try to configure them in their settings.

Rubén 03 Mar 2015, 11:35

not working… pk_isotopesort dont show
reinstall pk-manufacturescarousel and doesnt work
the arrows to move modules into theme setting dont appers
etc..

Rubén 03 Mar 2015, 11:40

Look

Marek 03 Mar 2015, 11:47

Now I understand. It’s because the names of modules has been changed.
Here is sql code what can fix the issue:

UPDATE `ps_module` SET `name` = 'pk_isotopesort' WHERE `name` = 'pk_isotopeSort';
UPDATE `ps_module` SET `name` = 'pk_manufacturerscarousel' WHERE `name` = 'pk_manufacturersCarousel';
UPDATE `ps_module` SET `name` = 'pk_productscarousel' WHERE `name` = 'pk_productsCarousel';
UPDATE `ps_module` SET `name` = 'pk_productscarousel_bottom' WHERE `name` = 'pk_productsCarousel_bottom';
UPDATE `ps_module` SET `name` = 'pk_productscarousel_single' WHERE `name` = 'pk_productsCarousel_single';
UPDATE `ps_pk_theme_settings_hooks` SET `name` = 'pk_isotopesort' WHERE `name` = 'pk_isotopeSort';
UPDATE `ps_pk_theme_settings_hooks` SET `name` = 'pk_manufacturerscarousel' WHERE `name` = 'pk_manufacturersCarousel';
UPDATE `ps_pk_theme_settings_hooks` SET `name` = 'pk_productscarousel' WHERE `name` = 'pk_productsCarousel';
UPDATE `ps_pk_theme_settings_hooks` SET `name` = 'pk_productscarousel_bottom' WHERE `name` = 'pk_productsCarousel_bottom';
UPDATE `ps_pk_theme_settings_hooks` SET `name` = 'pk_productscarousel_single' WHERE `name` = 'pk_productsCarousel_single';

Import it through your phpMyAdmin

Rubén 03 Mar 2015, 11:57

appears an error: #1054 - Unknown column ‘name’ in ‘field list’

Marek 03 Mar 2015, 12:02

Sorry, my mistake. Here is correct code:

UPDATE `ps_pk_theme_settings_hooks` SET `module` = 'pk_isotopesort' WHERE `module` = 'pk_isotopeSort';
UPDATE `ps_pk_theme_settings_hooks` SET `module` = 'pk_manufacturerscarousel' WHERE `module` = 'pk_manufacturersCarousel';
UPDATE `ps_pk_theme_settings_hooks` SET `module` = 'pk_productscarousel' WHERE `module` = 'pk_productsCarousel';
UPDATE `ps_pk_theme_settings_hooks` SET `module` = 'pk_productscarousel_bottom' WHERE `module` = 'pk_productsCarousel_bottom';
UPDATE `ps_pk_theme_settings_hooks` SET `module` = 'pk_productscarousel_single' WHERE `module` = 'pk_productsCarousel_single';
Rubén 03 Mar 2015, 12:03

name in ps_pk_theme_settings_hooks is module, no?

Rubén 03 Mar 2015, 12:03

an update ps_module too?

Marek 03 Mar 2015, 12:05

ps_module seems already updated in your DB

Rubén 03 Mar 2015, 12:09

the same error…

Marek 03 Mar 2015, 12:10

Let me try to do that

Marek 03 Mar 2015, 12:54

I tried that code on our live demo and all works fine.

Rubén 03 Mar 2015, 14:16

the fail is here: if(load_effect==true), whats this? where is?

Marek 03 Mar 2015, 14:17

In the theme settings you can find “Cascade module appearance”

Rubén 03 Mar 2015, 14:21

doesnt works, its the same problem

Marek 03 Mar 2015, 14:29

ok. Open the file “modules/pk_themesettings/js/commonscripts.js” find the line

if (load_effect == true)

and just remove it.

Rubén 03 Mar 2015, 16:08

was it

Rubén 03 Mar 2015, 16:16

now, the buttom of isotopesort doesnt work, send to start

Marek 03 Mar 2015, 21:31

I see a javascript error. I need access to your server through FTP to fix that.

Rubén 04 Mar 2015, 15:00

say me the changes and i change it

Marek 04 Mar 2015, 19:22

just replied in another ticket

Rubén 06 Mar 2015, 17:44

doesnt work

Marek 06 Mar 2015, 20:03

Isotope works fine for me, please check that.