No Code Attached Yet Information Required
avatar remiAcyba
remiAcyba
6 Oct 2020

Steps to reproduce the issue

Update AcyMailing from a lower version than 6.15 to the version 6.16
This issue doesn't appear on every website

Expected result

AcyMailing should be working

Actual result

We have an error due to a folder that we rename in the administrator folder in which we have the router.
So the website is down

System information (as much as possible)

Joomla 3

Additional comments

It looks like there is cache for the manifest file that we can't erase before the update

avatar remiAcyba remiAcyba - open - 6 Oct 2020
avatar joomla-cms-bot joomla-cms-bot - change - 6 Oct 2020
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 6 Oct 2020
avatar zero-24
zero-24 - comment - 6 Oct 2020

Hmm there is a 'rebuild the manifest cache' button in the backend extension list? Does that fix the issue?

avatar remiAcyba
remiAcyba - comment - 6 Oct 2020

Well we can't access the website because there is a fatal error so we can't access to this button.

Maybe there is a way to erase this cache in the update script?

avatar zero-24
zero-24 - comment - 6 Oct 2020

we do this already but just for core extensions.

You can have a look into the /administator/components/com_admin/script.php line 381

avatar Quy Quy - change - 29 Oct 2020
Labels Added: Information Required
avatar Quy Quy - labeled - 29 Oct 2020
avatar brianteeman
brianteeman - comment - 8 Apr 2021

@PhilETaylor is this resolved by your recent pr?

avatar PhilETaylor
PhilETaylor - comment - 8 Apr 2021

This issue doesn't appear on every website

Does it only appear on servers that have opcache enabled or opcache configured with aggressive caching values ?

avatar brianteeman
brianteeman - comment - 8 Apr 2021

Sorry I meant the one that addresses the installer issues

avatar PhilETaylor
PhilETaylor - comment - 8 Apr 2021

No that Joomla 3 PR was about extra_query and installing extensions with Download IDs and the other was about rebuilding the update sites cache

Both of those are already merged in Joomla 3.9.26 and ready for testing in the release candidate.

This reported issue sounds more like an opcache issue. There is a Joomla 3 PR (which feels incomplete based on the massive effort on theJoomla 4 one of the same kind) which can be tested to see if it fixes this issue.

Else, there is not a lot to go on here. We need a better issue report with the error message and server configurations in order to fully ensure we replicate the correct issue.

avatar PhilETaylor
PhilETaylor - comment - 8 Apr 2021

@remiAcyba Please provide a direct link to " AcyMailing - a lower version than 6.15" and please provide the server configuration (from Joomla admin system information) that this problem happens on

avatar remiAcyba
remiAcyba - comment - 12 Apr 2021

Hi,

Sorry for the late answer, here is AcyMailing stater 6.14.1.
For the Joomla configuration, I can't give you a precise one, you can take the default one.

The issue was with the folder library in the administrator/components/com_acym
We renamed it into libraries but some clients had issues because the folder didn't rename correctly.
com_acymailing_starter.tar.gz

avatar remiAcyba
remiAcyba - comment - 22 Apr 2021

Hi again,

We just had another issue and I think this is also linked to the manifest cache.

We will soon release version 7.5.0 of AcyMailing and on the update we had an issue.

If you want to reproduce:
1 - Install version 7.4.1
starter_v7.4.1_2021-04-22_09-21-18.tar.gz

2- Install our beta version for 7.5.0
com_acymailing_starter.zip
On the installation, you should have warnings aboutACYM_STARTER, ACYM_ESSENTIAL, ACYM_ENTERPRISE constants not existing.

The thing is that they exist, we added them into our helper file in back/helpers/helper.php, which is include in the update file: install.class.php

Here is an example of the Joomla information on one of the site:
image

avatar PhilETaylor
PhilETaylor - comment - 22 Apr 2021

Ive not tested yet, but surely if these new constants are in the NEW package you are just installing, they they will not yet be loaded until the next page load - unless you force them to be loaded manually before using them? - that's how Joomla works.

avatar PhilETaylor
PhilETaylor - comment - 22 Apr 2021

oh hang on - they are not LANGUAGE CONSTANTS but PHP define's....

Please provide your PHP Opcache Settings from PHP.ini (noting that the DEFAULT for revalidate_freq is 2 seconds )

avatar PhilETaylor
PhilETaylor - comment - 22 Apr 2021

also please merge PR from #32918 to your Joomla 3 site and test again - does that fix it?

avatar brianteeman
brianteeman - comment - 17 Apr 2022

This should be closed for the reasons stated above

avatar Quy Quy - change - 17 Apr 2022
Status New Closed
Closed_Date 0000-00-00 00:00:00 2022-04-17 11:05:09
Closed_By Quy
Labels Added: No Code Attached Yet
Removed: ?
avatar Quy Quy - close - 17 Apr 2022

Add a Comment

Login with GitHub to post a comment