Welcome, Guest. Please login or register.
Did you miss your activation email?
May 26, 2012, 07:18:06 PM

Login with username, password and session length
Search:     Advanced search
Interested in joining the WebsiteBaker team?
For more Information read here or on our new website.
155550 Posts in 21714 Topics by 7737 Members
Latest Member: gx-world
* Home Help Search Login Register
Pages: [1]   Go Down
Print
Author Topic: Upgrade 2.8.1 to 2.8.2 gives me access denied  (Read 839 times)
Bramus
Forum Team
*****
Offline Offline

Posts: 601


WWW
« on: July 25, 2011, 10:23:05 AM »

I was trying to upgrade a test site to 2.8.2 from 2.8.1. Everything looked OK. The site was working properly, the backend didnt show errors.

After that i went testing if i could add pages, and this didnt work anymore. I recieve the Message: Safety Risk: Access denied!

(Translated from dutch). This messages also shows up when i want to view the details of a template or module. Seems there is something wrong?

Now restoring the site from backup, maybe some one else tried to upgrade already?
Logged

BRAMUS Internet Services
Bramus
Forum Team
*****
Offline Offline

Posts: 601


WWW
« Reply #1 on: July 25, 2011, 10:52:28 AM »

This is also on a clean installation, only thing i did was add new Admin template (yes using new vars) and now i can not edit settings, add pages, install modules...
Logged

BRAMUS Internet Services
badknight
Moderator
**
Offline Offline

Posts: 246



WWW
« Reply #2 on: July 25, 2011, 11:04:15 AM »

Try to use the WB Admin-Theme.

If the things work, you must edit the own template
Logged

Ich würde gern die Welt verändern, doch Gott gibt mir den Quellcode nicht...
Bramus
Forum Team
*****
Offline Offline

Posts: 601


WWW
« Reply #3 on: July 25, 2011, 11:14:05 AM »

It is the template, but what has changed?!

It is a 2.8.1 template that suddenly isnt working. Didnt read anything on the website about things that changed. Documentation is not good on this one.
Logged

BRAMUS Internet Services
BlackBird
AddOn Development
*
Offline Offline

Posts: 2069



WWW
« Reply #4 on: July 25, 2011, 11:19:19 AM »

You will have to add the FTAN markup to all forms in the backend theme.
Logged

Alle großen Veränderungen beginnen im Kleinen
Bramus
Forum Team
*****
Offline Offline

Posts: 601


WWW
« Reply #5 on: July 25, 2011, 11:20:05 AM »

Just found the FTAN markup in the Pages.htt file.

Can you explain what this is and why it is added?
Logged

BRAMUS Internet Services
BlackBird
AddOn Development
*
Offline Offline

Posts: 2069



WWW
« Reply #6 on: July 25, 2011, 11:32:33 AM »

This was discussed widely in the forum, just use the search. I am no WB Dev, so I am not able to explain it. Wink
Logged

Alle großen Veränderungen beginnen im Kleinen
DarkViper
Development Team
*****
Offline Offline

Posts: 1253


« Reply #7 on: July 25, 2011, 12:23:57 PM »

Just found the FTAN markup in the Pages.htt file.
Can you explain what this is and why it is added?

This is the implementation of a transaction token only, which prevents your site from CSFR and similar things.

All you have to do is:  insert the {FTAN} placeholder in any form of your theme-template.  Best to place is the line after the <form...> html token. 
Thats all.

You can use wb_theme as example to see how to do.
Without these placeholders backend themes in the future no longer work.

Logged

Anleitungen lesen und selber nachdenken ist anstrengend...  Da lass ich doch lieber andere für mich denken...

In 1984:  Nineteen Eighty-Four is a unrealistic utopia!!
In 2012:  Nineteen Eighty-Four is a little piece only of our reality!!
Bramus
Forum Team
*****
Offline Offline

Posts: 601


WWW
« Reply #8 on: July 25, 2011, 03:38:52 PM »

ok thanks will modify it in my theme. Does this affect the version 2.8.1? So if i have a theme and update with FTAN, can i still use it on 2.8.1 without any errors?
Logged

BRAMUS Internet Services
Luisehahne
Board Member
Development Team
*****
Offline Offline

Posts: 3147



WWW
« Reply #9 on: July 25, 2011, 03:45:26 PM »

Quote
can i still use it on 2.8.1 without any errors?

Yes you can, should be possible.

Dietmar
Logged

We are human beings - and nobody is perfect at all.
webby

Offline Offline

Posts: 85


« Reply #10 on: August 26, 2011, 03:43:03 PM »

Hi

Aha...! I have the same error when upgrading from 2.8.1 to 2.8.1 (Message: Safety Risk: Access denied!)

Will you please explain me again what I have to modified to the backend theme...? Or can I download a new theme to correct this error?

Thanks Smiley
Logged
Sokhim Sim

Offline Offline

Posts: 67



« Reply #11 on: August 30, 2011, 04:32:53 AM »

After i follow this install guide it work like charm.

http://www.websitebaker2.org/forum/index.php/topic,21997.0.html

Logged
Pages: [1]   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!