Koozali.org: home of the SME Server

Bug in add agent [RESOLVED]

Offline soprom

  • *
  • 589
  • +0/-0
    • www.logiciel-libre.org
Bug in add agent [RESOLVED]
« on: April 02, 2008, 04:35:46 PM »
The page shows this:

Code: [Select]
Expires: Thu, 07 Apr 1988 14:33:22 GMT Date: Wed, 02 Apr 2008 14:33:22 GMT Content-Type: text/html; charset=ISO-8859-1
before "Add Agent 1001" from the menu to add agent.
« Last Edit: April 02, 2008, 08:22:27 PM by soprom »
Sophie from Montréal

Offline SARK devs

  • *****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: Bug in add agent
« Reply #1 on: April 02, 2008, 08:05:05 PM »
Wow!

Missed that one.

Fixe on the way.

Best

S

Offline SARK devs

  • *****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: Bug in add agent
« Reply #2 on: April 02, 2008, 08:17:17 PM »
quick fix as follows

load /etc/e-smith/web/functions/sarkagent into your favourite editor.

At or around line 316, you will find

Code: [Select]
    esmith::cgi::genHeaderNonCacheable
        ($q, \%conf, );

comment these two lines out (with #) or delete them. 
Save the module back.

proper fix in next release (-605ish)

Best

S