houshuang
I tried installing XDebug and WebGrind, but it only outputs when save is successful, when save is not successful, I guess it never reaches the command to stop and write the file, so there is no output...
I also tried to disable Suhosin with
[suhosin]
; Misc Options
suhosin.simulation = On
in my php.ini, seemingly also to no avail.
houshuang
I use DokuWiki extensively in my PhD research to take notes - it is hosted on the built-in Apache in OSX Lion, only used by me (localhost). It's always worked great, but recently it started having problems saving larger files (even more than just a few paragraphs - we're not talking _huge_ files here at all!), and I am also not able to save the config. At both times, it loads for a good while, and then just times out. No PHP error, no error in the Apache log... ("Localhost took too long to respond). It could have something to do with php restriction on execution time but a) I tried upping it, and b) This was never a problem before, everything was super-snappy.
I am really really eager to solve this, as I need to use this wiki on a daily basis. Any help would be much appreciated! I am happy to send any kind of documentation or logs that you might need to help me.
thank you!
Stian
michitux
Is this still an issue? I'm wondering if it is actually a problem in DokuWiki or in your webserver configuration. Is the PHP configuration option "display_errors" on? Because then you should be able to see the timeout of PHP (set it to a smaller value in order to be sure to see the PHP timeout before your browser gives up).
geekitude
Hello... I know it's an old thread but I stumbled upon that problem and just thought I might post the solution that worked in my case.
Context: pretty weak self hosted server under Debian with Apache and "Elenor of Tsort".
Apache is set by default to stop php scripts taking more than 30 seconds and saving some rather complex pages was reaching that time limit.
Solved changing following values in /etc/php5/apache2/php.ini file (and then restarting Apache of course) :
* max_execution_time = 60 (instead of 30)
* max_input_time = 120 (instead of 60, I don't think this was needed but just wanted to keep the logic of time limits)
I hope this will be helpfull to someone ;)