xoops forums

belgi

Just popping in
Posted on: 5/25 16:38
belgi
belgi (Show more)
Just popping in
Posts: 13
Since: 2019/9/29
#1

Error in Xoops version 2.5.9

When I want to delete cache files from the program using the Maintenance option, it appears that the reference to the corresponding directory is incorrect. It is an error in the directory name - a typo. The reference is as follows:
/home/belgi/public_html/pedigree/xoops_data/cache/smarty_cache/
/home/belgi/public_html/pedigree/xoops_data/cache/smarty_compile/
/home/belgi/public_html/pedigree/xoops_data/cache/xoops_cache/

and it should be the following :
/home/belgi/public_html/pedigree/xoops_data/caches/smarty_cache/
/home/belgi/public_html/pedigree/xoops_data/caches/smarty_compile/
/home/belgi/public_html/pedigree/xoops_data/caches/xoops_cache/

Instead of "caches" there is "cache".

This causes me to be unable to clear these directories from the program position. I have to do it directly on the server.

belgi.pl

zyspec

Module Developer
Posted on: 5/25 18:19
zyspec
zyspec (Show more)
Module Developer
Posts: 1085
Since: 2004/9/21
#2

Re: Error in Xoops version 2.5.9

Thanks for the report....

I opened a issue on GitHub so we can track it....

See https://github.com/XOOPS/XoopsCore25/issues/1040

belgi

Just popping in
Posted on: 5/25 18:29
belgi
belgi (Show more)
Just popping in
Posts: 13
Since: 2019/9/29
#3

Re: Error in Xoops version 2.5.9

I changed in the file:
public_html/pedigree/modules/system/admin/maintenance/main.php
in line 56 the words "cache" to "caches" and the cleaning is done from the program position.
I hope this will work well.
Is there somewhere, anything else that needs to be changed?

belgi

Just popping in
Posted on: 5/25 18:37
belgi
belgi (Show more)
Just popping in
Posts: 13
Since: 2019/9/29
#4

Re: Error in Xoops version 2.5.9

Thanks.
I did it myself before you opened the case on Github.com and I see I did well because everything is working as it should.