• Home
  • Get help
  • Ask a question
Last post 3 hours 24 min ago
Posts last week 191
Average response time last week 1 hour 50 min
All time posts 68187
All time tickets 10530
All time avg. posts per day 20

Helpdesk is open from Monday through Friday CET

Please create an (free) account to post any question in the support area.
Please check the development versions area. Look at the changelog, maybe your specific problem has been resolved already!
All tickets are private and they cannot be viewed by anyone. We have made public only a few tickets that we found helpful, after removing private information from them.

#1013 – Cache folder

Posted in ‘sh404SEF’
This is a public ticket. Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.
Thursday, 17 September 2015 08:12 UTC
joomlalala
 Hi support team

Do you know what problem is this message? This is the first time that I see it on the site

Avertissement
JCacheStorageFile::_deleteFolderJFolder::delete : impossible de supprimer le répertoire. Chemin : /home/formatiovf/www/cache/sh404sef_rconfig

Chmod is set to :
for folder sh404sef_rconfig 705
For the cache file 604

I also wonder why this message appears because in my configuration file, It set error_reporting = 'none';
Thank you very much
Regards
Christine
Thursday, 17 September 2015 08:18 UTC
wb_weeblr
Hi

1 - error_reporting is for PHP errors, not Joomla errors.
2 - This is a Joomla error. It means Joomla was not able to delete that particular folder. Indeed tehre can be 2 reasons:

- permissions/ownership are not correct with respect to the web server configuration your hosting company is using. You'll havet to talk to them about that, just knowing the chmod values is no help as it depends on what web server config they are using

- there are some garbage files left inside that folder that prevent it from being deleted? what do you see when you FTP in that folder?

In any case, manually deleting the folder should resolve that of course, but better find out first if permissions need to be changed.

Rgds
 
Thursday, 17 September 2015 09:31 UTC
joomlalala
Hi
thank you
- permissions/ownership are not correct with respect to the web server configuration your hosting company is using. You'll havet to talk to them about that, just knowing the chmod values is no help as it depends on what web server config they are using


Ok, so I will send an email to OVH, asking them the question about the web server configuration .heuuu..what type of configuration I need to know ? What surprises me is that I have several websites with this company and I have not had this problem before with cache folders.
- there are some garbage files left inside that folder that prevent it from being deleted? what do you see when you FTP in that folder?

I see only a php cache file and an index.html file but I have deleted the cache via the Joomla interface before and it happened without error

Oh,I just realized, I wonder if this is not coming from this .htaccess file in the folder / cache /
in this case it has nothing to do with your product, sorry
Regards
Christine

# aeSecure
RewriteEngine on
RewriteOptions Inherit

# Uncomment this line if you wish to make impossible to access the /cache folder by url.
# Test your site after since it's possible that, f.i., your CMS or template make use of direct access to the /cache folder
# To do this : open the network tab of your navigator and surf on your site. If you see a few ressources having /cache/ in the url with a 403 error, comment back
# the line below.
#RewriteRule . /aesecure/accessdenied.php?s=403&fld=cache

##Deny access to all CGI, Perl, PHP and Python
<FilesMatch "\.(asp?x|cgi|php|pl|py)$">
Deny from all
</FilesMatch>

# secure directory by disabling script execution
AddHandler cgi-script .php .pl .py .jsp .asp .sh .cgi
Options -ExecCGI
Thursday, 17 September 2015 09:38 UTC
wb_weeblr
Hi

Ok, so I will send an email to OVH, asking them the question about the web server configuration .heuuu..what type of configuration I need to know ? What surprises me is that I have several websites with this company and I have not had this problem before with cache folders.
That's not the question to ask. Web server configuration is their problem, not ours. The question to ask is more: why PHP cannot delete this folder?
Maybe it's just the permissions after? it's more common to have 755 and 644, but I'm definitively not an expert with hosting and permissions.

Oh,I just realized, I wonder if this is not coming from this .htaccess file in the folder / cache /
htaccess controls requests from the outside, through HTTP, through a web browser. Not PHP reading a file on the disk. So, no, that's not related.

I see only a php cache file and an index.html file but I have deleted the cache via the Joomla interface before and it happened without error
Same for me. What you see here is just Joomla trying to delete a cache file and it's not some sh404SEF code running.

If OVH doesn't provide any valid answer about permissions to use, and the error is still there, then best is to manually delete file and see if it comes back.

Rgds
 
Thursday, 17 September 2015 09:45 UTC
joomlalala
Hi
Thank you for your quick and complete response
Have a good day
Regards
Christine
This ticket is closed, therefore read-only. You can no longer reply to it. If you need to provide more information, please open a new ticket and mention this ticket's number.