Hello, after update 1.7.6 I am unable to add related product to the product.
When I am trying to select thumbnail for product variante, I also have an issue that does not allow me to see the images.
I have the following error in my console.
GET https://url.domain/administrationfolder/themes/new-theme/public/index.php?controller=AdminPerformance&token=a37fb1e3cce99e983e72d3640f8c50c5 net::ERR_ABORTED 404 (Not Found)
Server : Apache/2.4.25 (Debian)
PHP : 7.0.33-0+deb9u3
Thank you by advance
Hi @Dupflo,
I did not manage to reproduce the issue with PS1.7.6.1.
https://drive.google.com/file/d/1gIehWK6_6CcUyHBrnSxxpdEfsoFOQSYB/view
Could you please provide us with more info? We need more details to understand how we can reproduce your issue:
Don't you know how to get this information? Please read the following article:
http://build.prestashop.com/howtos/misc/how-to-create-bug-report/
Thanks!
I just fixed the error of the images because the update just remove small_default ! So my issue is only issue number 1
server setup and configuration : Apache/2.4.25 (Debian), PHP 7.0.33-0
PrestaShop version (source) : 1.7.6
debug mode report : Even on debug mod I don't have access to report the website is working fine
@Dupflo, there is error in the console?
You need to enable debug mode in your store and debug request which is sent for product action in your browser, using DevTools, so:
Thanks!
Thank you! Here is what I got
I got Failed to Load Response Data for both "Response" and "Preview" tab
I have no related product that is proposed.. even related product previously added to a product are displayed in Front Office but not on the Back Office
@Dupflo, you have an error 404.
There is no error displayed in the Preview Tab when you click on the "the error message"?
Thanks!
@Dupflo, you have an error 404.
There is no error displayed in the Preview Tab when you click on the "the error message"?Thanks!
No error, I got something like my request is find in the database since I can find this code with the debug mod based on my "XL" research
[{"id":"8","name":"Ultra Nuit (XL) (ref: UN_U)","ref":"UN_U","image":"https:\/\/hannahpad.fr\/477-home_default\/serviette-hygienique-ultra-nuit-xl.jpg"},{"id":"9","name":"Super Ultra Nuit (XXL) (ref: SUN_U)","ref":"SUN_U","image":"https:\/\/hannahpad.fr\/515-home_default\/protection-hygienique-super-ultra-nuit-xxl.jpg"},{"id":"13","name":"Coffret Ultra Nuit (XL) (ref: UN_C)","ref":"UN_C","image":"https:\/\/hannahpad.fr\/600-home_default\/coffret-ultra-nuit-xl.jpg"},{"id":"15","name":"Coffret - Super Ultra Nuit (XXL) (ref: SUN_C)","ref":"SUN_C","image":"https:\/\/hannahpad.fr\/637-home_default\/coffret-super-ultra-nuit-xxl.jpg"},{"id":"62","name":"Ultra Nuit (XL) - Revendeurs (ref: UN_R)","ref":"UN_R","image":"https:\/\/hannahpad.fr\/890-home_default\/serviette-hygienique-ultra-nuit-xl.jpg"},{"id":"63","name":"Super Ultra Nuit (XXL) - Revendeurs (ref: SUN_R)","ref":"SUN_R","image":"https:\/\/hannahpad.fr\/910-home_default\/protection-hygienique-super-ultra-nuit-xxl.jpg"}]
This is the code generate by the request but it does not display
I can give you an access if you want, this is the very first time I have no clear idea of an error..
Do you think this issue can come from my PHP version ?
@Dupflo,
Could you please follow this link: https://github.com/PrestaShop/php-ps-info
phppsinfo file provides an equivalent to the phpinfo() function that reports PrestaShop Requirements information about the PHP/MySQL/Apache environment and offers suggestions for improvement.
Thanks to check and feedback.
Thank you I will test and let you know
@Dupflo, thanks!
Waiting for your feedback.
@khouloudbelguith here is what I got
@Dupflo, did you installed any custom module before this issue occurs?
Thanks!
@khouloudbelguith this is my customer website and there is a ndk_custom_module.
This bug appeared since 1.7.6 update
@Dupflo, during the upgrades, are there any errors occurred?
Can you please provide us the log of your upgrade? It can be found in the log.txt file, available in <admin folder>/autoupgrade/tmp/log.txt
Thanks!
@khouloudbelguith Here is the log
log.txt
[2019-09-13 01:12:16] 01:12:16 ERROR [console] Error thrown while running command "prestashop:schema:update-without-foreign". Message: "An exception occurred while executing 'CREATE UNIQUE INDEX admin_filter_search_id_idx ON ps_admin_filter (employee, shop, controller, action, filter_id)':
[2019-09-13 01:12:16] In AbstractMySQLDriver.php line 115:
[2019-09-13 01:12:16]
[2019-09-13 01:12:16] An exception occurred while executing 'CREATE UNIQUE INDEX admin_filter_sea
[2019-09-13 01:12:16] rch_id_idx ON ps_admin_filter (employee, shop, controller, action, filter_i
[2019-09-13 01:12:16] d)':
[2019-09-13 01:12:16]
[2019-09-13 01:12:16] oo long; max key length is 1000 bytes
[2019-09-13 01:12:16]
[2019-09-13 01:12:16] In PDOConnection.php line 106:
[2019-09-13 01:12:16]
[2019-09-13 01:12:16] oo long; max key length is 1000 bytes
[2019-09-13 01:12:16]
[2019-09-13 01:12:16] In PDOConnection.php line 104:
[2019-09-13 01:12:16]
[2019-09-13 01:12:16] oo long; max key length is 1000 bytes
[2019-09-13 01:12:16]
[2019-09-13 01:12:16] prestashop:schema:update-without-foreign [-h|--help] [-q|--quiet] [-v|vv|vvv|--verbose] [-V|--version] [--ansi] [--no-ansi] [-n|--no-interaction] [-e|--env ENV] [--no-debug] [--id_shop [ID_SHOP]] [--id_shop_group [ID_SHOP_GROUP]] [--]
[2019-09-13 01:12:16] Error during database upgrade. You may need to restore your database.
[2019-09-13 01:12:16] Error upgrading Doctrine schema
You have issues during the upgrade.
You have an issue with table ps_admin_filter
Thanks to check the structure of this Table
Thanks!
It seems looking good
@Dupflo, but you have all these errors related to this table.
[2019-09-13 01:12:16] Error during database upgrade. You may need to restore your database.
[2019-09-13 01:12:16] Error upgrading Doctrine schema
The upgrade is not well working is your case.
Thanks!
I finaly found the issue came for ajax_products_list.php
line 26 : @trigger_error('Using '.__FILE__.' to make an ajax call is deprecated since 1.7.6.0 and will be removed in the nex major version. Use a controller instead.', E_USER_DEPRECATED);
I found on google a version to (credits from https://www.sunnytoo.com/forums/topic/megamenu-product-block#post-52015)
Thank you Prestashop... no it works
@Dupflo, Thanks for your feedback.
Since it is fixed.
I close the issue, feel free to open a new one when needed.
Thanks!