Rebuild cache seems to not work correctly

Germont

Well-Known Member
#2
At this moment sitemap it's not loading.
Maybe you will receive better help with details like OC version, php, and what are you using to generate sitemap - the SEO extension?
It could be something wrong in the .htaccess.
EDIT
It finally loaded after 1 minute or even more, but without any styling.
This doesn't seem to be a caching issue.
Maybe a bad config, or a bug. It should be investigated.
 
Last edited:

serpent_driver

Well-Known Member
#3
Problem is not the sitemap. The problem is caused by the server itself. Performance of the server is insufficient to run a website. Each request of a uncached URL takes too much time and that's why the cache rebuild seems not to work.
 
#4
At this moment sitemap it's not loading.
Maybe you will receive better help with details like OC version, php, and what are you using to generate sitemap - the SEO extension?
It could be something wrong in the .htaccess.
EDIT
It finally loaded after 1 minute or even more, but without any styling.
This doesn't seem to be a caching issue.
Maybe a bad config, or a bug. It should be investigated.
Hello,and thank you for response,i forgot about this sitemap!
https://eldarom.ro/index.php?route=feed/advanced_sitemap,this is the main sitemap !
 

Germont

Well-Known Member
#8
Upgrade your server or use one with better performance.
Have you checked the main site? It"s loading just fine.
The problem is the sitemap, and the same we wait to load it, also does the server. One mistake is that a site should have only one enabled. Therefore, disable the first one, and then take it from there.
 

AndreyPopov

Well-Known Member
#12
crawler code contain:

PHP:
        $urls[] = $this->url->link('common/home');
        $urls[] = $this->url->link('information/contact');
        $urls[] = $this->url->link('information/sitemap');
        $urls[] = $this->url->link('product/manufacturer');
        $urls[] = HTTP_SERVER;
        $urls[] = HTTP_SERVER . 'index.php';
        if ($this->lscache->includeUrls) {
            foreach ($this->lscache->includeUrls as $uri) {
                $urls[] = $this->url->link($uri);
            }
error give this part of code:
PHP:
        if ($this->lscache->includeUrls) {
            foreach ($this->lscache->includeUrls as $uri) {
                $urls[] = $this->url->link($uri);
            }
because if even field Include URLs on URLs Setting tab is empty then
$this->lscache->includeUrls = ''

and $this->url->link('') = /index.php&route='' -> /index.php&route= !!!!!!!!!!


to prevent this, code must be:

PHP:
        if (!empty($this->lscache->includeUrls[0])) {
            foreach ($this->lscache->includeUrls as $uri) {
                $urls[] = $this->url->link($uri);
            }
 
#13
Good Morning,i made a restore before instalation of lite cahche module ,and reinstal the module and now i have muche more problems!
1.In the admin aria after logging in you can see the 4 button of purge cache at the top.
2.Now when i'm pressing the rebuild cache button it writes that i dont have permisoon to acces this page
bellow tou have sceeshots!
Please can someone help me?
Screenshot_29.png Screenshot_30.png
 

Germont

Well-Known Member
#14
Maybe there is info you can find in error log - there are 3 files. Be sure it's enabled in shop settings.
Data about your installation as I said in the beginning?
Mai poti îmbunătăți comunicarea.
 
Last edited:

AndreyPopov

Well-Known Member
#15
Good Morning,i made a restore before instalation of lite cahche module ,and reinstal the module and now i have muche more problems!
1.In the admin aria after logging in you can see the 4 button of purge cache at the top.
2.Now when i'm pressing the rebuild cache button it writes that i dont have permisoon to acces this page
bellow tou have sceeshots!
Please can someone help me?

as previously says - provide your information!!!
Hosting Enviroment
PHP version
Opencart version
etc.

I think problem in third party installed modules like Advance Quick Login. E-mail Pro, Complete SEO.

how you install plugin?
check in Clients -> Groups access rights for admin(user) that you logged.
 

AndreyPopov

Well-Known Member
#18
hello,I managed to fix the errors mentioned above,when the rebuilding of the cache is done,the script gives me this error.
main in error output is:
language_id FROM oc_url_absolute
url_absolute is NOT native Opencart table.
may be this SEO module table.

check what settings of Rebuild Cache Options in GUI - Rebuild only default languge and default currency?
or other?
 
#19
Hello,i manged to fix the the error,crawler works fine ,but still have some problem
1. in admin dashboard have 3 purge cash buttons,
2.the journal checkout not loading ,if i switch the the to default it works!
3.have some problems with cache,for example i want to delete an extension from install aria and after i press delete button i need to refresh theme cash,SASS cache ,modification and the browser cache!Only after that i can see that the extensios is deleted.
Someone now what can be the problem?
ALL the extesnsions are disabled!

checkout page : https://eldarom.ro/finalizare-comanda
 

Attachments

AndreyPopov

Well-Known Member
#20
1. in admin dashboard have 3 purge cash buttons
how are you install LSCache plugin? by Opencart Extentions Installer?
check Installer list - may be you install LSCache three times?


3.have some problems with cache,for example i want to delete an extension from install aria and after i press delete button i need to refresh theme cash,SASS cache ,modification and the browser cache!Only after that i can see that the extensios is deleted.
Someone now what can be the problem?
check LSCache GUI settings (post scrennshot here) and also .htaccess - may be you enable lscache for ALL site and admin also cached.

P.S. describe you configuration!!!!!!!!!!!!!!!!!!!!!!
Hosting enviroment (if know Linux version)
PHP version
Opencart version
Journal version

may be you use Opencart 3.0.3.8, PHP 8.0 and Journal 3.1.0
 
Last edited:
Top