Page 2 of 2

Re: NMS Crashes Server

Posted: Wed Sep 03, 2008 3:13 pm
by reidjazz
Good to know you got it working. Any chance you could nail it down to exactly what was causing it?

Re: NMS Crashes Server

Posted: Wed Sep 03, 2008 3:18 pm
by alby
reidjazz wrote: Good to know you got it working. Any chance you could nail it down to exactly what was causing it?
Try to increase php memory to 64M in config.php

Alby

Re: NMS Crashes Server

Posted: Wed Sep 03, 2008 3:51 pm
by reidjazz
alby wrote:
reidjazz wrote: Good to know you got it working. Any chance you could nail it down to exactly what was causing it?
Try to increase php memory to 64M in config.php

Alby
Alby,
This worked...many thanks to you. It might be worth mentioning a minimum memory requirement in the release notes, although I guess each server might handle this differently.

reidjazz

Re: NMS Crashes Server

Posted: Wed Sep 03, 2008 4:02 pm
by viebig
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

[SOLVED]Re: NMS Crashes Server[/SOLVED]

Posted: Wed Sep 03, 2008 7:34 pm
by reidjazz
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
First of all, I don't see anybody out of control here...just wanting to find a solution.

Secondly, tried that (as suggested by an earlier post...please read them) and that didn't work...for me (might work for others). What DID work was to increase the memory allocation in config.php. Apparently the updated NMS requires more juice.

Re: NMS Crashes Server

Posted: Wed Oct 15, 2008 10:43 am
by plger
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.

Re: NMS Crashes Server

Posted: Thu Feb 05, 2009 5:20 pm
by namloc
I am having the same problem

The problem is definativly related to embedded links in the HTML

If I use the smarty cms_selflink ext  when I use any url with embedded ?
then it works fine , otherwise the job processes crashes

Im going to try the fix suggested by plger and will let you know.

Re: NMS Crashes Server

Posted: Wed Feb 25, 2009 1:06 pm
by richard-s
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?

Re: NMS Crashes Server

Posted: Tue Mar 03, 2009 6:23 pm
by cyberman
richard-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?
Function make_absolute_links can be find in functions.utils.php, line 128 ;).