151 Posts
jimenaes
10 years ago
10
Topic

I get this message:

The most recent request was denied because it contained an invalid security token. Please refresh the page and try again.

An then I cant save any change on it, cant add or remove any field, or cachange template settings. Once this happens if I click on the save botton the save animation runs but no green message appears or I juste get an empry blanck page with the same erro message.

I have tryied anything including erase and make all over again my content type and each one of its fields tab, but after some changes this problem come again!!

Also, every now and then my content templates disappears,  some times they return if I close/open my conten type and admin/site/intro/content tabs but in some cases they just dont.

Please help me, I've been struggling with this for days now 

I really appreciate some help.


Get a Book for SEBLOD
151 Posts
jimenaes
10 years ago
2
Level 1

Ok, seems like the problem were the tabs fields :(


151 Posts
jimenaes
10 years ago
1
Level 2

I thought the problem was the tabs fields because when I put them aways I could edit my content type again, but now, without having the tabs fields, I get this blank page with the text :

The most recent request was denied because it contained an invalid security token. Please refresh the page and try again.

And I cant save anything in the content type.

Please help, does any body know something about this issue?

Thanks

188 Posts
uriel
10 years ago
0
Level 3

Best redo the installation
Joomla and SEBLOD

hugs

10 years ago
0
Level 1

Security Tokens are saved in Cache.  Are you getting this error when you spend a lot of TIME on a page without reloading it or other activity?  This is (more than likely) a Joomla issue not a Seblod issue.

The ONLY time I've seen this is when my page has expired.  Then I have to close my browser completely and reload the page and everything should work fine. 

I'm surprised (not really) no one has answered this for you. Such a great product, so few helpers.

Security tokens are how the "Session" is tracked.  It's used as, well,  a security measure.  When you log in to your back or front, it puts a Security Token (cookie) in your cache,  as time ticks by it checks to make sure that you're still active and the time has not expired.  If it expires you need to, close your browser page and open a clean one and log back in.

If you're timing out too soon, you can change the amount of time this takes to happen.

Try this and see if it fixes the problem:

  • In Joomla Backend - Go to GLOBAL CONFIGURATION
  • Tab to SYSTEM
  • Under the CACHE section of that tab, change CACHE TIME to no more than 30. (unless you're working localhost or the site is not open to public use)
  • SAVE

That SHOULD do it. Now you can take your time to work on your forms and lists and you will have 30 minutes before the cache needs to be reloaded.

I HOPE this helps.  It should but not 100% positive. Like I said, that's the ONLY time I've EVER seen your particular error.

-Dave

10 years ago
1
Level 1

Hi

what version of joomla and seblod are you using?

there was an issue like this back with v2 quite some time ago.

some details are in the v2 forum.

it has also happened for us on changing seblod pages to quick, and if your server IP address changes whilst have seblod admin open - this was in seblod v2.

151 Posts
jimenaes
10 years ago
0
Level 2

Hi

I finally solve this by writting manually the id of the template in the DB content type table, because it was 0. I dont know why, but for now works.

Thanks for your answers.

151 Posts
jimenaes
10 years ago
3
Level 1

I have this problem again !! :(

I cant add more fields nor make any change to my content type site view. When click on the save botton I get the same blanck page with the text:

The most recent request was denied because it contained an invalid security token. Please refresh the page and try again.

or simply nothing happens, there is no message and no change is saved.

And now the id template in the DB is correct.

I'm working with the very last Joomla  and Seblod versions. I have closed and open the browser, I have tryied everything but nothing. I have days with this problem and cant find any solution.

The problem is just in the site view, I have about 40 fields, could it be a problem with the amount of them? However in the admin view I have the same amount of fields and there is no problem.

Does anybody has a clue??

Thanks

154 Posts
WebOne
10 years ago
2
Level 2

JForm fields often work differently in the admin and site views. Try removing JForm elements one by one from the site view if possible and see if you still get the problem.

May help also:  http://www.camcloud.com/blog/how-to-solve-invalid-token-error-with-joomla


151 Posts
jimenaes
10 years ago
1
Level 3

Thank fo answer.

I have the system cache plugin off.

And I don't undertand where in Seblod code write the <?php echo JHTML::_( 'form.token' ); ?> 

:(


154 Posts
WebOne
10 years ago
0
Level 4

You can add any PHP code into a Seblod form using JUMI for Joomla. http://extensions.joomla.org/extensions/core-enhancements/coding-a-scripts-integration/custom-code-in-content/1023

Install Jumi and make sure plugins are published.
Create a snippet of code in Jumi (let's say you add it to code block 3 in Jumi) :

<?php echo JHTML::_( 'form.token' ); ?>  

Then add a field Free Text. In the editor - add this :

{jumi [*3]}

(check by viewing again that your editor saved it properly)

Move the field to above the submit/save button and save.

The form will then be displayed with the PHP code above executed.


Get a VIP membership