1
perhol
Re: "no valid security token found in session" when posting comments.
  • 2006/1/9 19:21

  • perhol

  • Just popping in

  • Posts: 22

  • Since: 2004/2/11


In 2.2.3 Final I have experienced the problem both with PM and CBB.

I have no idea what causes the problem, but I fgrep-ed for functions that has to do with token and found this in function createToken in class/xoopssecurity.php

if ($timeout == 0) {
    
$timeout intval($GLOBALS['xoopsConfig']['session_expire']) * 60//session_expire is in minutes, we need seconds
    
if ($timeout == || $timeout 1000) { //if timeout is still zero - or a very large value
        
$timeout 60*60//set timeout to 60 minutes
    
}
}


So if $GLOBALS['xoopsConfig']['session_expire'] is in minutes and converted to seconds and found to be greater than 1000 sec (16min, 40sec) it is set to 3600 sec (60 min).

I don't know exactly how the code is called but it seams like the session timeout can be set to any value below 1000 sec. Any value greater than 1000 sec sets the session timeout to 3600 sec.

Am I right and could this have anything to to with it?



2
perhol
Re: automatic reload problem
  • 2005/12/16 12:22

  • perhol

  • Just popping in

  • Posts: 22

  • Since: 2004/2/11


XOOPS 2.2.3 - Default theme - All modules rebuilt - templates_c cleared - Browser cache cleared - ... ...

Javascript enabled in all browsers I've tested. It has never heppened in IE6 but doues happen in firefox efter ahile. My impression is that it occurs after posting a news article, but I can't say that I have pin-pointed it to the news-module. After it happens I need to restart Firefox.



3
perhol
Re: Display Module Content Outside of Xoops
  • 2005/1/12 19:49

  • perhol

  • Just popping in

  • Posts: 22

  • Since: 2004/2/11


if I want to export <{$block.content}> to a file I would first need to assign it to a PHP variable. I think I can manage the file handling in PHP. The question is how to assign the PHP variable in a proper way.

I am thinking about putting the code in theme_blockleft.html

<{if $block.title eq "Block_Name"}>
<{php}>
$my_content = ??

// file handling
<{/php}>
<{/if}>



4
perhol
Re: Make a latest news block match the one from news2
  • 2004/12/4 19:58

  • perhol

  • Just popping in

  • Posts: 22

  • Since: 2004/2/11


WOW - Finally - Thank u so much



5
perhol
Re: Thoughts on my site please?
  • 2004/11/24 18:53

  • perhol

  • Just popping in

  • Posts: 22

  • Since: 2004/2/11


For every change you make you need to delete all files in the templates_c directory.



6
perhol
Re: Thoughts on my site please?
  • 2004/11/24 18:45

  • perhol

  • Just popping in

  • Posts: 22

  • Since: 2004/2/11


theme.html is the file you want to edit.

The menu looks better now



7
perhol
Re: Thoughts on my site please?
  • 2004/11/24 18:28

  • perhol

  • Just popping in

  • Posts: 22

  • Since: 2004/2/11


The first thing I notice is that the User Menu has menu items that I as a visitor should not see. What is the point of having a link to the Admin Menu for anonymous users? I guess you are using MultiMenu, in which it is really easy to configure what should be visible to what group. If you ask me, the User Menu should not be visible at all for anonymous users in group settings.



8
perhol
Re: How can I create a page with product names and descriptions in Xoops?
  • 2004/8/11 16:51

  • perhol

  • Just popping in

  • Posts: 22

  • Since: 2004/2/11


I have done some search and replace in the sourcecode of the news 1.2 module to create a product module. So far I have only replaced news/topic/topics with product/category/categories. Some day I will start to play with templates and menus for the module. The module can be downladed HERE.



9
perhol
Re: links to pdf files?
  • 2004/8/2 11:06

  • perhol

  • Just popping in

  • Posts: 22

  • Since: 2004/2/11


I like the new news 1.2 module where you can upload files to each news story. All files uploaded with the story are presented below the story itself.



10
perhol
Semi public forums
  • 2004/5/5 0:20

  • perhol

  • Just popping in

  • Posts: 22

  • Since: 2004/2/11


A useful feature would be if privileges to view/post could be set by group permissions on each individual public forum. Alternatively set permissions to private forums by group permissions. Could this be interresting?




TopTop
(1) 2 »



Login

Who's Online

216 user(s) are online (128 user(s) are browsing Support Forums)


Members: 0


Guests: 216


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Mar 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits