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

IchBin™

Make sure the packages you are using are compatible with your SMF version.
IchBin™        TinyPortal

Dhekelian

I'm having a right nightmare with this smf 1.1.1, I'm not blaming smf but myself and cannot find out the cause. I can't install any mods that have to change the file source/modsettings.php. I have set it to 777 and it workds for other files and the server supports it. I'm dying to install some mods to liven the place up a bit but I'm frustrated in doing so, please help.

Richmedia

Quote from: IchBin™ on January 29, 2007, 11:30:42 PM
Make sure the packages you are using are compatible with your SMF version.

I found several packages that stated 1.1.1 compatible and got the same message.

I'm about ready to drop back and punt.

Should I just overwrite everything?

I installed a clean version in a different directory pointing at a new database and the thing works fine from there, so it's not a server issue. I even thought about working on the clean set of files and then pointing it to the current database, renaming the directory. Any chance that this might work? Would I need to run the upgrade script after renaming, or is this a bad idea from the git-go?

IchBin™

This can also be the result of some corrupted files. Lately I noticed it happened when it was a corrupt Settings.php. Try deleting your Settings.php and then rename the Settings_bak.php file to Settings.php and see if that helps. Of course, make a backup of any and all files before doing so.
IchBin™        TinyPortal

tidus2728

Hi,

I having problems installing with Package Manager in SMF 1.1.1 and the error is:

Could not upload package, please check directory permissions!

I tried to use the fix_ownership tool but it does not work on Windows machines. I have Windows 2000.
How do I make Package Manager work?

I really need help on this one to install the mods that I downloaded.

Thanks.

Tidus2728

Richmedia

#465
Quote from: tidus2728 on February 06, 2007, 08:44:33 PM
Hi,

I having problems installing with Package Manager in SMF 1.1.1 and the error is:

Could not upload package, please check directory permissions!

I tried to use the fix_ownership tool but it does not work on Windows machines. I have Windows 2000.
How do I make Package Manager work?

I really need help on this one to install the mods that I downloaded.

Thanks.

Tidus2728


Ownership of a file and permissions, aka, CHMOD are two separate issues having to do with the files on a UNIX (read: Apache) server.

When we say permissions, we're really talking about read/write/execute per user group (owner, user, and other) for that specific file or directory. These are all server-side settings, and has nothing to do with the platform that you access the server with (ie; Win 2000, Linux, XP, Mac).

Permissions of 777 results in all-access. When you get an error message like this one, you need to attempt to change permissions of the directories (folders) or files that it mentions on your server to 777. This can usually be done by navigating there on your web control panel, or by way of an FTP client.

If the particular file or directory is "owned" by the user "local host" (the server itself, "Apache") and not the user, your log-in user, usually [email protected], then you need to run the repair ownership script, if the server will not allow you to change the given permissions. Try to CHMOD or change the permissions to 777 first.

This seems to be a common issue with server-side installs, which is anything that uncompresses itself on the server will usually be owned by the server. But that's a separate topic.

Richmedia

Quote from: IchBin™ on February 05, 2007, 12:00:26 AM
This can also be the result of some corrupted files. Lately I noticed it happened when it was a corrupt Settings.php. Try deleting your Settings.php and then rename the Settings_bak.php file to Settings.php and see if that helps. Of course, make a backup of any and all files before doing so.

Isn't the only difference between Settings.php and Setting_bak.php the file name? Of course, it'd be a snap to download the original Settings.php file, and perhaps your suggestion might be that simple.

Unfortunately, I've messed my files up a bit worse than that. Too bad that the Package Manager up and quit on me, 'cause it seemed really sweet for a few days, and now I need to straighten out my mess. Time to start a new thread, I guess.

Rynion

Hi, i am having an issue that i could not find posted (though it obviously is) i am having the same error everytime i try download a mod, i downloaded a chat mod no problem a cpl weeks back but now every mod i click on comes with the following message:

An Error Has Occurred!
The package you are trying to download or install is either corrupt or not compatible with this version of SMF. 

there is no error message in the Forum error log, i have SMF 1.1.1 and have everything running great now except for this (had a few permission issues after installing the upgrade to 1.1.1 but soon fixed ... thanks to the support here)

Regards.

IchBin™

Create a directory named temp inside your package directory. Make sure that both the packages dir and the temp dir are chmod 777. Then try to install the mod.

Also make sure you are using a mod that is compatible with the version of SMF you are using.
IchBin™        TinyPortal

Richmedia

Quote from: IchBin™ on February 08, 2007, 06:07:58 PM
Create a directory named temp inside your package directory. Make sure that both the packages dir and the temp dir are chmod 777. Then try to install the mod.

Also make sure you are using a mod that is compatible with the version of SMF you are using.

Why isn't the temp directory in the packages directory a part of the default install? It seems to me that it should be.

IchBin™

Its temp because PHP creates and deletes it as needed.
IchBin™        TinyPortal

horilka

Quote from: IchBin™ on February 08, 2007, 06:07:58 PM
Create a directory named temp inside your package directory. Make sure that both the packages dir and the temp dir are chmod 777. Then try to install the mod.
Goddamn, this helped! Thanks!!!

NativePages

If the temp is already there, what is the next step or can we delete it and create a new one? Mine is there, has copies of files in it, and is NOT set to 777 (it's set to 755 and won't let me change it).

I'm having the following issues since trying to uninstall SMF Shoutbox yesterday. I'm quoting below because I had included this on a post for another issue as an edit since I thought it was all tied together, but evidently it wasn't cuz this part never got answered.

QuoteOK maybe NOT so fixed.  The board is working (http://www.nativepages.com/tnindian). Somehow, though, in the middle of all of this, I think I hit some other problems. I noticed it when my gallery button disappeared yet again.

The following INSTALLED packages are now missing the "uninstall" options and "green lights" off the package manager:

SMF Gallery Lite v 1.6.3 (has neither, and didn't have before problem)
Sticky First Post v 1.2.3 (has neither, and didn't have before problem)
Merge Double Posts v 1.0.6 (has neither)
Topic Ratings v 1.03 (has green light, just no option to "uninstall")
SMF Gallery Lite v 1.7.1 (listed a second time, has green light but no uninstall)
RSS Feed Poster 1.0.3 (green light but no uninstall)
RSS Feed Icon 1.1 (green light but no uninstall)
SMF Trader System 1.0.1 (green light but no uninstall)
Wrap Text Around Image 1.0 (green light but no uninstall)
Admin Notepad 1.0 (green light but no uninstall)

I've lost the listing in the Admin area menu for most of these options, too. I ran the "error" check in the Forum Maintenance section and found nothing.

I'm also getting a java error when I click on individual posts:
Line 315 (or 316, dependent on the post)
Char: 3
Code: 0
URL: http://nativepages.com/tnindian/index.php?topic=XXX.X
http://www.nativepages.com/tnindian
I came, I saw, I installed, I asked a million questions, but eventually I got it!

moraidh

Well I have created a "temp" directory inside "Packages" and both have permissions set to 777 through Dreamweaver.

I have copied the path as given in the themes section:

Quote/customersites/7/home/httpd/vhosts/radicalreaction.com/httpdocs/forum/

into the package manager FTP section, and I constantly get:

QuoteSome 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.

Surely the path I used must be the correct path for both themes and the package manager?  I've tried about every other variant I can think of with no luck.

I am trying to upgrade to 1.1.2, and am getting to the stage where I am on the point of giving up.  I don't know why this otherwise wonderful software seems incapable of readily allowing upgrades.

Dhekelian

I'm getting a bit frustrated with this as well. I have set the Package dir and all the files in it to 777 but still it gives me errors. Either the mod is corrupted or I do not have permissions. The mods are compitable as well. Any ideas?

moraidh

Since this seems to be such a common problem, I decided to create a poll in the feedback section:

http://www.simplemachines.org/community/index.php?topic=151363.0

I look forward to seeing the results!

korby

Hello,
I'm getting this error when I try to apply packages.
2: fopen(/var/www/html/roclockers/forum/index.php) [<a href='function.fopen'>function.fopen</a>]: failed to open stream: Permission denied
File: /var/www/html/roclockers/forum/Sources/Subs-Package.php
Line: 1902


The permissions are all set to 777.  Please help. :'(

Thanks.


JayBachatero

Quote from: korby on February 18, 2007, 03:07:03 PM
Hello,
I'm getting this error when I try to apply packages.
2: fopen(/var/www/html/roclockers/forum/index.php) [<a href='function.fopen'>function.fopen</a>]: failed to open stream: Permission denied
File: /var/www/html/roclockers/forum/Sources/Subs-Package.php
Line: 1902


The permissions are all set to 777.  Please help. :'(

Thanks.
Post your phpinfo.php file.
What is phpinfo.php?
Follow me on Twitter

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

korby

I've made some changes and some mods worked after all. But some of them give errors or ask for FTP acount, and still don't work. Anyway, here it is: http://www.roclockers.net/forum/phpinfo.php

Advertisement: