Having problems with the package manager?

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

Previous topic - Next topic

Arbalot


Bojeunx

Quote from: Arbalot on August 04, 2006, 06:34:59 PM
Bojeunx

Quote from: Jay The Code Monkey on July 24, 2006, 02:50:43 PM
Make a dir called temp inside the Packages dir and chmod it to 777.

i created a new folder under Packages and named it as "temp" and chmod it to 777
but no this ftp warning shows up again

JayBachatero

Try CHMODING all of the files in the Source dir, theme dir, language dir and index.php.
Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

Bojeunx

FTP Information Required
Some of the files this package needs to modify are not writable. This needs to be changed by logging into FTP and chmoding the files. 
:(

Same thing again

Bojeunx


Owdy

#305
Quote from: Jay The Code Monkey on August 05, 2006, 03:24:46 AM
Try CHMODING all of the files in the Source dir, theme dir, language dir and index.php.
The following files need to be CHMOD'ed to 777 also


    * Packages
    * Packages/installed.list
    * Packages/server.list

Put these 777 also just fo sure:
    * attachments
    * avatars
    * Smileys
    * Themes
    * agreement.txt
    * Settings.php
    * Settings_bak.php
Former Lead Support Specialist

Tarvitsetko apua SMF foorumisi kanssa? Otan työtehtäviä vastaan, lue:http://www.simplemachines.org/community/index.php?topic=375918.0

Bojeunx

FTP Information Required
Some of the files this package needs to modify are not writable. This needs to be changed by logging into FTP and chmoding the files. 

Still the same think can't i resolve this by giving ftp info to the system :(

Owdy

Former Lead Support Specialist

Tarvitsetko apua SMF foorumisi kanssa? Otan työtehtäviä vastaan, lue:http://www.simplemachines.org/community/index.php?topic=375918.0

青山 素子

Quote from: Bojeunx on August 05, 2006, 03:02:29 PM
FTP Information Required
Some of the files this package needs to modify are not writable. This needs to be changed by logging into FTP and chmoding the files. 

Still the same think can't i resolve this by giving ftp info to the system :(

Make sure to enter the correct base path when you do this. It probably isn't the same as what it lists by default. You can find the real path by connecting with your ftp program and looking.
Motoko-chan
Director, Simple Machines

Note: Unless otherwise stated, my posts are not representative of any official position or opinion of Simple Machines.


Bojeunx


Bojeunx

I chmoded every file but still get this warning on some mods like thank you mod.
2: copy(index.php~): failed to open stream: Permission denied
File: /var/www/virtual/pspiso.com/htdocs/Sources/Subs-Package.php
Line: 1307

Owdy

Take that backup feature off.
www.yoursite.com/smf/Index.php?action=packages;sa=options
-> Create Backup versions of replaced files with a tilda (~) on the end of their names. -> UNCHECK -> save.
Former Lead Support Specialist

Tarvitsetko apua SMF foorumisi kanssa? Otan työtehtäviä vastaan, lue:http://www.simplemachines.org/community/index.php?topic=375918.0

Bojeunx

Quote from: Owdy on August 06, 2006, 12:31:42 AM
Take that backup feature off.
www.yoursite.com/smf/Index.php?action=packages;sa=options
-> Create Backup versions of replaced files with a tilda (~) on the end of their names. -> UNCHECK -> save.

when i write my sites domain as
http://www.pspiso.com/Index.php?action=packages;sa=options

This is the error that i get;
Forbidden
You don't have permission to access /Index.php on this server.

Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.

Owdy

Okay, find option 'Create Backup versions of replaced files with a tilda (~) on the end of their names' from package manager. Put that off.
Former Lead Support Specialist

Tarvitsetko apua SMF foorumisi kanssa? Otan työtehtäviä vastaan, lue:http://www.simplemachines.org/community/index.php?topic=375918.0

Bojeunx

Quote from: Owdy on August 06, 2006, 01:23:02 PM
Okay, find option 'Create Backup versions of replaced files with a tilda (~) on the end of their names' from package manager. Put that off.

Thank you i installed some mods but on some mods package manager still asking for FTP info;
And on some other mods;
Installing this package will perform the following actions:  Type Action Description
1. Execute Modification ./Sources/ModSettings.php Failure
2. Execute Modification ./Sources/ModSettings.php Failure
3. Execute Modification ./Sources/ModSettings.php Failure
4. Execute Modification ./Themes/default/languages/index.english.php Success
5. Execute Modification ./Themes/default/languages/ModSettings.english.php Success
6. Execute Modification ./Themes/classic/BoardIndex.template.php Success
7. Execute Modification ./Themes/default/BoardIndex.template.php Success
8. Execute Modification ./index.php Success
9. Execute Modification ./Themes/default/languages/Who.english.php Success
10. Execute Modification ./Themes/classic/index.template.php Success
11. Execute Modification ./Themes/default/index.template.php Failure
12. Execute Modification ./Themes/default/index.template.php Failure
13. Execute Modification ./Themes/default/index.template.php Failure
14. Execute Modification ./Themes/default/index.template.php Success
15. Execute Modification ./Themes/default/languages/Help.english.php Success
16. Execute Code add_settings.php 
17. Extract File ./Sources/Chat.php 
18. Extract File ./Themes/default/Chat.template.php 
19. Extract File ./Themes/classic/images/chatIcon.gif 
20. Extract File ./Themes/default/images/chatIcon.gif 
21. Extract File ./Themes/classic/images/english/chat.gif 
22. Extract File ./Themes/default/images/english/chat.gif
Some execute modifications Fail, is this corrupt my database?

Bojeunx

Quote from: eldacar on September 19, 2005, 03:46:05 AM
ELDACAR'S METHOD TO GETTING AROUND THE SAFE MODE PROBLEM.

FOLLOW EXACTLY

  • You need to locate your Packages folder. It is probably a child of the main folder where you installed SMF (and where your index.php is), but if it is not you will have to locate it first. If you are not sure, it will have a file called "installed.list" inside dated at either the time you installed SMF or the last time you installed a package.
  • FTP: Create a new folder in /Packages called "temp"
  • FTP: Set it to "777"
  • Web Browser: Click "[Apply Mod]". Proceed only if there are no errors. Keep the window open and do not click anything yet!
  • FTP: Because SMF has deleted the folder, you will have to create another folder in /Packages called "temp". If you do not make this second folder the SAFE MODE problem will occur when it tries to use the folder it makes for itself.
  • FTP: Set it to "777"
  • Web Browser: Click "[Proceed]". Hopefully everything has now worked and your mod is installed!
  • Sometimes a mod will need to copy folder(s), of which the above will possibly not solve. If a folder is NOT copied (generally you'll get many many errors about files not being found):
    • Uncompress the mod on your local harddrive.
    • Find the location where it is supposed to go. This info will be found in the package-info.xml file under a tag called "require-dir", and will look something like <require-dir name="AplosRTE" destination="$boarddir" />
    • This destination is a relative position, as people can install their forum with many options. It will probably be "$boarddir" which is the main directory where your forum is installed (ie, copy the folder to the same place as your main index.php). Other possibilites could be $themedir which is the directory which contains your themes, $sourcedir which contains the source files, and $languagedir which is the language folder in the Default SMF theme board. If the destination is not one of these, and you cannot figure out where it is supposed to be, just post here and someone will help you quickly.
    • FTP: Copy the folder(s) to where they should have been if it had worked.
    • FTP: Set the folder(s) to "777" and the files inside to "755".


I have had no problems at all after following these steps. You will need to do this with everything in the package manager, including SMF updates.

i tried Eldecars package problem solution, it didn't work.
the package manager will not accept my ftp info, still not sure what to do.

XzotiC


Bigguy

When I use this fix posted in the first post of this thread I get a 404 error. Anyone know whats going on. I read a bit of this thread but didn't find exact answers.

Richmedia

Does anyone know exactly what files and directories are needed to have permissions changed? Even better, what files are needed for the package manager, period?

Some of the files the package manager needs to modify are not writable. This needs to be changed by logging into FTP and using it to chmod or create the files and folders. Your FTP information may be temporarily cached for proper operation of the package manager.

I've been having problems with the package manager for some time. Safe mode is off, so that's not it in my case.

I enter the ftp info, and the thing just times out on me. It used to work, strangely enough, so I must have changed something somewhere.

I did notice in an earlier reply that Packages/server.list needs Chmodded to 777. I don't have one of these files, which is where I suspect the server info might be stored. (It may have gotten lost during a previous restore). Is there any way that I can write one and ftp to where it should be, since I can't get it to create one?

Bigguy

There should not be any problem at all with chmodding the whole forum to 777. It is not a security risk. [Unknown] wrote an article about this.

Advertisement: