Hi,
Sorry about the delay.
That message indicates that your PHP installation is only allowed to run for 30 seconds and the scanner is trying to run longer than that.
You could ask your hosts if they could increase the Maximum execution time and then try and run the scan again.
Best Wishes,
Ashley
Hi @raqy
It is due ot your server configuration that you have max execution time is of 30 seconds and the AIOS scanner will take time to scan all directories / files as large number of it.
you should increase max_execution_time like below.
It might be scanner stops in between as max execution time reached once you increase max execution time as per the required to complete scan you should get the email also.
Regards
ini_set('max_execution_time', '300'); //300 seconds = 5 minutes
Thread Starter
raqy
(@raqy)
This fixed the timeout problem, but now I get this strange message:
“The plugin has detected that this is your <span style=”text-decoration: underline;”>first</span> file change detection scan. The file details from this scan will be used to detect file changes for future scans.”
This is definitely not my first scan. Strangely enough this message pops up every time I try to “scan now”…
Also, no list of changed files is showing after pressing “View last file change” (it was shown just a few days ago) although I see on DirectAdmin’s file manager there are files that were changed.
Also, no emails reporting the changed files, although it is set to be sent.
Any thoughts?
Cheers!
Hi @raqy
File change detection saves the scan result as aiowps_fcd_data_{radom} in folder wp-content/aiowps_backups If it do not find that file and some how issue in saving last scan result filename it might be the issue. and saying first time scan.
Can you please cross check that directory and let me know if the mentioned type file is there and when updated etc details. So writing to that directory is not the issue.
Also if you deactivated the plugin and settings are not reapplied might be also the case.
Regards
Thread Starter
raqy
(@raqy)
Thanks for your answer. The directory and file do exist, but the file size is 0. After running Scan Now the date/time is changing to present time, but the size remains 0. I guess that is why it is being assumed that this is the first scan. I wonder why the plugin stopped writing to that file.
Any Thoughts?
I haven’t deactivated/reactivated the plugin recently, as far as I can recall.
-
This reply was modified 2 years, 7 months ago by
raqy.
Hi @raqy
That file size 0 seems issue and that is why considered all time first scan.
Can you please cross check the wp-content direcotry and it’s sub directory aiowps_backups have proper owner and permission as this is not the general case.
Regards
Thread Starter
raqy
(@raqy)
Thanks for your reply. Permissions are OK: 755 for directories and 644 for files.
Ownership also OK.
Any ideas?
Hi raqy,
Here 755 and 644 permissions seem ok, I think there should be some issue of owner ship.
If you are sure Apache server and www-data as the Apache user and gorup. you can run below command /var/www/wordpress to your WordPress installed directory path to make sure ownership is correct.
Other wise please contact your hosting provider.
sudo chown -R www-data:www-data /var/www/wordpress
Regards
Thread Starter
raqy
(@raqy)
I have contacted my hosting provider and they checked the ownership of the folder and file and confirmed it’s fine.
They said that when I click Scan Now, the file is recreated and has new date but no content.
They didn’t see anything on their side that can cause this 0-size file.
Any thoughts?