News:

Wondering if this will always be free?  See why free is better.

Main Menu

Having problems with the package manager?

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

Previous topic - Next topic

JayBachatero

After you reuploaded the Packages dir and all the permissions are set correctly.  Did you try installing the mod through package manager and not installScript.php directly?
Follow me on Twitter

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

udeze

After uploading SMFShop files into the packages dir, I could not see any link that says "install" from package manager, I selected Change all file permissions throughout the forum such that: All files are writable" when I click browse packages, it tells me no packages yet. how do I then install

Thanx in advance
I love Everything SMF does

JayBachatero

That means that the mod is not compatible with the version of SMF that you are using.
Follow me on Twitter

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

udeze

Great, I have just installed, I was able to do it by clicking download package > browse> download and install, It was quite easier and faster than I expected, thumbs up to SMF, however I have one "index.php" set to CHMOD 777 and another "index.php~" set to 666 in my root folder, should I delete the second one

secondly I am also planning to change my file permissions to "only the standard files are writable" I hope that is ok  :D
I love Everything SMF does

Oldiesmann

"index.php~" is a backup of index.php that was created when you installed another mod. You can delete it if you want.

Changing file permissions is just fine. The package manager will ask you for FTP info to chmod files as needed when you go to install other packages.
Michael Eshom
Christian Metal Fans

toyotaTRD

Hi, I just upgraded to 1.1RC3 (everything works great) and I would like to install the TP. After uploading the package from the Download Packages option I get " Could not upload package, please check directory permissions! " . Everything is chmoded to 777 and my safe mode is off. Can anyone please give me a direction to make this work ?
Greek Oblivion Guild
-The greek fan site-

JayBachatero

Did you try creating the temp dir inside Packages and chmoding it to 777?
Follow me on Twitter

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

toyotaTRD

yeah, I had read that in another message and tried it but still no luck.
Greek Oblivion Guild
-The greek fan site-

IchBin™

Quote from: toyotaTRD on October 14, 2006, 03:50:19 PM
Hi, I just upgraded to 1.1RC3 (everything works great) and I would like to install the TP. After uploading the package from the Download Packages option I get " Could not upload package, please check directory permissions! " . Everything is chmoded to 777 and my safe mode is off. Can anyone please give me a direction to make this work ?
Well if you've checked the perms on your packages and temp directory then I would suggest you install TP the manual way. There is a files only package, and a manual_tp_install.php that will update your database. Then you can either make the modifications manually to the files you need, or you can download them and just replace them from the files that G6 uploaded in the installation board at TinyPortal.
IchBin™        TinyPortal

toyotaTRD

That's what I'll do, I just wanted to avoid it if there was another way. Thanks for the support guys!
Greek Oblivion Guild
-The greek fan site-

Jim R

In the post that started this topic, I downloaded the fix_ownership.php file.  It didn't work.  I says something about an error but doesn't list it.  I have double checked the FTP information, and it's correct. 

Also when I go into my Packages / Options menu, I try and set Permissions Cleanup to All Files Writable, but it keeps resetting to Standards files.  Actually, it appears to not even recognize the change. Again, the FTP information is correct.

Thoughts?

JayBachatero

Check that your host allows permissions to be 777.  If not manually change the permissions to 755.
Follow me on Twitter

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

Jim R

They do, and I have great support from them.  They did give me this message when trying to fix it, which worked through the installation of four of the mods I need.

QuoteThis is now corrected by setting the ownership of the files to the user. This will allow you to make changes using your php scripts.

That sounds like 777 to me, right?  I'll work on 755.

Jim R

Follow-up:  No changes. 

Just to fill in, my host did do something that allowed me to install four mods using 777.  I don't think it had anything to do with allowing me more access.  I dealt with CHMOD with them before I knew what it was.  They told me then I had complete access to my account settings, or at least the settings they expose through my control panel.


What could have changed from rc2 to rc3 to make the Package installer so incompatible with some servers?

In the past, as I have tried third party softwares dealing with databases and server settings, they've been really good to make changes, especially with cURL.  Is there something I can hang this on for them to look for to change? 


Another question is, how am I able to install four mods then return to the issues I had before while installing the Paid Subscriptions mod?

VicViper

I've had nothing but trouble trying to use the package manager. Sometimes mods would upload and install just fine, but have no effect whatsoever on my forum, sometimes the package manager randomly gives me permissions errors. I've tried both using the FTP settings and manually CHMODding the directories/files.

At some point I couldn't even CHMOD the directory through my FTP client anymore (permission denied) so I had my host delete it for me. I thought that reuploading the original directory from the installation archive would solve the problem, but I still seem to be unable to make use of the package manager.

I'm not running in safe mode and all settings are double-checked and correct.

IchBin™

Any time you start running into these types of things it usually comes down to being a server issue. Your host could be running other security options like phpsuexec. These things can cause havok on the package manager because they don't allow the foldes/files to chmod to writeable. Eldakar has a work around you could try. Although it applies to Safe_Mode it's worth a shot I suppose.

http://www.simplemachines.org/community/index.php?topic=28393.msg354086#msg354086
IchBin™        TinyPortal

Jim R

#376
IchBin,

In checking your link, I've long since tried that work around.  It doesn't work for me.  I've tried every little band aid that's been presented here.  Some here say it's a server issue, but my host says it's a coding issue.  My host is working with me on it.  It worked enough to get 5 mods installed, including Paid Subscriptions .13, but there continues to be a break down.  I can't seem to get Paid Subscriptions .14 installed.  I think the correlation is when it's time to execute by adding a new file.

My host talks about ownership of a file being nobody.  I'm not sure what that means, but that's the last corresponance I've had with them.  They will get back to me on that later tonight.

I appreciate the effort, and I'll keep working on it, but I never had any issues with this until 1.1 rc3 version of SMF.

Bigguy

If the file/folder ownership is set to nobody it can't be deleted or edited in anyway until it is re-owned. I go through this all the time with my host. Once the files are re-owned everything is cool again.

Jim R

So what you're saying is my host is telling me things that won't work???

What is your suggestion as a setting? 

Bigguy

Sometimes I find when I go into my cpanel using ftp that the file ownership is set to 99 this means nobody. It usually happens after I use the package manager. After the package has made it's changes the files and folders it changed are 99. I have to go to my host and tell them to re-own all of my files so the ownership is given back to me, once that happens were all good again. I have asked on about 3 different websites but nobody will tell me why or what causes this to happen.

I do know it must have something to do with settings becasue I run SMF on 2 different servers with the same host. 1 of those forums always has to be re-owned and the other doesn't. I don't think that helps any but I had to say something when you mentioned ownership.

Advertisement: