Support

Admin Tools

#10188 500 error accessing WAF after u[date

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 nicholas on Wednesday, 04 January 2012 05:12 CST

Mobilepro
Mandatory information about my setup:

Have I read the related troubleshooter articles above before posting (which pages?)? yes
Have I searched the forum before posting?yes
Have I read the documentation before posting (which pages?)? yes
Joomla! version: 1.5.25
PHP version: 5.2.15
MySQL version: 5.0.92
Host:
Admin Tools version: 2.2.a1


Description of my issue:
Hello - On a couple of sites after applying 2.2.a1 I'm getting a 500 error (Layout form not found) when trying to get into WAF. At the end of the install it says "Unable to copy file" and "Component install success".

nicholas
Akeeba Staff
Manager
The error messages on your page indicate that you have a partial installation. Can you try downloading the installation ZIP file and installing it on your site, without uninstalling your existing copy of Admin Tools? If you get any error during the installation, you will have to go through the installation troubleshooting instructions.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

Mobilepro
I had tried a manual install but get the same error...I'll go through the troubleshooter and see if anything helps.

Thanks

nicholas
Akeeba Staff
Manager
Ah, stupid me, should have told you that you need to try re-installing **twice** in a row. There's a bug in Joomla! 1.5's extensions installer, the same one which prevents upgrading from Core to Professional releases. The bug causes the files in directories not present in the old release (like the new "fof" directory) to not be copied along when updating. Doing the manual installation twice seems to work. I have no idea why, it just works (and makes it impossible for me to debug the issue). This seems to have been solved since Joomla! 1.6.3, or at least no user with a Joomla! 1.6/1.7 site reported it so far.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

Mobilepro
Tried the install a couple more times and still getting the helpful "It was not possible to copy the selected file." The "fof" directory is there with files...



user41123
Hi Nicholas,

I have exactly the same problem, also in Joomla 1.5.25.
After some retries I downgraded back to AT Pro 2.1.14.

Greetings, Paul

delliano
Same error as everybode else, also tried to install it ma&nual couple of times and get the same errors as MobilePro.

Going also to downgrade this version

nicholas
Akeeba Staff
Manager
The "unable to copy file" message is completely irrelevant as it seems. It is caused by a missing language file and you can ignore it if it's all you get.

People who had the same problem with you were able to resolve it either by reinstalling twice in a row, or by uninstalling and installing again. Most people seem to not have a problem updating, judging by the positive feedback.

If despite following all those instructions you still have a problem, please do give me some information:
- Exact Joomla! version
- Are you using a Super Administrator, Administrator or Manager account?
- Have you changed the ACL settings, or are you uisng the defaults?
- If you get a 500 error, below it it should have some extra information. I really want that.

Please remember that without this information I can not replicate this issue. If I can not replicate it, I can't fix it. If you want to see this fixed, give me the information I need to fix it. That's the whole point of having an alpha (public preview) release. Thank you in advance!

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

Mobilepro
Nicholas - I hope you don't think anyone is complaining here...I realize this is an alpha release and hopefully can be of some help with feedback to determine whether this issue is a bug or a problem that is site specific.

fyi - I uninstalled 2.2.a1 completely and reinstalled twice manually with the same results. No errors installing 2.1.14.

If you need additional info let me know ... there are screen shots in the first post.


Exact Joomla! version - 1.5.25

- Are you using a Super Administrator, Administrator or Manager account? - Super Administrator

- Have you changed the ACL settings, or are you using the defaults? - Defaults

- If you get a 500 error, below it it should have some extra information. I really want that. - "Layout form not found"

TurnTex
I am having the same trouble with the exact same settings as Mobilepro above.

Joomla 1.5.25, Super Admin, Defaults, "Layout form no found".

I updated via AdminTools. Then I manually installed twice. After that did not work, I uninstalled ATP and manually installed is twice in a row again. Still no luck.

I am thinking I am not protected from the SQLi hacker that has been after my site for a while since WAF may or may not be working. Going to downgrade in an hour or so if I haven't heard from you yet.

TurnTex
Oh yeah, and I am certainly NOT complaining either! You do great work, Nicholas and I do appreciate it!

nicholas
Akeeba Staff
Manager
Hello guys,

Thank you for your excellent feedback! It helped me track down the problems to two issues:
1. The installer was trying to copy the CLI (command line) script which can be used to automate the file scanning when in Joomla! 1.5. However, Joomla! 1.5 doesn't have the "cli" directory or the necessary platform files to support it. This caused the "Could not copy the specified file" error message. Unfortunately, this error is thrown by Joomla!'s JFile::copy() itself and is ultra-cryptic, misleading me to the real cause of it. I had to go through the file list one item at a time to see what was causing that. Found and solved.
2. There was a missing line from the view file of the WAF view which caused the 500 message. Funny enough, this would only happen on Joomla! 1.5. Joomla! 1.7 and 2.5 did not suffer from this issue. It seems that when I was doing the Joomla! 1.5 testing I never visited the WAF control panel, only accessed the individual sub-pages directly, missing this issue. Found and fixed.

All of the above fixes, plus a couple of minor ones (garbage files being left behind) are solved in the latest dev release (svn667 at the time of this writing). You can simply download it and install it on top of 2.1.14 or 2.2.a1 to fix those issues.

In case you can not access your site's administrator section, you can always rename plugins/system/admintools.php (Joomla! 1.5) or plugins/system/admintools/admintools.php (Joomla! 1.7, 2.5) to admintools.php.bak. Then you should be able to access your site's back-end and install the developer's release.

If you get installation errors, please take a look at the installation troubleshooting instructions. If this doesn't help, please start a new thread stating which developer's release you are trying to install and that you've already tried the installation troubleshooting instructions so that I can help you more efficiently.

Thank you in advance for your feedback!

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

TurnTex
Nicholas,

Works like a champ, my friend! I am getting an error message when doing the install but it does not seem to cause any issues. It may be the same one as before with the language file. Here it is in case it is new.

JInstaller::install: File '/home1/****/public_html/tmp/install_4f02b2bfdadcd/plugins/plg_oneclickaction/language/da-DK/de-DE.plg_system_oneclickaction.sys.ini' does not exist.

nicholas
Akeeba Staff
Manager
Perfect!

Yes, that missing language file is a typo in the installation package. I didn't get it in this round of fixes because I don't have the German language pack installed (it's the prerequisite to get this error). I will fix that in the next dev release.

Thank you for your feedback!!

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

nicholas
Akeeba Staff
Manager
On another note, if you have Akeeba Subscriptions 2.0.b2 or earlier installed, you MUST update it to 2.0.RC1 BEFORE installing Admin Tools 2.2.a1 or later, otherwise Admin Tools WILL CRASH.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
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!