News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

1.1.7 Packager Manager Not Working

Started by das7002, November 16, 2008, 04:10:25 PM

Previous topic - Next topic

das7002

Ever since I upgraded from 1.1.6 the Package Manager stopped working it says "Session Verification Failed, Please try logging out logging back in, then try again"

I have tried that and to no avail

More info

OS: Ubuntu Intrepid and Windows Vista
Server OS: RHEL
Browser: Firefox 3.0.3 (Ubuntu) Firefox 3.0.4 (Vista) Opera 9 (both)
MySQL: sessions table truncated
SMF Version: 1.1.7
SMF Status Page: http://technologer.co.cc/status [nofollow]
Cookies: Cleared
Linux Commands used :P sudo apt-get remove firefox , sudo apt-get install firefox
Random Word: Cow
btw anyone know what is wrong?


das7002

Thank you I fixed it thanks to SiNaN

Quote from: SiNaN(0006169)
[SiNaN] (Team Member)
2008-11-12 13:10
edited on: 2008-11-12 13:10

   I guess the problem is FTP information sends session ID with 'post', but install package does that with 'get'.

Packages.php

Find:

function PackageInstallTest()
{
    global $boarddir, $txt, $context, $scripturl, $sourcedir, $modSettings;

    checkSession('get');

Replace:

function PackageInstallTest()
{
    global $boarddir, $txt, $context, $scripturl, $sourcedir, $modSettings;

    checkSession('request');

steve in houston


UnleashedFX

just did this fix, thanks to whoever found it

medalta

Quote from: das7002 on November 18, 2008, 04:25:44 AM
Thank you I fixed it thanks to SiNaN

Quote from: SiNaN(0006169)
[SiNaN] (Team Member)
2008-11-12 13:10
edited on: 2008-11-12 13:10

   I guess the problem is FTP information sends session ID with 'post', but install package does that with 'get'.

Packages.php

Find:

function PackageInstallTest()
{
    global $boarddir, $txt, $context, $scripturl, $sourcedir, $modSettings;

    checkSession('get');

Replace:

function PackageInstallTest()
{
    global $boarddir, $txt, $context, $scripturl, $sourcedir, $modSettings;

    checkSession('request');

I just followed this example SiNaN and it fixed the problem.
:D
Thanks SiNaN

STS

Brilliant. Worked for me, too. Many thanks.

kragno

This don't work for me! Any other solution? Is two weeks i try to repair this thing but no fix, patch or something help me out!

SleePy

Kragno,

If the above solution didn't work for you, Verify that the changes where indeed made. If this still doesn't fix it, open a support topic and make sure to point out that you have already tried this.

You may be running into another error.
Jeremy D ~ Site Team / SMF Developer ~ GitHub Profile ~ Join us on IRC @ Libera.chat/#smf ~ Support the SMF Support team!

Advertisement: