rossimaster Posted March 25, 2014 Share Posted March 25, 2014 Hi I have upgraded my store to 1.6 all is well except the blocklayered module it won't index (in the configuration area of the module) also when i try to use it on my website it just loads for ever but nothing happens tried to remove it and install it again no luck, been playing around with it for hours can't seem to find out how to resolve, please help .... thanks Link to comment Share on other sites More sharing options...
NemoPS Posted March 26, 2014 Share Posted March 26, 2014 Hi, What happens when you hit reindex in the back office? Link to comment Share on other sites More sharing options...
rossimaster Posted March 26, 2014 Author Share Posted March 26, 2014 Through the blocklayered module ? i get this messeage [an error occurred while processing this directive] Link to comment Share on other sites More sharing options...
NemoPS Posted March 26, 2014 Share Posted March 26, 2014 Mysterious. I looked for that in the whole 1.6 folder and I didn't find any occurrence Link to comment Share on other sites More sharing options...
carlosmartinez Posted March 26, 2014 Share Posted March 26, 2014 same problem here i tried a fresh install and it worked but not when i upgraded my store. Link to comment Share on other sites More sharing options...
Stofferdreng Posted April 5, 2014 Share Posted April 5, 2014 Same problem here, use upgraded store... BO index fails and FO just keep loading if i choose anything Link to comment Share on other sites More sharing options...
NemoPS Posted April 5, 2014 Share Posted April 5, 2014 I ran into something like this yesterday. My 1.6 version runs fine locally, but on a demo site I simply can't use any module that calls ajax from the back office. So any call to http://site.com/modules/blocklayered/ajax-call.php for example, will return either 500 or 404. Is this what happens to you as well? Link to comment Share on other sites More sharing options...
Stofferdreng Posted April 7, 2014 Share Posted April 7, 2014 The following works for me :-) Change blocklayered folder permissions to 755 and all file permissions to 644. Happy editing :-) Link to comment Share on other sites More sharing options...
NemoPS Posted April 7, 2014 Share Posted April 7, 2014 It works indeed! Funny it's the very only permission level combo it works with Link to comment Share on other sites More sharing options...
roo10 Posted April 7, 2014 Share Posted April 7, 2014 I've done fresh installation of PS 1.6.0.5. I tried changing the folder/file permissions as stated above but didn't solve the problem. Getting the same error "[an error occurred while processing this directive]" when I click on any filter and shows infinite loading. Anyone please help. Link to comment Share on other sites More sharing options...
roo10 Posted April 8, 2014 Share Posted April 8, 2014 In continuation with my above post, I face some other problems related with AJAX when the site is online. The "Add to compare" button is not working on category and product pages when I click on it. Ideally, it should display the confirmation message. The blocklayered module and "Add to compare" are working perfect on localhost. The problem is only seen when the site is online. Link to comment Share on other sites More sharing options...
NemoPS Posted April 9, 2014 Share Posted April 9, 2014 More info about this: It shows up on a client's site when the script runs out of mysql resources. Especially, the getProducts method kills the scrpt as it uses a HUGE IN() statement. Solution for me. Reduce products per page and use a bridge query: grab valid ids first, and use those in the IN() statement instead Link to comment Share on other sites More sharing options...
f31n Posted April 13, 2014 Share Posted April 13, 2014 The following works for me :-) Change blocklayered folder permissions to 755 and all file permissions to 644. Happy editing :-) worked for me too! Link to comment Share on other sites More sharing options...
gergos Posted June 16, 2014 Share Posted June 16, 2014 (edited) Hello i have a different problem in 1.6. Trying to rebuild index for url etc. And the output is "URL indexing failed" Any idea please? I mean in the block layered. Edited June 16, 2014 by gergos (see edit history) Link to comment Share on other sites More sharing options...
NemoPS Posted June 16, 2014 Share Posted June 16, 2014 Have you already tried with folder permissions as explained above? Link to comment Share on other sites More sharing options...
gergos Posted June 16, 2014 Share Posted June 16, 2014 (edited) Have you already tried with folder permissions as explained above? Yes the blocklayered folder have 755. The 644 is for the sub folders? I can not understand what folders have to be 644. Edited June 16, 2014 by gergos (see edit history) Link to comment Share on other sites More sharing options...
NemoPS Posted June 16, 2014 Share Posted June 16, 2014 no, 644 is for files usually, if that doesn't work, try with 777 and 666 for files Link to comment Share on other sites More sharing options...
gergos Posted June 16, 2014 Share Posted June 16, 2014 (edited) no, 644 is for files usually, if that doesn't work, try with 777 and 666 for files You mean All the files inside the folder? If you mean this i already did it 777 the blocklayered folder in the modules folder and all the files contained in it changed to 666 . Has to do something with www in seo an d urls? Edited June 16, 2014 by gergos (see edit history) Link to comment Share on other sites More sharing options...
gergos Posted June 18, 2014 Share Posted June 18, 2014 Is there anyone who can help..... my site is already online and there is no filters. Link to comment Share on other sites More sharing options...
NemoPS Posted June 20, 2014 Share Posted June 20, 2014 It's really hard to tell what's going on actually, but I doubt it has to do with www. There has to be something wrong with permissions. I know your site is live but it would be worth re-editing permissions to their original state (644, 755), and try without friendly urls Link to comment Share on other sites More sharing options...
gergos Posted June 20, 2014 Share Posted June 20, 2014 It's really hard to tell what's going on actually, but I doubt it has to do with www. There has to be something wrong with permissions. I know your site is live but it would be worth re-editing permissions to their original state (644, 755), and try without friendly urls I disabled the module. I re-edit permissions to 644 and 755, after i enable the module again and done so it is a good solution for everyone before change the permissions to disable the module first. Thanks for the support and hope we will not face again the problem. Moreover new version 1.6.0.7 is ready. If anybody knows that this bug it fixed in new version it is good to mention here. Thanks. Link to comment Share on other sites More sharing options...
NemoPS Posted June 20, 2014 Share Posted June 20, 2014 Do not upgrade to 1.6.0.7 it's bugged Link to comment Share on other sites More sharing options...
gergos Posted June 20, 2014 Share Posted June 20, 2014 Do not upgrade to 1.6.0.7 it's bugged hahahhaha many many thanks you just save me a lot of time. i was ready to update my shop. Have a nice day. Link to comment Share on other sites More sharing options...
fcoitino Posted June 25, 2014 Share Posted June 25, 2014 hahahhaha many many thanks you just save me a lot of time. i was ready to update my shop. Have a nice day. Hi all, gergos: You could solve your problem? That is, regenerate the indexes and filters works correctly? Can you tell me the steps/solution? Thanks and regards! Link to comment Share on other sites More sharing options...
gergos Posted June 26, 2014 Share Posted June 26, 2014 Hi all, gergos: You could solve your problem? That is, regenerate the indexes and filters works correctly? Can you tell me the steps/solution? Thanks and regards! No the regeneration is not fixed. I can not reindex block layered. Still searching for solution. It just fixed somehow the pagination with changing the permissions from the server side like mentioned. Disable module. Change permissions to 755 and 644 after enable the module again. I hope it will fixed if pagination is your problem. Link to comment Share on other sites More sharing options...
fcoitino Posted June 26, 2014 Share Posted June 26, 2014 Which Prestashop version you're using? Link to comment Share on other sites More sharing options...
gergos Posted June 26, 2014 Share Posted June 26, 2014 Which Prestashop version you're using? 1.6.06 Link to comment Share on other sites More sharing options...
fcoitino Posted June 26, 2014 Share Posted June 26, 2014 I have the solution. You have to update the module, there is a newer version that fixes the problem.- Find the zip on the Github page (if you do not then let me know that'll help)- Uninstall the module,- Re-install with the new installer.Good luck and regards!Fernando Link to comment Share on other sites More sharing options...
west28 Posted July 1, 2014 Share Posted July 1, 2014 it's a problem with a hosting providers whose hidden by default .htaccess files. When you install shop in that hosting prestashop won't get jquery filles, changing the htaccess not work [server error 500]. Solution change the hosting company Link to comment Share on other sites More sharing options...
Jimmy Posted July 22, 2014 Share Posted July 22, 2014 (edited) it doesn't work for me! PS version: 1.6.0.6 Block layered version: 1.11 (the last version available on Github) Server/Hosting: VPS OVH Permissions for this module: folder = 755, files = 644 I try everything mentionned in this topic, nothing works... I still got this error in the console when I try to update index: Failed to load resource: the server responded with a status of 500 (Internal Server Error) Ajax is working in the admin (for example ajax search in admin works perfectly). I have the solution. You have to update the module, there is a newer version that fixes the problem.- Find the zip on the Github page (if you do not then let me know that'll help)- Uninstall the module,- Re-install with the new installer.Good luck and regards!Fernando Edited July 22, 2014 by Jimmy (see edit history) Link to comment Share on other sites More sharing options...
Jimmy Posted July 22, 2014 Share Posted July 22, 2014 ça marche pour moi finalement. il faut bien vérifier que le dossier module à aussi les permissions 755 (chez moi il était en 777). Link to comment Share on other sites More sharing options...
wandrzejczak Posted July 22, 2014 Share Posted July 22, 2014 I have resolved this. It is not quite good solution but it works. Let me know if it worked to you. file: blocklayered-ajax.php include(dirname(__FILE__).'/../../config/config.inc.php');include(dirname(__FILE__).'/../../init.php');include(dirname(__FILE__).'/blocklayered.php'); Context::getContext()->controller->php_self = 'category'; Dispatcher::getInstance()->dispatch(); ob_get_contents();ob_get_clean(); header_remove();header('HTTP/1.1 200 OK', true, 200 ); $blockLayered = new BlockLayered();echo $blockLayered->ajaxCall(); header_remove(); Link to comment Share on other sites More sharing options...
lito81 Posted September 15, 2014 Share Posted September 15, 2014 I don´t use the original blacbklayered option because I have the same problem in presta 1.6. But the theme I`m using have an alternative one, it`s free and it works fine... Layered navigation block(modded version for Warehouse theme) v1.11 - by IQIT-COMMERCE.COM Link to comment Share on other sites More sharing options...
genweb Posted September 18, 2014 Share Posted September 18, 2014 Fast fix for indexing, this was my error code about not indexing urls & prices XMLHttpRequest cannot load http://www.yourdomain.es/modules/blocklayered/blocklayered-price-indexer.ph…=b345005f08&full=1&ajax=1&cursor=0?token=b345005f08&full=1&ajax=1&cursor=0. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://yourdomain.es' is therefore not allowed access. I was calling module URL in my backend without "www" like yourdomain.es/admin1903/index.php?controller=AdminModules&token=3c236a6284c28b4014afbd39c2141310&configure=blocklayered&conf=12 So just add www in your browser like this: www.yourdomain.es/admin1903/index.php?controller=AdminModules&token=3c236a6284c28b4014afbd39c2141310&configure=blocklayered&conf=12 And it will index nice. My fix to layered module: After reindexing, my layered module still did not appear. I was receiving a 404 error. I tried everything and it did not work. Finally I went to another Prestashop shop with an old version of this module working, I copied module folder, changed it on my new presta, activated and updated it and it worked. I got my layered navigation and all its other options working fine. I hope it helps someone! Link to comment Share on other sites More sharing options...
Simas Posted November 24, 2014 Share Posted November 24, 2014 Have problem with this module. If choose feature value, on 2 off 3 servers no result from ajax. Tested all function and found problem in this query: if (!empty($sql_query['from'])){ $sql_query['from'] .= Shop::addSqlAssociation('product', 'p'); $products = Db::getInstance(_PS_USE_SQL_SLAVE_)->executeS($sql_query['select']."\n".$sql_query['from'].\n".$sql_query['join']."\n".$sql_query['where']."\n".$sql_query['group']);} Printed out query and tried to execute it directly to phpmyadmin. 2 servers executed it more than 20 s, one server in 0,00002 - 1,5 s interval. Maybe somebody know the problem? Query is big: WHERE in (more than 5000 items here) Link to comment Share on other sites More sharing options...
Luc1979 Posted March 12, 2015 Share Posted March 12, 2015 The following works for me :-) Change blocklayered folder permissions to 755 and all file permissions to 644. Happy editing :-) Hello, I have the same problem. How do I do that. What are the step to change the folders permissions? Link to comment Share on other sites More sharing options...
NemoPS Posted March 13, 2015 Share Posted March 13, 2015 You can do it with Filezilla like this: Or, you can also use the file manager inside cpanel Link to comment Share on other sites More sharing options...
Luc1979 Posted March 13, 2015 Share Posted March 13, 2015 I upgraded to Prestashop 1.6.0.14 and the issue was solved. Probably it was a bug. Link to comment Share on other sites More sharing options...
joaocoelho Posted March 21, 2015 Share Posted March 21, 2015 I made the upgrade but i have the problem with pagination... Link to comment Share on other sites More sharing options...
linhart Posted March 21, 2015 Share Posted March 21, 2015 Hey guys, everything seems to work fine on my site, but when I click on any pagination button (1,2,3,4 etc..) the pagination numbers disappear at the bottom of the page. They appear normally at the top of the page. Also the "show all" button doesn't work. My site is:http://www.mujkoberec.cz/74-podle-parametru#/ Prestashop 1.6.0.5. Any ideas? Link to comment Share on other sites More sharing options...
NemoPS Posted March 21, 2015 Share Posted March 21, 2015 As far as I can remember, .05 was bugged on the show all button. About the missing pagination, same thing, it works on .14 but it was bugged back then Link to comment Share on other sites More sharing options...
cikcak Posted April 24, 2015 Share Posted April 24, 2015 Hey guys, what about this? I have installed same layered module version on localhost and my shop in dedicated server. In server I see for example: 34 products in stock and 0 product out of stock. I rebuild all indexes. If I click to filter products on stock I got: no products. But in filter menu I see In stock (34). Out of stock - 0. But I made 1 product without stock - 0 and rebuild all indexes. Same... All filters works perfect, but stock filter.. Whats wrong?? What can be related to this module or impact this stock filter? I tried all ways... Link to comment Share on other sites More sharing options...
xdavidoff Posted May 15, 2015 Share Posted May 15, 2015 Hey guys, everything seems to work fine on my site, but when I click on any pagination button (1,2,3,4 etc..) the pagination numbers disappear at the bottom of the page. They appear normally at the top of the page. Also the "show all" button doesn't work. My site is:http://www.mujkoberec.cz/74-podle-parametru#/ Prestashop 1.6.0.5. Any ideas? I had The same problem. It was due the layered navigation module. After i disabled it, tha pagination returned to normal. Link to comment Share on other sites More sharing options...
AbdullahBasit Posted June 27, 2015 Share Posted June 27, 2015 Changing Blocklayered folder permission to 755 and all sub-folder and files permission to 644 resolves the issue. If a file or folder is set to "777" which is "world" writable for security reasons the 403 error will be displayed to protect your website from hacks. Folders should have the permissions set to "750" or "755" and files should be set to "644" Link to comment Share on other sites More sharing options...
Lyn&Or Bijoux Posted October 28, 2015 Share Posted October 28, 2015 Hello, I have the same problem: when blocklayered is activated: - all buttons for pagination don't work - when i choose to filter, it's loading and loading I tried to fix it: 1-i desactivate the module 2-change permissions (755 for Folders, 644 for files), 3-reactivate but doesn' work. module version : 2.1.3 prestashop version: 1.6.0.9 Thanks for help... MJ http://lyn-et-or-bijoux.com Link to comment Share on other sites More sharing options...
NemoPS Posted October 30, 2015 Share Posted October 30, 2015 Can you point us to a category where the module is enabled? It sounds like a JS error Link to comment Share on other sites More sharing options...
ps3z Posted January 22, 2016 Share Posted January 22, 2016 Hello, I have the same problem: when blocklayered is activated: - all buttons for pagination don't work - when i choose to filter, it's loading and loading I tried to fix it: 1-i desactivate the module 2-change permissions (755 for Folders, 644 for files), 3-reactivate but doesn' work. module version : 2.1.3 prestashop version: 1.6.0.9 Thanks for help... MJ http://lyn-et-or-bijoux.com hello how did you fix it. i checked your website.everything seems fine. please tell us how you fix it Link to comment Share on other sites More sharing options...
inkout Posted March 22, 2021 Share Posted March 22, 2021 (edited) Hi, i have the following problem. When i copy the url con filter with "-" or "\" i lost the filter in the page. I have Ps 1.6.1.4. Can you help me? Edited March 22, 2021 by inkout (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now