Problem with FTP

Started by TheDisturbedOne, November 08, 2008, 11:36:45 PM

Previous topic - Next topic

TheDisturbedOne

Quote from: metallica48423 on November 12, 2008, 12:51:25 AM
Is this when clicking the link for the update?  If so, try downloading the patch file directly from the release announcement topic in News and Updates and upload it to the Packages directory -- either via FTP or through the admin panel, then try installing it.
This is for a regular MOD.
I installed the 1.1.7 patch and from then on I couldn't install MODs

Smoky "Rider" Blue

Quote from: The Burglar! on November 11, 2008, 08:16:43 PM
well i have an solution wich helped my verification-session failure to disapear :

go into your admin panel --> packages --> options --> all files writeable and click the go button

then try again.... hope this will work for some other ppl too  :P ;D

this seems to work, just make sure when doing it this way, that you revert it back when finished. ;)
**Take the time to remember friendships and family.. Sometimes it's all we have, and missed very much**

TheDisturbedOne

For me, it just set the setting back to the way that they were,.

sbt

Same error, Session verification failed. Please try logging out and back in again, and then try again.

Mods cannot install, uninstall or delete the packages. Everything is upgraded to 1.1.7, that is when it broke.

Tried the writeable files option, did not solve, that created another error:
You cannot download or install new packages because the Packages directory or one of the files in it are not writable!

bjwan

#44
There is a solution written in here:

http://dev.simplemachines.org/mantis/view.php?id=2734

For me now it is working with this code change.

TheDisturbedOne

Quote from: bjwan on November 13, 2008, 04:22:54 PM
There is a solution written in here:

http://dev.simplemachines.org/mantis/view.php?id=2734

For me now it is working with this code change.
I haven't tried that yet, but I put the code in.  I just have to test it.

zirak

Lmao, this is the error I got from trying to change the rights to "all files are writable"

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Apache/1.3.33 Server at [Censored] Port 80

Crasy

Quote from: zirak on November 13, 2008, 06:46:40 PM
Lmao, this is the error I got from trying to change the rights to "all files are writable"

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Apache/1.3.33 Server at [Censored] Port 80


Um, you should probably follow those instructions.

zirak

Oh, just a "guess" try setting ur privileges to 777

Sometimes it may auto change back to 755 if this happens if your using filezilla make the privileges changes on every file and folder


zirak

I already did this

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

    checkSession('get');

Replace:

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

    checkSession('request');


No changes happened lmao

Smoky "Rider" Blue

well i created a backup, then deleted all my files, except for avatars, uploads, smilies, and settings.php and settings.php.bak, replaced the ones i removed with fresh 1.1.7 files, and cleaned up my mods a bit.. i then ran the upgrader and for the first time it did run. however, i still have the sessions issue still..

but it works for uploading packages if i do this:


admin panel --> packages --> options --> all files writeable and click the go button

even tho it does revert back to the sessions issue, i can still make the changes i needed doing that.
**Take the time to remember friendships and family.. Sometimes it's all we have, and missed very much**

ssufian

After I follow the instruction by Sinan problem solved

QuoteI 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');

this can be found at http://dev.simplemachines.org/mantis/view.php?id=2734

thanx for the person who share this link in this topic....

sbt

Tried all of this, the editing of packages.php, allowing all files writable.
Cannot uninstall or install mods, get an unwritable error and test failed error when installing.

Deprecated

ssufian posted the recommended fix as far as I understand what was recommended. Did you try that?

It's the same fix as discussed in the bug report.

sbt

Yes tried it, it let it install but the mods are not working and when trying to uninstall the mods error.

Garou

Ok I changed the get to request.

As I never have been able to get SMF's internal FTP prog to work right on this server,  I used ssh to chmod -R 777 /forums/, Hey its easier then changing each file with a FTP prog.  :)

None the less I still get the error when trying to install/uninstall packages. Until they get this fixed right I wont be updating any of my other sites to 1.1.7.

As they haven't updated this on the official site I have to guess that they know it wont work for everyone. At this point Not updating is the only recommendation I have other then making sure you have all the mods you want before updating.

prolter

Nice layout!!
Great work was done.
_________________________________________
hxxp:www.digeus.com/products/junkcleaner/index.html [nonactive]

tyhgdgh

heres a way to add things

forumindex.php >> Admin >> Packages >> options

Change all file permissions throughout the forum such that:

() Only the standard files are writable.
  • All files are writable.
    () The minimum files are writable.

    go to change file permission, then enter ther hostname and the password then try again. it shoukd work, but be sure to change when you are done

Garou

The only problem with that is that my host uses a secure ftp server and Ive never been able to get the internal FTP to work with it. Every time I set it up to work it fails.

It also does not have control panel software to get inside, Ive always had to use a secure FTP program or a or a secure ssh program like putty to get inside.

Advertisement: