alketa Posted June 14, 2017 Share Posted June 14, 2017 Hello! I have this problem with front office. It comes out that this error shows in front office whenever anyone tries to open it, but when you refresh the page it opens normally. https://articoliferramenta.it/ Please can anyone give me an idea on how to fix it. I'm running out of ideas. Thanks in advance. ForbiddenYou don't have permission to access / on this server. Apache Server at articoliferramenta.it Port 443 Link to comment Share on other sites More sharing options...
polosat Posted June 14, 2017 Share Posted June 14, 2017 Hello,Try to disable overrides and non PrestaShop modules for a while, maybe it'll help to find the issue (Advanced Parameters >> Performance >> Debug Mode block). Link to comment Share on other sites More sharing options...
alketa Posted June 14, 2017 Author Share Posted June 14, 2017 Thank you for the reply , I did that and it seems its working , the problem is gonne but the website it became slow. What else can I do ? Link to comment Share on other sites More sharing options...
polosat Posted June 14, 2017 Share Posted June 14, 2017 Well, now you have to find the exact reason of the problem Firstly find out whether the problem is in modules or in overrides. And then I think the only option would be disabling overrides (or modules) one by one until you find the problem.I think your site will work fast as usual after turning on overrides and modules back. Link to comment Share on other sites More sharing options...
alketa Posted June 15, 2017 Author Share Posted June 15, 2017 Thank you for your help, I m keeping the override off, it seems there no problem with the page by keeping it off, can you take a look please ? http://articoliferramenta.it/. Link to comment Share on other sites More sharing options...
polosat Posted June 15, 2017 Share Posted June 15, 2017 For me it works fine too, but today it seems to be loading even slower than yesterday.Is it working faster with enabled overrides? Link to comment Share on other sites More sharing options...
alketa Posted June 15, 2017 Author Share Posted June 15, 2017 When i enable it, the forbidden shows up again, I will wait and see till the weekend. Sorry for bothering you but seems that now I have another problem. When i search a product with code and then click to view it, shows me this error "Page not availableSorry, but the web address you entered is no longer available." Link to comment Share on other sites More sharing options...
Naldinho Posted June 15, 2017 Share Posted June 15, 2017 I'm not particularly good at debugging stuff like this but you're getting a 404 error while the front page tries to load something called default.jpg. That appears to be adding >3 second to load time my itself Link to comment Share on other sites More sharing options...
alketa Posted June 15, 2017 Author Share Posted June 15, 2017 Thank you but I found the answer , it was something to do with friendly url Link to comment Share on other sites More sharing options...
polosat Posted June 15, 2017 Share Posted June 15, 2017 Yes, products search works fine, but make sure that disabling friendly URLs is not breaking your SEO. All your URLs changed now and Google really won't like it Link to comment Share on other sites More sharing options...
alketa Posted June 15, 2017 Author Share Posted June 15, 2017 How can I understand that friendly URLs is not breaking my SEO ? I have disable 2 modules that have cause me lots of problems in my page "SEO expert and image Regenerator". I still have disable the overrides. I also have disable friendly URLs. I m still looking for modules that works improperly. What can you suggest me to do about the performance? I'm afraid that is a bit slow Link to comment Share on other sites More sharing options...
polosat Posted June 15, 2017 Share Posted June 15, 2017 If you disable friendly URLs then all shop URLs will be changed.Google will remove them from search after some time and start re-indexing your site. So it's very bad for SEO (if your site not in development).I'm not sure about performance, but as I remember your site worked much faster before disabling overrides. So this problem should be in overrides too. Also you can try to use debug profiling if nothing helps. Link to comment Share on other sites More sharing options...
Naldinho Posted June 15, 2017 Share Posted June 15, 2017 For speed use your favorite speed test site to figure out what specifically takes so long.The only issue I've ever had with PrestaShop and speed was from bad hosting. Since I've moved away from shared hosting I have no speed issues. In your case though I think there are problems and you'll have to load the pages while monitoring to figure out what needs attentionhttps://tools.pingdom.com/#!/efeYUy/https://articoliferramenta.it/index.php Link to comment Share on other sites More sharing options...
alketa Posted June 16, 2017 Author Share Posted June 16, 2017 Thank you both for the answers. Polosat thank you, now I did enable the overrides and seems that forbidden is gone . About friendly URLs I m still looking for a solution Link to comment Share on other sites More sharing options...
alketa Posted July 4, 2017 Author Share Posted July 4, 2017 hello again , Please can anyone help me with this error on my page, after I copied the database of my page and put it on filezilla i got this message on back office and front office "Fatal Error" can anyone please tell me what have I done? Link to comment Share on other sites More sharing options...
polosat Posted July 4, 2017 Share Posted July 4, 2017 You need to turn on error reporting and see the reason of that fatal error. https://www.prestashop.com/forums/topic/224525-how-to-turn-on-error-reporting-for-debug-information-blank-page-500-internal-server-error/ Link to comment Share on other sites More sharing options...
alketa Posted July 4, 2017 Author Share Posted July 4, 2017 I did that, I found the line and it says please check the server configuration Warning: sprintf(): Too few arguments in /var/www/vhosts/vs-team.net/celes.al/classes/db/DbPDO.php on line 102 Link to comment Share on other sites More sharing options...
polosat Posted July 4, 2017 Share Posted July 4, 2017 Check your database config, it seems PrestaShop can't connect to MySQL. File /config/settings.inc.php Link to comment Share on other sites More sharing options...
alketa Posted July 4, 2017 Author Share Posted July 4, 2017 looks like the problem was with setting a new passw for database and I didnt change it at database parameters , now that I did the page in front works fine, but turns out I have this other problem in backoffice Whoops, looks like something went wrong. 1/1 FatalErrorException in ErrorHandler.php line 48: Compile Error: Cannot redeclare class Symfony\Component\Debug\ErrorHandlerin ErrorHandler.php line 48 Link to comment Share on other sites More sharing options...
polosat Posted July 4, 2017 Share Posted July 4, 2017 Try to turn off debug mode first, maybe it'll help. Link to comment Share on other sites More sharing options...
alketa Posted July 4, 2017 Author Share Posted July 4, 2017 done , thank you Link to comment Share on other sites More sharing options...
alketa Posted July 5, 2017 Author Share Posted July 5, 2017 #Polosat Hey sorry for bothering you again. can you please help one more time with this Page cache has not been well uninstalled, please, remove manually the following functions in file /var/www/vhosts/ns513352.ip-167-114-157.net/articoliferramenta.it/override/classes/Media.php: _isPageCacheActive(), cccCss(), cccJS() and clearCache(). If you need help contact our support. what exactly does this mean ? Link to comment Share on other sites More sharing options...
polosat Posted July 5, 2017 Share Posted July 5, 2017 No problem Hmm, maybe you used and uninstalled some cache module recently? As I understand it tells that it can't delete its override file. Link to comment Share on other sites More sharing options...
alketa Posted July 6, 2017 Author Share Posted July 6, 2017 thank you yes it was a module Media.php and yes i unistalled after i got the problem. then I went to delete this: Page cache has not been well uninstalled, please, remove manually the following functions in file /var/www/vhosts/ns513352.ip-167-114-157.net/articoliferramenta.it/override/classes/controller/FrontController.php: _isPageCacheActive(), smartyOutputContent(), smartyOutputContent_15() and smartyOutputContent_16(). If you need help contact our support. but still didnt worked. so i had to made the override off. what you suggest me to do? Link to comment Share on other sites More sharing options...
polosat Posted July 6, 2017 Share Posted July 6, 2017 You mean you deleted FrontController.php and it still shows an error? Link to comment Share on other sites More sharing options...
alketa Posted July 6, 2017 Author Share Posted July 6, 2017 yes , but i put it back again Link to comment Share on other sites More sharing options...
polosat Posted July 6, 2017 Share Posted July 6, 2017 Ok, then make sure that /override directory and its content is writeable (chmod 775 or 777) and try to install/uninstall that module again. Are you sure that the module is uninstalled? It shouldn't show any messages if it's really uninstalled. Link to comment Share on other sites More sharing options...
alketa Posted July 7, 2017 Author Share Posted July 7, 2017 YES I 'M SURE Link to comment Share on other sites More sharing options...
alketa Posted September 19, 2017 Author Share Posted September 19, 2017 hello again #Polosat I have an issue in back office. When I try to open Products I get a blank page. And I haven't touch anything for a while. Don't know what happen because the page works fine in front and other tools aswell. Can You please give me an advice ?? Link to comment Share on other sites More sharing options...
alketa Posted September 19, 2017 Author Share Posted September 19, 2017 FatalErrorException in ErrorHandler.php line 48: Compile Error: Cannot redeclare class Symfony\Component\Debug\ErrorHandler Link to comment Share on other sites More sharing options...
polosat Posted September 20, 2017 Share Posted September 20, 2017 Hi, Well, I not sure about the reason of this, but try this: https://www.prestashop.com/forums/topic/594434-error-fatalerrorexception-in-classesphp-line-1723/?p=2516477 (remove the classes.php and classes.map from the app/cache/dev folder) Link to comment Share on other sites More sharing options...
alketa Posted September 20, 2017 Author Share Posted September 20, 2017 I tried and it works . Thank you man Link to comment Share on other sites More sharing options...
polosat Posted September 20, 2017 Share Posted September 20, 2017 You're welcome 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