“Invalid Token“ on front when i save an article
Moderator: General Support Moderators
Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
-
- Joomla! Apprentice
- Posts: 6
- Joined: Tue Jun 05, 2007 2:45 pm
“Invalid Token“ on front when i save an article
yop,
i have problem with the edition of article on front
no problem on the login, next i click on the edit icon. i have my editor.
But when i save the modifications i have a blank page whith “Invalid Token “
Someone have an idea?
i dont have the problème on the back
thanks
i have problem with the edition of article on front
no problem on the login, next i click on the edit icon. i have my editor.
But when i save the modifications i have a blank page whith “Invalid Token “
Someone have an idea?
i dont have the problème on the back
thanks
-
- Joomla! Apprentice
- Posts: 6
- Joined: Tue Jun 05, 2007 2:45 pm
Re: “Invalid Token“ on front when i save an article
Up...
i have make the update 1.5.0 to 1.5.1
This not resolve the problème.
I try to replace the administrator folder on my site with the adminitrator folder of 1.5.1 but i have always the same error at the same place.
please
i have make the update 1.5.0 to 1.5.1
This not resolve the problème.
I try to replace the administrator folder on my site with the adminitrator folder of 1.5.1 but i have always the same error at the same place.
please
-
- Joomla! Fledgling
- Posts: 2
- Joined: Wed Mar 19, 2008 12:24 pm
Re: “Invalid Token“ on front when i save an article
Same here. There has to be some quick way to fix this... but where to look?
-
- Joomla! Fledgling
- Posts: 2
- Joined: Wed Mar 19, 2008 12:24 pm
Re: “Invalid Token“ on front when i save an article
I noticed that changing my site template solved the problem, so I investigated some more. Then I found that there was a line missing from the 'com_content/article/form.php' in my template near the end. The 'original' file, '/components/com_content/views/article/tmpl/form.php', contains the additional line:
Code: Select all
<?php echo JHTML::_( 'form.token' ); ?>
-
- Joomla! Fledgling
- Posts: 2
- Joined: Tue Mar 11, 2008 9:06 am
Re: “Invalid Token“ on front when i save an article
I have this problem too.
I use Universatil Template and the error message "Invalid Token" is only from front-end when I try to save.
I have the line "<?php echo JHTML::_( 'form.token' ); ?>" in the com_content too.
Please help me.
I use Universatil Template and the error message "Invalid Token" is only from front-end when I try to save.
I have the line "<?php echo JHTML::_( 'form.token' ); ?>" in the com_content too.
Please help me.
-
- Joomla! Apprentice
- Posts: 41
- Joined: Thu Sep 06, 2007 7:53 pm
Re: “Invalid Token“ on front when i save an article
I have this problem also, at any given time... but it doesn't happen when using FireFox browser.
-
- Joomla! Fledgling
- Posts: 4
- Joined: Mon Apr 28, 2008 3:38 am
Re: “Invalid Token“ on front when i save an article
I am having the same problem using the beez template (with my modifications). I get the error both under Joomla 1.5.1 and after upgrading to 1.5.3.
I do not get the error with other templates.
I tried adding <?php echo JHTML::_( 'form.token' ); ?> at various locations in form.php under beez but to no avail.
Exactly where was it added to get things working again?
Any other ideas would be appreciated.
I do not get the error with other templates.
I tried adding <?php echo JHTML::_( 'form.token' ); ?> at various locations in form.php under beez but to no avail.
Exactly where was it added to get things working again?
Any other ideas would be appreciated.
-
- Joomla! Fledgling
- Posts: 2
- Joined: Wed Apr 30, 2008 9:42 am
Re: “Invalid Token“ on front when i save an article
Frixus,
I did as you said and it worked: I did in the code in the template root.
Thank you
I did as you said and it worked: I did in the code in the template root.
Thank you
-
- Joomla! Apprentice
- Posts: 24
- Joined: Mon Mar 09, 2009 11:28 am
Re: “Invalid Token“ on front when i save an article
Hello,
I'm new in here; I have the same problem and I tried as you did but no results. I tried to set a different template and It worked.
The point is I need to use the template that cause me that error.
How to fix it please?
ticonzero.
I'm new in here; I have the same problem and I tried as you did but no results. I tried to set a different template and It worked.
The point is I need to use the template that cause me that error.
How to fix it please?
ticonzero.
-
- Joomla! Apprentice
- Posts: 24
- Joined: Mon Mar 09, 2009 11:28 am
Re: “Invalid Token“ on front when i save an article
Hello,Frixus wrote:I noticed that changing my site template solved the problem, so I investigated some more. Then I found that there was a line missing from the 'com_content/article/form.php' in my template near the end. The 'original' file, '/components/com_content/views/article/tmpl/form.php', contains the additional line:
Code: Select all
<?php echo JHTML::_( 'form.token' ); ?>
I'm new in here; I have the same problem and I tried as you did but no results. I tried to set a different template and It worked.
The point is I need to use the template that cause me that error.
How to fix it please?
ticonzero.
- loonietunez
- Joomla! Fledgling
- Posts: 3
- Joined: Tue Mar 17, 2009 5:50 pm
Re: “Invalid Token“ on front when i save an article
I've been having the same fault from the front end edit.i just renamed the beez/html/com_content/article/form.php file to forms.php1 so it wasn't used and it fixed my problem.
hope it helps someone!
hope it helps someone!
-
- Joomla! Apprentice
- Posts: 24
- Joined: Mon Mar 09, 2009 11:28 am
Re: “Invalid Token“ on front when i save an article
Thank you, I have fixed now. May I ask you how you have found the fix please?loonietunez wrote:I've been having the same fault from the front end edit.i just renamed the beez/html/com_content/article/form.php file to forms.php1 so it wasn't used and it fixed my problem.
hope it helps someone!
- loonietunez
- Joomla! Fledgling
- Posts: 3
- Joined: Tue Mar 17, 2009 5:50 pm
Re: “Invalid Token“ on front when i save an article
Of course! I would like to say based on my infinite wisdom! But alas it was after hours of desperation at trying everything else and pulling my hair out, that i renamed the file. Pure luck really.
-
- Joomla! Apprentice
- Posts: 24
- Joined: Mon Mar 09, 2009 11:28 am
Re: “Invalid Token“ on front when i save an article
loonietunez wrote:Of course! I would like to say based on my infinite wisdom! But alas it was after hours of desperation at trying everything else and pulling my hair out, that i renamed the file. Pure luck really.
Eh! Eh! I seem in some way there is an invisible link besides us ... it is only a personal perception of course; I would like to know if it is true.
Anyway thank you.
- loonietunez
- Joomla! Fledgling
- Posts: 3
- Joined: Tue Mar 17, 2009 5:50 pm
Re: “Invalid Token“ on front when i save an article
You are welcome!
-
- Joomla! Apprentice
- Posts: 24
- Joined: Mon Mar 09, 2009 11:28 am
Re: “Invalid Token“ on front when i save an article
loonietunez wrote:You are welcome!
Ah ok. Live is beatiful.
- C10ne
- Joomla! Apprentice
- Posts: 21
- Joined: Wed Sep 10, 2008 3:46 pm
- Contact:
Re: “Invalid Token“ on front when i save an article
Hi, we started having the same problem after doing some minor redesign changes, nothing about the forms on templates has been changed. I've noticed that token is different every time i refresh the article editing page, and i was wondering if this is normal behavior (since token is the hash of user id and session id)?
Destruction is the mother of creativity
-
- Joomla! Fledgling
- Posts: 1
- Joined: Sun May 17, 2009 5:39 pm
Re: “Invalid Token“ on front when i save an article
<input type="hidden" name="referer" value="<?php echo @$_SERVER['HTTP_REFERER']; ?>" />
<?php echo JHTML::_( 'form.token' ); ?> *******HERE***********
<input type="hidden" name="task" value="" />
</form>
<?php echo JHTML::_('behavior.keepalive'); ?>
Greetings from Colombia
<?php echo JHTML::_( 'form.token' ); ?> *******HERE***********
<input type="hidden" name="task" value="" />
</form>
<?php echo JHTML::_('behavior.keepalive'); ?>
Greetings from Colombia
-
- Joomla! Fledgling
- Posts: 1
- Joined: Sun Sep 13, 2009 11:47 pm
Re: “Invalid Token“ on front when i save an article
Thanx loonietunez, my prob. fixed now. i'm really worried because previously everything is ok when i present the joomla to my client.loonietunez wrote:I've been having the same fault from the front end edit.i just renamed the beez/html/com_content/article/form.php file to forms.php1 so it wasn't used and it fixed my problem.
hope it helps someone!
-
- Joomla! Fledgling
- Posts: 1
- Joined: Thu Aug 28, 2008 8:29 am
Re: “Invalid Token“ on front when i save an article
... what can I say; this saved me a lot of time..!
- chuckles87
- Joomla! Apprentice
- Posts: 49
- Joined: Sun Feb 27, 2011 6:58 am
Re: “Invalid Token“ on front when i save an article
i googled for
JHTML::_( 'form.token' )
and it was the very first result...
while this thread was the 3rd one down...
come one now... -_-
Google-Fu
_D
JHTML::_( 'form.token' )
and it was the very first result...
while this thread was the 3rd one down...
come one now... -_-
Google-Fu
_D
Have you had your daily dose of Google-Fu today?
“I know that you believe you understand what you think I said, but I'm not sure you realize that what you heard is not what I meant.”
“I know that you believe you understand what you think I said, but I'm not sure you realize that what you heard is not what I meant.”
-
- Joomla! Intern
- Posts: 65
- Joined: Thu Jun 28, 2007 1:01 am
Re: “Invalid Token“ on front when i save an article
While late, I just wanted to say thanks to the solution provide!
Changing the name of the file to form.php was indeed the solution.
/public_html/templates/beez/html/com_content/article/form.php1
Thanks again.
Changing the name of the file to form.php was indeed the solution.
/public_html/templates/beez/html/com_content/article/form.php1
Thanks again.