Support

Admin Tools

#10210 Progress bar freezing

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 Tuesday, 10 January 2012 03:03 CST

thusby
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.7.3
PHP version: 5.3.1
MySQL version: 5.0.51

Admin Tools version: Latest update


Description of my issue:

When using Fix Permission, Clean Temp Directory, Repair and Optimize, PHP File Change Scanner - the progress indicator seems to get frozen, it never exits back to the control panel.

It seems like the function does the job, but I have to manually go back to the control panel.

Any clue?

Regards Terje

nicholas
Akeeba Staff
Manager
When you have a very long process (too many files in the tmp directory, too many files/folder levels when fixing permissions, over 50 tables when repairing tables) the progress bar may keep on reloading but stick to the same percentage, appearing as though it never moved at all. This is normal and if left there for a few minutes, it should complete the process.

This works in all browsers EXCEPT Firefox 8 and later. These versions of Firefox are buggy like hell and instead of loading the action page in a modal dialog, they load it in the main window. My suggestion: stop using Firefox! Firefox is the new Internet Explorer: each new version is more bloated, slower, less stable, worse in rendering pages than the previous one and it now disregards common Javascript conventions, the same ones which it followed in previous versions and caused IE and other browsers to adhere to them. Shame on Firefox, it has become a piece of utter junk. So, if something works on Chrome, Safari, Opera and IE9 but breaks in Firefox, I simply won't fix it.

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!

thusby
Thanks for response, I mainly use IE and Chrome (latest versions), but the same result for both browsers.

tmp clean, comparing with similar installation same size with no problems.

Fix Permission, Clean Temp Directory, Repair and Optimize - NEVER returns

PHP File Change Scanner freezes at 6 seconds.


Anything in .htaccess Maker which should be configured to work with the tool itself :-) ?

I have tried to change access to a directory, and confirmed that the "Fix permissions" changes it immediately, so I guess it's a problem with updating the progress page/dialogue? Script?






nicholas
Akeeba Staff
Manager
Same browsers, PHP versions and Joomla! versions here as well. The problem is certainly not in Admin Tools' code. It could be a misbehaving Internet security or antivirus programme (AVG Antivirus and it's link checker sorry excuse of a feature are known to kill JavaScript regularly, even on local hosts), a browser plugin which interferes, or even a system plugin in your site screwing up JavaScript. One way to find out is to send me a Pm with Super Admin access to your site and I will tell you what's wrong.

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!

thusby
Hi,

managed to track down an error in a plugin, corrected the code and now it's back to normal aparth from PHP File Change Scanner which still freeze after "6 seconds".

Any suggestion?

Regards
Terje

delliano
Joomla! version: 1.5.25
PHP version: latest
MySQL version: latest

Same over here, PHP file scanner freezes in: latest IE, latest FF, and latest Google Chrome. Tried allot of times, but even after 20min, the progress bar doesnt move. Everything else like the progression bar of cleaning tmp, repair and optimize... works great and fast.

Everything else of the functions also works like a charm

grtz

nicholas
Akeeba Staff
Manager
Hi guys,

some hosts have strict limitations. Things like a tight max_execution_time, memory_limit or a very aggressive CPU quota (all far too common on shared hosts) will cause the file scanner to fail. The file scanner is based on the same engine as Akeeba Backup. The difference is that instead of backing up the files, we throw away non-PHP files and run a scan on PHP files. The scan is even more CPU and memory intensive than the backup, so the scanner has a high chance of failing.

The only workaround: move to a decent host. I simply can't work around unrealistic restrictions imposed by hosts who cram 3,000 sites on a single server they bought back in 2005. It's 2012. Our sites have completely different requirements than seven years ago. Is it a coincidence that my software never failed cold on decent hosts like CloudAccess.net, iRedHOST and Rochen – unless the user did something really wrong? I don't think so :)

PS: Saying that you have the "latest" version of PHP is most unhelpful, guys. At the time of this writing, the "latest" version can be 5.2.17 (latest PHP 5.2), 5.3.9 (latest PHP 5.3) or 5.4.0.RC5 (latest PHP 5.4). It could also be PHP 5.1.6 (the latest version Debian stable provides). Or they could be the latest versions provided by your particular pre-packaged server environment, which cover a wide spectrum of all versions from PHP 5.2.9 to 5.3.6. So, which is the "latest" version you have? Same for MySQL. Based on your "latest" non-numbers I am left to wonder which of the hundreds possible combinations of "latest" PHP/MySQL could be. You could just as well not mentioned anything. Next time I see "latest", I swear I will reply "RTFM" and delete the thread :)

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!