NMS Crashes Server

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
reidjazz

Re: NMS Crashes Server

Post by reidjazz »

Good to know you got it working. Any chance you could nail it down to exactly what was causing it?
alby

Re: NMS Crashes Server

Post 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
reidjazz

Re: NMS Crashes Server

Post 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
viebig

Re: NMS Crashes Server

Post 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
reidjazz

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

Post 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.
Last edited by reidjazz on Thu Sep 04, 2008 10:45 pm, edited 1 time in total.
User avatar
plger
Forum Members
Forum Members
Posts: 196
Joined: Wed Oct 15, 2008 10:38 am

Re: NMS Crashes Server

Post 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.
Last edited by plger on Thu Oct 23, 2008 11:50 pm, edited 1 time in total.
namloc
Forum Members
Forum Members
Posts: 10
Joined: Sun May 13, 2007 7:05 pm

Re: NMS Crashes Server

Post 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.
richard-s
New Member
New Member
Posts: 6
Joined: Wed Feb 25, 2009 1:04 pm

Re: NMS Crashes Server

Post 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?
cyberman

Re: NMS Crashes Server

Post 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 ;).
Post Reply

Return to “Modules/Add-Ons”