Support

Admin Tools

#27862 SP staging Problems - actions_log.json

Posted in ‘Admin Tools for Joomla! 4 & 5’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

Joomla! version
n/a
PHP version
n/a
Admin Tools version
n/a

Latest post by tampe125 on Thursday, 25 May 2017 02:17 CDT

victorwooten
 Hello.

I have a problem with SP Staging. Its a component which can update all your joomla sites from another joomla site.
so i have one manager site and from there i can update all other sites (client sites).
in the meantime its working well (there were some other issues with admin tools .htaccess before, but we solved that in the meantime.

but one site wont work. there is a 403 when trying to update this site.
i will copy&paste the email from the developer.
what i tried: deactivating .htaccess (renaming to htaccess.txt) and deactivating admin tools extensions in the backend (4 extensions).
i tried also to disable akeeba admin tools plugin, but cant disable. there is a 403 no access error. how can i disable it?
or do you have another idea? (before i try to uninstall admin tools)


thanks a lot.


-----developer email-----

The error when I ping come from this url: http://www.manager-site.com/administrator/index.php?option=com_spstgmng&task=actions.ping&tmpl=component&stage_id=18
And the error is this:
--
403 - Forbidden Error
You are not allowed to access this address.
If the error persists, please contact the website webmaster.
If you are the webmaster of this site please log in to Cpanel and check the Error Logs. You will find the exact reason for this error there.

Common reasons for this error are:

Incorrect file/directory permissions: Below 644.
In order files to be read by the webserver, their permissions have to be equal or above 644. You can update file permissions with a FTP client or through cPanel's File Manager.

Restrictive Apache directives inside .htaccess file.
There are two Apache directives which can cause this error - 'Deny from' and 'Options -Indexes'.
--

More specific manager site: http://www.manager-site.com/
Is trying to read client file actions_log.json which is located in path /components/com_spstgsrv/packages
I tried from browser to read this file directly at url: http://www.client-site.com/components/com_spstgsrv/packages/actions_log.json
When I tried to read this file for a different client e.g.: http://www.other-site.info/components/com_spstgsrv/packages/actions_log.json it works as expected.
So something disallow the access to the specific file. The question is what?
I tried to deactivate Admin Tools plugin to test, but I get 403 no access. That is something I see first time in Joomla since I am login in back end I should have access.
I really cannot something else. The next I would ask you to do is the follow:
- Backup the site
- Try to disable Akeeba Admin plugin
- If Succesful try to reach from a browser url: http://www.client-site.com/components/com_spstgsrv/packages/actions_log.json
- If not try to uninstall Akeeba Admin component and try again

tampe125
Akeeba Staff
Hello,

i tried also to disable akeeba admin tools plugin, but cant disable. there is a 403 no access error. how can i disable it?
By default Admin Tools protects you from disabling the system plugin. Please get inside the WAF configuration page and set the value Defend against plugin deactivation to No.
You have to do this on the child site.

Then try again to update it from the master site.

However, I can see that you asked this question several times. Can you please try to use the solution suggested here?
https://www.akeebabackup.com/support/admin-tools/Ticket/26750-sp-staging-problems-2.html#p149969

Davide Tampellini

Developer and Support Staff

🇮🇹Italian: native 🇬🇧English: good • 🕐 My time zone is Europe / Rome (UTC +1)
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

victorwooten
thanks.
its deactivated, but still cant access http://www.client-site.com/components/com_spstgsrv/packages/actions_log.json
same error 403

tampe125
Akeeba Staff
Please add those path to the Allow direct access to these files field inside the Htaccess Maker on the child site.

Davide Tampellini

Developer and Support Staff

🇮🇹Italian: native 🇬🇧English: good • 🕐 My time zone is Europe / Rome (UTC +1)
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

victorwooten
thanks a lot.
saved and created htaccess file but still no access to this file :-(

edit: This solution https://www.akeebabackup.com/support/admin-tools/Ticket/26750-sp-staging-problems-2.html#p149969
is another issue with SP STAGING (open website in iFrame). its solved.

tampe125
Akeeba Staff
Did you apply the solution suggested here?

Davide Tampellini

Developer and Support Staff

🇮🇹Italian: native 🇬🇧English: good • 🕐 My time zone is Europe / Rome (UTC +1)
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

victorwooten
sorry, i edited the message before...
This solution https://www.akeebabackup.com/support/admin-tools/Ticket/26750-sp-staging-problems-2.html#p149969
is another issue with SP STAGING (open website in iFrame). its solved.
doesnt solve the action_json.php problem

by the way: changing .htaccess to htaccess.txt wont change anything. problem persists.

tampe125
Akeeba Staff
Ok, this means that the request is blocked by the plugin.
What's the security exception logged in the child site?

Davide Tampellini

Developer and Support Staff

🇮🇹Italian: native 🇬🇧English: good • 🕐 My time zone is Europe / Rome (UTC +1)
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

victorwooten
i think this was not an akeeba problem.
its solved:

The lines in the /components/.htaccess file were preventing the .json file from being loaded:
/client-site/components/.htaccess

<Files "*.*">
Deny from all
</Files>

<FilesMatch "\.(js|css|png|jpg|jpeg|gif|ico|flv|swf)$">
Allow from all
</FilesMatch>


now it is:
<FilesMatch "\.(js|css|png|json|jpg|jpeg|gif|ico|flv|swf)$">
Allow from all
</FilesMatch>

and it is working :-)

tampe125
Akeeba Staff
Great to know that!

Davide Tampellini

Developer and Support Staff

🇮🇹Italian: native 🇬🇧English: good • 🕐 My time zone is Europe / Rome (UTC +1)
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!