In-portal
In-portal Software
Your Language:






Patches for In-portal v4.3.0 and modules - Topic Posts (10)



Rate Topic




Add To Favorites




Author Message

Dmitry
admin




Joined: 01/05/2002
posts: 1495
Location: United States
Posted: 04/10/2008 4:20:15 PM


Below you can find patches for v4.3.0:

1. Ajax error under Admin->Community->Users section when trying to use Mass Mailing functionality.

Fix is simple, open core/admin_templates/emails/mass_email.tpl and add at the very top:
<inp2:adm_SetPopupSize width="750" height="400"/>


2. Session expiration on Admin->Tools->Backup section.

To fix, open kernel/include/usersession.php

and replace all instances of:
find and replace:

$this->Set("LastAccessed"adodb_mktime());

with

$this
->Set("LastAccessed"adodb_mktime() + $objConfig->Get("SessionTimeout"));


and

find and replace:

$this->Set("LastAccessed"adodb_date('U') );

with

$this
->Set("LastAccessed"adodb_date('U') + $objConfig->Get("SessionTimeout"));


Feel free to post here or support with any questions.


beheerder
Member

Re:


Joined: 03/27/2008
posts: 14
Location: Netherlands
Posted: 04/10/2008 4:32:06 PM


Re:
Hi Dmitry,

So if i got it right i should replace :

adodb_mktime()); in adodb_mktime('U')

adodb_mktime() in adodb_mktime('U')

Thanks



Dmitry : 04/10/2008 4:20:15 PM
Below you can find patches for v4.3.0:

1. Ajax error under Admin->Community->Users section when trying to use Mass Mailing functionality.

Fix is simple, open core/admin_templates/emails/mass_email.tpl and add at the very top:
<inp2:adm_SetPopupSize width="750" height="400"/>


2. Session expiration on Admin->Tools->Backup section.

To fix, open kernel/include/usersession.php

and replace all instances of:
find and replace:

$this->Set("LastAccessed"adodb_mktime());

with

$this
->Set("LastAccessed"adodb_mktime() + $objConfig->Get("SessionTimeout"));


and

find and replace:

$this->Set("LastAccessed"adodb_date('U') );

with

$this
->Set("LastAccessed"adodb_date('U') + $objConfig->Get("SessionTimeout"));


Feel free to post here or support with any questions.



Dmitry
admin




Joined: 01/05/2002
posts: 1495
Location: United States
Posted: 04/10/2008 5:10:32 PM


Stefan,

I have updated my original post. Please carefully review it.

Thanks.


Anthony
Member

Re:


Joined: 08/03/2001
posts: 202
Location: United States
Posted: 04/18/2008 4:17:27 PM


Re:
Dmitry : 04/10/2008 4:20:15 PM
Below you can find patches for v4.3.0:

1. Ajax error under Admin->Community->Users section when trying to use Mass Mailing functionality.

Fix is simple, open core/admin_templates/emails/mass_email.tpl and add at the very top:
<inp2:adm_SetPopupSize width="750" height="400"/>


2. Session expiration on Admin->Tools->Backup section.

To fix, open kernel/include/usersession.php

and replace all instances of:
find and replace:

$this->Set("LastAccessed"adodb_mktime());

with

$this
->Set("LastAccessed"adodb_mktime() + $objConfig->Get("SessionTimeout"));


and

find and replace:

$this->Set("LastAccessed"adodb_date('U') );

with

$this
->Set("LastAccessed"adodb_date('U') + $objConfig->Get("SessionTimeout"));


Feel free to post here or support with any questions.


thanks,
Anthony


Anthony
Member

re:


Joined: 08/03/2001
posts: 202
Location: United States
Posted: 04/18/2008 4:25:13 PM


re:
Ok, it seems I can not go back and edit a post so I'll post again as my responses did not show up in the first reply.
--------------------------------------------------------
To fix, open kernel/include/usersession.php

and replace all instances of:
find and replace:

$this->Set("LastAccessed"adodb_mktime());

with

$this
->Set("LastAccessed"adodb_mktime() + $objConfig->Get("SessionTimeout"));


Dmitry,
I was able to find the above in the file and change it




find and replace:

$this->Set("LastAccessed"adodb_mktime('U';

with

$this
->Set("LastAccessed"adodb_mktime('U') + $objConfig->Get("SessionTimeout"));


This line can not be found in file. Only thing close is "adodb_date('U')" is this in another file? Or is the above a typo on what to look for?

thanks,
Anthony


Dmitry
admin




Joined: 01/05/2002
posts: 1495
Location: United States
Posted: 04/18/2008 4:42:21 PM


Yes, thank you for pointing this out.

Original post has been corrected.


rushhohol
Member




Joined: 09/05/2001
posts: 105
Location: United States
Posted: 05/14/2008 1:17:07 AM


The problem is about edit kernel/include/usersession.php.

In this file usersession.php we need to update lines in two places.


$this->Set("LastAccessed", adodb_mktime() + $objConfig->Get("SessionTimeout"));
$this->Set("LastAccessed", adodb_date('U') + $objConfig->Get("SessionTimeout"));

Original file include letter U with brockets "U" and not with comas 'U'

This is original line - $this->Set("LastAccessed",adodb_date("U"));

Is it matter if we have brockets instead of comas?


rushhohol
Member




Joined: 09/05/2001
posts: 105
Location: United States
Posted: 05/15/2008 10:27:27 PM


I try to update this PHP file and have problem with editor. I used Note Pad and other Code Editors on my server. For some reason after every update In-Portal does not want to read this file.

Dmitry, maybe easy will be to making link to newly updated file where we can only download in our server?


Dmitry
admin




Joined: 01/05/2002
posts: 1495
Location: United States
Posted: 05/16/2008 7:00:46 PM


Hello Konstantin,

I would recommend using more professional HTML editor instead of Notepad or Wordpad.

File patch will be available in our next v4.3.1 release.

Thanks.



rushhohol
Member

Re:


Joined: 09/05/2001
posts: 105
Location: United States
Posted: 05/16/2008 7:08:06 PM


Re:
Dmitry : 05/16/2008 7:00:46 PM
Hello Konstantin,

I would recommend using more professional HTML editor instead of Notepad or Wordpad.

File patch will be available in our next v4.3.1 release.

Thanks.
Ok. It's better to wait for next reliese.




Items Per Page: