Welcome to Geeklog Friday, January 24 2020 @ 03:32 am EST

Geeklog Forums

Problem The security token when save


Status: offline

koalasoft

Forum User
Full Member
Registered: 09/03/05
Posts: 242
Location:Mexico
I have a problem with the security token, when I go into the administration module, and want to edit for example, the slogan of the site and try to save the changes, sends me the message:

The security token for this operation has expired. Please authenticate again to continue.

The security token for this operation has expired. If you want to continue with this operation, then please authenticate again below. This will ensure that the changes you just made will not be lost.


and not save changes, I just sent that message and I have to access the site again as administrator.

Note: My version 1.8.1, theme update burning_memory (http://www.geeklog.net/forum/viewtopic.php?showtopic=93345).

Greetings!! Mr. Green
**Cuando el Alumno esta listo, el Maestro Aparece ** ::Geeklog support in Spanish::
 Quote

ironmax

Anonymous
Quote by: koalasoft

I have a problem with the security token, when I go into the administration module, and want to edit for example, the slogan of the site and try to save the changes, sends me the message:

The security token for this operation has expired. Please authenticate again to continue.

The security token for this operation has expired. If you want to continue with this operation, then please authenticate again below. This will ensure that the changes you just made will not be lost.


and not save changes, I just sent that message and I have to access the site again as administrator.

Note: My version 1.8.1, theme update burning_memory (http://www.geeklog.net/forum/viewtopic.php?showtopic=93345).

Greetings!! Mr. Green



I've tried several browsers and they all work fine...except for Firefox. I have no idea what is causing this issue with that browser only, but it seems to be a bug in Firefox if all the other browsers don't have problems.

Michael
 Quote

Status: offline

koalasoft

Forum User
Full Member
Registered: 09/03/05
Posts: 242
Location:Mexico
I tried the same with other browsers and I still leave the same message, something else that need to be updated?, certainly in the configuration does not appear blue tabs shown in the Professional theme. Rolling Eyes

Greetings!! Mr. Green
**Cuando el Alumno esta listo, el Maestro Aparece ** ::Geeklog support in Spanish::
 Quote

ironmax

Anonymous
Quote by: koalasoft

I tried the same with other browsers and I still leave the same message, something else that need to be updated?, certainly in the configuration does not appear blue tabs shown in the Professional theme. Rolling Eyes

Greetings!! Mr. Green



I cannot think of anything else that can be causing this problem. Usually when updating a theme, you automatically discard the theme's sub-directories and copy over the sub-directories from the professional theme, but not true to all directories is some cases. Like saving the image directory, is one reason. Then you make any needed adjustments to the root core theme files.

Dirk, Can you shed some light on why this is happening?

I did not update the Navbar in the configuration page. So yes it does look like the config insert from the professional theme.

Michael
 Quote

Status: offline

Laugh

Site Admin
Admin
Registered: 27/09/05
Posts: 1385
Just to confirm, everything works fine when you use the Professional theme?

Tom
One of the Geeklog Core Developers.
 Quote

Status: offline

koalasoft

Forum User
Full Member
Registered: 09/03/05
Posts: 242
Location:Mexico
Quote by: Laugh

Just to confirm, everything works fine when you use the Professional theme?

Tom


If only using the thema pressional all goes well, but we already have a theme we want to update itself, followed your steps, but I sent that message when I save a story or otherwise static page. What else needs to be done to migrate a 1.7 to 1.8 issue? Rolling Eyes

Dirk .. help !!! Cry

Greetings !! Mr. Green
**Cuando el Alumno esta listo, el Maestro Aparece ** ::Geeklog support in Spanish::
 Quote

ironmax

Anonymous
Geewiz...touchy themes. Just figured out away to solve this problem. May not work for all themes, but its a start. Copy the entire top part of the professional theme header.thtml file to the custom theme header.thtml file, overwriting the contents. See below.

Current Burning_Memory header file
PHP Formatted Code

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html {lang_attribute}>
<head>
<title>{page_title}&nbsp;&nbsp; {site_name}</title>
<meta http-equiv="Content-Script-Type" content="text/javascript"{xhtml}>
<meta http-equiv="Content-Style-Type" content="text/css"{xhtml}>
<!-- link rel="SHORTCUT ICON" href="{site_url}/favicon.ico" -->
<!-- <meta http-equiv="Pragma" content="no-cache"{xhtml}> -->
<link rel="stylesheet" type="text/css" href="{css_url}" title="{theme}"{xhtml}>
{feed_url}
{rel_links}
{plg_headercode}
{advanced_editor}
<!-- Load Common Javascript Libraries -->
<script type="text/javascript" src="{site_url}/javascript/common.js"></script>
</head>
<body dir="{direction}">
 


Modified file
PHP Formatted Code

{doctype}
<html{lang_attribute}{xmlns}>
<head>
<title>{page_title_and_site_name}</title>
<meta http-equiv="Content-Script-Type" content="text/javascript"{xhtml}>
<meta http-equiv="Content-Style-Type" content="text/css"{xhtml}>
<link rel="SHORTCUT ICON" href="{layout_url}/images/favicon.ico"{xhtml}>
<!-- <meta http-equiv="Pragma" content="no-cache"{xhtml}> -->
{feed_url}
{rel_links}
{plg_headercode}
</head>
<body dir="{direction}">
 


Doing this resolved the problem.

Michael
 Quote

Status: offline

koalasoft

Forum User
Full Member
Registered: 09/03/05
Posts: 242
Location:Mexico
smart
Excellent .. works 100%, Big Grin just upgrade my current theme in www.koalasoftmx.tk with this example and the steps I have my theme Laugh personalized updated to version 1.7 to 1.8.

thank you very much !!

Greetings !! Mr. Green
**Cuando el Alumno esta listo, el Maestro Aparece ** ::Geeklog support in Spanish::
 Quote

Status: offline

::Ben

Forum User
Full Member
Registered: 14/01/05
Posts: 1569
Location:la rochelle, France
Nice design. How did you build you menu ?

Ben
I'm available to customise your themes or plugins for your Geeklog CMS
 Quote

Status: offline

Laugh

Site Admin
Admin
Registered: 27/09/05
Posts: 1385
I wonder if the problem was that common.js was declared twice. Once in the header and then by Geeklog in the footer (new in 1.8.0). This could have created conflicts when js was used. Geeklog specific javascript files are now added when needed so they do not need to be added manually to the header or footer anymore.

Tom
One of the Geeklog Core Developers.
 Quote

Status: offline

koalasoft

Forum User
Full Member
Registered: 09/03/05
Posts: 242
Location:Mexico
Quote by: ::Ben

Nice design. How did you build you menu ?

Ben



I took a wordpress design not remember the name, the rest was the inspiration hehe,
who said Templates geeklog is ugly? Wink

Greetings!! Mr. Green
**Cuando el Alumno esta listo, el Maestro Aparece ** ::Geeklog support in Spanish::
 Quote

ironmax

Anonymous
Quote by: Laugh

I wonder if the problem was that common.js was declared twice. Once in the header and then by Geeklog in the footer (new in 1.8.0). This could have created conflicts when js was used. Geeklog specific javascript files are now added when needed so they do not need to be added manually to the header or footer anymore.

Tom



Did some testing while changing out the top header info and removing the java wasn't the problem. I think it was in the:

PHP Formatted Code

 {doctype}
<html{lang_attribute}{xmlns}>
<head>
 


Someplace and haven't figured it out yet.

Michael
 Quote

All times are EST. The time is now 03:32 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content