Coder Social home page Coder Social logo

lscache-joomla's People

Contributors

andysdh avatar gundestrup avatar litespeedtech avatar lslisa avatar wuhuachen avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

lscache-joomla's Issues

Virtuemart files still ok ?

Hi,
As I see for example that those two lines below are in fact the only "patch" for this virtuemart file, I'm wonder if this 3.2.2 version is still ok, because I use VM 3.8.6 and VM is already on the 4.x serie.
Lots of diff between the 3.2.2 file and the 3.8.6 (and up to 3.8.9)
So same question for the /helpers/cart.php and /controllers/cart.php


$dispatcher->trigger('plgVmAfterStoreProduct',array(&$data, &$product_data));

Could you check please ?
Thanks to let us know about that

New PHP Warnings

These PHP warnings are now showing in the logs after the latest version, they were not present before.

PHP Warning: Creating default object from empty value in /home/username/public_html/plugins/system/lscache/lscache.php on line 560 PHP Warning: Creating default object from empty value in /home/username/public_html/plugins/system/lscache/lscache.php on line 566 PHP Notice: Undefined offset: 1 in /home/username/public_html/plugins/system/lscache/lscache.php on line 730

These are present on both my dev and production environments on Joomla 3.9.0.

I can't render a module on the fly from PHP

I think LS Cache for Joomla isn't allowing to create and render a module, through PHP within an onContentPrepare plugin and display it inside the article.

I wrote a somewhat long question here: https://joomla.stackexchange.com/questions/28279/generating-a-module-instance-from-php

That describes the case and the issue.

I accidentally came to this conclusion during debugging when I got an error from the LS Cache plugin. Then I disabled LSCache on Joomla and was able to see the module gettting rendered. But with LSCache on, it isn't.

Unique Issue Related to Admin Tools

Here is the scenario. Our sites run Akeeba Admin Tools Pro which blocks script kiddie attacks after a certain number of hits. A hacker tries to run an old tired script against the our home page such as /administrator/?1=%40ini_set%28%22display_errors%22%2C%220%22%29%3B%40set_time_limit%280%29%3B%40set_magic_quotes_runtime + big long rest of the URL. We use a unique login stub in Admin Tools such that anyone attempting to login using the plain /administrator URL is redirected to the home page and the attack is logged. That is how Admin Tools handles anyone trying to visit the /administrator/index.php location but without the secret word url appended (?secret). Around that time we clear the Litespeed cache for all the pages because we made changes that required the flush (either by deleting the cache files in the lscache folder or pressing the button on the new Joomla Litespeed component). Then, the hacker's script kiddie hits the page again x more times and at some point their IP-4 address is blacklisted by Akeeba Admin Tools Pro and a page with an unfriendly message (you have been blocked) along with a 403 error code is presented to that viewer. At this point the blacklisted page is not entered into the Litespeed cache as it was just flushed. But on the next visit THAT page is cached (the one with the ugly 403 error code). Finally, this 403 error coded page is displayed to all users. This will happen regardless of whether we use htacess directives instead of the new plugin as the page being displayed is the front end page under attack during the time the cache is flushed.

A work around is to quit using the admin url slug (/administrator?secret-word) and revert to just administrator and then add a dual authentication method or just htaccess username / password. Problem solved. But I do like the admin url slug method better.

If you have used Admin Tools you will know what I mean. I can demonstrate the behavior on my dev system. I already put the fix in place that I listed above but this will perhaps help some others along the way. It is not easy to figure out.

Lscache and comments component

Lscache allow adding a new comment (used komento had cache issues so now using Jlex comments) but the page cache needs to be refreshed in order to display new comments. Needs to add documentation on how to clear cache on page level

twitter-bootstrap UI problem

When loading the website (and thereby the cache) on a desptop
It looks ok.
But when then loading the website on a cell phone UI, pictures are missing, and menu (collapserable) stop working.

It seems to me your caching solution is not device specific.

In joomla 3.8.5, to enable this behaviour (caching and device specific), you do the following

  1. enable caching in global config
  2. enable "Platform Specific Caching" in global config
  3. install jotcache
  4. enable "individual device caching" in jotcache (plugin)

You proberley need to adobt a device sensitive caching solution, since webite often have different looks dependen on what device it is loaded on....

having problems with cdn push to server and urls

On one my my test websites
I see this

https://a2.lungekursus.dk/plugins/editors-xtd/n ... n/assets/fonts/fontawesome-webfont.woff2?v=4.7.0
https://cdn.a2.lungekursus.dk/plugins/editors-x ... n/assets/fonts/fontawesome-webfont.woff2?v=4.7.0

It basicly shows (to me), that litespeed cache, misses first time with url
https://a2.lungekursus.dk/plugins/editors-xtd/n ... n/assets/fonts/fontawesome-webfont.woff2?v=4.7.0

But now, the file is uploaded to the cdn (for the next load)
The website now wants
https://cdn.a2.lungekursus.dk/plugins/editors-x ... n/assets/fonts/fontawesome-webfont.woff2?v=4.7.0
but that is unknown to the lite speed cache...giving a miss.

ok, Now I load the website again (third time), it now responds with a "hit"
But both files are loaded?!
https://tools.pingdom.com/#!/cEwltR/https://a2.lungekursus.dk/

Should the plugin not see the cdn / cookieless resource and not trying to load both?

You can see how it's supposed to load on this
https://tools.pingdom.com/#!/dyFeTN/https://www.lungekursus.dk/

Here the cdn resource is only rested one time

Broken due to Conflict with T3 System Plugin on Joomla 3.9.1

Had to disable the LS cache plugin after upgrading from Joomla 3.9.0 to 3.9.1 due to error:
"Class 't3 path' not found." Here is a stack trace.

A PHP Exception occurred on your site. Here you can find the stack trace: Exception Type: Error File: /home/accountname/public_html/plugins/system/t3/t3.php Line: 355 Message: Class 'T3Path' not found #0 /home/accountname/public_html/libraries/joomla/event/event.php(70): plgSystemT3->onRenderModule(Object(stdClass), Array) #1 /home/accountname/public_html/libraries/joomla/event/dispatcher.php(160): JEvent->update(Array) #2 /home/accountname/public_html/libraries/src/Application/BaseApplication.php(108): JEventDispatcher->trigger('onrendermodule', Array) #3 /home/accountname/public_html/libraries/src/Helper/ModuleHelper.php(245): Joomla\CMS\Application\BaseApplication->triggerEvent('onRenderModule', Array) #4 /home/accountname/public_html/plugins/system/lscache/lscache.php(1345): Joomla\CMS\Helper\ModuleHelper::renderModule(Object(stdClass), Array) #5 /home/accountname/public_html/libraries/joomla/event/event.php(70): plgSystemLSCache->onAfterInitialise() #6 /home/accountname/public_html/libraries/joomla/event/dispatcher.php(160): JEvent->update(Array) #7 /home/accountname/public_html/libraries/src/Application/BaseApplication.php(108): JEventDispatcher->trigger('onafterinitiali...', Array) #8 /home/accountname/public_html/libraries/src/Application/CMSApplication.php(626): Joomla\CMS\Application\BaseApplication->triggerEvent('onAfterInitiali...') #9 /home/accountname/public_html/libraries/src/Application/SiteApplication.php(686): Joomla\CMS\Application\CMSApplication->initialiseApp(Array) #10 /home/accountname/public_html/libraries/src/Application/SiteApplication.php(212): Joomla\CMS\Application\SiteApplication->initialiseApp() #11 /home/accountname/public_html/libraries/src/Application/CMSApplication.php(196): Joomla\CMS\Application\SiteApplication->doExecute() #12 /home/accountname/public_html/index.php(49): Joomla\CMS\Application\CMSApplication->execute() #13 {main} Request information GET variables Array ( [option] => com_lscache [view] => esi [moduleid] => 560 [device] => desktop [language] => en-US [attribs] => name,footer-2;style,T3Xhtml ) POST variables Array ( ) COOKIE variables Array ( ) REQUEST variables Array ( [option] => com_lscache [view] => esi [moduleid] => 560 [device] => desktop [language] => en-US [attribs] => name,footer-2;style,T3Xhtml ) SERVER variables Array ( [PATH] => /bin:/usr/bin:/usr/local/bin [HTTP_ACCEPT] => */* [HTTP_ACCEPT_ENCODING] => identity, deflate, *;q=0 [HTTP_HOST] => www.ufcinc.com [HTTP_USER_AGENT] => Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.102 Safari/537.36 [DOCUMENT_ROOT] => /home/accountname/public_html [REMOTE_PORT] => 33608 [SERVER_NAME] => www.ufcinc.com [SERVER_ADMIN] => [email protected] [SERVER_PORT] => 443 [REQUEST_URI] => /index.php?option=com_lscache&view=esi&moduleid=560&device=desktop&language=en-US&attribs=name,footer-2;style,T3Xhtml [HTTPS] => on [ESI_REFERER] => /?jchbackend=2 [SSL_PROTOCOL] => TLSv1.2 [SSL_SESSION_ID] => e0d8b2938065e33a72e0083abf0b05f831e12c73a980616e2ce0544ae16276d9 [SSL_CIPHER] => ECDHE-RSA-AES128-GCM-SHA256 [SSL_CIPHER_USEKEYSIZE] => 128 [SSL_CIPHER_ALGKEYSIZE] => 128 [SCRIPT_FILENAME] => /home/accountname/public_html/index.php [QUERY_STRING] => option=com_lscache&view=esi&moduleid=560&device=desktop&language=en-US&attribs=name,footer-2;style,T3Xhtml [SCRIPT_URI] => https://www.ufcinc.com/index.php [SCRIPT_URL] => /index.php [SCRIPT_NAME] => /index.php [SERVER_PROTOCOL] => HTTP/1.1 [SERVER_SOFTWARE] => LiteSpeed [REQUEST_METHOD] => GET [X-LSCACHE] => on [PHP_SELF] => /index.php [REQUEST_TIME_FLOAT] => 1543339825.383 [REQUEST_TIME] => 1543339825 )

I don't see headers X-LiteSpeed-Cache "hit" "miss" in console

Hi
Joomla! Version 4.2.8
PHP Version 8.1.13

I install plugin and enable but I don't see headers X-LiteSpeed-Cache "hit" "miss" in console no matter what I do.

If I check https://check.lscache.io/ resoult is:

LSCache is not supported

HTTP Header
HTTP/1.1 200 OK
Connection: Keep-Alive
Keep-Alive: timeout=5, max=100
x-frame-options: SAMEORIGIN
referrer-policy: strict-origin-when-cross-origin
cross-origin-opener-policy: same-origin
server-timing: 0Load;dur=4.175186;desc="Load", 1Initialise;dur=22.333860;desc="Initialise", 8Route;dur=0.829935;desc="Route", 26RenderComponentcomcontent;dur=5.076885;desc="RenderComponent com_content", 29Dispatch;dur=0.909090;desc="Dispatch", 88Render;dur=10.329962;desc="Render", Modules;dur=172.732830047607;desc="Modules", Access;dur=1.82104110717773;desc="Access"
content-type: text/html; charset=utf-8
expires: Wed, 17 Aug 2005 00:00:00 GMT
last-modified: Mon, 06 Mar 2023 15:30:53 GMT
cache-control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
pragma: no-cache
transfer-encoding: chunked
content-encoding: gzip
vary: Accept-Encoding,User-Agent
date: Mon, 06 Mar 2023 15:30:53 GMT
server: LiteSpeed
x-content-type-options: nosniff
alt-svc: h3=":443"; ma=2592000, h3-29=":443"; ma=2592000, h3-Q050=":443"; ma=2592000, h3-Q046=":443"; ma=2592000, h3-Q043=":443"; ma=2592000, quic=":443"; ma=2592000; v="43,46"

Feature request | Exclude Views & Query Parameters

I just installed the component And I think It will be necessary to (Exclude Views & Query Parameters) for each component separately not excluding the hole component and also excluding URL only will not be enough.
The below example from jotcache.
Thank you.
captssssssssssure

Notice: Trying to get property 'id' of non-object in lscache.php on line 209

Hi, just installed lscache on Joomla 4 (4.0.3), and getting the above notification)

Notice: Trying to get property 'id' of non-object in
/home/photouri/stg-rds.reddustsnow.com.au/plugins/system/lscache/lscache.php on line 209

Referring to this:
else { if($session->get('lastPostBack')==$this->menuItem->id){ $this->pageCachable = false; $session->clear('lastPostBack'); }
Additionally, on the Home Dashboard, Notifications display "Unknown Joomla Version".

Joomla! 4.2.8 + LScache "latest": problems with Virtuemart

Hi
I have similar problem as is describe here https://www.litespeedtech.com/support/forum/threads/joomla-4-2-8-lscache-latest-problems-with-virtuemart-administration.21495/
Joomla! Version 4.2.8
PHP Version 8.1.13

when visit component Virtuemart Front end:
Warning
: Undefined property: stdClass::$vary_language in
/home/siga01/domains/strugarstvo.si/private_html/plugins/system/lscache/lscache.php
on line
284

And when visit component in administrtor:
An error has occurred.
0 Call to undefined method Joomla\Event\Dispatcher::register()
Call stack

Function Location

1 () JROOT/plugins/system/lscache/components/com_virtuemart.php:15
2 LSCacheComponentVirtueMart->onRegisterEvents() JROOT/plugins/system/lscache/components/helper.php:89
3 LSCacheComponentsHelper->registerEvents() JROOT/plugins/system/lscache/lscache.php:161
4 plgSystemLSCache->onAfterRoute() JROOT/libraries/src/Plugin/CMSPlugin.php:279
5 Joomla\CMS\Plugin\CMSPlugin->Joomla\CMS\Plugin{closure}() JROOT/libraries/vendor/joomla/event/src/Dispatcher.php:486
6 Joomla\Event\Dispatcher->dispatch() JROOT/libraries/src/Application/EventAware.php:107
7 Joomla\CMS\Application\WebApplication->triggerEvent() JROOT/libraries/src/Application/AdministratorApplication.php:446
8 Joomla\CMS\Application\AdministratorApplication->route() JROOT/libraries/src/Application/AdministratorApplication.php:171
9 Joomla\CMS\Application\AdministratorApplication->doExecute() JROOT/libraries/src/Application/CMSApplication.php:294
10 Joomla\CMS\Application\CMSApplication->execute() JROOT/administrator/includes/app.php:61
11 require_once() JROOT/administrator/index.php:32

Also I must add I install plugin and enable but I don't see headers "hit" "miss" in console no matter what I do.

Exclude com tags not working

Joomla 4.2

I have added the tags component to the Exclude Components list, but it still keep the tags (single tag) in the cash.
Maybe it should clear the cache to all the tags that added to an article after the user click on save.

Conflict with minifying plugins

I have noticed a conflict on Joomla sites running some kind of CSS/JS minifying plugin. If the minifying plugin changes a CSS/JS URL the link is broke until the cache is regenerated.

Is there any way to avoid this?

Error when Rebuilding the Update Datbase

Litespeed produces an error when you rebuild the extension update database. To reproduce, log into the back end, Extensions, Update Sites. Select Rebuild. Then an error results:
Call to undefined method plgSystemLSCache::getTemplate()

Screen shot here

Error with Akeeba backup when click on "FREEZE"

When i try to FREEZEW/UNFREEZE akeeba backups from autodeletion i get this:

500 Attempt to assign property "id" on null
File <root>/plugins/system/lscache/lscache.php Line 693

No error when i disable LITESPEED plugin.

Wildcard or REGEX in the URL Exclusion List

Is it possible to have a wildcard or REGEX in the URL exclusion list? Every one of our page URL's containing the word "thank" is excluded. We would also like to exclude, if possible, any page already tagged with the URL "nocache."

Plugin description is wrong

It states
"LiteSpeedCache is a hign performance cache solution for MediaWiki sites running on LiteSpeed Web Server."

It should proberly be "joomla"

Disabling plugin doesn't work properly

When I disable LiteSpeed cache in the Joomla! backend it doesn't actually disable the cache. I have to go to manage and then disable all the components/plugins manually.

The cache component causes other component to crash in Joomla 4

Hi,
I can't get the cache component to work together with Joomshaper SP Pagebuilder.
I get this error when I shall open SP Pagebuilder:
An error has occurred.
0 Joomla\CMS\Plugin\CMSPlugin::setDispatcher(): Argument #1 ($dispatcher) must be of type Joomla\Event\DispatcherInterface, Joomla\CMS\Application\AdministratorApplication given, called in /home/xxxx/domains/xxxxxx/public_html/libraries/src/Plugin/CMSPlugin.php on line 144

Best regards,
Peter

Why no update improvement Joomla as with Wordpress?

Q: Why is there no update improvement for Joomla as with Wordpress?

Its better to remove support for Joomla bcs Litespeed doesnt work for latest Joomla 4.2 so just remove everything related to Joomla so people doesnt waist their time!

Images have the wrong URL

Images have the wrong URL, they are relative to the page, not the base of the site.

So for example instead of being /images/myLogo.jpg they are being returned as

mywebsite.com/apage/images/myLogo.jpg which is causing them to be 404s.

Cache plugin conflict with RegularLabs Advanced Module Manager

I have just installed the LiteSpeed Cache plugin (v1.3.2 downloaded today) on my Joomla 3.9.24 website. I'm on a shared LiteSpeed server, but the owners have confirmed that LS Cache for Joomla is installed and enabled on the server.

I also have RegularLabs Advanced Module Manager (v7.14.1) and Cache Cleaner (v7.3.3) installed on the website.

When both Regular Labs' and your cache cleaner plugins are enabled and I publish or unpublish a module the status of the module on the front end does not change. I have to disable the LS Cache first.

First time load of a divice gives always an Error 500

Setting
I cleared cache.
I then accessed the website from a desktop computer, error 500
I then reloaded, then the page loaded correctly.

I then accessed the website from a cell phone (android), error 500
I then reloaded, the page loaded correctly (minor errors) - some images missing button of page (see seperate issue)

Is there something we can do to help you progress this project?

I see 33 issues and they seem to be stalled. I'm on a Litespeed server so I would be keen to have a super fast website, but because of PHP errors I cannot use this software.

Is there something we can do to help. e.g. can the developers amongst us troubleshoot the issues and submit them and get them accepted? I see that there are 4 pull requests which are also not accepted.

Do you need someone to help manage pull requests? Or is there some other way we can help make this product work for Joomla?

Rsform form doesn't work with lscache / esi module and exclude fail

PHP 7.2.4
Joomla 3.8.11
RSForm! Pro 2.0.13
lscache 1.3.0

Default Joomla Cache:
everything works

Lscache no esi module:
1st form submission- loads form, and submits correctly (database and email)
2++ form submissions- loads form, and looks like it submits but nothing in database or email

Lscache YES esi module / cache type=none:
1st form submission- loads form, and looks like it submits but nothing in database or email
2++ form submissions- same

If I clear cache it will cache the "Thank you" message until cache is cleared.
I would really appreciate any advice on where to start.

Where is debug logged to?

Meta data is odd

My homepage meta data says

x^ヘ 濤蔡9ヘ賂9 "i 変レ fl1 Y ォ メLЛハH$箔9 $」 タd4IHLウ SQ2 *d樮ト #オ "$$? 6~ ・ {\e謙陞泰 メ8ス ソツf/', -Bョx 6 0rEc/汲 #ソ$ー2堂 ァjJノユ4共 。I@ヤ盤H ...

Could this becaused by LiteSpeed Cache?

Missing images on website, when using LSCache

Setting:
A2Hosting, managed hosting enviroment.
CMS: Joomla 3.8.5
Plugins: JCH optimizer, Jotcache (memcached, device specific)
Caching setting: memcached, device specific

Problem: Some images does not load correctly on buttom of website
link: a2.lungekursus.dk
There should be the following images: AstraZenica, Teva,Roche, Alk,Novartis, Boehring Ingelheim.
Ord link www.lungekursus.dk

This is only a problem on the mobile device.

The original website www.lungekursus.dk, loads correctly (An Apache 2.4 webserver, memcached ....) Same website, just not LiteSpeed cache or webserver.

I tested JCH Optimizer, now as Lasyload + Force Load -> That seems to work.
But still a change since Apache.

Error while purging cache

Hey there.

I have added
<IfModule LiteSpeed> CacheLookup on </IfModule>
to my .htaccess file and the component is installed.
When I press "Purge all litespeed cache" button, I get this error:
An error has occurred. 500 Library path /plugins/system/lscache/lscachebase.php cannot be found.

I tested on 2 different servers and I got the same issue on both.

Please note that there is no plugin installed when I install the component.

Featured Articles Component

When removing an article from the Featured Articles Component list.
The cache is not updated.

I have to manually go in to system -> cache and clear it

I have normal system cache enabled and I am using cache cleaner for that part.

Caching conflict with JCH Optimize plugin

Hello, we are using the JCH Optimize plugin along with LSCache. There seems to be a strange timing issue with cache expirations. Almost on a daily basis the site does not load properly (no CSS or JS). The optimize plugin minifies and merges all css and js into a single file respectively and caches it. It seems as though when the plugin dumps its cache and regenerates, the lscache cached page is looking for the combined js and css files which have now been deleted and re-cached/created by the plugin.

Speaking with the developer of the JCH Optimize plugin they refresh the cache of the plugin daily:

This is a note from the JCH Optimize developer:

When the cron runs it attempts to delete page cache using the Joomla! API with this call:

$cache = JCache::getInstance();
$cache->clean('page');

If LiteCache is hooked into the Joomla! API, as it should, then it will get flushed. Are you sure you're not also caching the page in the browser? If so it would be best to disable browser caching.

You can verify with the developer if this call flushes the cache. It's better to do this using code than accessing a url as that will slow up the plugin.

I'm not sure what is the best way to proceed. It seems that there needs to be some sort of integration/communication so when the Optimize plugin dumps and re-caches that lscache is notified to purge it's cache as well...

Pagination problem

Litespeed Joomla extension + Virtuemart
Some times pages like
SECTION(1)/Products page (1)
and
SECTION(1)/products page (2)
both indexed as the same page

link/section(1)/products page (2) URL display link/section(1)/products page (1)

Joomla 4 -- Message: Cannot access protected property Joomla\CMS\Menu\MenuItem::$params

A PHP Exception occurred on your site. Here you can find the stack trace:
Exception Type: Error
File: /home//public_html/plugins/system/lscache/lscache.php
Line: 143
Message: Cannot access protected property Joomla\CMS\Menu\MenuItem::$params
#0 /home/
/public_html/libraries/src/Plugin/CMSPlugin.php(285): plgSystemLSCache->onAfterRoute()
#1 /home//public_html/libraries/vendor/joomla/event/src/Dispatcher.php(486): Joomla\CMS\Plugin\CMSPlugin->Joomla\CMS\Plugin{closure}()
#2 /home/
/public_html/libraries/src/Application/EventAware.php(111): Joomla\Event\Dispatcher->dispatch()
#3 /home//public_html/libraries/src/Application/CMSApplication.php(1121): Joomla\CMS\Application\WebApplication->triggerEvent()
#4 /home/
/public_html/libraries/src/Application/SiteApplication.php(820): Joomla\CMS\Application\CMSApplication->route()
#5 /home//public_html/libraries/src/Application/SiteApplication.php(228): Joomla\CMS\Application\SiteApplication->route()
#6 /home/
/public_html/libraries/src/Application/CMSApplication.php(278): Joomla\CMS\Application\SiteApplication->doExecute()
#7 /home//public_html/includes/app.php(63): Joomla\CMS\Application\CMSApplication->execute()
#8 /home/
/public_html/index.php(32): require_once('/home/argusacco...')
#9 {main}
Request information
GET variables
Array
(
)
POST variables
Array
(
)
COOKIE variables
Array
(
)
REQUEST variables
Array
(
)
SERVER variables
Array
(
[PATH] => /usr/local/bin:/bin:/usr/bin
[HTTP_ACCEPT] => /

[HTTP_USER_AGENT] => lscache_runner

[REMOTE_ADDR] => 5.134.13.32
[REMOTE_PORT] => 55588
[SERVER_ADDR] => 5.134.13.32

[SERVER_PORT] => 443
[REQUEST_SCHEME] => https
[REQUEST_URI] => /insights-all
[REDIRECT_URL] => /insights-all
[HTTPS] => on
[HTTP_AUTHORIZATION] => 
[REDIRECT_STATUS] => 200
[SSL_PROTOCOL] => TLSv1.3
[SSL_CIPHER] => TLS_AES_256_GCM_SHA384
[SSL_CIPHER_USEKEYSIZE] => 256
[SSL_CIPHER_ALGKEYSIZE] => 256
[SCRIPT_FILENAME] => /home/******/public_html/index.php
[QUERY_STRING] => 
[SCRIPT_URI] => https://www.*******.co.uk/insights-all
[SCRIPT_URL] => /insights-all
[SCRIPT_NAME] => /index.php
[SERVER_PROTOCOL] => HTTP/1.1
[SERVER_SOFTWARE] => LiteSpeed
[REQUEST_METHOD] => GET
[X-LSCACHE] => on,crawler
[PHP_SELF] => /index.php
[REQUEST_TIME_FLOAT] => 1654116144.0041
[REQUEST_TIME] => 1654116144

)

systeminfo-2022-06-01T21_47_22+01_00.txt

Language code is misisng in URL when modul set as ESI

Hi
Is there any solution to these?

Joomla 3.9.26
Site URL structure
cart - working (English default language)
sl/kosarica- Not working (Slovene language)

My Cart module ayax dropdown don't redirect to correct sl/kosarica URL when is module set as ESI.

  1. When I add product to cart and imidiatly check url (Visit cart button) I am redirected correctly to URL: sl/kosarica

  2. But as sun I go visit another page and then return to a cart modul url (click cart button) then a Language string missing.
    URL: /kosarica
    should be - sl/kosarica and I get 404 error.

When I change ESI Module Type to Advanced, cart module just disappear from front page slovene language, but not from deafult language.

call to a member function purgeprivate() on null

I am using Joomla! and J2Store however I am getting this error. I can confirm this also happens on Joomla without J2store.

It locks the user out and disabled their account in Joomla.

call to a member function purgeprivate() on null

I went into cPanel and I went to Terminal and I did a search by copying and pasting this (right click to paste)

grep -Ri purgeprivate public_html

It returns

$this->plugin->lscInstance->purgePrivate("com_virtuemart.cart");

I am not using Virtumart I am using J2store.

Please could you explain what the issue is? If I disable the Litespeed Cache plugin will this solve my problem?

Home Page Cache Issue

First I wish to thank all the team members that worked hard to bring us this Joomla Extension.
It seems that Home page cache does not respect modules (render as ESI) rules and cache every thing aggressively or I miss configure it.

Speed of loaded page slower then normal .htaccess solution

Loadtime "pingdom speedtest" 650-627ms vs 350-299ms
(even on multiable reload).
`
#

CacheEnable public

RewriteEngine On

RewriteCond %{REQUEST_METHOD} ^HEAD|GET$

RewriteCond %{HTTP_HOST} ^lungekursus.dk|a2.lungekursus.dk|www.lungekursus.dk [NC]

RewriteCond %{HTTP_COOKIE} !loginuser

RewriteCond %{ORG_REQ_URI} !^/index.php$

RewriteCond %{ORG_REQ_URI} !administrator

RewriteCond %{ORG_REQ_URI} (.php|.html|.htm|.feed|.pdf|.raw|/[^.]*)$ [NC]

RewriteCond %{QUERY_STRING} !nocache

RewriteCond %{REQUEST_URI} !^/[0-9]+..+.cpaneldcv$

RewriteCond %{REQUEST_URI} !^/.well-known/acme-challenge/[0-9a-zA-Z_-]+$

RewriteCond %{REQUEST_URI} !^/.well-known/pki-validation/[A-F0-9]{32}.txt(?:\ Comodo\ DCV)?$

RewriteRule .* - [E=Cache-Control:max-age=1]

#
##plugin Litespeed code

CacheLookup on
RewriteEngine On
RewriteRule .* - [E=esi_on:1]

`

PHP 8 & Joomla 4.2.2 issue

Hi,
As PHP 7.4 is getting to its EOL, on a sandbox site I tried to change to PHP 8. After that warnings started to show up:

Warning: Undefined array key "view" in /home/......../lscache/components/com_sppagebuilder.php on line 17
Warning: Cannot modify header information - headers already sent by (output started at /home/......../lscache/components/com_sppagebuilder.php:17) in /home/........lscache/lscachebase.php on line 211

SP Pagebuilder is Pro 4.0.3
After falling back to PHP 7.4 warnings vanished.
Could you please have a look?

Front End Login Issue

Using Joomla 3.8.5 The system seems to log in/out successfully once or twice but then loses the ability to login getting "Security Breach" error messages.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.