Jump to content

Problem with languages? Error log


Recommended Posts

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

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

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

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

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

×
×
  • Create New...