News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Having problems with the package manager?

Started by [Unknown], February 20, 2005, 12:32:26 AM

Previous topic - Next topic

[Unknown]

Upload it, access it.  Just like install.php.

-[Unknown]

cdR

my error is

550 Failed to change directory.




The connection has been opened.
Received: 220 (vsFTPd 1.2.0)
Sending: USER root
Received: 331 Please specify the password.
Sending: PASS ****
Received: 230 Login successful.
Sending: CWD /html/v2/Forum
Received: 550 Failed to change directory.
Sending: CWD /html/v2/Forum
Received: 550 Failed to change directory.
Received: 150 Here comes the directory listing.
Received: 226 Transfer done (but failed to open directory).
Received: 150 Here comes the directory listing.
Received: 226 Directory send OK.
Received: 150 Here comes the directory listing.
Received: 226 Directory send OK.


pls help..

toontastic


[Unknown]

Quote from: cdR on May 25, 2005, 09:48:04 PM
my error is

That means your path is wrong.  Does the script automatically detect a different path afterward?

-[Unknown]

ladyshanae

My problem doesn't sound like any of the above . . . so maybe I'm just stupid and have no clue what I'm doing (which is generally the case).

I go to install a mod.  I get it all uploaded, I see it sitting there - I hit apply mod. . . and it takes me to a download screen to download a file.

Why am I not just moving to another screen?

cdR

Quote from: toontastic on May 26, 2005, 04:49:50 AM
Have you CHMOD the files 777 ?

i have CHMODE all the file as Unknown said..

If you are on a linux or other unix based server, which is what most servers are, you will need to chmod the following list of files to 777.  This can be done easily with most modern FTP clients, by right clicking on the files and going to "Permissions", "chmod", or "Properties..." (it varies...)  The files and directories are:

attachments (directory)
avatars (directory)
Packages (directory)
Packages/installed.list
Packages/server.list
Smileys (directory)
Themes (directory)
Themes/default/languages/Install.english.php (and any other Install.language.php files.)
agreement.txt
Settings.php
Settings_bak.php
install.php


and no, the script dont detect the others path.

dustrho

I keep getting the following error message...

QuoteAn error occured while trying to connect. The error was:

530 Login incorrect.

I've tried so many freakin' FTP paths that I'm all out of options.  I did the 777 to my root directory as well.   ???

HEB XI 1

Quote from: dustrho on May 26, 2005, 10:31:21 PM
I keep getting the following error message...

QuoteAn error occured while trying to connect. The error was:

530 Login incorrect.

I've tried so many freakin' FTP paths that I'm all out of options.  I did the 777 to my root directory as well.   ???

Try a different login?

dustrho

I know what the login is since I'm the one that set it up in the control panel on our server.  After reading many posts here I've learned that I'm not the only one that's had problems with it.

>:(

[Unknown]

Most people are not getting login incorrect, they are having path problems.  If you get login correct, try clearing all the boxes and type in the same information you use in your FTP client.

Login incorrect means your username or password is incorrect, generally speaking, but can also mean the server or port is wrong.

-[Unknown]

dustrho

Quote from: [Unknown] on May 27, 2005, 12:47:08 PM
Most people are not getting login incorrect, they are having path problems.  If you get login correct, try clearing all the boxes and type in the same information you use in your FTP client.

Login incorrect means your username or password is incorrect, generally speaking, but can also mean the server or port is wrong.

I use the same login and password when connecting to my server via FPT client, so why wouldn't it work here?  Odd.

toontastic

Sounds like some people have ended up with the same problem as me. What I did was go into cuteftp (not sure how other ftp clients work but that's what I use) then go to the directory where SMF is installed. At the top of Cuteftp it has the directory path this on mine was something like var/www/html/newcastle-online/smf I basically copied this exactly as it was in here for the path and everything worked.

Garpie

I'm under php safe mode.
I've ask my provider to turn it off, but they won't.
Isn't there no other way to acces some MOD's?

torkil

#73
Is there a description somewhere on how the package manager is supposed to work? When I try browsing packages this message flashes over my screen: "Attempting to fetch the most popular and recent packages from www.simplemachines.org..."

Then it always just comes up with "For the package manager to function properly, please upgrade to the latest version of SMF.". So I have checked that safe_mode = off and I have tried the fix_ownership.php-file too. The file worked, but it didn't fix anything. Then I manually upgraded to 1.0.4 but still no change.

So... Is my package manager malfunctioning? I haven't been able to use this ever, so I am not certain how its supposed to work :D

EDIT:
I updated my theme with all the changes that has occured since 1.0 RC2  :-[
Now I get the message: "This "latest and greatest" packages section is not yet ready, but you can continue to use your package manager while it is being worked on.". Normal or not? :D

Note: I think its weird to keep all this functionality inside the theme itself. Makes it kind of a hassle to maintain a theme of my own... Or is there an easy way?

adrianbj

I recently swapped to a new server, from Win2K to Linux and so for the first time I am dealing with permissions issues. I just tried to upgrade to 1.04 using the package manager (the first time I have used this on Linux, it worked perfectly on my widows server) and I am getting an error with the changelog.txt - Failure. It of course mentions the file permissions issue and wants FTP details. Trouble is, that I use SSH and Samba to transfer files. I don't have an FTP server. I manually chmoded to 777 all the files listed below, but I still get the same error. Would really appreciate some help on this please.

Thanks,

Adrian

attachments (directory)
avatars (directory)
Packages (directory)
Packages/installed.list
Packages/server.list
Smileys (directory)
Themes (directory)
Themes/default/languages/Install.english.php (and any other Install.language.php files.)
agreement.txt
Settings.php
Settings_bak.php

[Unknown]

Quote from: adrianbj on June 08, 2005, 08:33:34 PM
I am getting an error with the changelog.txt - Failure.

Failure means the code it wanted to find and modify was NOT FOUND.  No amount of chmod'ing, ssh'ing, or FTP'ing will change this.  It will always say failure, until you have a different changelog.txt with different content.

If it was a permission issue, it would say Success for every modification, and never Failure, and then still ask for your FTP information.

You would have encountered this error in Windows as well.  You have probably not uploaded changelog.txt in some earlier update.  If it's the ONLY FILE showing an error, you can probably ignore it.

The files you listed are not what needs to be writable for the modification to go through.  Every file you want the package manager to be able to modify needs to be 777.  It needs to modify Sources/Subs.php, so that file must be 777.  If you are concerned about this, please see:

Why chmod 777 is NOT a security risk

Which I'm still more than happy to have someone try to refute.  It's survived scorn for over a year now, I believe.

-[Unknown]

ybd_admin

#76
Also having trouble with the package manager too... i get a error after I manually enter the ftp info into the package manager and click proceed. Here's what I do:

- Browse and find the package using SMF Package Manager
- Click the Download link by its name and I get this:

QuoteInstall Actions for archive integratedchat23.zip:
Installing this package will perform the following actions:  Type Action Description
1. Execute Modification ./Sources/ModSettings.php Success
2. Execute Modification ./Themes/default/languages/index.english.php Success
3. Execute Modification ./Themes/default/languages/ModSettings.english.php Success
4. Execute Modification ./Themes/classic/BoardIndex.template.php Success
5. Execute Modification ./Themes/default/BoardIndex.template.php Success
6. Execute Modification ./index.php Success
7. Execute Modification ./Themes/default/languages/Who.english.php Success
8. Execute Modification ./Themes/classic/index.template.php Success
9. Execute Modification ./Themes/default/index.template.php Success
10. Execute Modification ./Themes/default/languages/Help.english.php Success
11. Execute Code add_settings.php  
12. Extract File ./Sources/Chat.php  
13. Extract File ./Themes/default/Chat.template.php  
14. Extract File ./Themes/classic/images/chatIcon.gif  
15. Extract File ./Themes/default/images/chatIcon.gif  
16. Extract File ./Themes/classic/images/english/chat.gif  
17. Extract File ./Themes/default/images/english/chat.gif

and the FTP box appears below this - I type in the password and change the local path to its full local path (if I dont, it just keeps asking for the details with no error) and then I get the same again with [proceed] at the bottom so I click proceed and I get:

QuoteAn Error Has Occurred!
2: copy(/<pathtoforum>/forum/Themes/default/Chat.template.php): failed to open stream: Permission denied
File: /<pathtoforum>/forum/Sources/Subs-Package.php
Line: 814  

(the <pathtoforum> is me editing out the real location address - sorry but I have to and is correct in any case)

Any ideas?

I'm using the new 1.0.4 but this has always been a problem as I remember :(

Many regards and job well done on a great product (as always)
Nath.

adrianbj

#77
Thanks for the info on the changelog file and chmod'ing to 777. I tried uploading the changelog.txt file from the complete 1.04 package and then I ran the update package again - still an error on that file, but as you said this is not really a problem so I won't worry about it. I am guessing that it would have worked if I had given it the changelog.txt file from 1.03. From what I can work out it seems to be running 1.04 fine otherwise.

Thanks,

Adrian

Jorijn

Quote from: Nathan Harmsworth on June 09, 2005, 06:36:19 AM
Also having trouble with the package manager too... i get a error after I manually enter the ftp info into the package manager and click proceed. Here's what I do:

- Browse and find the package using SMF Package Manager
- Click the Download link by its name and I get this:

QuoteInstall Actions for archive integratedchat23.zip:
Installing this package will perform the following actions:  Type Action Description
1. Execute Modification ./Sources/ModSettings.php Success
2. Execute Modification ./Themes/default/languages/index.english.php Success
3. Execute Modification ./Themes/default/languages/ModSettings.english.php Success
4. Execute Modification ./Themes/classic/BoardIndex.template.php Success
5. Execute Modification ./Themes/default/BoardIndex.template.php Success
6. Execute Modification ./index.php Success
7. Execute Modification ./Themes/default/languages/Who.english.php Success
8. Execute Modification ./Themes/classic/index.template.php Success
9. Execute Modification ./Themes/default/index.template.php Success
10. Execute Modification ./Themes/default/languages/Help.english.php Success
11. Execute Code add_settings.php 
12. Extract File ./Sources/Chat.php 
13. Extract File ./Themes/default/Chat.template.php 
14. Extract File ./Themes/classic/images/chatIcon.gif 
15. Extract File ./Themes/default/images/chatIcon.gif 
16. Extract File ./Themes/classic/images/english/chat.gif 
17. Extract File ./Themes/default/images/english/chat.gif

and the FTP box appears below this - I type in the password and change the local path to its full local path (if I dont, it just keeps asking for the details with no error) and then I get the same again with [proceed] at the bottom so I click proceed and I get:

QuoteAn Error Has Occurred!
2: copy(/<pathtoforum>/forum/Themes/default/Chat.template.php): failed to open stream: Permission denied
File: /<pathtoforum>/forum/Sources/Subs-Package.php
Line: 814 

(the <pathtoforum> is me editing out the real location address - sorry but I have to and is correct in any case)

Any ideas?

I'm using the new 1.0.4 but this has always been a problem as I remember :(

Many regards and job well done on a great product (as always)
Nath.

A FTP box means that a file must be CHMODDED so, The thing to avoid this is, Chmodding everything yourself :)

AnarchyCow

Ok the Post about the problem with and 1.0.4 receving this error:

2: copy(Sources/BoardIndex.php~): failed to open stream: Permission denied
File: /usr/www/htdocs/zircury/Sources/Subs-Package.php
Line: 1307


I'm getting it ALSO!
But everything is ChMODDED right!
SS of Chmod:


ok and whats wierd heres a SS of the error:


No read where it says:

File: /usr/www/htdocs/zircury/Sources/Subs-Package.php


Now heres what puzzles me, My dir is not /usr/www/htdocs/zircury/ its /home/zircury/www/ to the forums and I knew that and I changed it throught the admin panel and even checked the Settings and here are screen shots:

Admin Panel


Config Txt file:


Whats up with this plz hlp
[img]

Advertisement: