Re: NMS Crashes Server
Posted: Wed Sep 03, 2008 3:13 pm
Good to know you got it working. Any chance you could nail it down to exactly what was causing it?
Content management as it is meant to be
https://forum.cmsmadesimple.org/
Try to increase php memory to 64M in config.phpreidjazz wrote: Good to know you got it working. Any chance you could nail it down to exactly what was causing it?
Alby,alby wrote:Try to increase php memory to 64M in config.phpreidjazz wrote: Good to know you got it working. Any chance you could nail it down to exactly what was causing it?
Alby
First of all, I don't see anybody out of control here...just wanting to find a solution.viebig wrote: Calm down people!
I think i know the problem, and the solution!
Look at NMS configuration and change de delay between each message. Set a higher value.
This happens because of your client/server connection latency.
It will take longer to proccess jobs, but should work.
Let me know
plger wrote: If anyone still has this problem, it may be because of urls with $_GET parameters (such as index.php?page=Home ).
In function make_absolute_links, the ? in the url is misinterpreted in the reg expression, causing a loop to go forever.
A simple :
$input_uri = str_replace('?','\?',$input_uri);
before //Replaces the relative URI with the absolute one
(in function make_absolute_links)
will do the trick.
Function make_absolute_links can be find in functions.utils.php, line 128richard-s wrote:plger wrote: If anyone still has this problem, it may be because of urls with $_GET parameters (such as index.php?page=Home ).
In function make_absolute_links, the ? in the url is misinterpreted in the reg expression, causing a loop to go forever.
A simple :
$input_uri = str_replace('?','\?',$input_uri);
before //Replaces the relative URI with the absolute one
(in function make_absolute_links)
will do the trick.
Can anyone help please - which file do i put this in?