Plugin Contributor
cageehv
(@cageehv)
Hey Roger,
Just tested it and it runs fine here.
Maybe you should try to re-install the plugin.
Please let me know if that fixed your problem!
Rolf
Thank you Rolf,
Also, WordPress creates no error log entry. The Apache error log has entries such as:
[Sun Sep 07 09:18:44 2014] [warn] [client 99.247.xxx.xxx] mod_fcgid: read data timeout in 40 seconds, referer: http://xxxxxxxx.com/wp-admin/tools.php?page=rvg-optimize-db.php
and
[Sun Sep 07 09:18:52 2014] [warn] mod_fcgid: process 15761 graceful kill fail, sending SIGKILL
Given the above, I think it’s obvious that domlogs would show the access, in this case using a Windows system:
99.247.xxx.xxx - - [07/Sep/2014:09:52:18 -0400] "POST /wp-admin/admin-ajax.php HTTP/1.1" 200 67 "http://xxxxxxxx.com/wp-admin/tools.php?page=rvg-optimize-db.php&action=run" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Firefox/31.0"
I hope the above helps in some way!
Thanks,
Roger
Plugin Contributor
cageehv
(@cageehv)
Hey Roger,
Thanks for the additional info.
So it’s timing out…
Is your database huge?
Can you edit your php.ini file?
If yes, try to increase the maximum execution time:
;;;;;;;;;;;;;;;;;;;
; Resource Limits ;
;;;;;;;;;;;;;;;;;;;
; Maximum execution time of each script, in seconds
; http://php.net/max-execution-time
; Note: This directive is hardcoded to 0 for the CLI SAPI
max_execution_time = 600
; Maximum amount of time each script may spend parsing request data. It's a good
; idea to limit this time on productions servers in order to eliminate unexpectedly
; long running scripts.
; Note: This directive is hardcoded to -1 for the CLI SAPI
; Default Value: -1 (Unlimited)
; Development Value: 60 (60 seconds)
; Production Value: 60 (60 seconds)
; http://php.net/max-input-time
max_input_time = 600
Looks like your execution time is set to 40 (seconds)
Keep me posted!
Rolf
I reinstalled and am also no getting error 500:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.
All other plugins, theme, etc. working. Continuing to troubleshoot…
Plugin Contributor
cageehv
(@cageehv)
Hey Roger,
That’s very weird…
Maybe WP 4.0 introduces a conflict with another plugin / theme?
Try to deactivate all plugins except for mine and see if it works then…
Rolf
Hi Rolf,
The fix as you suggested for php.ini did the trick:
max_execution_time = 600
max_input_time = 600
(I had them at 300 and 60)
Restarted Apache and voilà!
Yes the database is a bit larger than the usual WordPress single administrator installation 😉
Seems to be working now. Hopefully this post will help a person or two.
Have a SUPER day – Dank je!!! 🙂
Roger
Plugin Contributor
cageehv
(@cageehv)
Hey Roger,
I’m glad my suggestion fixed it!
Have a great day too!
Rolf