I'm editing this to conform more to the board posting rules.
Efiction Version: 3.1
Bridged: Yes (SMF v 1.1.1)
Searched Forums: Yes (Invalid request variable, blocks. I also just browsed through this entire board.)
Website: www.mendala.com/efiction
Whenever I try to make a change in the blocks section, suck as change a status, and then hit submit I get a plain white page that says only three words "invalid request variable" (no surrounding template information or anything, just those three words and nothing else on the entire page.
I have tried the following:
Switching themes
logging out and then logging in again.
Turning on the debug information to see if it would give any clues
-----
Do I need to give someone admin access so they can see this for themselves?
A. W. G. Coleman
Home of the Fantasy/Adventure Series "Quest of the Seal Bearers"
Fanfiction, fanart, contests, prizes!
Go read the instructions for posting a help request. They're in the "PLEASE READ BEFORE POSTING!" sticky threads.
Specifically, we generally can't do anything for you without a link to your site.
Sorry, the link to the page that this is occuring on is...
http://www.mendala.com/efiction/admin.php?action=blocks
A. W. G. Coleman
Home of the Fantasy/Adventure Series "Quest of the Seal Bearers"
Fanfiction, fanart, contests, prizes!
That's an admin page, so I can't access it. If you want, you can set up a test account with admin privileges and PM me the details so I can look. Failing that, your first step will be to remove the bridging to see if that's causing it. As I said in another post around here somewhere, some people had problems with the SMF bridge and this may be one of them. You might try just changing your chosen skin as well.
As suggested, I disabled the bridge and the blocks section worked correctly. I also tried completely reinstalling just in case I did something wrong but the symptoms remained. Whenever I attempt to make a change on the "blocks" page I receive an error "Invalid request variable."
I have created an account as you have asked so that you can see the problem (the site is re-bridged to smf) and have PMed you the information.
Thank you in advance for taking a look at this.
A. W. G. Coleman
Home of the Fantasy/Adventure Series "Quest of the Seal Bearers"
Fanfiction, fanart, contests, prizes!
Tammy was able to correct this problem and it was in a place I didn't even think to look, SMF forums itself.
This is what she told me to correct
Open SMFFOLDER/Sources/QueryString.php and go to line 89. Change the section starting there to the next blank line to the following:
// Same goes for numeric keys.
$blocks = isset($_GET['action']) && $_GET['action'] == "blocks" ? true : false;
foreach (array_merge(array_keys($_REQUEST), array_keys($_COOKIE), array_keys($_FILES)) as $key)
if (is_numeric($key) && !$blocks)
die('Invalid request variable.');
You're adding the 2nd line and modifying the 4th.
-----
However, instead of editing the files directly, I created a mod for SMF to do this. I think it's a cleaner way. I'm also thinking that if more changes are discovered that need to be made to SMF to make the eFiction - SMF bridge work, I can expand this mod to include them all.
This is my first mod so right now it only works with SMF 1.1.1, however I have tested it to make sure it does indeed install and uninstall properly.
The link to the mod is http://www.mendala.com/mods/eFictionMod.zip
A. W. G. Coleman
Home of the Fantasy/Adventure Series "Quest of the Seal Bearers"
Fanfiction, fanart, contests, prizes!
This will be line 98 if you've downloaded the Querystring.php I edited for SMF 1.1.1
EDIT: I went ahead and updated the download, so this shouldn't be a problem with it anymore.
