New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BOOM-3909] error in Chrome when hit back from product to category #9883

Closed
prestonBot opened this Issue Aug 22, 2018 · 20 comments

Comments

3 participants
@prestonBot
Copy link
Collaborator

prestonBot commented Aug 22, 2018

This issue has been migrated from the Forge. Read the original ticket here.

  • Reporter: frandel
  • Created at: Fri, 29 Sep 2017 13:20:39 +0200

Hi,

I just discovered a weird problem. It happens only in chrome, firefox is good.

Exiting from a product page and going back to the main list, causes error if:
you clicked the product after paginate, or using filters.

  • How to reproduce the issue ?

This is a fresh install I just performed of 1.7.2.2. No modules


http://213.32.90.157/tienda/

click
WOMAN
use filters: check DRESSES, BEIGE
Click the resulting product: wait for it to load.
Click the chrome browser back arrow. Now, it should go back to the product list. Instead of that, I get lots of uninterpreted code:


{"rendered_products_top":"<div id=\"js-product-list-top\" class=\"row products-selection\">\n <div class=\"col-md-6 hidden-sm-down total-products\">\n <p>There is 1 product.<\/p>\n <\/div>\n <div class=\"col-md-6\">\n <div class=\"row sort-by-row\">\n\n \n <span class=\"col-sm-3 col-md-3 hidden-sm-down sort-by\">Sort by:<\/span>\n<div class=\"col-sm-9 col-xs-8 col-md-9 products-sort-order dropdown\">\n <button\n class=\"btn-unstyle select-title\"\n rel=\"nofollow\"\n data-toggle=\"dropdown\"\n aria-haspopup=\"true\"\n aria-expanded=\"false\">\n Relevance <i class=\"material-icons float-xs-right\">&#xE5C5;<\/i>\n <\/button>\n <div class=\"dropdown-menu\">\n <a\n rel=\"nofollow\"\n href=\"http:\/\/213.32.90.157\/tienda\/index.php?controller=category&amp;id_category=3&amp;id_lang=1&amp;order=product.position.asc&amp;q=Categories-Tops\/Color-White\"\n

and thousands of lines
@prestonBot

This comment has been minimized.

Copy link
Collaborator

prestonBot commented Aug 22, 2018

This comment has been migrated from the Forge. Read the original comment here.

  • Author: fdelval
  • Created at: Fri, 29 Sep 2017 21:33:32 +0200

Update, I installed more stores to check the bug

1.7.2.2: problem -> http://213.32.90.157/tienda

1.7.2.1: same problem -> http://213.32.90.157/tienda2

1.7.1.2: works -> http://213.32.90.157/tienda3

@prestonBot

This comment has been minimized.

Copy link
Collaborator

prestonBot commented Aug 22, 2018

This comment has been migrated from the Forge. Read the original comment here.

  • Author: fdelval
  • Created at: Sun, 15 Oct 2017 12:59:33 +0200

same problem in newly released 1.7.2.3

@prestonBot

This comment has been minimized.

Copy link
Collaborator

prestonBot commented Aug 22, 2018

This comment has been migrated from the Forge. Read the original comment here.

  • Author: prasanth
  • Created at: Tue, 24 Oct 2017 11:55:24 +0200

Hi frandel,

Sorry for the delay.
I reproduce your issue, thank you for your report.

Regards

@prestonBot

This comment has been minimized.

Copy link
Collaborator

prestonBot commented Aug 22, 2018

This comment has been migrated from the Forge. Read the original comment here.

  • Author: prasanth
  • Created at: Tue, 24 Oct 2017 13:47:30 +0200

Je reproduis ce bug sur la 1.7.2.3 sur Google Chrome.
(error_chrome.gif)

@prestonBot

This comment has been minimized.

Copy link
Collaborator

prestonBot commented Aug 22, 2018

This comment has been migrated from the Forge. Read the original comment here.

  • Author: fdelval
  • Created at: Sat, 11 Nov 2017 21:27:34 +0100

it keeps happening in 1.7.2.4

http://213.32.90.157/tienda4

How is this not a major bug? Am I the only one who install shops that crash?
I am confused...

@prestonBot

This comment has been minimized.

Copy link
Collaborator

prestonBot commented Aug 22, 2018

This comment has been migrated from the Forge. Read the original comment here.

  • Author: fdelval
  • Created at: Wed, 22 Nov 2017 19:25:41 +0100

can anyone with latest version and a working prestashop, share the 

OS
php
apache
mysql

combination that works? 

-which version are you using?

@prestonBot

This comment has been minimized.

Copy link
Collaborator

prestonBot commented Aug 22, 2018

This comment has been migrated from the Forge. Read the original comment here.

  • Author: marion_francois
  • Created at: Tue, 9 Jan 2018 14:04:24 +0100

Je reproduis ce problème lorsque les ulrs simplifiées sont désactivées

@prestonBot

This comment has been minimized.

Copy link
Collaborator

prestonBot commented Aug 22, 2018

This comment has been migrated from the Forge. Read the original comment here.

  • Author: gorus
  • Created at: Tue, 20 Mar 2018 12:08:37 +0100

I'm meeting exactly the same issue here : http://despetitsetdesmarques.com

I just upgraded PS to 1.7.3 version, it didn't solve the issue.

Any known workaround ?

@prestonBot

This comment has been minimized.

Copy link
Collaborator

prestonBot commented Aug 22, 2018

This comment has been migrated from the Forge. Read the original comment here.

  • Author: khouloud.belguith
  • Created at: Wed, 21 Mar 2018 09:03:20 +0100

Hi Igor BARENNE,

It is not solved yet.
It is added tour bug roadmap, it will be fixed in the next release.
Thanks for your patience and your understanding.

Best regards, Khouloud

@prestonBot

This comment has been minimized.

Copy link
Collaborator

prestonBot commented Aug 22, 2018

This comment has been migrated from the Forge. Read the original comment here.

  • Author: keirwtdavie
  • Created at: Fri, 23 Mar 2018 22:24:23 +0100

Hello, i appreciate your hard work in tackling this problem. However is there a date in which you plan for the next release?

@prestonBot

This comment has been minimized.

Copy link
Collaborator

prestonBot commented Aug 22, 2018

This comment has been migrated from the Forge. Read the original comment here.

  • Author: khouloud.belguith
  • Created at: Mon, 26 Mar 2018 10:15:34 +0200

Hi keir,

It should be solved for 1.7.4.

Best regards, Khouloud

@prestonBot

This comment has been minimized.

Copy link
Collaborator

prestonBot commented Aug 22, 2018

This comment has been migrated from the Forge. Read the original comment here.

  • Author: maartenaalbers
  • Created at: Wed, 28 Mar 2018 10:40:38 +0200

Hi Khouloud,

Is there any ETA for this release?

Kind regards, Maarten.

@prestonBot

This comment has been minimized.

Copy link
Collaborator

prestonBot commented Aug 22, 2018

This comment has been migrated from the Forge. Read the original comment here.

  • Author: khouloud.belguith
  • Created at: Fri, 18 May 2018 15:26:22 +0200

Hi maartenaalbers,

The version 1.7.3.2 is released in 3 may 2018.
The next version 1.7.4 will be released in few weeks.

Best regards, Khouloud

@prestonBot

This comment has been minimized.

Copy link
Collaborator

prestonBot commented Aug 22, 2018

This comment has been migrated from the Forge. Read the original comment here.

  • Author: khouloud.belguith
  • Created at: Thu, 24 May 2018 10:46:03 +0200

Hi,

I manage to reproduce the issue with PS 1.7.3.1.
https://drive.google.com/file/d/1WR3ng-LSJIvq_bQsWbUyFBALeK5PhkB7/view

Best regards, Khouloud

@prestonBot

This comment has been minimized.

Copy link
Collaborator

prestonBot commented Aug 22, 2018

This comment has been migrated from the Forge. Read the original comment here.

  • Author: fdelval
  • Created at: Tue, 10 Jul 2018 17:28:01 +0200

Still happens in 1.7.4, I don't understand how this is not critical after almost 9 months

@prestonBot

This comment has been minimized.

Copy link
Collaborator

prestonBot commented Aug 22, 2018

This comment has been migrated from the Forge. Read the original comment here.

  • Author: khouloud.belguith
  • Created at: Tue, 10 Jul 2018 17:40:19 +0200

Hi frandel,

There are some major issues to solve before this one.
So, it will probably not solved right now.
But PrestaShop is an open source project, so it can be solved before if someone submits a pull request to solve it.

Best regards, Khouloud

@prestonBot

This comment has been minimized.

Copy link
Collaborator

prestonBot commented Aug 22, 2018

This comment has been migrated from the Forge. Read the original comment here.

  • Author: deschmeyer
  • Created at: Fri, 17 Aug 2018 19:08:36 +0200

if it is still doing it on 1.7.4.2 for some people...then it seems to be a hosting issue, i cloned a 1.7.4.2 site demonstrating this and now running it locally with xampp the problem is gone.

@prestonBot

This comment has been minimized.

Copy link
Collaborator

prestonBot commented Aug 22, 2018

This comment has been migrated from the Forge. Read the original comment here.

  • Author: fdelvalfrandel
  • Created at: Sat, 18 Aug 2018 18:45:02 +0200

David is right, it works with this setup of a VPS preinstalled both with the bare LAMP package and in a second try, with the PRESTASHOP package.

    Linux Kernel (3.16+63)
    Apache (2.4.10-10+deb8u7)
    PHP (5.6.29+dfsg-0+deb8u1)
    MySQL (5.5.53-0+deb8u1)

this are the php packages

libapache2-mod-php5/now 5.6.36+dfsg-0+deb8u1 amd64 [installed,local]
php-gettext/now 1.0.11-1 all [installed,local]
php-tcpdf/now 6.0.093+dfsg-1+deb8u1 all [installed,local]
php5/now 5.6.36+dfsg-0+deb8u1 all [installed,local]
php5-cli/now 5.6.36+dfsg-0+deb8u1 amd64 [installed,local]
php5-common/now 5.6.36+dfsg-0+deb8u1 amd64 [installed,local]
php5-curl/now 5.6.36+dfsg-0+deb8u1 amd64 [installed,local]
php5-gd/now 5.6.36+dfsg-0+deb8u1 amd64 [installed,local]
php5-json/now 1.3.6-1 amd64 [installed,local]
php5-mcrypt/now 5.6.36+dfsg-0+deb8u1 amd64 [installed,local]
php5-mysql/now 5.6.36+dfsg-0+deb8u1 amd64 [installed,local]
php5-readline/now 5.6.36+dfsg-0+deb8u1 amd64 [installed,local]
phpmyadmin/now 4:4.2.12-2+deb8u3 all [installed,local]

 

Which has me wondering, what is the problem?

php.ini? apache2.conf?

I tried installing the same packages in a decian 8.10, but the error persisted.

Something in the already installed packages makes it work.

@prestonBot

This comment has been minimized.

Copy link
Collaborator

prestonBot commented Aug 22, 2018

This comment has been migrated from the Forge. Read the original comment here.

  • Author: fdelvalfrandel
  • Created at: Sat, 18 Aug 2018 20:27:23 +0200

I am sorry Im not able to edit my previous post, excuse my double posting.

After installing and reinstalling prestashop in both bare servers from scratch, or as a already pre-configured server provided by my hosting, the difference I see is, the already configured ones provide prestashop with something that allows the option " Friendly URL  = yes " by default.

Meanwhile, if I install prestashop from scratch, installing mysql + apache + php by myself, the friendly URL is set = no, even though the packages I installed were the same (at least I tried)

I did tests on debian 8,9, centos 7 and ubuntu 18 servers.

I hope it narrows down the problem so anyone else with knowledge in coding can pin-point the problem.

 

here is a tutorial so you can enable friendly url in ubuntu (and I guess debian) systems in order to set "friendly url = yes"

https://ubuntuserverguide.com/2015/05/%EF%BB%BFhow-to-install-prestashop-with-apache2-mysql-5-5-php-5-5-on-ubuntu-server-14-04.html

greetings

 

@marionf marionf added this to Up next in PrestaShop 1.7.5 Aug 30, 2018

@colinegin colinegin added this to To do in PrestaShop 1.7.6 via automation Oct 1, 2018

@colinegin colinegin removed this from Up next in PrestaShop 1.7.5 Oct 1, 2018

@colinegin colinegin added this to the 1.7.6.0 milestone Oct 1, 2018

@marionf

This comment has been minimized.

Copy link
Contributor

marionf commented Oct 23, 2018

I can't reproduce this issue on 1.7.5.0

@marionf marionf closed this Oct 23, 2018

PrestaShop 1.7.6 automation moved this from To do to Done Oct 23, 2018

@marionf marionf added Fixed and removed To Do labels Oct 23, 2018

@marionf marionf removed this from Done in PrestaShop 1.7.6 Oct 23, 2018

@marionf marionf added this to To do in PrestaShop 1.7.5 via automation Oct 23, 2018

@marionf marionf modified the milestones: 1.7.6.0, 1.7.5.0 Oct 23, 2018

@marionf marionf moved this from To do to To be merged in PrestaShop 1.7.5 Oct 23, 2018

@marionf marionf moved this from To be merged to Done in PrestaShop 1.7.5 Oct 23, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment