News:

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

Main Menu

Having problems with the package manager?

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

Previous topic - Next topic

Bojeunx

"An Error Has Occurred!
You cannot download or install new packages because the Packages directory or one of the files in it are not writable!  "
Can't instaşş anymods because of this and i also tried fix_ownership.php
Thanx

metallica48423

#601
did you ensure they were chmodded to 777 (or 755 depending on if your server uses phpsuexec or not, these typically don't allow 777.)

also ensure that there is a directory called 'temp' within the Packages folder, also chmodded to 777/755.

If your host's webserver runs as a user other than your username, it may not have permissions to create the temp folder during each mod install causing you to have to manually create it.

If this is the case, do it long enough to install this mod and it should stop smf from removing the temp directory
Justin O'Leary
Ex-Project Manager
Ex-Lead Support Specialist

QuoteMicrosoft wants us to "Imagine life without walls"...
I say, "If there are no walls, who needs Windows?"


Useful Links:
Online Manual!
How to Help us Help you
Search
Settings Repair Tool

Felt

Quote from: ardd on July 20, 2007, 05:14:43 AM
Every package I have tried to download gives this error "The package you are trying to download or install is either corrupt or not compatible with this version of SMF."

I have tried flashchat integration module, integrated chat, and Arcade. All give the same error.

I am running SMF 1.1.2 and using the ancient and rusted theme, my host is Go Daddy.

Any help would be greatly appreciated.

Best regards
Ardd

http://www.hypercrites.org [nofollow]
I seem to be having the same problems with GoDaddy...

metallica48423

many times this is a file ownership issue.  As in, SMF isn't being allowed to open the package to modify the files -- on this failure, the error message is (correctly!) generated.

have you tried uploading the mod both via FTP and through the upload screen on the Download packages screen?

Have you verified that the mods ARE actually compatible with your SMF version?
Justin O'Leary
Ex-Project Manager
Ex-Lead Support Specialist

QuoteMicrosoft wants us to "Imagine life without walls"...
I say, "If there are no walls, who needs Windows?"


Useful Links:
Online Manual!
How to Help us Help you
Search
Settings Repair Tool

Felt

Quote from: metallica48423 on August 05, 2007, 02:04:26 AM
many times this is a file ownership issue.  As in, SMF isn't being allowed to open the package to modify the files -- on this failure, the error message is (correctly!) generated.

have you tried uploading the mod both via FTP and through the upload screen on the Download packages screen?

Have you verified that the mods ARE actually compatible with your SMF version?
I can upload it just fine.

metallica48423

i understand that.

but what i mean is, is there a difference in the install result between the two ways of uploading.  That is important.
Justin O'Leary
Ex-Project Manager
Ex-Lead Support Specialist

QuoteMicrosoft wants us to "Imagine life without walls"...
I say, "If there are no walls, who needs Windows?"


Useful Links:
Online Manual!
How to Help us Help you
Search
Settings Repair Tool

Felt

I haven't tried uploading it through ftp, though.
But, uploading it through the manager works.
I guess I'll just upload things manually...
I've had a problem with installing one mod. The Visual Warning Mod. It had a problem with the "Sources/load.php" file. I had installed SMFshop earlier.

metallica48423

sometimes mods can fail as they try to modify the same section of code, its not entirely uncommon.  You will just need to manually do that edit.  Manual Installation of Mods

That is the issue then, the files owner ID's are different and your server is not allowing SMF to open the files owned by your FTP user.   

Unfortunately, this is a host issue, not an SMF one. :(
Justin O'Leary
Ex-Project Manager
Ex-Lead Support Specialist

QuoteMicrosoft wants us to "Imagine life without walls"...
I say, "If there are no walls, who needs Windows?"


Useful Links:
Online Manual!
How to Help us Help you
Search
Settings Repair Tool

andreafahy

I am on 1.1.3 but am unable to upload any mod.  I always receive this error:

The package you tried to upload either is not a valid package or has become corrupted.

Any ideas?

babjusi

Quote from: andreafahy on August 09, 2007, 09:57:23 PM
I am on 1.1.3 but am unable to upload any mod.  I always receive this error:

The package you tried to upload either is not a valid package or has become corrupted.

Any ideas?

Is the package directory  writable?

andreafahy

I know how to check in my file manager if files / directories are writable, but when I am must trying to use the upload in the package manager to upload the .zip or whatever from my computer - I don't know how to see if those are writeable.

babjusi

Quote from: andreafahy on August 09, 2007, 10:04:41 PM
I know how to check in my file manager if files / directories are writable, but when I am must trying to use the upload in the package manager to upload the .zip or whatever from my computer - I don't know how to see if those are writeable.

The numeric values must be at 777. You can also simply connect to your server with your FTP client and change the permissions to the ''package'' directory to 777. On most client software, this is achieved by right clicking on the files you wish to change, and going to Properties, CHMOD, or Permissions, and then typing in the number.
Then create another folder inside the ''package'' directory and name it ''temp'' or ''tmp'', without the quotes, and chmodd that to 777 as well and see if that would do the trick

andreafahy

I have done this, changed the values to 777 and placed it into the package/temp directory and receive the same error message. . Any more ideas?

Herman's Mixen

in some cases it won't work on some php configurations in that case you can use the package parser from daniel

here is one link to it http://www.smfhacks.com/smf-package-parser.html

for manual install of your mods !
Met vriendelijke groet, The Burglar!

 House Mixes | Mixcloud | Any Intelligent fool can make things bigger, more complex, and more violent.
It takes a touch of genius - and a lot of courage - to move in the opposite direction. - Albert Einstein

Former Godfather of our dutch community ;)

Rysiek

I had this problem on my board. It was a brand new install of 1.1.3. I found a topic here which suggests deleting and readding the mod site on the Package Manager. Since doing that, I've had no problems with it. I didn't read this thread in its entirety, so perhaps that was already mentioned, but I thought I would throw it out there anyway.

kpel

Is this problem fixed yet. Its 2 years later and I am having the same problem. I LOVE this forum and really want to use it.

Using latest stable v and php 5

Thanks!

IchBin™

There are lots of problems with certain servers and the package manager. Unfortunately, not all problems can be fixed on SMFs side, as they are a server configuration problem. If you could actually say which problem that you think isn't fixed yet, we could probably give you a more definitive answer to your question.
IchBin™        TinyPortal

kpel

Hi IchBin,

I uninstalled the program and haven't had a chance to re-install, hoping that would do the trick. (even tho it was a clean install) The problem is with installing Mods. When I clicked apply, I got a message that said do not continue unless you know what you are doing etc. (which I don't, but I was in test mode checking to see if it would self explode!) It said it was installed and showed the icon as being installed but I saw no changes on the board. On install and uninstall of the mods I saw a mod parsing error.

Is my recall enough or do you want me to post again with the errors after re-install?

One more dumb questions. Changing safe mode on the server. What does it do? Is the security level less etc?

The is the best board for what I need (I've been looking!) Please, please, please say I can make it work.

IchBin™

Were you able to install any mod successfully? If so, you should be aware that some mods conflict with other mods because they are looking for code that has already been altered by a previous mod. Thats when you get modification errors.

Safe mode is not something you can turn off usually. You'll need to ask your host about that if you want to. But having safe mode on is the cause of many problems because it restricts PHP from doing a lot of things.
IchBin™        TinyPortal

kpel

In the CPanel, it appeared to be installed, but when I looked on the board for it, there was no trace of the mod. (no change)

Advertisement: