spanishcivilwarstamps Posted September 27, 2014 Share Posted September 27, 2014 Hello, From some days ago, when someone visits my site, my cpanel error log shows this message: /home/mysite/public_html/es: No such file or directory WARNING: /home/mysite/public_html/es: Can't access file Or this one if the English version is the one accessed: /home/mysite/public_html/en: No such file or directory WARNING: /home/mysite/public_html/en: Can't access file Despite of this, the web works all right. I don't have any /en or /es folders in /public_html. Does anyone know what can this be about and how to fix it? Link to comment Share on other sites More sharing options...
spanishcivilwarstamps Posted September 27, 2014 Author Share Posted September 27, 2014 UPDATE: It seems that this error only occurs when a user logs in and browses products, no categories or any other pages, only product pages. I'm using Ver. 1.5.4.1 1 Link to comment Share on other sites More sharing options...
El Patron Posted September 27, 2014 Share Posted September 27, 2014 good hosting will also supply 'access log' from hosting control panel you can then match the php error with time in access log to determine 'much' information, inbound IP, search engine, get/posts..etc. great to see you are paying attention to error reporting, this makes for a healthy shop. Link to comment Share on other sites More sharing options...
spanishcivilwarstamps Posted September 27, 2014 Author Share Posted September 27, 2014 Thanks for your message. This type of error does not give date, time, neither inbound IP, and it does not appear in the access log. I use A2Hosting, which I consider is a reliable Prestashop friendly server. It looks like an internal error activated when the site gets loged in visits. I've deactivated the module Email Alerts and it has stopped for a while, while trying myself with my own customer account for proofs, but some hours later I've seen the errors again when other customers had log in and even when unlogged visitors have hit the website. I'm really confused about this issue. Link to comment Share on other sites More sharing options...
El Patron Posted September 27, 2014 Share Posted September 27, 2014 for every action there is a reaction (access log) I'm not sure how you related login/product page view to issue...you have better info than me. Link to comment Share on other sites More sharing options...
spanishcivilwarstamps Posted September 28, 2014 Author Share Posted September 28, 2014 Hello again, As the warning does not record inbound IP neither time, I entered my own account while having the error log console open, and immediately that warning appeared. This is how I related the login to the issue. Sometimes only occurs at login, other times happens when bots crawl the site, and other times happens when while loged in you browse products. I've reviewed 1 and 100 times the error logs and those entries do not appear. Link to comment Share on other sites More sharing options...
spanishcivilwarstamps Posted September 28, 2014 Author Share Posted September 28, 2014 This is the only suspicious line I've seen in the error log, possibly related to this issue: (My own IP here) [27/Sep/2014:19:43:32 -0400] "GET /en/authentication?back=my-account HTTP/1.1" 200 24402 "http://www.mysite.com/en/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.124 Safari/537.36" As my public_html folder does not have any /en subfolder. Link to comment Share on other sites More sharing options...
El Patron Posted September 28, 2014 Share Posted September 28, 2014 /en/ is 'language' and is suffixed by PrestaShop to domain url followed by uri. option, change php.ini to display only errors, not notices. when you enable PrestaShop debug, it displays all php error reporting by default. keep up the good work 1 Link to comment Share on other sites More sharing options...
Recommended Posts