Simple Machines Community Forum

SMF Support => SMF 1.1.x Support => Topic started by: [Unknown] on February 20, 2005, 12:32:26 AM

Title: Having problems with the package manager?
Post by: [Unknown] on February 20, 2005, 12:32:26 AM
Some people have run into problems using the package manager.  These are caused either by safe mode issues, or wrong paths.

If you're trying to use the package manager in safe mode, you may experience problems.  This is caused by ownership issues.  Previously, our recommendation has been to ask your host to enable PHP suExec, which solves those issues.

Recently, we came upon another solution which may resolve the need for PHP suExec in safe mode environments.  While this is still something your host should/could do for you, it is also something you can do without their involvement in many cases.

PLEASE NOTE: This solution may or may not work for everyone.  We would like feedback on whether or not it works for you.

The tool attached does two things: first, it changes the permissions (if possible) on the files in your SMF installation to combat safe mode, and second it tells you what path it used, which is what you should use in the package manager as well.  Please use this tool if you are having problems installing mods, and copy down the path it gives you.  The next major release of SMF should solve these problems.

The trick this file uses is that setting your permissions a certain way will make it so that files created by PHP, for example in "attachments", are still owned by *you*, not PHP.  This is, in many cases, better anyway, because you don't want files owned by someone else in your stuff!

-[Unknown]
Title: Re: Having problems with the package manager?
Post by: Oldiesmann on February 22, 2005, 11:37:02 AM
Tried the tool on a friend's board...

I still get this when trying to use the package manager:

Quote2: opendir(): SAFE MODE Restriction in effect. The script whose uid is 832 is not allowed to access /.../var/www/html/forums/Packages/temp owned by uid 48
File: /.../var/www/html/forums/Sources/Subs-Package.php
Line: 895
Title: Re: Having problems with the package manager?
Post by: [Unknown] on February 22, 2005, 03:16:50 PM
Try deleting the temp directory and trying again... or... hmm, I'll make a change to the attachment, one moment..

-[Unknown]
Title: Re: Having problems with the package manager?
Post by: Oldiesmann on February 22, 2005, 03:37:39 PM
Ok.

/me waits
Title: Re: Having problems with the package manager?
Post by: Owdy on February 22, 2005, 03:38:52 PM
: fopen(): SAFE MODE Restriction in effect. The script whose uid is 2542 is not allowed to access /home/customers/kulma/public_html/keskustelu/Packages/temp owned by uid 502
Tiedosto: /home/customers/kulma/public_html/keskustelu/Sources/Subs-Package.php
Rivi: 1454
Title: Re: Having problems with the package manager?
Post by: Oldiesmann on February 22, 2005, 03:57:44 PM
Still not working for me either... I already upgraded that board to 1.0.2 earlier, but found another mod that might be nice to have, and uploaded that via the package manager, and even attempted to install it before running the fix_ownership file...
Title: Re: Having problems with the package manager?
Post by: ayanna on March 02, 2005, 12:29:36 PM
Ummm...I know, I'm an über-newbie (and a girl at that! but hey, at least I'm not blonde on top of it all!)...but...how do you use the 'tool'?
If I click on it...it just opens it in my browser.
If I try to right-click & save target as...it saves it as a txt file

I really like SMF but...how the heck can I install any of the mods if the package manager won't let me?

Yes, I get the same SafeMode error messages everyone else seems to be getting...and if the 'fix ownership' thingy (that's a very technical term, ya know!) will work, I'd really like to use it!

Suggestions? Assistance? Cure-alls?

I'm truly desperate...as there are several mods I'd like to install (integrated chat, arcade, shoutbox, etc)...if it makes a difference I'm using SMF 1.0.2
Title: Re: Having problems with the package manager?
Post by: Trekkie101 on March 02, 2005, 12:32:34 PM
Open FTP, and upload it to your forums directory and then type in the address in your browser straight to the script and then it will ask you things to fill in.
Title: Re: Having problems with the package manager?
Post by: Minion on March 03, 2005, 10:58:48 AM
Hey Unknown,

Just installed a new board on a godaddy.com server.
Everything went fine except now when i try installing mods I get through the package manager I get this error:

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.


When I check my SMF log I see this

2: opendir(/home/content/m/i/n/minion/html/board/Packages/temp/Themes/default): failed to open dir: Too many open files
File: /home/content/m/i/n/minion/html/board/Sources/Subs-Package.php
Line: 895


Any idea what is wrong?  Thanks in advance.
Title: Re: Having problems with the package manager?
Post by: Trekkie101 on March 03, 2005, 11:28:51 AM
Looks like too many files arent allowed on your host, they should close once used. Maybe a big loop is calling something or maybe it doesnt want more than say 1/2/3/4/5 files open at once.
Title: Re: Having problems with the package manager?
Post by: Minion on March 03, 2005, 01:14:51 PM
I checked with them, they said there were no restrictions on thier end.
They said it may be ftp logins.  I am allowed 3.  But I don't see how that could be it.

Anyways if anyone else has an idea i am open to it.

Thanks for you help.
Title: Re: Having problems with the package manager?
Post by: [Unknown] on March 09, 2005, 04:35:31 AM
That's a filesystem error.  There's a hard limit on concurrently open files in the system configuration.  This means they've overloaded the server.

-[Unknown]
Title: Re: Having problems with the package manager?
Post by: countess_d on March 11, 2005, 01:55:08 PM
Ah, this is driving me insane... I upgraded to 1.0.2 recently. Today, to be more precise, and found this little issue with the Package Manager. Well, I downloaded the fix, uploaded it to my forum, went to it, filled everything (and I'm 100% sure I had all the data right); yet it keeps doing... nothing! :'(

I get an error message using the fix_ownership.php:

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

And that's it! It's a blank error... it doesn't tell me what the error was, it just... doesn't... work. :-X
Help?

I can live without it for now, I mean, it's not urgent or anything, but I'd really like for it to work.
Thank you!
Title: Re: Having problems with the package manager?
Post by: [Unknown] on March 11, 2005, 04:06:18 PM
Strange... no error at all?

Does it take a long time to load?  Are you using "localhost" for the ftp server (if not, please do try)?

No error could mean difficulties in connecting to the server at all, but that's still a problem as an error should be shown.

-[Unknown]
Title: Re: Having problems with the package manager?
Post by: countess_d on March 11, 2005, 04:18:49 PM
Nope, I'm afraid there's no error at all. Just blank right after that "Error" bit...  ::) and yes, I'm using "localhost" for the ftp server. It was the default, and it allways works for everything else, so I saw no need to change that.

I'm not so sure what you mean with difficulties connecting to the server, because well, I connected through an FTP program (obviously, else how would I have uploaded the fix...  :-[ ) and to the database aswell without issues ???
Title: Re: Having problems with the package manager?
Post by: [Unknown] on March 13, 2005, 07:07:48 PM
Interesting.  Are you sure you're using the right port and everything?

If it shows no error, it must be getting that back from the server or something... which doesn't make any sense.  Does it take a long time to show the error?

-[Unknown]
Title: Re: Having problems with the package manager?
Post by: countess_d on March 13, 2005, 07:12:34 PM
I'm quite sure I'm using the right port. I'm sure all of the info is correct. At least I've never had problems when using that same info before.

To answer your second question, no, it loads fairly quickly. Average for any other page.
Title: Re: Having problems with the package manager?
Post by: gizzleweb on March 17, 2005, 02:54:04 PM
 I started my board and tried to install the shop mod the easy way, now all i get is

nternal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.


Can someone tell me what the possible problems and solutions are? It appears that the files are uploading and such.
Title: Re: Having problems with the package manager?
Post by: [Unknown] on March 19, 2005, 01:11:33 AM
Quote from: countess_d on March 13, 2005, 07:12:34 PM
I'm quite sure I'm using the right port. I'm sure all of the info is correct. At least I've never had problems when using that same info before.

To answer your second question, no, it loads fairly quickly. Average for any other page.

Interesting.  That means it IS connecting, and it's getting through - but somehow it isn't getting any error message.

I've attached a debug version of said script.  It should tell you everything that's happening.  Please tell me what it outputs, at the top of the screen.

Gizzleweb, didn't you post that already?  A few times?  Did you ever try, as per my response to one of your spamilicious posts, chmodding files to 755?

-[Unknown]
Title: Re: Having problems with the package manager?
Post by: Dannii on March 19, 2005, 01:25:57 AM
This could fix my problems. Do we delete the file once we've run it? and do we just put it in the root forum directory? or in sources or something
Title: Re: Having problems with the package manager?
Post by: IchBin™ on March 19, 2005, 01:33:08 AM
put it in root and run the script by going to the URL www.yourdomain.com/fix_ownership.php
Title: Re: Having problems with the package manager?
Post by: [Unknown] on March 19, 2005, 01:46:04 AM
Quote from: eldacar on March 19, 2005, 01:25:57 AM
This could fix my problems. Do we delete the file once we've run it? and do we just put it in the root forum directory? or in sources or something

I do suggest you delete it afterward; I wouldn't want this to become a possible (however unlikely) security problem.

-[Unknown]
Title: Re: Having problems with the package manager?
Post by: Dannii on March 19, 2005, 05:37:34 AM
I ran this, but it didn't seem to do anything. It came up saying that the SMF detected FTP address was wrong, and what the correct one was. Is that all it does? should I change the directory somewhere in the admin settings? I've also tried installing a mod i've downloaded, but it's still coming up with the same SAFE mode error.
Title: Re: Having problems with the package manager?
Post by: [Unknown] on March 21, 2005, 12:55:41 AM
Did you run it again with the detected path?

-[Unknown]
Title: Re: Having problems with the package manager?
Post by: tapirul on March 25, 2005, 10:48:49 PM
hi all,

I tried to install some mods; I got pass the step where it tryes to change the permissions for some files, and asks "proceed". I click that I I get this:
Quote2: copy(SSI.php~): failed to open stream: Permission denied
File: /nfs/raven/u2/d/dogaruc/public_html/tapirul/Sources/Subs-Package.php
Line: 1285
Title: Re: Having problems with the package manager?
Post by: [Unknown] on March 26, 2005, 07:23:45 PM
Please chmod the directory SMF is in (e.g. forum) to 777.

How do I use chmod? (http://www.simplemachines.org/community/index.php?topic=23690.0)

-[Unknown]
Title: Re: Having problems with the package manager?
Post by: tapirul on March 27, 2005, 02:34:25 PM
Thanks. It worked.
Title: Re: Having problems with the package manager?
Post by: toontastic on March 28, 2005, 07:54:47 AM
Looks like this is the thread for me. I'm trying to install a fair few mods on my board. I'll use the quick reply box mod as an example. Ok I've gone into Package Manager click apply mod next to the mod I want. I then get a screen

QuotePackage Manager - Install Actions
Install Actions for archive enhanced_qr.tar.gz:
Installing this package will perform the following actions:  Type Action Description

1. Execute Modification ./Themes/default/Display.template.php Success



Underneath this it says

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

I've left it as local host and at the port cause that's the same port I use when I FTP. I've entered my username and password details and pressed Proceed. The screen the disappears and the exact same screen then comes up again. Can't see any obvious errors anywhere on the screen.

I've tried to CHMOD 777 the forum and that hasn't worked. What am I missing ??
Title: Re: Having problems with the package manager?
Post by: HEB XI 1 on March 29, 2005, 09:28:03 AM
I have SMF 1.0.2 installed.  When trying to patch 1.0.3 from the package manager, I got an error (all the actions showed as successful on the install checklist):

2: fopen("/<root>/community/Sources/News.php", "w") - Permission denied
File: /<root>/community/Sources/Subs-Package.php
Line: 1454



I ran fix_ownership and got this:

Write this down!
In some cases, SMF 1.0.x does not detect your FTP path correctly. This tool has successfully used the (possibly detected) path below. You may wish to write this down, and make sure to use it when installing mods.

/httpdocs/community

This problem should be resolved in the next major release of SMF.

Thank you.


Now, when I went back to the package manager to apply the mod, I get failures on changelog.txt, index.php, Admin.php, ManageMembers.php and Calendar.php.

I have my SMF and Sources folders at 777 ... have also tried 755 and get the same error (I read somewhere that sometimes that works if you have issues with 777).  Any ideas?

Title: Re: Having problems with the package manager?
Post by: patrick on March 30, 2005, 04:41:54 PM
Bypassed the Safe_mode.
It takes some time but ik worked for me

- At 1st safe mode error : go with ftp client to the packages folder
- delete the temp folder
- create temp folder an chmod it to 777
- go back to page, click on REFRESH PAGE
- repeat this at al safe mode errors.

With de permission denieds, find the files and chmod them manualy.
( or do a complete chmod to you're site  ::))

took me 10 minutes to upgrade to 1.0.3.
Title: Re: Having problems with the package manager?
Post by: toontastic on March 31, 2005, 02:19:31 AM
Quote from: patrick on March 30, 2005, 04:41:54 PM


With de permission denieds, find the files and chmod them manualy.
( or do a complete chmod to you're site  ::))

took me 10 minutes to upgrade to 1.0.3.


Well I've managed to get 1.0.3 by downloading it from here uploading it using FTP and then running upgrade.php but I'm still having problems with the mods. The mod Lots_o_Smileys installed no bother at all however the rest are now giving me failures. I've tried CHMODing the forum folder and that hasn't worked. The main folders (themes, packages, attachments etc) are all CHMOD 777 but it still isn't working. Any ideas what I'm missing ?
Title: Re: Having problems with the package manager?
Post by: [Unknown] on March 31, 2005, 02:45:09 AM
Quote from: hebxi1 on March 29, 2005, 09:28:03 AM
2: fopen("/<root>/community/Sources/News.php", "w") - Permission denied
File: /<root>/community/Sources/Subs-Package.php
Line: 1454


Are you certain the Sources/News.php file is 777?  It should be.

Remember, chmodding a folder isn't the same as chmodding its contents.  You have to select all the files and do it.

-[Unknown]
Title: Re: Having problems with the package manager?
Post by: unfluffybunny on April 02, 2005, 12:26:08 PM
tried everything written in this thread multiple times and i get the
Quote2: fopen(): SAFE MODE Restriction in effect. The script whose uid is 32280 is not allowed to access /home/unfluffy/public_html/Forums/Packages/temp/displaymembername owned by uid 99
File: /home/unfluffy/public_html/Forums/Sources/Subs-Package.php
Line: 1476

:(
Title: Re: Having problems with the package manager?
Post by: Dannii on April 03, 2005, 08:52:57 AM
Now with patrick's method i can install mods yaY! Its slow but it works. Thanks for your help
Title: Re: Having problems with the package manager?
Post by: Oldiesmann on April 04, 2005, 09:55:40 AM
Quote from: unfluffybunny on April 02, 2005, 12:26:08 PM
tried everything written in this thread multiple times and i get the
Quote2: fopen(): SAFE MODE Restriction in effect. The script whose uid is 32280 is not allowed to access /home/unfluffy/public_html/Forums/Packages/temp/displaymembername owned by uid 99
File: /home/unfluffy/public_html/Forums/Sources/Subs-Package.php
Line: 1476

:(

SAFE MODE is an annoying "security" feature in PHP that prevents scripts from accessing files/folders that don't have the same UID. Unfortunately, the package manager currently doesn't work with Safe Mode enabled. You will have to install the package manually.
Title: Re: Having problems with the package manager?
Post by: Gidget on April 04, 2005, 10:42:11 AM
Quote from: patrick on March 30, 2005, 04:41:54 PM
Bypassed the Safe_mode.
It takes some time but ik worked for me

- At 1st safe mode error : go with ftp client to the packages folder
- delete the temp folder
- create temp folder an chmod it to 777
- go back to page, click on REFRESH PAGE
- repeat this at al safe mode errors.

With de permission denieds, find the files and chmod them manualy.
( or do a complete chmod to you're site  ::))

took me 10 minutes to upgrade to 1.0.3.

Just wanted to thank you Patrick for these instructions  :D

I've just successfully upgraded to 1.0.3 with Safe Mode enabled.

I did get stuck for a while when I would CHMOD a file and it would just reject it again - then I found from another post (thanks [Unknown]) that if I also CHMOD'd the directory that the file resided in, it all came good and I could move onto fixing the permissions of the next file  ;)

All this might seem like a little victory to you gurus, but to a Noob like me it was great to be able to work through the issues myself and successfully install the upgrade.

Cheers

Gidget
Title: Re: Having problems with the package manager?
Post by: Oldiesmann on April 04, 2005, 02:54:01 PM
Glad it worked for you guys :)
Title: Re: Having problems with the package manager?
Post by: toontastic on April 07, 2005, 05:48:04 AM
Any ideas about my problem lads and lasses ?
Title: Re: Having problems with the package manager?
Post by: toontastic on April 07, 2005, 05:56:01 AM
Just to add to this, two packages have now installed the quick reply and smilies however the rest are not becomming completly successful. It seems to be when extracting files and executing code. So for example when trying to install the warningv_1.21.tar.gz package it is successfull with all Execute Modifications but when extracting files from ./Sources/ and ./Themes/ and when trying to Execute Code from VisualWarningPdb.php I do not getting success. Any ideas ?
Title: Re: Having problems with the package manager?
Post by: Oldiesmann on April 07, 2005, 09:42:56 PM
Don't know what to tell you about execution, but the other two are probably due to improper CHModding on those folders (they need to be 777).
Title: Re: Having problems with the package manager?
Post by: Sandwich on April 08, 2005, 08:57:25 AM
Quote from: patrick on March 30, 2005, 04:41:54 PM
Bypassed the Safe_mode.
It takes some time but ik worked for me

- At 1st safe mode error : go with ftp client to the packages folder
- delete the temp folder
- create temp folder an chmod it to 777
- go back to page, click on REFRESH PAGE
- repeat this at al safe mode errors.

With de permission denieds, find the files and chmod them manualy.
( or do a complete chmod to you're site  ::))

took me 10 minutes to upgrade to 1.0.3.

I've been trying to install the Show Multiple Badges (http://mods.simplemachines.org/index.php?mod=115) mod into a clean 1.0.3 install, but ran into the safe mode problem. So then I semi-successfully used the method patrick here used, but after a few back-and-forth steps between the browser and the FTP client, I got to a slightly more serious problem:
Quote
Fatal error: Cannot redeclare getgroupstars() (previously declared in /home/www/web20/html/smf/Sources/Load.php:1233) in /home/www/web20/html/smf/Sources/Load.php on line 1256

And that's it. White page, nothing displayed but that.

Help?
Title: Re: Having problems with the package manager?
Post by: Oldiesmann on April 08, 2005, 10:02:54 AM
Go into Load.php and delete one of the getgroupstars() functions (there should be two of them - one after the other). This has happened to several others before, although I'm not sure exactly what causes this.
Title: Re: Having problems with the package manager?
Post by: Sandwich on April 08, 2005, 10:51:43 AM
Quote from: Oldiesmann on April 08, 2005, 10:02:54 AM
This has happened to several others before, although I'm not sure exactly what causes this.

Well, if it helps at all, I can probably narrow down the cause a bunch.

I installed a fresh 'n clean SMF 1.0.3 onto a server with PHP safe_mode set to on. Created a few categories and boards, but didn't have any problems until I tried to install the Multiple Badges mod I linked to above. It gave me typical "safe mode restriction" errors, so I used Patrick's method of recreating the temp folder via FTP so it would have the FTP UserID. Once I'd gone through the 4 or 5 stages of bypassing the safe mode, I got the redeclaration error in load.php.
Title: Re: Having problems with the package manager?
Post by: alvinleephd on April 11, 2005, 02:07:51 PM
Quote from: Gidget on April 04, 2005, 10:42:11 AM
Quote from: patrick on March 30, 2005, 04:41:54 PM
Bypassed the Safe_mode.
It takes some time but ik worked for me

- At 1st safe mode error : go with ftp client to the packages folder
- delete the temp folder
- create temp folder an chmod it to 777
- go back to page, click on REFRESH PAGE
- repeat this at al safe mode errors.

With de permission denieds, find the files and chmod them manualy.
( or do a complete chmod to you're site  ::))

took me 10 minutes to upgrade to 1.0.3.

Just wanted to thank you Patrick for these instructions  :D

I've just successfully upgraded to 1.0.3 with Safe Mode enabled.

I did get stuck for a while when I would CHMOD a file and it would just reject it again - then I found from another post (thanks [Unknown]) that if I also CHMOD'd the directory that the file resided in, it all came good and I could move onto fixing the permissions of the next file  ;)

All this might seem like a little victory to you gurus, but to a Noob like me it was great to be able to work through the issues myself and successfully install the upgrade.

Cheers

Gidget

Patrick, I tried your instructions; It wouldn't let me delete the temp folder, nor would it let me chmod any of the files inside of the folder.  This is really screwed up.. will this package manager problem be fixed in 1.1? :(
Title: Re: Having problems with the package manager?
Post by: toontastic on April 13, 2005, 03:11:10 AM
Quote from: Oldiesmann on April 07, 2005, 09:42:56 PM
Don't know what to tell you about execution, but the other two are probably due to improper CHModding on those folders (they need to be 777).

I'm sure I've done this though. Is there a way to install mods by hand this package manager doesn't seem to work to well and I really need to get these mods added.
Title: Re: Having problems with the package manager?
Post by: toontastic on April 15, 2005, 09:11:53 AM
Just pushing back up in case anyone can help. Is there a way to install the mods without package manager ?
Title: Re: Having problems with the package manager?
Post by: Owdy on April 15, 2005, 09:15:21 AM
Yes, manually. Read .mod file and do what it says -> <edit file> <addafter> etc.
Title: Re: Having problems with the package manager?
Post by: toontastic on April 18, 2005, 08:59:23 AM
Thanks for that I'll give it a go
Title: Re: Having problems with the package manager?
Post by: dragon52225 on April 21, 2005, 08:19:17 PM
well help me, I can use the file, I fill out the ftp info, then I get this
QuoteAn error occured while trying to connect. The error was:
It doesn't say what error comes up.
Title: Re: Having problems with the package manager?
Post by: Spurblade on April 27, 2005, 07:02:09 AM
We'll the same goes with me. After applying patrick's solution, and comment of a successful installation. This err goes out after trying to test and go back to the home. Now I can't run my SMF, what seems to be the problem ?

Fatal error: Cannot redeclare smfshout() (previously declared in /home/eric1/public_html/smf/Sources/Subs.php:1822) in /home/eric1/public_html/smf/Sources/Subs.php on line 1829
Title: Re: Having problems with the package manager?
Post by: Spurblade on April 27, 2005, 07:10:53 AM
OK, I applied the same solution as above that is I deleted the redundant config but I can't see where my shoutbox is ( the package that I installed )
Title: Re: Having problems with the package manager?
Post by: Oldiesmann on May 04, 2005, 11:52:09 AM
Yeah. Download the package to your hard drive and extract all the files. Then, open the ".mod" file in a text editor such as Notepad and follow the instructions. If you don't see a ".mod" file, look for something like "install.xml" or "modification.xml" and open that up in a text editor. However, the XML format is a bit trickier to understand:

<search position="before"> means that the following code should come before the code that you're adding
<search position="replace"> means replace the following code with the code that you're adding
<search position="after"> means that the following code should come after the code that you're adding
<add>...</add> = the code we're adding
Title: Re: Having problems with the package manager?
Post by: Vicious on May 06, 2005, 02:03:51 PM
I am having trouble adding in modifications. I try to use package manager and it tells me


Sorry, your PHP configuration doesn't have support for zlib. Without this, the package manager cannot function. Please contact your host about this for more information.

8: Undefined index: mm_mm
File: c:\ibserver\www\smf\Themes\default\Themes.template.php (eval?)
Line: 452

im new at this so if ne one can help talk to me thanks
Title: Re: Having problems with the package manager?
Post by: JYM on May 09, 2005, 12:29:53 AM
I browsed for the redirection board's mod, I downloaded it, I clicked apply mod, I typed in my ftp info, and so far nothing said "Error"... but when I check under "installed mods", it isn't in there... why is that? i thot i just installed it..
Title: Re: Having problems with the package manager?
Post by: Dannii on May 09, 2005, 12:45:05 AM
Vicious, without zlib you wont be able to use it at all. You'll have to uncompress the mod yourself and then make the modifications manually.
Title: Re: Having problems with the package manager?
Post by: Tammie on May 16, 2005, 08:18:36 PM
Before I try some of the tips previously in the thread I just want to verify my problem.

I am trying to install the chat package but it keeps asking for FTP username and password when it tries to execute code: add_settings.php, #11 down.  I *think* this may be because I am still installing using my ip address because DNS hasnt kicked in yet.  I had to manually chmod to install the board and I tried to chmod all files and folders it looks like it is asking for but still it wont install.

Is it because localhost is looking at the dns name?
Title: Re: Having problems with the package manager?
Post by: [Unknown] on May 16, 2005, 11:35:28 PM
No, it's asking for FTP information because of the files it's trying to modify.

-[Unknown]
Title: Re: Having problems with the package manager?
Post by: cdR on May 20, 2005, 04:28:17 AM
hi all,

i cant even apply mod for SMFMamboMod_1.3.1.zip

ive try everything n even read all forum about this but still no luck. BTW there if no error for me n the ftp box still appear.

im stuck here
(http://202.186.179.101/english/cd/smfstuck.jpg)

try everything on FTP server, local path... pls help.
Title: Re: Having problems with the package manager?
Post by: [Unknown] on May 23, 2005, 08:25:35 AM
Have you used the attachment in this topic to determine your path?

-[Unknown]
Title: Re: Having problems with the package manager?
Post by: cdR on May 24, 2005, 09:16:36 PM
where to pun that fix_owbnership.php...   need to run it??

im a noob.
Title: Re: Having problems with the package manager?
Post by: [Unknown] on May 25, 2005, 05:28:29 AM
Upload it, access it.  Just like install.php.

-[Unknown]
Title: Re: Having problems with the package manager?
Post by: cdR on May 25, 2005, 09:48:04 PM
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..
Title: Re: Having problems with the package manager?
Post by: toontastic on May 26, 2005, 04:49:50 AM
Have you CHMOD the files 777 ?
Title: Re: Having problems with the package manager?
Post by: [Unknown] on May 26, 2005, 12:39:21 PM
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]
Title: Re: Having problems with the package manager?
Post by: ladyshanae on May 26, 2005, 08:59:04 PM
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?
Title: Re: Having problems with the package manager?
Post by: cdR on May 26, 2005, 09:45:20 PM
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.
Title: Re: Having problems with the package manager?
Post by: 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.   ???
Title: Re: Having problems with the package manager?
Post by: HEB XI 1 on May 27, 2005, 09:00:36 AM
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?
Title: Re: Having problems with the package manager?
Post by: dustrho on May 27, 2005, 12:34:05 PM
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.

>:(
Title: Re: Having problems with the package manager?
Post by: [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.

-[Unknown]
Title: Re: Having problems with the package manager?
Post by: dustrho on May 27, 2005, 02:56:06 PM
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.
Title: Re: Having problems with the package manager?
Post by: toontastic on May 28, 2005, 09:17:36 AM
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.
Title: Re: Having problems with the package manager?
Post by: Garpie on June 06, 2005, 10:21:28 AM
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?
Title: Re: Having problems with the package manager?
Post by: torkil on June 08, 2005, 02:46:10 PM
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?
Title: Re: Having problems with the package manager?
Post by: adrianbj on June 08, 2005, 08:33:34 PM
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
Title: Re: Having problems with the package manager?
Post by: [Unknown] on June 09, 2005, 06:33:52 AM
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 (http://www.simplemachines.org/community/index.php?topic=2987.0)

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]
Title: Re: Having problems with the package manager?
Post by: ybd_admin 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.
Title: Re: Having problems with the package manager?
Post by: adrianbj on June 10, 2005, 11:50:17 AM
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
Title: Re: Having problems with the package manager?
Post by: Jorijn on June 17, 2005, 02:42:24 AM
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 :)
Title: Re: Having problems with the package manager?
Post by: AnarchyCow on June 19, 2005, 12:24:15 AM
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:
(http://img115.echo.cx/img115/5905/tmp19iu.png)

ok and whats wierd heres a SS of the error:
(http://img74.echo.cx/img74/1289/tmp20ab.png)

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
(http://img74.echo.cx/img74/4743/tmp36lf.png)

Config Txt file:
(http://img243.echo.cx/img243/2115/tmp49ds.png)

Whats up with this plz hlp
[img]
Title: Re: Having problems with the package manager?
Post by: [Unknown] on June 19, 2005, 05:56:39 AM
You have to make Themes/default and Sources writable.

-[Unknown]
Title: Re: Having problems with the package manager?
Post by: AnarchyCow on June 19, 2005, 10:05:14 AM
Alright I chmoded sources to 777 and Themes/Default to 777 and now im getting this error:

2: fopen(Themes/default/BoardIndex.template.php): failed to open stream: Permission denied
File: /usr/www/htdocs/zircury/Sources/Subs-Package.php
Line: 1476


I tried to install a nother modification and get this error also:
2: copy(/usr/www/htdocs/zircury/Themes/default/images/bbc/edit.gif): failed to open stream: Permission denied
File: /usr/www/htdocs/zircury/Sources/Subs-Package.php
Line: 814


lol
And the Path is still wrong!
Title: Re: Having problems with the package manager?
Post by: [Unknown] on June 19, 2005, 10:12:35 AM
The path is coming from PHP.  More than likely, it is right and the path you were given is an alias.

Themes/default/BoardIndex.template.php is not writable... Themes/default/images/bbc is not writable.  1.1 handles this better.

-[Unknown]
Title: Re: Having problems with the package manager?
Post by: AnarchyCow on June 19, 2005, 10:14:53 AM
I chmodded Themes/Default with the box "Apply Changes to all subfolders and Files" Whice fixed the second error im not sure about the first yet I'll check it... ^_^

It fixed both errors thanks [Unknown] ^_^
Title: Re: Having problems with the package manager?
Post by: truecrimson on June 23, 2005, 04:25:12 AM
Hello;
I've tried looking through the forum posts for this problem but gave as there are so many.  I upgraded from yabbse to SMF 1.0.4, then to 1.0.5  with no problems.  I then used the package manager to install Grudge's Specific Member Permissions mod with no problems, except that the next time I tried to return to the package manager I got a "Cannot find Server" error.  Everything else seems to be working fine, and I have made no other changes.

I'm running Win XP, fully updated, PHP 5.0.4, and the forum is runnng on local host since my DSL is down.  I posted about this several days ago in the thread for the mod but got no reply as yet.  Any help would be appreciated.

Title: Re: Having problems with the package manager?
Post by: [Unknown] on June 23, 2005, 06:07:12 PM
If you're getting errors which prevent you from accessing the package manager, try deleting the packages inside the Packages directory.

-[Unknown]
Title: Re: Having problems with the package manager?
Post by: truecrimson on June 24, 2005, 09:14:19 AM
lol, knowing me it would be something that simple.  Worked like a charm.  After a little experimentation I figured out it wasn't the member permissions mod, but the pie chart mod, which hadn't even been installed.  But when the pie chart tar.gz is present the package manager doesn't load.  Thanks a bunch for the help.  I'm sure I'll be buggin you again soon about some other silly problem ;)
Title: Re: Having problems with the package manager?
Post by: nibb on June 25, 2005, 02:48:27 AM
My manager was working well, i did not had any more but no errors. Now i upgraded to 1.0.5 and it seems the Manager will not install things. For instance when i click and List Files for a Mod it gives a error like this:
2: file_exists(): open_basedir restriction in effect. File(/warningv_1.21/contact.txt) is not within the allowed path(s): (/home/httpd/vhosts/domain.com/httpdocs:/tmp)

All mods give the same error with diferrente name file. Safe Mode is OFF, and i have my own server so its not a host problem. I think its more that the upgrade changed a path or permission. I did a search on the forum for this error and im not the only one with this king of error.
Title: Re: Having problems with the package manager?
Post by: [Unknown] on June 25, 2005, 05:44:04 PM
Looks like an error in the visual warning mod, I'm afraid.

-[Unknown]
Title: Re: Having problems with the package manager?
Post by: nibb on June 25, 2005, 10:37:32 PM
No, location mod gives a similar error with a flag.png
And other mods gives the same error too.
The problem is with all mods.
Title: Re: Having problems with the package manager?
Post by: Kagemaru on June 27, 2005, 10:43:50 AM
I got this error while trying to install some MOD:

2: fopen(): SAFE MODE Restriction in effect. The script whose uid is 1314 is not allowed to access /home/www/web70/html/infinitedimensions/forum/Packages/temp owned by uid 30
File: /home/www/web70/html/infinitedimensions/forum/Sources/Subs-Package.php
Line: 1476

Then I searched the net a bit till I found this topic. I downloaded the attached file "fix_ownership.php", uploaded it to my /forum/ folder and executed it.
It asked me for the login details and after sending it I got the message that "/html/infinitedimensions/forum" would be the right path. This is what I entered before at the login details & what I use when I use FTP.

I still got that error message and tried to figure out why. After looking at the Packages folder before and after accessing it, I noticed that "wwwrun" was the owner of the TEMP folder. I couldn't change the CHMOD because of that, so I deleted that folder and recreated it over FTP and set the CHMOD to 777. After another try to install the MOD I still got the same message AND the TEMP folder was set back to "wwwrun" and "755".

Can anyone help me with this problem?
Title: Re: Having problems with the package manager?
Post by: Dannii on June 27, 2005, 10:59:12 AM
i've found that to install packages with the SAFE MODE restriction, I need to put the correct ftp pass and path in, and then create the temp folder and set it to 777 twice. once before installing a mod, and then again after it's come up with the list of files and "SUCCESS" for all of them (hopefully), before clicking [proceed]. And that works fine :)
Title: Re: Having problems with the package manager?
Post by: Kagemaru on June 27, 2005, 11:07:37 AM
ok... this can't be right.

After using the fix_ownership.php file the Packages folder is set to 337... and it tells me when I try to install, that the Packages folder is write protected. And the worst... I CAN'T SET IT BACK o.O

@eldacar:
I'll try that as soon as I have the other thing fixed

[edit]
After fighting with the webFTP thing from the host, I was able to really set the Packages folder to 337. (the code appeared as 337 before, but everything was checked anyway) but that revokes the reading rights from Owner and Groups and allows everything else... is that correct? (cause it still gives me the message that Packages is not writeable ><)

--

I tried it eldacar, (it deletes the TEMP folder after every step while installing) but it still gives me the same error in the end. :(
btw... I don't get a SUCCESS for the db.php file... if that changes anything.

--

I encountered the same problem with the Themes btw. I can't install them automatically and if I do it manually the folder is created by wwwrun and I can't edit anything (but have to so I can edit it afterwards). I just copied it to another folder, deleted and renamed the new folder. Now it seems to work with the Themes.

[/edit]
Title: Re: Having problems with the package manager?
Post by: Kagemaru on June 27, 2005, 04:16:41 PM
sorry for double posting, but this is kinda urgent ><
Title: Re: Having problems with the package manager?
Post by: [Unknown] on June 27, 2005, 04:21:39 PM
I'm sorry, but the package manager won't work very well on most safe mode hosts.  Wait for 1.1.

-[Unknown]
Title: Re: Having problems with the package manager?
Post by: Kagemaru on June 27, 2005, 05:34:30 PM
That's really sad... cause it's really urgent xD (as mentioned).

Well... I wrote my host and told them that they should take out safe_mode and use the other one... the base thing. I hope they answer soon.

thanks for your help anyway :)
Title: Re: Having problems with the package manager?
Post by: nibb on June 28, 2005, 01:24:37 PM
I have safe mode off, and still doesnt work.
See my earliest post.
Title: Re: Having problems with the package manager?
Post by: Garpie on June 30, 2005, 06:03:27 AM
I've got the same problem :(
Title: Re: Having problems with the package manager?
Post by: nibb on July 02, 2005, 03:27:44 PM
Quote from: Garpie on June 30, 2005, 06:03:27 AM
I've got the same problem :(

Well it seems Garpie we are having the same problem. I have my own server so im sure everything in the config is fine, i never had problems but with this version i cant use the Pacman. Maybe if you install the 1.0.5 and see if its fixed?
Title: Re: Having problems with the package manager?
Post by: [Unknown] on July 02, 2005, 04:17:25 PM
Nibb, I answered your question already.  I'll quote it for you:

Quote from: [Unknown] on June 25, 2005, 05:44:04 PM
Looks like an error in the visual warning mod, I'm afraid.

-[Unknown]

Your problem has nothing to do with safe mode, it has to do with this:

File(/warningv_1.21/contact.txt)

The visual warning mod *SHOULD NOT* be trying to access a file with that path.  This is an error in the visual warning mod, or in your installation of SMF.  If this error message shows for all mods, your server is broken.

-[Unknown]
Title: Re: Having problems with the package manager?
Post by: meadwench on July 04, 2005, 03:22:17 AM
I'm running 1.05, just upgraded a few hours ago. Like all the upgrades, it went fine, no errors. The forum works ok, except for the chatmod, which doesn't and hasn't worked since 1.0. And the package manager is no longer showing the chat mod as installed, so I can't uninstall it either. I don't suppose there's an easy way to find and remove the added code in the SMF files? That should solve the errors below, but I'm still unable to add mods using the package manager. Details and readouts below.

I'm getting the following errors in the error log:
=========
http://www.gotmead.com/smf/index.php 
8: Undefined index: chatStats
File: /hsphere/local/home/meadwenc/gotmead.com/smf/Themes/yabbsetheme/BoardIndex.template.php (eval?)
Line: 278

8: Undefined index: chatAlt
File: /hsphere/local/home/meadwenc/gotmead.com/smf/Themes/yabbsetheme/BoardIndex.template.php (eval?)
Line: 282

8: Undefined index: chatAlt
File: /hsphere/local/home/meadwenc/gotmead.com/smf/Themes/yabbsetheme/MessageIndex.template.php (eval?)
Line: 244
==============

I started getting these after upgrading to 1.0. I went into the package manager, and the chatroom, which *was* installed and working, no longer works, nor is it showing installed. I tried to reinstall, no luck. I found all the additional files, and removed them, but don't know where to take out code in the standard files, and can't find 'chatAlt' *anywhere*, and I've searched every file in the forum. Meanwhile, I cannot get any package to install in the package manager, cannot reach any of the package download sites, getting an error of 'Unable to connect to the server. Please try using this URL instead.'

I downloaded and ran the fix_ownership file, and got the following:
===========
The connection has been opened.
Received: 220-UNAUTHORIZED ACCESS FORBIDDEN
Received:
Received: * This system may not be used for purposes not directly related to your web site's operation.
Received: * Any account found with IRC clients, bots, bouncers, or daemons will be immediately suspended.
Received: * Attempts to compromise system integrity or security will probably be noticed.
Received: * Ignorance of the Acceptable Use Policy/Terms of Service is not a valid excuse.
Received:
Received: Thank you for your attention
Received:
Received: 220 ProFTPD 1.2.10rc3 Server (Main FTP Server) [unix.hsphere.cc]
Sending: USER xxxxxxxx
Received: 331 Password required for xxxxxxxx.
Sending: PASS ****
Received: 230 User xxxxxxxx logged in.
Sending: CWD gotmead.com/smf
Received: 250 CWD command successful
Sending: SITE CHMOD 6777 attachments
Received: 200 SITE CHMOD command successful
Sending: SITE CHMOD 6777 avatars
Received: 200 SITE CHMOD command successful
Sending: SITE CHMOD 6777 Packages
Received: 200 SITE CHMOD command successful
Sending: SITE CHMOD 6777 Packages/installed.list
Received: 200 SITE CHMOD command successful
Sending: SITE CHMOD 6777 Packages/server.list
Received: 200 SITE CHMOD command successful
Sending: SITE CHMOD 6777 Smileys
Received: 200 SITE CHMOD command successful
Sending: SITE CHMOD 6777 Themes
Received: 200 SITE CHMOD command successful
Sending: SITE CHMOD 6777 agreement.txt
Received: 200 SITE CHMOD command successful
Sending: SITE CHMOD 6777 Settings.php
Received: 200 SITE CHMOD command successful
Sending: SITE CHMOD 6777 Settings_bak.php
Received: 200 SITE CHMOD command successful
================

However, I cannot install packages, and cannot uninstall packaged that were there before 1.0.  Any ideas?

Thanx
Title: Re: Having problems with the package manager?
Post by: fozzy on July 12, 2005, 02:55:07 AM
Good Day all :)

sitched recently from phpBB to SMF and am very happy about the configurability of the SMForum :)
Only problem is with the package manager... tried installin Online Users but with no luck.
fix_ownership doesn't work because it's a windows server, i always get file_exists() errors whatever type of mod i upload by hand oir by package manager.
In the end i tried installing the mod by hand... at that point my forum was an empty webpage...  :-X
("Good backups, good backups" *pat pat*)

Any help would be appreciated. :)

Luca
Title: Re: Having problems with the package manager?
Post by: papabill on July 18, 2005, 09:11:15 PM
I'm running SMF v.1.0.5 on a Windows 2000 machine.  With my eyesight nearly gone, I was hoping to get the package manager to work, but regardless of what package I try to upload, I get the following error:
QuoteAn Error Has Occurred!
The package you are trying to download or install is either corrupt or not compatible with this version of SMF. 

Every package, from every package server gives me the same error.

Ideas?? Solutions?  Everything else seems to work o.k.
Title: Re: Having problems with the package manager?
Post by: JRSofty on July 19, 2005, 06:04:44 AM
Running 1.0.5 also and I can't even access the package servers. When I attempt a download the PHP 4.4.0 fix it gives me the same error as papabill.

Title: Re: Having problems with the package manager?
Post by: papabill on July 19, 2005, 11:21:17 AM
Quote from: papabill on July 18, 2005, 09:11:15 PM
I'm running SMF v.1.0.5 on a Windows 2000 machine.  With my eyesight nearly gone, I was hoping to get the package manager to work, but regardless of what package I try to upload, I get the following error:
QuoteAn Error Has Occurred!
The package you are trying to download or install is either corrupt or not compatible with this version of SMF. 

Every package, from every package server gives me the same error.

Ideas?? Solutions?  Everything else seems to work o.k.

I found out that I can download the mods manually and put them in the Packages directory.

However, I get the "FTP Information Required" error.  "Some of the files this package needs to modify are not writeable.  This needs to be changed by logging into FTP and chmoding the files"

I'm not running Linux or Unix, my ENTIRE forum directory is not READ ONLY, and besides that, I HAVE NO FTP.  SO, regardless what I do, it doesn't work.

Ideas??  Suggestions??
Title: Re: Having problems with the package manager?
Post by: [Unknown] on July 19, 2005, 07:53:26 PM
On a Windows server, you'll need to contact your host to make files writable.

-[Unknown]
Title: Re: Having problems with the package manager?
Post by: NOS ChromeNut on July 23, 2005, 02:33:16 PM
Thank you for these forums, the hints and tips are invaluable.  I had many of the issues I've seen here and the Chmod to 777, plus deleting a few tmp files, cleared all my issues, and since moving to 1.0.4 have not had anymore.  Now a couple weeks ago I upped to 1.0.5 and have a really odd looking problem, maybe this is the proper place to post this?

I don't see a way to upload an attachment here so I'll post this as a url, but if you would be so kind as to look at what I'm seeing in Package Manager and maybe give me some suggestions on how to resolve this?  I just noticed it today, but since going to 1.0.5 I can barely read the packages listed under New Packages, and can not d/l any of them.  I get Error On Page when I click on these packages. I know there are ways to d/l manually, that's not an issue, but in this case it tells me there's something either not working right with Package Manager, or with the location of these files.  The Package of the Moment - the 4.4.0 php compatibility update, that d/l and loaded just fine, even though you can't really see the file there (text color too close to background color).  I've changed my template from Helios_Multi to several others to see if it was a template issue and they all display the packages as shown in my url example.

Regards,
Chromenut
http://www.hugginsnet.com/squadnos/forums
Title: Re: Having problems with the package manager?
Post by: [Unknown] on July 23, 2005, 09:39:05 PM
That's only a temporary problem.  I'll probably just hard code the darn color.

-[Unknown]
Title: Re: Having problems with the package manager?
Post by: NOS ChromeNut on July 25, 2005, 12:11:57 AM
Quote from: [Unknown] on July 23, 2005, 09:39:05 PM
That's only a temporary problem.  I'll probably just hard code the darn color.

-[Unknown]

I figured as much. Thanks for the reply!!!
Title: Re: Having problems with the package manager?
Post by: toonstruck on August 05, 2005, 12:40:16 PM
I'm trying to convert from IBF to SMF.  I've gotten all my users and posts converted.  However, the biggest downfall of SMF that I can find, is trying to put users in certain groups.  I'm hoping to see if one of the mods will correct this shortfall, but I cannot get package manager to work.

It keeps wanting me to enter my FTP information (I suppose to chmod files).  I've entered the correct info, and it just keeps coming back to that same page without reporting errors or fixing the problem.  The mod never gets installed.

I've tried manually going in and chmod'ing files to 777, but this isnt work either.  The problem descirbed above happens after manually trying to do this too...  I cannot get the mod installed.  Please help me..

Thanks
Title: Re: Having problems with the package manager?
Post by: [Unknown] on August 06, 2005, 11:19:55 PM
Quote from: toonstruck on August 05, 2005, 12:40:16 PM
I'm trying to convert from IBF to SMF.  I've gotten all my users and posts converted.  However, the biggest downfall of SMF that I can find, is trying to put users in certain groups.  I'm hoping to see if one of the mods will correct this shortfall, but I cannot get package manager to work.

How do you mean?  Members are in three types of groups: the primary (displayed) group, a postgroup, and additional groups.  They are ALWAYS in at least one of the first two.

What is the problem you're having?  Please start new topics for new requests (http://www.simplemachines.org/community/index.php?topic=18624.0), though.

QuoteIt keeps wanting me to enter my FTP information (I suppose to chmod files).  I've entered the correct info, and it just keeps coming back to that same page without reporting errors or fixing the problem.  The mod never gets installed.

Are you entirely sure you're entering the correct path?  Please see my other posts in this topic regarding that.

-[Unknown]
Title: Re: Having problems with the package manager?
Post by: papabill on August 09, 2005, 08:20:06 AM
Quote from: toonstruck on August 05, 2005, 12:40:16 PMIt keeps wanting me to enter my FTP information (I suppose to chmod files).  I've entered the correct info, and it just keeps coming back to that same page without reporting errors or fixing the problem.  The mod never gets installed.

I discovered that when I didn't follow instructions and create a directory it called for (as the instructions told me to do), it would also ask me for FTP information and nothing I put in would solve the situation-until I created that directory.
Title: Re: Having problems with the package manager?
Post by: cyberstang5.0 on August 16, 2005, 08:45:08 PM
Sorry if this was mentioned before in this post... I didn't read every page/post.

I'm getting when I try to install a package.  :(

Quote
2: fopen(): SAFE MODE Restriction in effect. The script whose uid is 32138 is not allowed to access /home/tssrac84/public_html/Forum/Packages/temp owned by uid 99
File: /home/tssrac84/public_html/Forum/Sources/Subs-Package.php
Line: 1476
Title: Re: Having problems with the package manager?
Post by: Dannii on August 16, 2005, 08:55:36 PM
I've found that to install packages with the SAFE MODE restriction, I need to put the correct ftp pass and path in, and then create the pacakges/temp folder and set it to 777 twice. once before installing a mod, and then again after it's come up with the list of files and "SUCCESS" for all of them (hopefully), before clicking [proceed]. And that works fine :)
Title: Re: Having problems with the package manager?
Post by: cyberstang5.0 on August 17, 2005, 05:01:58 PM
Quote from: eldacar on August 16, 2005, 08:55:36 PM
I've found that to install packages with the SAFE MODE restriction, I need to put the correct ftp pass and path in, and then create the pacakges/temp folder and set it to 777 twice. once before installing a mod, and then again after it's come up with the list of files and "SUCCESS" for all of them (hopefully), before clicking [proceed]. And that works fine :)
I put the correct FTP info and changed the folder to 777 and it still doesn't work.  Is there anything else I can look at?  Can I turn safe-mode off?  If so, how do I do it?
Title: Re: Having problems with the package manager?
Post by: ¥ on August 18, 2005, 04:59:22 PM
I've done everything -

I've set EVERYTHING in the entire world dealing with SMF to 777 - everything. Even changed the directory housing SMF to 777.

I ran the script provided at the start of the forum.

I've chown/chgrp EVERYTHING both to apache and to my own user.

It's always ended the same way - with the script timing out, set to 120 seconds even.

Fatal error: Maximum execution time of 120 seconds exceeded in /home/webadmin/starblogger.com/html/commons/Sources/Subs-Package.php on line 1156

I also tried to buy the script a new car, just to see if it might work - but I can't insert the car into the code. Maybe it wants a Ferrari, and not the Chevy.

I use Mambo on the same site and it installs components, templates, modules, etc. without any problem.

However, SMF will install templates - just not packages.

I just can't figure this thing out.
Title: Re: Having problems with the package manager?
Post by: Juggler on August 21, 2005, 04:43:32 AM
Slightly different but packages related. Just went to install a new package today but when I click on packages from the admin utility menu I get a TCP/IP connection error as if the page doesn't exist! Now I've had a friend check the sources dir and the packages.php file IS there but I can't open the page and when I've checked by other forum the same thing happened. Now every other menu option opens fine and if I put the direct path to the other parts of the package section I can open the pages OK just not the main package page. Also went onto the detailed version check page and all the links for more detailed info work apart from packages which has no link for more details!

Is this likely to be an SMF issue or a problem at the hosts end?
Title: Re: Having problems with the package manager?
Post by: Juggler on August 21, 2005, 04:08:17 PM
I really need some help with this as no one has responded to any of my requests for help either here or on the hosts site. When I use Firefox and click on packages in the admin section all I get is "This file contains no data". I've reloaded the packages.php file into the sources directory with no luck and I am leaning towards a webhosts issue rather than SMF but I could do with a few pointers to get me stsrted.

Cheers
Title: Re: Having problems with the package manager?
Post by: NOS ChromeNut on August 21, 2005, 04:19:21 PM
Quote from: Juggler on August 21, 2005, 04:08:17 PM
I really need some help with this as no one has responded to any of my requests for help either here or on the hosts site. When I use Firefox and click on packages in the admin section all I get is "This file contains no data". I've reloaded the packages.php file into the sources directory with no luck and I am leaning towards a webhosts issue rather than SMF but I could do with a few pointers to get me stsrted.

Cheers

I'll check this out on my site and see if it's related to Firefox or not. I just started using Firefox and haven't uploaded any packages since changing to it, but I'll give it a try.  Are you using a theme? If so, what theme, and I'll set up my test site with that theme to see what it does...
Title: Re: Having problems with the package manager?
Post by: Juggler on August 21, 2005, 04:26:06 PM
Thanks but I am beginning to lean towards hosts rather than SMF now as I've found an SQL database sitting on my account that isn't mine. They've just purchased a new server and moved accounts onto it this week and the package manager was working fine until this morning!

So it all seems to point to some sort of server issue, it's just dead weird that the ONLY link that doesn't work is Packages - I even managed to open the browse package link by inputting the exact path and voila, but I can't install any packages now as I can't open that first package page.

Grrrr....
Title: Re: Having problems with the package manager?
Post by: NOS ChromeNut on August 21, 2005, 10:32:05 PM
Quote from: Juggler on August 21, 2005, 04:26:06 PM
Thanks but I am beginning to lean towards hosts rather than SMF now as I've found an SQL database sitting on my account that isn't mine. They've just purchased a new server and moved accounts onto it this week and the package manager was working fine until this morning!

So it all seems to point to some sort of server issue, it's just dead weird that the ONLY link that doesn't work is Packages - I even managed to open the browse package link by inputting the exact path and voila, but I can't install any packages now as I can't open that first package page.

Grrrr....

Your host have you on a shared server?  That can happen sometimes, if they aren't paying good attention to the security and insuring that members don't cross over into each other's areas.
Title: Re: Having problems with the package manager?
Post by: URPG on August 22, 2005, 08:18:07 AM
Hi!

I'm getting a

2: fopen(): SAFE MODE Restriction in effect. The script whose uid is 665 is not allowed to access /var/www/web11/html/forum/Packages/temp/Lots_O_Smileys owned by uid 33
File: /var/www/web11/html/forum/Sources/Subs-Package.php
Line: 1476

when installing a mod (lots_o_smileys in this case).

I did set the Packages Folder and all the files / folders it contains to 777 what else can i do? What's this safemode thing?

Edit:
I did also upload the change ownership thing and run it with my ftp settings. it said it correctly did /html/forum/ (where smf is located) but no change in error message...
Title: Re: Having problems with the package manager?
Post by: bmwboy on August 22, 2005, 10:20:15 PM
Hmm...
I think safe mode is on..may affect that, here, make a new file, call it "phpinfo.php"
and in it put:
<?php
phpinfo();
?>
And link to it please.
Title: Re: Having problems with the package manager?
Post by: URPG on August 24, 2005, 02:58:25 AM
http://www.urpg.rpgserver.de/forum/phpinfo.php

There you go (a lot of info it seems)...

What to do?
Title: Re: Having problems with the package manager?
Post by: TANDIONO.COM on September 14, 2005, 06:15:15 PM
Im having problems with the package manager...

When i click on "package manager" it show "500 Internal Server Error"

any idea what i should do? thanks
Title: Re: Having problems with the package manager?
Post by: cyberstang5.0 on September 15, 2005, 10:07:43 AM
Quote from: cyberstang5.0 on August 17, 2005, 05:01:58 PM
Quote from: eldacar on August 16, 2005, 08:55:36 PM
I've found that to install packages with the SAFE MODE restriction, I need to put the correct ftp pass and path in, and then create the pacakges/temp folder and set it to 777 twice. once before installing a mod, and then again after it's come up with the list of files and "SUCCESS" for all of them (hopefully), before clicking [proceed]. And that works fine :)
I put the correct FTP info and changed the folder to 777 and it still doesn't work.  Is there anything else I can look at?  Can I turn safe-mode off?  If so, how do I do it?
Still not working... Any answers/help?  :'(
Title: Re: Having problems with the package manager?
Post by: cyberstang5.0 on September 16, 2005, 08:50:35 AM
Well, I figured out something...

I looked at the properties of the temp folder inside the Package folder and it shows the uid to be 99 while any other folder or file in the SMF folder is 32138.  If I delete the temp folder and recreate it, it still shows uid to be 99.  If I delete it and create the temp folder in another folder, then move it inside the Package folder it will show 32138.  But as soon as I click on "apply mod" in the package manager section, it changes it back to 99.  >:(

How can I permanently change it to 32138 instead of 99?
Title: Re: Having problems with the package manager?
Post by: Dannii on September 16, 2005, 09:38:28 AM
Well by its very nature its not permanent :p
However if you delete the folder and then recreate it and set its permissions all through ftp, it should be set to 32138, and the SAFE MODE problem should disappear. Well thats worked for me so far..
And yes it will change back to 99 (which is your php uid I expect) after you click apply mod. SMF will actually delete the temp folder and make another. you will again have to delete the one SMF/php made, and create your own and set it to 777.
Title: Re: Having problems with the package manager?
Post by: cyberstang5.0 on September 18, 2005, 10:08:18 PM
Quote from: eldacar on September 16, 2005, 09:38:28 AM
Well by its very nature its not permanent :p
However if you delete the folder and then recreate it and set its permissions all through ftp, it should be set to 32138, and the SAFE MODE problem should disappear. Well thats worked for me so far..
And yes it will change back to 99 (which is your php uid I expect) after you click apply mod. SMF will actually delete the temp folder and make another. you will again have to delete the one SMF/php made, and create your own and set it to 777.
So basically this means I can't use package manager?!  :'( >:(

After I delete the folder, and change the CHMOD setting to the correct setup,  SMF deletes the current folder and recreate the folder before it writes to it.  After it does that, it can't write to the folder it JUST created.  That's sounds pretty retarted IMO...
Title: ELDACAR'S METHOD TO GETTING AROUND THE SAFE MODE PROBLEM
Post by: Dannii on September 19, 2005, 03:46:05 AM
ELDACAR'S METHOD TO GETTING AROUND THE SAFE MODE PROBLEM.

FOLLOW EXACTLY


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.
Title: Re: Having problems with the package manager?
Post by: cyberstang5.0 on September 19, 2005, 11:52:25 AM
Quote from: eldacar on September 19, 2005, 03:46:05 AM
ELDACAR'S METHOD TO GETTING AROUND THE SAFE MODE PROBLEM.

FOLLOW EXACTLY

  • FTP: Create a 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]".

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.
8) I'll try it out when I get home.  Thanks for your help.  :D
Title: Re: Having problems with the package manager?
Post by: cyberstang5.0 on September 19, 2005, 10:30:51 PM
It works!  Thanks for your help....  :D

I have one more question.  When I install mods such as "SMFShop" and "SMF Arcade", it writes subdirectories inside the "temp" folder.  It is also using UID 99.  I tried doing the same trick to the subfolders as I did to the temp folder but it doesn't work.  Any trick / idea to solve this one?
Title: Re: Having problems with the package manager?
Post by: Dannii on September 19, 2005, 10:32:45 PM
Those are folders with files just to be copied, and not modification files? Just copy it normally through ftp from your computer after you've installed the mod.
Title: Re: Having problems with the package manager?
Post by: URPG on September 22, 2005, 01:09:04 PM
Will try it if 1.1. does not work... just upgraded and am experiencing some problems...
Title: Re: Having problems with the package manager?
Post by: Axiem on October 13, 2005, 05:23:21 PM
My issues seems to be quite different from everyone else's:

I don't have FTP access. I only have sFTP access. Therefore, all the nice tools that use FTP don't work.

Is there a convnient way I can get around this, or am I going to have to apply all mods by hand?
Title: Re: Having problems with the package manager?
Post by: Oldiesmann on October 13, 2005, 08:33:52 PM
Just chmod the appropriate files to 777 by hand. Whenever you want to install a mod and it asks for FTP access, take a look at the files it modifies and the folders that it adds stuff to, then chmod those things to 777. Also, either chmod the backup files to 777 (the backup files are the ones with a ~ on the end of them) or delete them before installing packages or you'll run into trouble there as well.
Title: Re: Having problems with the package manager?
Post by: Axiem on October 13, 2005, 11:47:04 PM
Ah, okay. That works! Thank you!
Title: Re: Having problems with the package manager?
Post by: Elmacik on October 14, 2005, 12:51:41 AM
Quote from: Oldiesmann
Also, either chmod the backup files to 777 (the backup files are the ones with a ~ on the end of them) or delete them before installing packages or you'll run into trouble there as well.

deleting them wont cause us to use the installed mods forever? :P
i mean, wont we face up uninstallation errors?
Title: Re: Having problems with the package manager?
Post by: Dannii on October 17, 2005, 11:28:21 PM
No because if the mods are working properlly, which they should be if it installed properly, then the uninstalls will work perfectly fine too. the backups are just incase it doesn't install properly.
Title: Re: Having problems with the package manager?
Post by: Elmacik on October 17, 2005, 11:33:37 PM
hmm ok i got it..
but in contrast of 1.1 beta 3, in 1.1 rc 1, there is a "backups" folder in /Packages
and it backups all the forum on any installation/unistallation. then what they are for if the .php~ files are for backup ?
Title: Re: Having problems with the package manager?
Post by: Dannii on October 17, 2005, 11:35:17 PM
redundancy i suppose. Just to make sure. I haven't used rc1 yet.
Title: Re: Having problems with the package manager?
Post by: Oldiesmann on October 18, 2005, 01:32:06 PM
The .php~ files are backup files created by the package manager, although I personally would prefer that it used the backups folder as well since people can access .php~ files directly and see all the code for SMF.
Title: Re: Having problems with the package manager?
Post by: gbox on October 18, 2005, 02:51:14 PM
2: fopen(): SAFE MODE Restriction in effect. The script whose uid is 626 is not allowed to access /home/iinstep/domains/mobile-center.hostake.biz/public_html/Packages/temp owned by uid 48
קבצים: /home/iinstep/domains/mobile-center.hostake.biz/public_html/Sources/Subs-Package.php
line: 1476

After uploading the package and press active
what to do thx
Title: Re: Having problems with the package manager?
Post by: JayBachatero on October 18, 2005, 03:08:09 PM
That means that your hosts has safe_mode enabled.  this will prevent you form isntalling a mod unless you manually install it.  In 1.1 you are able to install the mods with safe_mode on
Title: Re: Having problems with the package manager?
Post by: gbox on October 18, 2005, 03:15:15 PM
Quote from: JayBachatero on October 18, 2005, 03:08:09 PM
That means that your hosts has safe_mode enabled.  this will prevent you form isntalling a mod unless you manually install it.  In 1.1 you are able to install the mods with safe_mode on
How I disable safe mod
Title: Re: Having problems with the package manager?
Post by: JayBachatero on October 18, 2005, 03:17:20 PM
Quote from: gbox on October 18, 2005, 03:15:15 PM
Quote from: JayBachatero on October 18, 2005, 03:08:09 PM
That means that your hosts has safe_mode enabled.  this will prevent you form isntalling a mod unless you manually install it.  In 1.1 you are able to install the mods with safe_mode on
How I disable safe mod

Are you on a dedicated server?
Title: Re: Having problems with the package manager?
Post by: Dannii on October 19, 2005, 05:29:06 AM
ELDACAR'S METHOD TO GETTING AROUND THE SAFE MODE PROBLEM. (http://www.simplemachines.org/community/index.php?topic=28393.msg354086#msg354086)
Title: Re: Having problems with the package manager?
Post by: rider on October 28, 2005, 01:53:11 PM
The problems I've ran into recently are when I try to apply mods it keeps asking for my ftp info which I know is right and the other problem is when trying to connect to your server to d/l new mods I keep getting the cannot find page.Any ideas whats happening?Thanks to all that reply.
Title: Re: Having problems with the package manager?
Post by: Oldiesmann on November 03, 2005, 12:12:05 PM
Your host most likely has Safe Mode enabled. Because of this, whenever you try to browse a package server, it takes you to {url_of_server}/index.php?package-list, which doesn't always work. If it's asking for FTP info, and the information you're entering isn't working, make sure the path is correct. It should be something like public_html/forum (or var/www/forum if you've got Ensign).
Title: Re: Having problems with the package manager?
Post by: meadwench on November 16, 2005, 12:05:46 PM
I'm running RC1, and am getting a different problem with the package manager. When I click 'packages' from the admin menu, under 'Packages' it says "For the package manager to function properly, please upgrade to the latest version of SMF."

Since I've been upgrading right along, with no errors, I'm at a loss to figure out why the PM won't run. This has been going on since 1.04. I even removed the entire forum and installed a new version, no dice.

I'm on a Unix server, and my detailed version check shows:

SMF File   Your Version   Current Version
SMF Package   SMF 1.1 RC1   SMF 1.0.5
Sources   1.1 RC1   1.0.5
      
Admin.php   1.1 RC1   1.0.4
BoardIndex.php   1.1 RC1   1.00
Calendar.php   1.1 RC1   1.0.3
Display.php   1.1 RC1   1.0.1
DumpDatabase.php   1.1 RC1   1.00
Errors.php   1.1 RC1   1.0.2
Help.php   1.1 RC1   1.00
InstantMessage.php   1.0.2   1.0.2
Karma.php   1.1 RC1   1.00
Load.php   1.1 RC1   1.0.2
LockTopic.php   1.1 RC1   1.00
LogInOut.php   1.1 RC1   1.0.2
ManageAttachments.php   1.1 RC1   1.0.1
ManageBans.php   1.1 RC1   ??
ManageBoards.php   1.1 RC1   1.0.1
ManageCalendar.php   1.1 RC1   ??
ManageErrors.php   1.1 RC1   ??
ManageMembergroups.php   1.1 RC1   ??
ManageMembers.php   1.1 RC1   1.0.5
ManageNews.php   1.1 RC1   ??
ManagePermissions.php   1.1 RC1   1.00
ManagePosts.php   1.1 RC1   ??
ManageRegistration.php   1.1 RC1   ??
ManageSearch.php   1.1 RC1   ??
ManageSmileys.php   1.1 RC1   1.0.2
Memberlist.php   1.1 RC1   1.00
MessageIndex.php   1.1 RC1   1.00
ModSettings.php   1.1 RC1   1.0.1
Modlog.php   1.1 RC1   1.00
MoveTopic.php   1.1 RC1   1.0.1
MsgIcon.php   1.0 Beta 6   ??
News.php   1.1 RC1   1.0.3
Notify.php   1.1 RC1   1.00
PackageGet.php   1.1 RC1   1.0.1
Packages.php   1.1 RC1   1.0.1
PersonalMessage.php   1.1 RC1   ??
Poll.php   1.1 RC1   1.0.3
Post.php   1.1 RC1   1.0.5
Printpage.php   1.1 RC1   1.00
Profile.php   1.1 RC1   1.0.5
QueryString.php   1.1 RC1   1.00
Recent.php   1.1 RC1   1.0.2
Register.php   1.1 RC1   1.0.3
Reminder.php   1.1 RC1   1.00
RemoveTopic.php   1.1 RC1   1.0.1
RepairBoards.php   1.1 RC1   1.00
ReportToModerator.php   1.0 Beta 4 Public   ??
Reports.php   1.1 RC1   ??
SSI.php   1.1 RC1   1.0.3
Search.php   1.1 RC1   1.0.5
Security.php   1.1 RC1   1.0.2
SendTopic.php   1.1 RC1   1.00
SplitTopics.php   1.1 RC1   1.00
Stats.php   1.1 RC1   1.00
Subs-Auth.php   1.1 RC1   1.0.3
Subs-Boards.php   1.1 RC1   1.0.5
Subs-Compat.php   1.1 RC1   ??
Subs-Graphics.php   1.1 RC1   1.00
Subs-Members.php   1.1 RC1   ??
Subs-Package.php   1.1 RC1   1.0.3
Subs-Post.php   1.1 RC1   1.0.3
Subs.php   1.1 RC1   1.0.4
Themes.php   1.1 RC1   1.0.2
ViewQuery.php   1.1 RC1   1.00
Who.php   1.1 RC1   1.00
      
Default Templates   1.1 RC1   1.0.4
      
Admin.template.php   1.1 RC1   1.0.4
BoardIndex.template.php   1.1 RC1   1.0.1
Calendar.template.php   1.1 RC1   1.00
Display.template.php   1.1 RC1   1.0.3
Errors.template.php   1.1 RC1   1.00
Help.template.php   1.1 RC1   1.00
InstantMessage.template.php   1.00   1.00
Login.template.php   1.1 RC1   1.00
ManageAttachments.template.php   1.1 RC1   1.00
ManageBans.template.php   1.1 RC1   ??
ManageBoards.template.php   1.1 RC1   1.00
ManageCalendar.template.php   1.1 RC1   ??
ManageMembergroups.template.php   1.1 RC1   ??
ManageMembers.template.php   1.1 RC1   1.00
ManageNews.template.php   1.1 RC1   ??
ManagePermissions.template.php   1.1 RC1   1.00
ManageSearch.template.php   1.1 RC1   ??
ManageSmileys.template.php   1.1 RC1   1.00
Memberlist.template.php   1.1 RC1   1.00
MessageIndex.template.php   1.1 RC1   1.00
Modlog.template.php   1.1 RC1   1.00
MoveTopic.template.php   1.1 RC1   1.00
Notify.template.php   1.1 RC1   1.00
Packages.template.php   1.1 RC1   1.0.1
PersonalMessage.template.php   1.1 RC1   ??
Poll.template.php   1.1 RC1   1.0.3
Post.template.php   1.1 RC1   1.00
Printpage.template.php   1.1 RC1   1.00
Profile.template.php   1.1 RC1   1.0.4
Recent.template.php   1.1 RC1   1.0.1
Register.template.php   1.1 RC1   1.00
Reminder.template.php   1.1 RC1   1.00
ReportToModerator.template.php   1.0 Beta 4 Public   ??
Reports.template.php   1.1 RC1   ??
Search.template.php   1.1 RC1   1.00
SendTopic.template.php   1.1 RC1   1.00
Settings.template.php   1.1 RC1   1.00
SplitTopics.template.php   1.1 RC1   1.00
Stats.template.php   1.1 RC1   1.00
Themes.template.php   1.1 RC1   1.00
Who.template.php   1.1 RC1   1.00
Wireless.template.php   1.1 RC1   1.0.1
Xml.template.php   1.1 RC1   ??
index.template.php   1.1 RC1   1.00
      
Language Files   1.1 RC1   1.0.4
      
Admin.english.php   1.1 RC1   1.0.4
Errors.english.php   1.1 RC1   1.00
Help.english.php   1.1 RC1   1.00
Install.english.php   1.1 RC1   1.00
InstantMessage.english.php   1.00   1.00
Login.english.php   1.1 RC1   1.00
ManageBoards.english.php   1.1 RC1   1.00
ManageCalendar.english.php   1.1 RC1   ??
ManageMembers.english.php   1.1 RC1   1.00
ManagePermissions.english.php   1.1 RC1   1.00
ManageSmileys.english.php   1.1 RC1   1.00
ModSettings.english.php   1.1 RC1   1.00
Modifications.english.php   1.1 RC1   1.00
Packages.english.php   1.1 RC1   1.0.1
PersonalMessage.english.php   1.1 RC1   ??
Post.english.php   1.1 RC1   1.00
Profile.english.php   1.1 RC1   1.00
Reports.english.php   1.1 RC1   ??
Search.english.php   1.1 RC1   ??
Settings.english.php   1.1 RC1   1.00
Stats.english.php   1.1 RC1   1.00
Themes.english.php   1.1 RC1   1.00
Who.english.php   1.1 RC1   1.00
Wireless.english.php   1.1 RC1   1.00
index.english.php   1.1 RC1   1.0.1
      
Current Templates   1.0 RC2   1.0.4
      
Admin.template.php   1.0 RC2   1.0.4
BoardIndex.template.php   1.0 RC1   1.0.1
Calendar.template.php   1.0 RC2   1.00
Display.template.php   1.0 RC1   1.0.3
Errors.template.php   1.0 RC2   1.00
Help.template.php   1.0 RC2   1.00
InstantMessage.template.php   1.0 RC2   1.00
Login.template.php   1.0 RC2   1.00
ManageAttachments.template.php   1.0 RC2   1.00
ManageBoards.template.php   1.0 RC2   1.00
ManageMembers.template.php   1.0 RC2   1.00
ManagePermissions.template.php   1.0 RC2   1.00
ManageSmileys.template.php   1.0 RC2   1.00
Memberlist.template.php   1.0 RC2   1.00
MessageIndex.template.php   1.0 RC1   1.00
Modlog.template.php   1.0 RC2   1.00
MoveTopic.template.php   1.0 RC2   1.00
Notify.template.php   1.0 RC2   1.00
Packages.template.php   1.0 RC2   1.0.1
Poll.template.php   1.0 RC2   1.0.3
Post.template.php   1.0 RC1   1.00
Printpage.template.php   1.0 RC2   1.00
Profile.template.php   1.0 RC2   1.0.4
Recent.template.php   1.0 RC1   1.0.1
Register.template.php   1.0 RC2   1.00
Reminder.template.php   1.0 RC2   1.00
ReportToModerator.template.php   1.0 Beta 4 Public   ??
Search.template.php   1.0 RC1   1.00
SendTopic.template.php   1.0 RC2   1.00
Settings.template.php   1.0 RC2   1.00
SplitTopics.template.php   1.0 RC2   1.00
Stats.template.php   1.0 RC2   1.00
Themes.template.php   1.0 RC2   1.00
Who.template.php   1.0 RC2   1.00
Wireless.template.php   1.0 RC2   1.0.1
index.template.php   1.0 RC1   1.00
template.php   ??   ??



Anyone have any ideas?

Thanks,

Vicky Rowe
gotmead.com/smf
Title: Re: Having problems with the package manager?
Post by: rider on November 16, 2005, 12:26:57 PM
Quote from: Oldiesmann on November 03, 2005, 12:12:05 PM
Your host most likely has Safe Mode enabled. Because of this, whenever you try to browse a package server, it takes you to {url_of_server}/index.php?package-list, which doesn't always work. If it's asking for FTP info, and the information you're entering isn't working, make sure the path is correct. It should be something like public_html/forum (or var/www/forum if you've got Ensign).
safe mode is not otherwise I would get the safemode message.I think I have it working again but I still can't connect to the mod server.Do you if the url for the mod server has changed?
Title: Re: Having problems with the package manager?
Post by: JayBachatero on November 16, 2005, 02:55:57 PM
@meadwench - It seems like you didn't overwrite the files when you uploaded.  You have files from a whole bunch of different versions.  I suggest you download the 1.1 RC1 upgrade package and make sure you overwrite all the files.  I recommend filezilla for the FTP client.
http://filezilla.sf.net
Title: Re: Having problems with the package manager?
Post by: zandalea5 on November 18, 2005, 01:45:07 PM
I use  1.1 RC1 and was having this problem, did not see the temp directory in the package directory, I added this, chmod'd to 777 and now works fine


Title: Re: Having problems with the package manager?
Post by: rbrown3rd on November 20, 2005, 09:50:27 AM
I get this when I try to use the package manager.  I am running 1.05. 

2: call_user_func(Packages): First argument is expected to be a valid callback
File: /mounted-storage/home5/sub004/sc12824-RFHO/www/odg/forum/index.php
Line: 119

http://fs-odg.com/forum
Title: Re: Having problems with the package manager?
Post by: Oldiesmann on November 23, 2005, 05:29:52 PM
Re-upload Sources/Packages.php.
Title: Re: Having problems with the package manager?
Post by: Grundlegod on December 09, 2005, 06:18:21 PM
I cant get past the FTP Information Required on version 1.1 RC1.  Ive never had this problem before...
Title: Re: Having problems with the package manager?
Post by: Gwydion Frost on December 10, 2005, 02:31:14 PM
Wanna know what irks me off?

I've set every #&@* file in the "Package" folder to CHMOD 777.

The Package Manager still insists that I have a file or folder or SOMETHING that is NOT writable, even though I can open my FTP and confirm that YES, oh YES, they are.

Any particular reason for this?
Title: Re: Having problems with the package manager?
Post by: JayBachatero on December 10, 2005, 02:35:14 PM
You can try creating a folder called temp inside Packages and chmod it to 777.
Title: Re: Having problems with the package manager?
Post by: Gwydion Frost on December 10, 2005, 02:53:28 PM
Fatal error: packageinstall(): Failed opening required '/hsphere/local/home/gwydionf/gxiweb.net/devcom/Packages/temp/paidsubsdb.php' (include_path='.:/usr/local/lib/php') in /hsphere/local/home/gwydionf/gxiweb.net/devcom/Sources/Packages.php on line 534

Ok, that's interesting...now what?
Title: Re: Having problems with the package manager?
Post by: JayBachatero on December 10, 2005, 03:00:49 PM
Try installing another mod besides the paid subscriptions one to see if its mod issue or package manager issue.
Title: Re: Having problems with the package manager?
Post by: Gwydion Frost on December 10, 2005, 03:03:46 PM
Huh...that's interesting...

Apparently the problem solved itself. I just went back and in my frustration, tapped "install" once more...

Just like that, it worked...

Damn gremlins.
Title: Re: Having problems with the package manager?
Post by: JayBachatero on December 10, 2005, 03:17:07 PM
Glad to hear you got it working.
Title: Re: Having problems with the package manager?
Post by: gollum65 on December 10, 2005, 07:32:37 PM
Quote from: JayBachatero on December 10, 2005, 02:35:14 PM
You can try creating a folder called temp inside Packages and chmod it to 777.

That's what fixed it for me.
Title: Re: Having problems with the package manager?
Post by: Gwydion Frost on December 10, 2005, 10:17:03 PM
"You can try creating a folder called temp inside Packages and chmod it to 777."

So, what are the odds of SMF 1.1RC2 having the temp folder already in the Packages folder?
Title: Re: Having problems with the package manager?
Post by: Dannii on December 10, 2005, 10:36:40 PM
It's a temp folder, it's not supposed to be kept. So I doubt it's likely
Title: Re: Having problems with the package manager?
Post by: JayBachatero on December 11, 2005, 12:39:35 AM
Quote from: GwydionFrost on December 10, 2005, 10:17:03 PM
"You can try creating a folder called temp inside Packages and chmod it to 777."

So, what are the odds of SMF 1.1RC2 having the temp folder already in the Packages folder?

Like eldacar stated it's a temp folder.  The folder gets created automatically by when when applying a mod and deleted automatically after its completed.  The problem is that some hosts disallow the creation of directories and causes the issue of not being able to write/create folder.

-JayBachatero
Title: Re: Having problems with the package manager?
Post by: Gwydion Frost on December 11, 2005, 04:20:47 PM
Well, I can create directories all day long...

Sometimes it installs the mods correctly, sometimes I have to add the temp folder...

Go figure...
Title: Re: Having problems with the package manager?
Post by: Yuri on December 21, 2005, 10:05:04 AM
QuoteDatabase Error
Please try again. If you come back to this error screen, report the error to an administrator.

I've overwritten all (1.0.5 -> 1.1).... I don't know what happen?
Title: Re: Having problems with the package manager?
Post by: Blackstone on December 22, 2005, 10:14:48 PM
I'm trying to use the Package manager to install SMFShop, but whenever I run it, I get something like this at the bottom:

Quote68.     Execute Modification     ./index.php     Success
69.    Execute Modification    ./Sources/Post.php    Failure
70.    Execute Modification    ./Sources/Subs.php    Success
71.    Execute Modification    ./Sources/ManageBoards.php    Success
72.    Execute Modification    ./Sources/Subs-Boards.php    Failure
73.    Execute Modification    ./Themes/default/ManageBoards.template.php    Success
74.    Execute Modification    ./Themes/default/Display.template.php    Success
75.    Execute Modification    ./Themes/default/index.template.php    Success
76.    Execute Code    installScript.php    

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.

So I enter in my FTP info, and when I click proceed, it returns me to the exact same page, with no changes.

I'm stuck at what to do. :-\
Title: Re: Having problems with the package manager?
Post by: Dannii on December 22, 2005, 10:24:45 PM
Well you have a few failures as well, so you don't want to install. Which version of SMF is it, and what other mods do you have installed?
Title: Re: Having problems with the package manager?
Post by: Blackstone on December 22, 2005, 10:39:29 PM
I have no other mods installed, and my version is 1.0.5.
Title: Re: Having problems with the package manager?
Post by: Dannii on December 22, 2005, 10:43:46 PM
Are all your source files up to date?
Title: Re: Having problems with the package manager?
Post by: Blackstone on December 22, 2005, 10:51:19 PM
They should be. I just installed the forum.
Title: Re: Having problems with the package manager?
Post by: Dannii on December 22, 2005, 11:00:03 PM
I just noticed that there are two downloads for the shop mod, one for 1.0.5 and one for 1.1. You downloaded the correct one? If so I really don't know how to help, so I suggest posting in the topic for the shop mod.
Title: Re: Having problems with the package manager?
Post by: Blackstone on December 22, 2005, 11:13:21 PM
That was my problem. So that fixed the failures, but now when I enter my FTP info and hit proceed, it still returns to that same page, exactly the same.
Title: Re: Having problems with the package manager?
Post by: Gwydion Frost on December 24, 2005, 09:00:23 PM
Quote from: FireHeart on December 22, 2005, 10:14:48 PM
I'm trying to use the Package manager to install SMFShop, but whenever I run it, I get something like this at the bottom:

Quote68.     Execute Modification     ./index.php     Success
69.    Execute Modification    ./Sources/Post.php    Failure
70.    Execute Modification    ./Sources/Subs.php    Success
71.    Execute Modification    ./Sources/ManageBoards.php    Success
72.    Execute Modification    ./Sources/Subs-Boards.php    Failure
73.    Execute Modification    ./Themes/default/ManageBoards.template.php    Success
74.    Execute Modification    ./Themes/default/Display.template.php    Success
75.    Execute Modification    ./Themes/default/index.template.php    Success
76.    Execute Code    installScript.php    

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.

So I enter in my FTP info, and when I click proceed, it returns me to the exact same page, with no changes.

I'm stuck at what to do. :-\

Check the permissions of the subs-boards.php file and make sure it's CHMOD 777. Then it won't return the failure message, and it will install properly.
Title: Re: Having problems with the package manager?
Post by: Blackstone on December 25, 2005, 04:13:49 PM
Well, I've got it so it isn't returning any failures, but now it just gives me this:
QuoteInstalling this package will perform the following actions:
   Type    Action    Description
1.    Extract File    ./Sources/shop/items/AddToPostCount.php    
2.    Extract File    ./Sources/shop/items/ChangeDisplayName.php    
3.    Extract File    ./Sources/shop/items/ChangeOtherTitle.php    
4.    Extract File    ./Sources/shop/items/ChangeUsername.php    
5.    Extract File    ./Sources/shop/items/ChangeUserTitle.php    
6.    Extract File    ./Sources/shop/items/EmailAdmin.php    
7.    Extract File    ./Sources/shop/items/filedownload.php    
8.    Extract File    ./Sources/shop/items/IncreaseKarma.php    
9.    Extract File    ./Sources/shop/items/IncreaseTimeLoggedIn.php    
10.    Extract File    ./Sources/shop/items/RandomMoney.php    
11.    Extract File    ./Sources/shop/items/Rock.php    
12.    Extract File    ./Sources/shop/items/Steal.php    
13.    Extract File    ./Sources/shop/items/testitem.php    
14.    Extract File    ./Sources/shop/items/testitem2.php    
15.    Extract File    ./Sources/shop/items/ChangeOtherTitle.php    
16.    Extract File    ./Sources/shop/items/DecreasePost.php    
17.    Extract File    ./Sources/shop/item_images/Airplane.gif    
18.    Extract File    ./Sources/shop/item_images/Bear.gif    
19.    Extract File    ./Sources/shop/item_images/blank.gif    
20.    Extract File    ./Sources/shop/item_images/Boardarrow.gif    
21.    Extract File    ./Sources/shop/item_images/Breadandbutter.gif    
22.    Extract File    ./Sources/shop/item_images/Claspknife.gif    
23.    Extract File    ./Sources/shop/item_images/Clip.gif    
24.    Extract File    ./Sources/shop/item_images/Compactdiscs.gif    
25.    Extract File    ./Sources/shop/item_images/Controller.gif    
26.    Extract File    ./Sources/shop/item_images/Darkbeer.gif    
27.    Extract File    ./Sources/shop/item_images/Dousojin.gif    
28.    Extract File    ./Sources/shop/item_images/Dutchoven.gif    
29.    Extract File    ./Sources/shop/item_images/Dxtwoburner.gif    
30.    Extract File    ./Sources/shop/item_images/Figure.gif    
31.    Extract File    ./Sources/shop/item_images/Filefolder.gif    
32.    Extract File    ./Sources/shop/item_images/Fish.gif    
33.    Extract File    ./Sources/shop/item_images/Fishingtackle.gif    
34.    Extract File    ./Sources/shop/item_images/Flyingobject.gif    
35.    Extract File    ./Sources/shop/item_images/Gamepad.gif    
36.    Extract File    ./Sources/shop/item_images/Hamburger.gif    
37.    Extract File    ./Sources/shop/item_images/iBook.gif    
38.    Extract File    ./Sources/shop/item_images/Icecream.gif    
39.    Extract File    ./Sources/shop/item_images/IronDevil.gif    
40.    Extract File    ./Sources/shop/item_images/Kettle.gif    
41.    Extract File    ./Sources/shop/item_images/Lantern.gif    
42.    Extract File    ./Sources/shop/item_images/Lighterfluid.gif    
43.    Extract File    ./Sources/shop/item_images/Makecoffee.gif    
44.    Extract File    ./Sources/shop/item_images/Markers.gif    
45.    Extract File    ./Sources/shop/item_images/Moneys.gif    
46.    Extract File    ./Sources/shop/item_images/Peas.gif    
47.    Extract File    ./Sources/shop/item_images/Percolator.gif    
48.    Extract File    ./Sources/shop/item_images/Scotchtape.gif    
49.    Extract File    ./Sources/shop/item_images/Tent.gif    
50.    Extract File    ./Sources/shop/item_images/Titaniummug.gif    
51.    Extract File    ./Sources/shop/item_images/Tomatoes.gif    
52.    Extract File    ./Sources/shop/item_images/Toypiano.gif    
53.    Extract File    ./Sources/shop/item_images/Train.gif    
54.    Extract File    ./Sources/shop/item_images/Tree.gif    
55.    Extract File    ./Sources/shop/item_images/Truck.gif    
56.    Extract File    ./Sources/shop/item_images/Videocassettes.gif    
57.    Extract File    ./Sources/shop/item_images/Wheel.gif    
58.    Extract File    ./Sources/shop/item_images/Woodenpuzzle.gif    
59.    Extract File    ./Sources/shop/item_images/Woodentoy.gif    
60.    Extract File    ./Sources/shop/item_engine.php    
61.    Extract File    ./Sources/shop/ShopAdmin.php    
62.    Extract File    ./Sources/shop/Shop.php    
63.    Extract File    ./Sources/shop/dointerest.php    
64.    Extract File    Themes/default/images/english/shop.gif    
65.    Extract File    Themes/default/languages/Shop.english.php    
66.    Extract File    Themes/default/ShopAdmin.template.php    
67.    Extract File    Themes/default/Shop.template.php    
68.    Execute Modification    ./index.php    Success
69.    Execute Modification    ./Sources/Post.php    Success
70.    Execute Modification    ./Sources/Subs.php    Success
71.    Execute Modification    ./Sources/ManageBoards.php    Success
72.    Execute Modification    ./Themes/default/ManageBoards.template.php    Success
73.    Execute Modification    ./Themes/default/Display.template.php    Success
74.    Execute Modification    ./Themes/default/index.template.php    Success
75.    Execute Code    installScript.php    

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.

And when I enter my FTP info and hit proceed, it returns me to the same page, the mod not installed.
Title: Re: Having problems with the package manager?
Post by: Oldiesmann on December 26, 2005, 05:20:24 PM
When you enter your FTP info, make sure the path is correct.
Title: Re: Having problems with the package manager?
Post by: Blackstone on December 26, 2005, 06:29:08 PM
Okay, how would the path be entered?

Should it be when I log into the FTP, the name of the files I click on to get to the forum, seperated by a slash?
Title: Re: Having problems with the package manager?
Post by: Blackstone on December 26, 2005, 06:30:56 PM
Ugh, nevermind. I got it!

Thank you all for all your help!
Title: Re: Having problems with the package manager?
Post by: #1taz on January 02, 2006, 08:59:15 PM
Hi everyone...I'm getting this error when I try to install this MY SQL patch through the package manager:

2: copy(SSI.php~): failed to open stream: Permission denied
File: /home/compuhel/public_html/Sources/Subs-Package.php
Line: 1307

Also...for some odd reason I can't alter my chmod settings for my source/packages/temp directory or any files in it on my ftp...when I change the folder from 755 to 777 and try to delete it...it fails and switches right back to 755.

The same goes for it's contents...they fail  to delete and switch right back to 666.

I recently had a mod/theme conflict issue and my host and I re-installed SMF 1.05 overwriting all of my old files and deleted the old theme, and now I'm using the default theme.

Everything looks and works fine now..but my package manager doesn't seem to want to work.

I tried using the fix_ownership file - but it still isn't working and the same thing happens.

And my source folder is set to 777..so I'm stuck.

I am a novice at this, so I have no clue what that error means...so speak slowly please and use small words....there is now a dumb person in the room...lol

Thanks!
Title: Re: Having problems with the package manager?
Post by: xenovanis on January 02, 2006, 09:56:25 PM
Delete SSI.php~ and try again.
Title: Re: Having problems with the package manager?
Post by: #1taz on January 03, 2006, 03:10:35 AM
Fixed it...my chmod on my Subs-Package.php was set wrong...once I changed it to 777....everything went fine.

Thanks for everything everyone.

Oh and BTW....SSI.php~ wasn't even there to delete.

How's that for wierd?
Title: Re: Having problems with the package manager?
Post by: JayBachatero on January 03, 2006, 01:26:30 PM
The problem it was having was creating the backup of SSI.php.  There is an option in the Package Manager that disables creating a backup of the original files.  If you experience that again you can try disabling that and see if it works correctly.

-JayBachatero
Title: Re: Having problems with the package manager?
Post by: Fusion on January 21, 2006, 07:48:47 PM
Using SMF 1.5, I keep getting 'Failure' when it tries to update the files, though I have '777' CHMOD for them, whats the deal?
Title: Re: Having problems with the package manager?
Post by: JayBachatero on January 21, 2006, 08:17:20 PM
Failure means that the mod couldn't find the line it was looking for.  The mod you are installing might be incompatible with 1.0.5

-JayBachatero
Title: Re: Having problems with the package manager?
Post by: bugsmi0 on January 28, 2006, 09:21:19 PM
all the fix_ownership.php seems to do is take you to a screen to fill out FTP info,

on local host it won't work because localhost FTP is usually nonexistant
Title: Re: Having problems with the package manager?
Post by: forsakenlad on January 29, 2006, 06:23:49 AM
If it doesn't work when you fill out your FTP info, you might want to try entering the real address of your site in the box. This has seemed to work for some users who can't seem to connect to the FTP server ;)
Title: Re: Having problems with the package manager?
Post by: Stealthusa on February 10, 2006, 06:39:43 PM
hello when i go to the package manager and the click on install i get this message even with the ones that say works with my version

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

i am running smf_1-1-rc2_install
Title: Re: Having problems with the package manager?
Post by: JayBachatero on February 10, 2006, 10:25:03 PM
That means that the package has an install for tag in the package-info.xml file that will only let you install it on specific versions.  Check if the mod is compatible with 1.1 RC2.
Title: Re: Having problems with the package manager?
Post by: Stealthusa on February 10, 2006, 11:04:34 PM
yes the mod is

it does it with every mod or anything
Title: Re: Having problems with the package manager?
Post by: JayBachatero on February 10, 2006, 11:14:06 PM
What mod's are you tryng to install?
Title: Re: Having problems with the package manager?
Post by: Stealthusa on February 11, 2006, 12:19:31 AM
what i mean even if i browes the mods it still comes up with the saything. here is one of the mods.

Merge Double Posts By Same Member
Title: Re: Having problems with the package manager?
Post by: aussieholden on February 11, 2006, 05:39:02 AM
I just picked up this problem on my board as well.

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

Yes the packages are RC2 compatible and it's doing it on all packs.

Also at the same time our avatars no longer display on our post's.
Title: Re: Having problems with the package manager?
Post by: ronmerk on February 11, 2006, 10:52:52 AM
I also get this error:

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

I'm running SMF verison 1.06

Is there a way of manually installing mods??

Ron
Title: Re: Having problems with the package manager?
Post by: Stealthusa on February 12, 2006, 12:05:51 AM
does anyone know what is going on with this now yes i also see that my avatars are not showing anymore either
Title: Re: Having problems with the package manager?
Post by: JayBachatero on February 13, 2006, 05:16:43 PM
Can you please post a link to your phpinfo.php file?
What is phpinfo.php? (http://www.simplemachines.org/community/index.php?topic=18250.0)
Title: Re: Having problems with the package manager?
Post by: Dire_Wolf on February 23, 2006, 12:46:15 PM
 For some reason the package manager is trying to log in as anonymous even when I manual input the info in its popup ftp window thing. This started after I installed BBC edit tags, Group Moderators, and Integrated Chat, then I uninstalled Integrated chat because I didn't like it and was going to try the other chat mod I saw. It hung for a long time after then uninstall of Integrated Chat. After that I tried to install the Enhanced post Template and it said I didn't have permission to access the directory so then I went to the maintenance menu and ran the check and repair files thing, it repaired a few files, after that it acted like it was installing packages but it wasn't so I replaced all the source files. Same thing was happening. Then I ran the repair_settings.php and it started popping up with the FTP login popup thing. I put in all the info correctly and it kept telling me I was not allowed access to that directory. I then talked to my web host service and they said it was trying to log in as anonymous. We have worked around it by giving access to the directory to anonymous but this causes security issues. I am running SMF 1.1 RC2 and my web host is a virtual dedicated server running win2003 server I have set up another forum on another site and duplicated the process that caused it and it did not do it to that one so I think this is just a fluke. I also noticed that under permissions, administrator in the permissions column it now says "1" instead of "all".  Does anyone know how to fix this?
Title: Re: Having problems with the package manager? on RC2
Post by: fugiFox on March 03, 2006, 11:24:52 AM
I can't install any mod in RC2.
I get the following error
You cannot download or install new packages because the Packages directory or one of the files in it are not writable!

although Packages folder and everything inside is under CHMOD 777

Any ideas?
Title: Re: Having problems with the package manager?
Post by: JayBachatero on March 03, 2006, 04:53:21 PM
CHMOD all the theme and Source files.  CHMOD it to 777 if it doesn't work try 755.
Title: Re: Having problems with the package manager?
Post by: fugiFox on March 04, 2006, 06:17:13 AM
I set all directories and files to 777 and nothing again.
Why 755, 755 is less privilleges than 777 am I wrong?
Title: Re: Having problems with the package manager?
Post by: -X-ChiliSaus on March 04, 2006, 06:24:21 AM
No fugi, you are right.

I have the same problem as fugi. Everything is 777, and have tested on 755 too.
Title: Re: Having problems with the package manager?
Post by: fugiFox on March 04, 2006, 09:46:06 AM
Quote from: -X-ChiliSaus on March 04, 2006, 06:24:21 AM
No fugi, you are right.

I have the same problem as fugi. Everything is 777, and have tested on 755 too.

Do you have TP or any other mod installed?
Have you upgrade from rc1 or do u have a clean install?
Title: Re: Having problems with the package manager?
Post by: -X-ChiliSaus on March 04, 2006, 10:12:01 AM
I have no mods installed, as I the package things won't work...

I just had a clean install (RC2).
Title: Re: Having problems with the package manager?
Post by: pjr on March 04, 2006, 10:17:50 AM
I am experiancing the same problems. The process is failing in the FTP interface. The following is my log file I am running linux and VSFTP. Note the lack of parameters to the ftp commands all files have been chmoded to 777.

Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP response: Client "127.0.0.1", "227 Entering Passive Mode (127,0,0,1,102,189)"
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP command: Client "127.0.0.1", "STOR"
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP response: Client "127.0.0.1", "553 Could not create file."
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FAIL UPLOAD: Client "127.0.0.1", "/root/", 0.00Kbyte/sec
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP command: Client "127.0.0.1", "SITE CHMOD 755 ."
Sat Mar  4 09:58:46 2006 [pid 10827] [root] OK CHMOD: Client "127.0.0.1", "/root/. 755"
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP response: Client "127.0.0.1", "200 SITE CHMOD command ok."
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP command: Client "127.0.0.1", "SITE CHMOD 777 ."
Sat Mar  4 09:58:46 2006 [pid 10827] [root] OK CHMOD: Client "127.0.0.1", "/root/. 777"
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP response: Client "127.0.0.1", "200 SITE CHMOD command ok."
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP command: Client "127.0.0.1", "MKD"
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP response: Client "127.0.0.1", "550 Create directory operation failed."
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FAIL MKDIR: Client "127.0.0.1", "/root/"
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP command: Client "127.0.0.1", "PASV"
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP response: Client "127.0.0.1", "227 Entering Passive Mode (127,0,0,1,162,82)"
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP command: Client "127.0.0.1", "STOR"
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP response: Client "127.0.0.1", "553 Could not create file."
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FAIL UPLOAD: Client "127.0.0.1", "/root/", 0.00Kbyte/sec
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP command: Client "127.0.0.1", "SITE CHMOD 755 ."
Sat Mar  4 09:58:46 2006 [pid 10827] [root] OK CHMOD: Client "127.0.0.1", "/root/. 755"
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP response: Client "127.0.0.1", "200 SITE CHMOD command ok."
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP command: Client "127.0.0.1", "SITE CHMOD 777 ."
Sat Mar  4 09:58:46 2006 [pid 10827] [root] OK CHMOD: Client "127.0.0.1", "/root/. 777"
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP response: Client "127.0.0.1", "200 SITE CHMOD command ok."
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP command: Client "127.0.0.1", "MKD"
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP response: Client "127.0.0.1", "550 Create directory operation failed."
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FAIL MKDIR: Client "127.0.0.1", "/root/"
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP command: Client "127.0.0.1", "PASV"
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP response: Client "127.0.0.1", "227 Entering Passive Mode (127,0,0,1,79,71)"
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP command: Client "127.0.0.1", "STOR"
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP response: Client "127.0.0.1", "553 Could not create file."
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FAIL UPLOAD: Client "127.0.0.1", "/root/", 0.00Kbyte/sec
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP command: Client "127.0.0.1", "SITE CHMOD 755 ."
Sat Mar  4 09:58:46 2006 [pid 10827] [root] OK CHMOD: Client "127.0.0.1", "/root/. 755"
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP response: Client "127.0.0.1", "200 SITE CHMOD command ok."
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP command: Client "127.0.0.1", "SITE CHMOD 777 ."
Sat Mar  4 09:58:46 2006 [pid 10827] [root] OK CHMOD: Client "127.0.0.1", "/root/. 777"
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP response: Client "127.0.0.1", "200 SITE CHMOD command ok."
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP command: Client "127.0.0.1", "MKD"
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP response: Client "127.0.0.1", "550 Create directory operation failed."
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FAIL MKDIR: Client "127.0.0.1", "/root/"
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP command: Client "127.0.0.1", "PASV"
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP response: Client "127.0.0.1", "227 Entering Passive Mode (127,0,0,1,192,248)"
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP command: Client "127.0.0.1", "STOR"
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP response: Client "127.0.0.1", "553 Could not create file."
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FAIL UPLOAD: Client "127.0.0.1", "/root/", 0.00Kbyte/sec
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP command: Client "127.0.0.1", "SITE CHMOD 755 ."
Sat Mar  4 09:58:46 2006 [pid 10827] [root] OK CHMOD: Client "127.0.0.1", "/root/. 755"
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP response: Client "127.0.0.1", "200 SITE CHMOD command ok."
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP command: Client "127.0.0.1", "SITE CHMOD 777 ."
Sat Mar  4 09:58:46 2006 [pid 10827] [root] OK CHMOD: Client "127.0.0.1", "/root/. 777"
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP response: Client "127.0.0.1", "200 SITE CHMOD command ok."
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP command: Client "127.0.0.1", "MKD"
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP response: Client "127.0.0.1", "550 Create directory operation failed."
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FAIL MKDIR: Client "127.0.0.1", "/root/"
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP command: Client "127.0.0.1", "PASV"
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP response: Client "127.0.0.1", "227 Entering Passive Mode (127,0,0,1,133,231)"
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP command: Client "127.0.0.1", "STOR"
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP response: Client "127.0.0.1", "553 Could not create file."
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FAIL UPLOAD: Client "127.0.0.1", "/root/", 0.00Kbyte/sec
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP command: Client "127.0.0.1", "SITE CHMOD 755 ."
Sat Mar  4 09:58:46 2006 [pid 10827] [root] OK CHMOD: Client "127.0.0.1", "/root/. 755"
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP response: Client "127.0.0.1", "200 SITE CHMOD command ok."
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP command: Client "127.0.0.1", "SITE CHMOD 777 ."
Sat Mar  4 09:58:46 2006 [pid 10827] [root] OK CHMOD: Client "127.0.0.1", "/root/. 777"
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP response: Client "127.0.0.1", "200 SITE CHMOD command ok."
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP command: Client "127.0.0.1", "MKD"
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP response: Client "127.0.0.1", "550 Create directory operation failed."
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FAIL MKDIR: Client "127.0.0.1", "/root/"
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP command: Client "127.0.0.1", "PASV"
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP response: Client "127.0.0.1", "227 Entering Passive Mode (127,0,0,1,168,245)"
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP command: Client "127.0.0.1", "STOR"
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP response: Client "127.0.0.1", "553 Could not create file."
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FAIL UPLOAD: Client "127.0.0.1", "/root/", 0.00Kbyte/sec
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP command: Client "127.0.0.1", "SITE CHMOD 755 ."
Sat Mar  4 09:58:46 2006 [pid 10827] [root] OK CHMOD: Client "127.0.0.1", "/root/. 755"
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP response: Client "127.0.0.1", "200 SITE CHMOD command ok."
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP command: Client "127.0.0.1", "SITE CHMOD 777 ."
Sat Mar  4 09:58:46 2006 [pid 10827] [root] OK CHMOD: Client "127.0.0.1", "/root/. 777"
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP response: Client "127.0.0.1", "200 SITE CHMOD command ok."
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP command: Client "127.0.0.1", "MKD"
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP response: Client "127.0.0.1", "550 Create directory operation failed."
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FAIL MKDIR: Client "127.0.0.1", "/root/"
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP command: Client "127.0.0.1", "PASV"
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP response: Client "127.0.0.1", "227 Entering Passive Mode (127,0,0,1,134,172)"
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP command: Client "127.0.0.1", "STOR"
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP response: Client "127.0.0.1", "553 Could not create file."
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FAIL UPLOAD: Client "127.0.0.1", "/root/", 0.00Kbyte/sec
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP command: Client "127.0.0.1", "SITE CHMOD 755 ."
Sat Mar  4 09:58:46 2006 [pid 10827] [root] OK CHMOD: Client "127.0.0.1", "/root/. 755"
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP response: Client "127.0.0.1", "200 SITE CHMOD command ok."
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP command: Client "127.0.0.1", "SITE CHMOD 777 ."
Sat Mar  4 09:58:46 2006 [pid 10827] [root] OK CHMOD: Client "127.0.0.1", "/root/. 777"
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP response: Client "127.0.0.1", "200 SITE CHMOD command ok."
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP command: Client "127.0.0.1", "MKD"
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP response: Client "127.0.0.1", "550 Create directory operation failed."
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FAIL MKDIR: Client "127.0.0.1", "/root/"
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP command: Client "127.0.0.1", "MKD"
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP response: Client "127.0.0.1", "550 Create directory operation failed."
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FAIL MKDIR: Client "127.0.0.1", "/root/"
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP command: Client "127.0.0.1", "PASV"
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP response: Client "127.0.0.1", "227 Entering Passive Mode (127,0,0,1,206,167)"
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP command: Client "127.0.0.1", "STOR"
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP response: Client "127.0.0.1", "553 Could not create file."
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FAIL UPLOAD: Client "127.0.0.1", "/root/", 0.00Kbyte/sec
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP command: Client "127.0.0.1", "SITE CHMOD 755 ."
Sat Mar  4 09:58:46 2006 [pid 10827] [root] OK CHMOD: Client "127.0.0.1", "/root/. 755"
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP response: Client "127.0.0.1", "200 SITE CHMOD command ok."
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP command: Client "127.0.0.1", "SITE CHMOD 777 ."
Sat Mar  4 09:58:46 2006 [pid 10827] [root] OK CHMOD: Client "127.0.0.1", "/root/. 777"
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP response: Client "127.0.0.1", "200 SITE CHMOD command ok."
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP command: Client "127.0.0.1", "MKD"
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP response: Client "127.0.0.1", "550 Create directory operation failed."
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FAIL MKDIR: Client "127.0.0.1", "/root/"
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP command: Client "127.0.0.1", "PASV"
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP response: Client "127.0.0.1", "227 Entering Passive Mode (127,0,0,1,250,85)"
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP command: Client "127.0.0.1", "STOR"
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP response: Client "127.0.0.1", "553 Could not create file."
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FAIL UPLOAD: Client "127.0.0.1", "/root/", 0.00Kbyte/sec
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP command: Client "127.0.0.1", "SITE CHMOD 755 ."
Sat Mar  4 09:58:46 2006 [pid 10827] [root] OK CHMOD: Client "127.0.0.1", "/root/. 755"
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP response: Client "127.0.0.1", "200 SITE CHMOD command ok."
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP command: Client "127.0.0.1", "SITE CHMOD 777 ."
Sat Mar  4 09:58:46 2006 [pid 10827] [root] OK CHMOD: Client "127.0.0.1", "/root/. 777"
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP response: Client "127.0.0.1", "200 SITE CHMOD command ok."
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP command: Client "127.0.0.1", "MKD"
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP response: Client "127.0.0.1", "550 Create directory operation failed."
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FAIL MKDIR: Client "127.0.0.1", "/root/"
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP command: Client "127.0.0.1", "PASV"
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP response: Client "127.0.0.1", "227 Entering Passive Mode (127,0,0,1,129,23)"
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP command: Client "127.0.0.1", "STOR"
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP response: Client "127.0.0.1", "553 Could not create file."
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FAIL UPLOAD: Client "127.0.0.1", "/root/", 0.00Kbyte/sec
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP command: Client "127.0.0.1", "SITE CHMOD 755 ."
Sat Mar  4 09:58:46 2006 [pid 10827] [root] OK CHMOD: Client "127.0.0.1", "/root/. 755"
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP response: Client "127.0.0.1", "200 SITE CHMOD command ok."
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP command: Client "127.0.0.1", "SITE CHMOD 777 ."
Sat Mar  4 09:58:46 2006 [pid 10827] [root] OK CHMOD: Client "127.0.0.1", "/root/. 777"
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP response: Client "127.0.0.1", "200 SITE CHMOD command ok."
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP command: Client "127.0.0.1", "PASV"
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP response: Client "127.0.0.1", "227 Entering Passive Mode (127,0,0,1,238,117)"
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP command: Client "127.0.0.1", "STOR"
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP response: Client "127.0.0.1", "553 Could not create file."
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FAIL UPLOAD: Client "127.0.0.1", "/root/", 0.00Kbyte/sec
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP command: Client "127.0.0.1", "SITE CHMOD 755 ."
Sat Mar  4 09:58:46 2006 [pid 10827] [root] OK CHMOD: Client "127.0.0.1", "/root/. 755"
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP response: Client "127.0.0.1", "200 SITE CHMOD command ok."
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP command: Client "127.0.0.1", "SITE CHMOD 777 ."
Sat Mar  4 09:58:46 2006 [pid 10827] [root] OK CHMOD: Client "127.0.0.1", "/root/. 777"
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP response: Client "127.0.0.1", "200 SITE CHMOD command ok."
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP command: Client "127.0.0.1", "SITE CHMOD 755 ."
Sat Mar  4 09:58:46 2006 [pid 10827] [root] OK CHMOD: Client "127.0.0.1", "/root/. 755"
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP response: Client "127.0.0.1", "200 SITE CHMOD command ok."
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP command: Client "127.0.0.1", "SITE CHMOD 777 ."
Sat Mar  4 09:58:46 2006 [pid 10827] [root] OK CHMOD: Client "127.0.0.1", "/root/. 777"
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP response: Client "127.0.0.1", "200 SITE CHMOD command ok."
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP command: Client "127.0.0.1", "SITE CHMOD 755 ."
Sat Mar  4 09:58:46 2006 [pid 10827] [root] OK CHMOD: Client "127.0.0.1", "/root/. 755"
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP response: Client "127.0.0.1", "200 SITE CHMOD command ok."
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP command: Client "127.0.0.1", "SITE CHMOD 777 ."
Sat Mar  4 09:58:46 2006 [pid 10827] [root] OK CHMOD: Client "127.0.0.1", "/root/. 777"
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP response: Client "127.0.0.1", "200 SITE CHMOD command ok."
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP command: Client "127.0.0.1", "DELE"
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP response: Client "127.0.0.1", "550 Delete operation failed."
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FAIL DELETE: Client "127.0.0.1", "/root/"
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP command: Client "127.0.0.1", "RMD"
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP response: Client "127.0.0.1", "550 Remove directory operation failed."
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FAIL RMDIR: Client "127.0.0.1", "/root/"
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP command: Client "127.0.0.1", "DELE"
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP response: Client "127.0.0.1", "550 Delete operation failed."
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FAIL DELETE: Client "127.0.0.1", "/root/"
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP command: Client "127.0.0.1", "RMD"
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP response: Client "127.0.0.1", "550 Remove directory operation failed."
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FAIL RMDIR: Client "127.0.0.1", "/root/"
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP command: Client "127.0.0.1", "DELE"
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP response: Client "127.0.0.1", "550 Delete operation failed."
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FAIL DELETE: Client "127.0.0.1", "/root/"
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP command: Client "127.0.0.1", "RMD"
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP response: Client "127.0.0.1", "550 Remove directory operation failed."
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FAIL RMDIR: Client "127.0.0.1", "/root/"
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP command: Client "127.0.0.1", "DELE"
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP response: Client "127.0.0.1", "550 Delete operation failed."
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FAIL DELETE: Client "127.0.0.1", "/root/"
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP command: Client "127.0.0.1", "RMD"
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP response: Client "127.0.0.1", "550 Remove directory operation failed."
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FAIL RMDIR: Client "127.0.0.1", "/root/"
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP command: Client "127.0.0.1", "DELE"
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP response: Client "127.0.0.1", "550 Delete operation failed."
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FAIL DELETE: Client "127.0.0.1", "/root/"
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP command: Client "127.0.0.1", "RMD"
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP response: Client "127.0.0.1", "550 Remove directory operation failed."
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FAIL RMDIR: Client "127.0.0.1", "/root/"
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP command: Client "127.0.0.1", "DELE"
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP response: Client "127.0.0.1", "550 Delete operation failed."
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FAIL DELETE: Client "127.0.0.1", "/root/"
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP command: Client "127.0.0.1", "RMD"
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP response: Client "127.0.0.1", "550 Remove directory operation failed."
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FAIL RMDIR: Client "127.0.0.1", "/root/"
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP command: Client "127.0.0.1", "DELE"
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP response: Client "127.0.0.1", "550 Delete operation failed."
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FAIL DELETE: Client "127.0.0.1", "/root/"
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP command: Client "127.0.0.1", "RMD"
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP response: Client "127.0.0.1", "550 Remove directory operation failed."
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FAIL RMDIR: Client "127.0.0.1", "/root/"
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP command: Client "127.0.0.1", "DELE"
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP response: Client "127.0.0.1", "550 Delete operation failed."
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FAIL DELETE: Client "127.0.0.1", "/root/"
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP command: Client "127.0.0.1", "RMD"
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP response: Client "127.0.0.1", "550 Remove directory operation failed."
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FAIL RMDIR: Client "127.0.0.1", "/root/"
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP command: Client "127.0.0.1", "DELE"
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP response: Client "127.0.0.1", "550 Delete operation failed."
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FAIL DELETE: Client "127.0.0.1", "/root/"
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP command: Client "127.0.0.1", "RMD"
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP response: Client "127.0.0.1", "550 Remove directory operation failed."
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FAIL RMDIR: Client "127.0.0.1", "/root/"
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP command: Client "127.0.0.1", "DELE"
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP response: Client "127.0.0.1", "550 Delete operation failed."
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FAIL DELETE: Client "127.0.0.1", "/root/"
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP command: Client "127.0.0.1", "RMD"
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP response: Client "127.0.0.1", "550 Remove directory operation failed."
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FAIL RMDIR: Client "127.0.0.1", "/root/"
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP command: Client "127.0.0.1", "DELE"
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP response: Client "127.0.0.1", "550 Delete operation failed."
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FAIL DELETE: Client "127.0.0.1", "/root/"
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP command: Client "127.0.0.1", "RMD"
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP response: Client "127.0.0.1", "550 Remove directory operation failed."
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FAIL RMDIR: Client "127.0.0.1", "/root/"
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP command: Client "127.0.0.1", "DELE"
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP response: Client "127.0.0.1", "550 Delete operation failed."
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FAIL DELETE: Client "127.0.0.1", "/root/"
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP command: Client "127.0.0.1", "RMD"
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP response: Client "127.0.0.1", "550 Remove directory operation failed."
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FAIL RMDIR: Client "127.0.0.1", "/root/"
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP command: Client "127.0.0.1", "DELE"
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP response: Client "127.0.0.1", "550 Delete operation failed."
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FAIL DELETE: Client "127.0.0.1", "/root/"
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP command: Client "127.0.0.1", "RMD"
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP response: Client "127.0.0.1", "550 Remove directory operation failed."
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FAIL RMDIR: Client "127.0.0.1", "/root/"
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP command: Client "127.0.0.1", "DELE"
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP response: Client "127.0.0.1", "550 Delete operation failed."
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FAIL DELETE: Client "127.0.0.1", "/root/"
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP command: Client "127.0.0.1", "RMD"
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP response: Client "127.0.0.1", "550 Remove directory operation failed."
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FAIL RMDIR: Client "127.0.0.1", "/root/"
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP command: Client "127.0.0.1", "DELE"
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP response: Client "127.0.0.1", "550 Delete operation failed."
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FAIL DELETE: Client "127.0.0.1", "/root/"
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP command: Client "127.0.0.1", "RMD"
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP response: Client "127.0.0.1", "550 Remove directory operation failed."
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FAIL RMDIR: Client "127.0.0.1", "/root/"
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP command: Client "127.0.0.1", "DELE"
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP response: Client "127.0.0.1", "550 Delete operation failed."
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FAIL DELETE: Client "127.0.0.1", "/root/"
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP command: Client "127.0.0.1", "RMD"
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FTP response: Client "127.0.0.1", "550 Remove directory operation failed."
Sat Mar  4 09:58:46 2006 [pid 10827] [root] FAIL RMDIR: Client "127.0.0.1", "/root/"
Title: Re: Having problems with the package manager?
Post by: fugiFox on March 04, 2006, 06:37:39 PM
I'm guessing that RC2 has a serious problem with package manager

Loo also this one
http://www.simplemachines.org/community/index.php?topic=21029.msg502981#msg502981
Title: Re: Having problems with the package manager?
Post by: pjr on March 05, 2006, 02:00:25 PM
Ok found the source of the my problem.

the session.save_path directive must be set to a valid directory.

and it wasnt.
Title: Re: Having problems with the package manager?
Post by: fugiFox on March 06, 2006, 02:23:27 PM
Quote from: pjr on March 05, 2006, 02:00:25 PM

the session.save_path directive must be set to a valid directory.


Could you elaborate on this plz?
Title: Re: Having problems with the package manager?
Post by: pjr on March 10, 2006, 10:43:15 AM
It is a parameter in your PHP.ini file. You can check it's value with a call to phpinfo()
if it isnt set it causes all the problems I was having.

it was listed on the system requirments page. put I missed it
http://www.simplemachines.org/download/requirements.php
Title: Re: Having problems with the package manager?
Post by: Mr. Ksoft on March 11, 2006, 10:29:47 AM
I'm trying to install a mod into my SMF 1.1 RC2, and it just sits there after I click the "Apply Mod" button.  I checked the error log and it's logged down PAGES of the same error, occuring every five seconds...

Quote8: fwrite() [<a href='function.fwrite'>function.fwrite</a>]: send of 42 bytes failed with errno=32 Broken pipe
File: /host/ksoftgames.digibase.ca/htdocs/ksg/forums/Sources/Subs-Package.php
Line: 3081

What's the "broken pipe"?  I thought it might be a write error, so I tried CHMODding the Subs-Package.php to 777, but it didn't help.
Title: Re: Having problems with the package manager?
Post by: fugiFox on March 12, 2006, 06:21:46 AM
Have you TP installed?
Title: Re: Having problems with the package manager?
Post by: Mr. Ksoft on March 12, 2006, 07:24:16 AM
TP installed?  What's that?   I know I'm probably being stupid, but I can't think what it is.

EDIT:  Oh, you're asking if I have TinyPortal installed, right?  I don't, I have MKPortal.
Title: Re: Having problems with the package manager?
Post by: fugiFox on March 13, 2006, 09:51:42 AM
Quote from: Mr. Ksoft on March 12, 2006, 07:24:16 AM
TP installed?  What's that?   I know I'm probably being stupid, but I can't think what it is.

EDIT:  Oh, you're asking if I have TinyPortal installed, right?  I don't, I have MKPortal.

Maybe u should check then if MKP doesn't change the relative with the package manager files
Title: Re: Having problems with the package manager?
Post by: Mr. Ksoft on March 14, 2006, 06:35:24 AM
I wouldn't think it messes with anything, because it's a portal made to work with a whole bunch of forums.  AFAIK, the only thing it does is add its own tables to the MySQL database.  But I don't see what's wrong... would overwriting Subs-Package.php with one from a clean install help?
Title: Re: Having problems with the package manager?
Post by: fugiFox on March 14, 2006, 08:47:28 AM
Try it.
Backup your existing Sub-packages and replace it with the one of the installation file.
Title: Re: Having problems with the package manager?
Post by: Djclean on March 15, 2006, 10:41:45 AM
Hello all,
@first sry4my bad englsh, i´ll try my best ;)

First, what i did:

-Going 2 Package Manager
-View "latest packages"
-Try to install any of them(tried 25 up2now)

The message i alway get after hittin the install button is:
QuoteAn Error Has Occurred!
The package you are trying to download or install is either corrupt or not compatible with this version of SMF.

I tried this in "aktive mode" + in "safe mode" the result is the same

Im am Using:
Version=SMF 1.0.6(fresh installation)
Host=funpic(www.funpic.de, 100%compatible)

CMOD of the Package Folder iss 777

4now, i don´t know, what 2 do

PLZ Help :-[


Title: Re: Having problems with the package manager?
Post by: JayBachatero on March 15, 2006, 11:57:57 AM
Please make sure that the package that you are trying to install is compatible with 1.0.6 and not 1.1 RC2.
Title: Re: Having problems with the package manager?
Post by: Djclean on March 15, 2006, 12:11:48 PM
This is a Quote of the description of the Googlebot
QuoteLatest packages
Googlebot & Spiders 1.0.5
Install Now!
Link to Mod

This Mod allows to see on Boardindex & SSI, when the spiders are crawling the forum.

Multiple options can be set, and is based on permissions, also.

Is STRONGLY recommended to install this mod also (for a detailed view of what is being crawled):
http://www.simplemachines.org/community/index.php?topic=19243.0

Latest version works only with 1.0.6 and 1.1 RC2

Here are some screenshots:


This is, what i get after hitting the install button
QuoteAn Error Has Occurred!
The package you are trying to download or install is either corrupt or not compatible with this version of SMF.

As i wanted 2explain, I always ensured that the MODs should be compatible
Title: Re: Having problems with the package manager?
Post by: JayBachatero on March 15, 2006, 02:48:08 PM
Can you post a link to phpinfo.php?
What is phpinfo.php? (http://www.simplemachines.org/community/index.php?topic=18250.0)
Title: Re: Having problems with the package manager?
Post by: Djclean on March 16, 2006, 01:43:53 AM
Quote from: JayBachatero on March 15, 2006, 02:48:08 PM
Can you post a link to phpinfo.php?
What is phpinfo.php? (http://www.simplemachines.org/community/index.php?topic=18250.0)


Sure i can ;)
http://djcleanii.dj.funpic.de/smf/phpinfo.php

edit: a friend tried also tried  to install mods in smf106 his experiences:

-installing a official compatible mod worked
-installing a non compatible mod causes smf be not able to install any other mod afterwards

Regarding his experiences, i tried the following:
-Register a new Webspace
-Install smf106
-trie to install "Alan Partridge Avatar Pack 100px 1.0.100" (officially compatible to 106)
The result was the same errot i always get, while trying to install any mod :-[
Title: Re: Having problems with the package manager?
Post by: Oldiesmann on March 16, 2006, 09:09:15 PM
Try downloading the "Googlebotv105_smf_1.0.6.zip" file from the mod site and uploading that through your package manager. When there are multiple files associated with a package, the one that you can download through the admin center isn't necessarily the one that will work with your forum system.

Also, I strongly suggest you find a different host. Generally when you see a host disabling tons of functions and installing extra "Secure" stuff, the host has no clue how to properly secure their server and is disabling anything that could possibly be used to cause a security problem. In this case, they've disabled many normally harmless functions (highlight_file, popen, proc_get_status, phpuname, getmyuid and several others) and have set ridiculous limits (max_execution_time is 10, meaning any script that takes longer than 10 seconds to execute will be killed automatically). Besides this, SecureSSI causes problems with SSI.php.
Title: Re: Having problems with the package manager?
Post by: Djclean on March 20, 2006, 06:20:41 AM
Strange things are going on

Everything works now, without changing anything^^

By the Way: Who would u guggest as a good (free) host?
Title: Re: Having problems with the package manager?
Post by: crazybabycakes on March 30, 2006, 01:48:18 AM
i keep getting this error...

Quote2: rmdir(/home/perfect/public_html/is/Packages/temp/Documents): Permission denied
File: /home/perfect/public_html/is/Sources/Subs-Package.php
Line: 920

i just upgraded to 1.0.7...i dont know if that's relevant.
Title: Re: Having problems with the package manager?
Post by: Leo the Mountain Lion on March 30, 2006, 09:56:43 PM
I've just upgraded to 1.0.7 successfully, and I decided to install a few mods. I got that "safe mode" error when I tried to apply a mod. I tried the "fix_ownership.php" tool, and it seemed to work, so I tried applying the mod again, but got the same error message. I know a lot about computers, but not about PHP, so I'm completely clueless here. I'd rather do this without going through my host, but if I absolutely have to, I'll do it. But.........what's PHP suExec (just the basic info), and how do I ask my host to activate it?
Title: Re: Having problems with the package manager?
Post by: DOK on April 05, 2006, 09:35:07 PM
I had this problem also but resolved it using ws ftp and the everthing went fine, Just enter the path or url of the host server or your webftp and your password and it should work. Hope this helps, DOK
Title: Re: Having problems with the package manager?
Post by: Boylie on April 19, 2006, 09:50:46 AM
i get this error

Fatal error: packageinstall(): Failed opening required '/home/eponnox1/public_html/Packages/temp/./install.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/eponnox1/public_html/Sources/Packages.php on line 534

any help greatly appreciated

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!

its funny how its ch-modded to 777
Title: Re: Having problems with the package manager?
Post by: JayBachatero on April 19, 2006, 02:50:14 PM
Make a folder called temp inside the Packages dir and CHMOD it to 777.
How do I use chmod? (http://www.simplemachines.org/community/index.php?topic=23690.0)
Title: Re: Having problems with the package manager?
Post by: lordmat on April 19, 2006, 05:19:28 PM
2: copy(/home/lordmat/public_html/board/Themes/default/VisualWarning.template.php) [<a href='function.copy'>function.copy</a>]: failed to open stream: Permission denied
Datei: /home/lordmat/public_html/board/Sources/Subs-Package.php
Zeile: 814


Same Problem
All Dirs. are chmoded!
phpinfo (http://lordmat.dnip.net/~lordmat/phpinfo.php)
What can i do?

edit: The VisualWarning.temp is not on Themes/default
i think it does not move the files or?
Title: Re: Having problems with the package manager?
Post by: JayBachatero on April 19, 2006, 05:46:12 PM
Did you try the fix [Unknown] provided?
Title: Re: Having problems with the package manager?
Post by: lordmat on April 19, 2006, 05:50:58 PM
Quote from: JayBachatero on April 19, 2006, 05:46:12 PM
Did you try the fix [Unknown] provided?

Yes it only shows me the path /home/lordmat/public_html/board

and thats on all settings the same
Title: Re: Having problems with the package manager?
Post by: JayBachatero on April 19, 2006, 06:02:54 PM
Seems like there is a file or folder that is not CHMODed correctly since it's giving the permission denied error.
Title: Re: Having problems with the package manager?
Post by: lordmat on April 19, 2006, 06:14:41 PM
lordmat@lordmat ~/public_html/board $ ls -lr
total 416
-rw-r--r--  1 lordmat users   5245 Oct  2  2005 ssi_examples.shtml
-rw-r--r--  1 lordmat users   5181 Mar 29 18:11 ssi_examples.php
-rw-r--r--  1 lordmat users  33924 Mar 30 04:50 smf_1-0.sql
-rw-r--r--  1 lordmat users   8432 Mar 29 18:11 readme.html
-rw-r--r--  1 lordmat users   2346 Mar 29 18:11 news_readme.html
-rw-r--r--  1 lordmat users   3929 Mar 29 18:11 license.txt
-rw-r--r--  1 lordmat users  13687 Mar 30 04:50 index.php
-rw-r--r--  1 lordmat users  19534 Apr 19 22:12 fix_ownership.php
-rw-r--r--  1 lordmat users 197856 Mar 30 04:50 changelog.txt
-rw-r--r--  1 lordmat users  12844 Mar 29 18:11 changelog-themes.txt
drwsrwsrwx  4 lordmat users   4096 Apr 19 21:34 avatars
drwsrwsrwx  2 lordmat users   4096 Apr 19 23:26 attachments
-rwsrwsrwx  1 lordmat users   3436 Apr 19 21:56 agreement.txt
drwsrwsrwx  4 lordmat users   4096 Apr 19 21:41 Themes
drwxrwxrwx  2 lordmat users   4096 Apr 19 23:44 Sources
drwsrwsrwx  4 lordmat users   4096 Apr 19 21:35 Smileys
-rwsrwsrwx  1 lordmat users   3571 Apr 19 23:55 Settings_bak.php
-rwsrwsrwx  1 lordmat users   3571 Apr 19 21:45 Settings.php
-rw-r--r--  1 lordmat users  50641 Mar 29 18:11 SSI.php
drwsrwsrwx  3 lordmat users   4096 Apr 20 00:04 Packages

lordmat@lordmat ~/public_html/board/Sources $ ls -lr
total 1464
-rwxrwxrwx  1 lordmat users    323 Mar 29 18:12 index.php
-rwxrwxrwx  1 lordmat users  14345 Mar 29 18:12 Who.php
-rw-rw-rw-  1 apache  apache 16749 Apr 20 00:06 VisualWarning.php
-rwxrwxrwx  1 lordmat users   4708 Mar 29 18:12 ViewQuery.php
-rwxrwxrwx  1 lordmat users  44545 Mar 29 18:12 Themes.php
-rwxrwxrwx  1 lordmat users  84227 Mar 29 18:12 Subs.php
-rwxrwxrwx  1 lordmat users  38923 Mar 29 18:12 Subs-Post.php
-rwxrwxrwx  1 lordmat users  61027 Mar 29 18:12 Subs-Package.php
-rwxrwxrwx  1 lordmat users  29708 Mar 29 18:12 Subs-Graphics.php
-rwxrwxrwx  1 lordmat users  17937 Mar 29 18:12 Subs-Boards.php
-rwxrwxrwx  1 lordmat users  14240 Mar 29 18:12 Subs-Auth.php
-rwxrwxrwx  1 lordmat users  17701 Mar 29 18:12 Stats.php
-rwxrwxrwx  1 lordmat users  32592 Mar 29 18:12 SplitTopics.php
-rwxrwxrwx  1 lordmat users   9554 Mar 29 18:12 SendTopic.php
-rwxrwxrwx  1 lordmat users  25754 Mar 29 18:12 Security.php
-rwxrwxrwx  1 lordmat users  41217 Mar 29 18:12 Search.php
-rwxrwxrwx  1 lordmat users  17982 Mar 29 18:12 RepairBoards.php
-rwxrwxrwx  1 lordmat users  17608 Mar 29 18:12 RemoveTopic.php
-rwxrwxrwx  1 lordmat users   9784 Mar 29 18:12 Reminder.php
-rwxrwxrwx  1 lordmat users  33133 Mar 29 18:12 Register.php
-rwxrwxrwx  1 lordmat users  27364 Mar 29 18:12 Recent.php
-rwxrwxrwx  1 lordmat users  13685 Mar 29 18:12 QueryString.php
-rwxrwxrwx  1 lordmat users  74774 Mar 29 18:12 Profile.php
-rwxrwxrwx  1 lordmat users   9249 Mar 29 18:12 Printpage.php
-rwxrwxrwx  1 lordmat users  68546 Mar 29 18:12 Post.php
-rwxrwxrwx  1 lordmat users  19118 Mar 29 18:12 Poll.php
-rwxrwxrwx  1 lordmat users  25496 Mar 29 18:12 Packages.php
-rwxrwxrwx  1 lordmat users  23939 Mar 29 18:12 PackageGet.php
-rwxrwxrwx  1 lordmat users   6027 Mar 29 18:12 Notify.php
-rwxrwxrwx  1 lordmat users  19039 Mar 29 18:12 News.php
-rwxrwxrwx  1 lordmat users  14382 Mar 29 18:12 MoveTopic.php
-rwxrwxrwx  1 lordmat users  12106 Mar 29 18:12 Modlog.php
-rwxrwxrwx  1 lordmat users  22275 Mar 29 18:12 ModSettings.php
-rwxrwxrwx  1 lordmat users  26039 Mar 29 18:12 MessageIndex.php
-rwxrwxrwx  1 lordmat users  18349 Mar 29 18:12 Memberlist.php
-rwxrwxrwx  1 lordmat users  31374 Mar 29 18:12 ManageSmileys.php
-rwxrwxrwx  1 lordmat users  35758 Mar 29 18:12 ManagePermissions.php
-rwxrwxrwx  1 lordmat users  80371 Mar 29 18:12 ManageMembers.php
-rwxrwxrwx  1 lordmat users  29529 Mar 29 18:12 ManageBoards.php
-rwxrwxrwx  1 lordmat users  13630 Mar 29 18:12 ManageAttachments.php
-rwxrwxrwx  1 lordmat users  11996 Mar 29 18:12 LogInOut.php
-rwxrwxrwx  1 lordmat users   5533 Mar 29 18:12 LockTopic.php
-rwxrwxrwx  1 lordmat users  51902 Mar 29 18:12 Load.php
-rwxrwxrwx  1 lordmat users   7242 Mar 29 18:12 Karma.php
-rwxrwxrwx  1 lordmat users  29454 Mar 29 18:12 InstantMessage.php
-rwxrwxrwx  1 lordmat users   4279 Mar 29 18:12 Help.php
-rwxrwxrwx  1 lordmat users  18211 Mar 29 18:12 Errors.php
-rwxrwxrwx  1 lordmat users  10537 Mar 29 18:12 DumpDatabase.php
-rwxrwxrwx  1 lordmat users  38754 Mar 29 18:12 Display.php
-rwxrwxrwx  1 lordmat users  18392 Mar 29 18:12 Calendar.php
-rwxrwxrwx  1 lordmat users  22477 Mar 29 18:12 BoardIndex.php
-rwxrwxrwx  1 lordmat users  40901 Mar 29 18:12 Admin.php

lordmat@lordmat ~/public_html/board/Packages $ ls -lr
total 48
drwxrwsrwx  2 lordmat users  4096 Apr 20 00:06 temp
-rwsrwsrwx  1 lordmat users    69 Mar 29 18:12 server.list
-rwsrwsrwx  1 lordmat users   169 Mar 29 18:12 installed.list
-rwxrwxrwx  1 lordmat users   324 Mar 29 18:12 index.php
-rwxrwxrwx  1 lordmat users 29486 Apr 19 23:57 VisualWarning_v1.27.tar.gz
Title: Re: Having problems with the package manager?
Post by: ChrisFBBS on April 19, 2006, 11:49:53 PM
Hi all,
I seem to be having some sort of Package Manager issues now as well. I'm running 1.1RC2 with
TP 0.8.6 everything was fine until I tried to click on packages. All I get is an error 500 Internal Server Error. I have tried the fix posted here, as well as a few others that have been posted including ch-modding various files to 777 or 755.
Title: Re: Having problems with the package manager?
Post by: lordmat on April 20, 2006, 01:19:16 PM
I´ve just reinstalled the board and nothing happens :/

I think the files does not copyed to any folders .. because they only in the temp directory?
Title: Re: Having problems with the package manager?
Post by: JayBachatero on April 20, 2006, 04:13:47 PM
sheik28 take a look at Having problems with mod_security? (http://www.simplemachines.org/community/index.php?topic=34270.0)

lordmat if you try installing another mod does it work?
Title: Re: Having problems with the package manager?
Post by: lordmat on April 20, 2006, 05:37:22 PM
Quote from: JayBachatero on April 20, 2006, 04:13:47 PM
lordmat if you try installing another mod does it work?

Yeha its all the same.

look here.

2: copy(/home/lordmat/public_html/board/Themes/default/BoardIndex.template.php~) [<a href='function.copy'>function.copy</a>]: failed to open stream: Permission denied
Datei: /home/lordmat/public_html/board/Sources/Subs-Package.php
Zeile: 1241


Thats with the mod. BoardViewers.

edit: i have changed the permissions in Themes/default
now there is another error

Quote2: file_put_contents(/home/lordmat/public_html/board/Themes/default/BoardIndex.template.php) [<a href='function.file-put-contents'>function.file-put-contents</a>]: failed to open stream: Permission denied
Datei: /home/lordmat/public_html/board/Sources/Subs-Package.php
Zeile: 1244
Title: Re: Having problems with the package manager?
Post by: ChrisFBBS on April 20, 2006, 08:54:18 PM
Quote from: JayBachatero on April 20, 2006, 04:13:47 PM
sheik28 take a look at Having problems with mod_security? (http://www.simplemachines.org/community/index.php?topic=34270.0)

Well after reading that thread I realized I may have a problem with a MOD i installed. Turn out that was it. I FTP'd and deleted a MOD in my package folder and now I'm fine. Thanks for the reminder!
Title: Re: Having problems with the package manager?
Post by: JayBachatero on April 20, 2006, 08:58:42 PM
sheik it might be related to mod_security so I suggest that you take a look at that topic and try what it says.
Title: Re: Having problems with the package manager?
Post by: ChrisFBBS on April 21, 2006, 10:56:12 AM
Quote from: JayBachatero on April 20, 2006, 08:58:42 PM
sheik it might be related to mod_security so I suggest that you take a look at that topic and try what it says.
Thanks Jay. I did.
I also had a MOD installed twice that were two different versions, one compatible one not. I deleted both of them and installed the proper one and all is well now. I will go over it again with the ideas in that thread.
Thanks :)
Title: Re: Having problems with the package manager?
Post by: lordmat on April 23, 2006, 04:58:21 PM
Should i post my apache.conf because my error?
Or is that not important?

its very evil no mods 2 install.. is there anotherway to install the mods?
Title: Re: Having problems with the package manager?
Post by: RealiX on April 24, 2006, 04:24:26 AM
i installed my SMF via the installatron in cPanel and did a SMF 1.0.7 / 1.1 RC2 Update. it seems that only this can be installed via the package manager, others keep prompting me with the Sub-Package.php error.

Quote from: [Unknown] on February 20, 2005, 12:32:26 AM
Some people have run into problems using the package manager.  These are caused either by safe mode issues, or wrong paths.
Recently, we came upon another solution which may resolve the need for PHP suExec in safe mode environments.  While this is still something your host should/could do for you, it is also something you can do without their involvement in many cases.

PLEASE NOTE: This solution may or may not work for everyone.  We would like feedback on whether or not it works for you.

The tool attached does two things: first, it changes the permissions (if possible) on the files in your SMF installation to combat safe mode, and second it tells you what path it used, which is what you should use in the package manager as well.  Please use this tool if you are having problems installing mods, and copy down the path it gives you.  The next major release of SMF should solve these problems.

The trick this file uses is that setting your permissions a certain way will make it so that files created by PHP, for example in "attachments", are still owned by *you*, not PHP.  This is, in many cases, better anyway, because you don't want files owned by someone else in your stuff!

-[Unknown]
so i tried the tool but it doesnt seem to work for me..
if its not the php safe mode problem either, any other solutions?
my board is a fresh install so i'd like to install couple of stuff.
Title: Re: Having problems with the package manager?
Post by: Philtration on April 25, 2006, 03:55:58 PM
Hi SMF dudes,

This is my situation:    SMF 1.0.7 installed from Fantastico into a customer account under my reseller one on siterollout.com, having difficulty with permissions, and installing packages from package manager.  Linux server with PHP v4.4.1. No idea if it has safe mode or not.

SMF directory is at 777. Themes/default and sources directory also 777.

As per this thread I just ran the fix_ownership.php thingy.

Now I can go into the themes directory and it no longer tells me the permissions are incorrect, so that's good.
On the other hand, the major error I've been having still persists.   I include an error message below from when I try to install the Skype mod.   I've installed it on another host with the same version of SMF and it works fine there.

2: copy(/home/philpsy/public_html/SMF/Themes/default/../classic/images/skype.gif): failed to open stream: Permission denied
File: /home/philpsy/public_html/SMF/Sources/Subs-Package.php
Line: 961

The path quoted by the php script was
public_html/SMF and so that was the path I used when prompted for FTP login on the second host.   Prior to that the path was identical apart from an initial slash.

(Incidentally, on an account I have with another host (diyhost.co.uk), Fantastico installs SMF fine, and everything works as you'd expect - and when installing mods it doesn't even prompt for FTP details.)

I did ask my hosts for support but they just gave the "we don't support 3rd party scripts" line.

The other consideration is this - my account is a reseller one, and if possible I'd like to know what I can do to fix it for customers of mine too.   I can chmod files and play with PHP scripts all day long, but I'd like to avoid the average customer having to do that.

Any help will be most gratefully received....

Phil
Title: Re: Having problems with the package manager?
Post by: JayBachatero on April 25, 2006, 04:11:11 PM
Phil if you try to upload an avatar do you get the same error?
Title: Re: Having problems with the package manager?
Post by: Philtration on April 25, 2006, 04:31:22 PM
Quote from: JayBachatero on April 25, 2006, 04:11:11 PM
Phil if you try to upload an avatar do you get the same error?

Hey Jay,

Thanks for replying - uploading an avatar works perfectly.

Phil

(NB - I uploaded it by changing the settings to allow uploaded avatars and did it from the profile bit.  was that what you meant?)
Title: Re: Having problems with the package manager?
Post by: JayBachatero on April 25, 2006, 04:34:35 PM
Try CHMODing the images dir inside the default theme dir and CHMOD the default theme dir also.
Title: Re: Having problems with the package manager?
Post by: Philtration on April 25, 2006, 04:39:31 PM
OK, will do - 777?

edit: Spoke too soon - I just checked and both directories are already set to 777.  Shall I chmod them to something else?
Title: Re: Having problems with the package manager?
Post by: JayBachatero on April 25, 2006, 04:47:49 PM
Umm running out of ideas.  That error is usually given when the dir is not writeable. 

Actually I think it might be a paths issue.  As you can see in the error you provided the image is trying to go into a non existent dir.
/Themes/default/../classic/images/skype.gif
Should be /Themes/default/images/skype.gif

Use repair_settings.php and make sure that the paths are correct.
What is repair_settings.php? (http://www.simplemachines.org/community/index.php?topic=18096.0)
Title: Re: Having problems with the package manager?
Post by: Philtration on April 25, 2006, 05:06:13 PM
Right, done that.

The paths all come up in this form:   /home/philpsy/public_html/SMF
None of them have any / .. / bits in or anything like that.
The URLs look right too.

The earlier script gave the path as: public_html/SMF
so should I remove the /home/philpsy/ part and try again?
Title: Re: Having problems with the package manager?
Post by: JayBachatero on April 25, 2006, 05:10:17 PM
Use repair_settings.php and click on the recomended paths and then save the changes.  Even if they look ok it's good to double check and click on recommended.
Title: Re: Having problems with the package manager?
Post by: Philtration on April 25, 2006, 05:25:38 PM
Grrr, no joy I'm afraid.   Same error, and the path still shows up for that failed file with a /../ in the middle.
I've tried a couple of permutations of the path, but each time it failed.

Do you think it might be a problem with my host?

Many thanks for your helpfulness btw!
Title: Re: Having problems with the package manager?
Post by: JayBachatero on April 25, 2006, 05:27:10 PM
My suggestion is that you try a different mod and see if it's a mod issue.
Title: Re: Having problems with the package manager?
Post by: Philtration on April 25, 2006, 05:42:27 PM
OK - well, I'm going out now, but I shall give another mod a try when I get back.
Title: Re: Having problems with the package manager?
Post by: djpaddystudio7 on April 27, 2006, 07:52:06 AM
Quote from: RealiX on April 24, 2006, 04:24:26 AM
i installed my SMF via the installatron in cPanel and did a SMF 1.0.7 / 1.1 RC2 Update. it seems that only this can be installed via the package manager, others keep prompting me with the Sub-Package.php error.

Quote from: [Unknown] on February 20, 2005, 12:32:26 AM
Some people have run into problems using the package manager.  These are caused either by safe mode issues, or wrong paths.
Recently, we came upon another solution which may resolve the need for PHP suExec in safe mode environments.  While this is still something your host should/could do for you, it is also something you can do without their involvement in many cases.

PLEASE NOTE: This solution may or may not work for everyone.  We would like feedback on whether or not it works for you.

The tool attached does two things: first, it changes the permissions (if possible) on the files in your SMF installation to combat safe mode, and second it tells you what path it used, which is what you should use in the package manager as well.  Please use this tool if you are having problems installing mods, and copy down the path it gives you.  The next major release of SMF should solve these problems.

The trick this file uses is that setting your permissions a certain way will make it so that files created by PHP, for example in "attachments", are still owned by *you*, not PHP.  This is, in many cases, better anyway, because you don't want files owned by someone else in your stuff!

-[Unknown]
so i tried the tool but it doesnt seem to work for me..
if its not the php safe mode problem either, any other solutions?
my board is a fresh install so i'd like to install couple of stuff.


i am having the exactly same problem  plzz help!!!!!
Title: Re: Having problems with the package manager?
Post by: JayBachatero on April 27, 2006, 09:26:59 AM
What is the error you are getting?
Title: Re: Having problems with the package manager?
Post by: Anti-Tedd on May 14, 2006, 02:14:23 PM
Hello,

I'm using the package manager with version 1.1RC2, and when I try to click "apply" for the package it asks for my FTP username and password. I give it and it gives me the 550 failed to change directory errors.
Title: Re: Having problems with the package manager?
Post by: JayBachatero on May 15, 2006, 03:01:06 PM
If oyu try to CHMOD all the files manually do you get the same error with your FTP client?
Title: Re: Having problems with the package manager?
Post by: Anti-Tedd on May 15, 2006, 07:56:22 PM
All the correct files are CHModded, and sometimes the errors change. I'm perfectly aware of how crazy that sounds, but trying to install the Quick Upload or Integrated Chat mod I get the 550 Failed to Change directory error, and if I try to install the Karma on Memberlist, it tells meabout a modification parse error. I install anyways, and it appears to install correctly, but the functionality is not added.
Title: Re: Having problems with the package manager?
Post by: JayBachatero on May 15, 2006, 09:56:42 PM
Ummm weird.  If oyu are on RC2 go to Admin > Packages > Options and make all files writeable.
Title: Re: Having problems with the package manager?
Post by: Oncegone on May 19, 2006, 08:05:37 PM
this is the error i get.

2: copy(/home/telekin/public_html/forum/index.php~): failed to open stream: Permission denied
File: /home/telekin/public_html/forum/Sources/Subs-Package.php
Line: 1307

Title: Re: Having problems with the package manager?
Post by: JayBachatero on May 19, 2006, 10:15:48 PM
That mean that there is another file named index.php~ in the forum root folder.  Delete that and it should install.
Title: Re: Having problems with the package manager?
Post by: copter on May 21, 2006, 11:38:35 AM
Hi

I have smf 1.0.7

the other day my package manager showed the smf bit but now i get

Attempting to fetch the most popular and recent packages from www.simplemachines.org...

and the error message from the explorer shows

"IE Error; Line 2, Char 1, syntax error, code o, action=packages"
Title: Re: Having problems with the package manager?
Post by: J. Williams on May 21, 2006, 12:15:09 PM
Copter,Make sure script.js is included somewhere in index.template.php
Title: Re: Having problems with the package manager?
Post by: shinji257 on May 21, 2006, 08:55:02 PM
Unable to browse them due to this error that came up in the Javascript console of Firefox.  I am using 1.1 RC2.

Error: missing ; before statement
Source File: http://www.simplemachines.org/smf/latest-packages.js?language=english
Line: 2, Column: 9
Source Code:
<b>Fatal error</b>:  Call to undefined function eaccelerator_cache_page() in <b>/home/simple/public_html/smf/latest-packages.js</b> on line <b>24</b><br />

So it is definately getting there.  Is there a server issue on this end?
Title: Re: Having problems with the package manager?
Post by: JayBachatero on May 21, 2006, 09:19:45 PM
It seems to be like an SM.org error.  I will make a post on the team boards so that an admin can take a look at it.

EDIT:  If you download them from mods.simplemachines.org and try to install it does it work?
EDIT 2:  I just went to browse and it worked for me.  Can you try to browse again?
Title: Re: Having problems with the package manager?
Post by: shinji257 on May 21, 2006, 10:07:48 PM
Quote from: JayBachatero on May 21, 2006, 09:19:45 PM
It seems to be like an SM.org error.  I will make a post on the team boards so that an admin can take a look at it.

EDIT:  If you download them from mods.simplemachines.org and try to install it does it work?
Yea.  That works fine.  I put the package in the Packages folder and SMF picks it up then installs it for me.  No problem at all.

Quote from: JayBachatero on May 21, 2006, 09:19:45 PM
EDIT 2:  I just went to browse and it worked for me.  Can you try to browse again?

I just checked and it still doesn't work.  Firefox 1.5.0.3 and Interent Explorer 6 SP2

EDIT: It might be feasible to try using that url directly ( http://www.simplemachines.org/smf/latest-packages.js?language=english ) and see if the error goes away.  I don't think it should be showing up if the url is accessed directly.

EDIT 2: Forgot to mention that where it would normally display the latest packages it shows "Attempting to fetch the most popular and recent packages from www.simplemachines.org...".  I think this might be the same exact issue that copter is getting with SMF 1.0.7 as his error matches mine from Internet Explorer.
Title: Re: Having problems with the package manager?
Post by: JayBachatero on May 22, 2006, 09:29:06 AM
I will point this out to a dev so that they can take a look at it.
Title: Re: Having problems with the package manager?
Post by: shinji257 on May 22, 2006, 06:14:45 PM
Quote from: JayBachatero on May 22, 2006, 09:29:06 AM
I will point this out to a dev so that they can take a look at it.

Thanks..... and it appears to be fixed now.  I just have to check my admin panel now.

*a few minutes later*
Confirmed working.  Thanks again for pointing it out to them.  ^_^
Title: Re: Having problems with the package manager?
Post by: Oncegone on May 22, 2006, 06:32:21 PM
Quote from: JayBachatero on May 19, 2006, 10:15:48 PM
That mean that there is another file named index.php~ in the forum root folder.  Delete that and it should install.

accually there is not a index.psp~ even listed in my root folder. how can i create one?
Title: Re: Having problems with the package manager?
Post by: JayBachatero on May 22, 2006, 07:02:45 PM
Quote from: Oncegone on May 22, 2006, 06:32:21 PM
Quote from: JayBachatero on May 19, 2006, 10:15:48 PM
That mean that there is another file named index.php~ in the forum root folder.  Delete that and it should install.

accually there is not a index.psp~ even listed in my root folder. how can i create one?
That is just a backup file.  You can disable the creation of the backup by going to Admin > Packages > Options.
Title: Re: Having problems with the package manager?
Post by: Oncegone on May 23, 2006, 07:02:09 PM
now when i try to upgrade to 1.1 rc2 it tells me that it is a bad package. why is that?
Title: Re: Having problems with the package manager?
Post by: JayBachatero on May 23, 2006, 07:24:36 PM
You can't upgrade to 1.1 RC2 through the package manager.  You must do a full upgrade by downloading the package and overwriting the files on your site.  Take a look at the Upgrade Guide (http://www.simplemachines.org/community/index.php?topic=6832.0).
Title: Re: Having problems with the package manager?
Post by: EJG on June 03, 2006, 11:59:38 PM
2: copy(/home3/ejg126/public_html/intel/forum/Themes/default/images/english/accept.gif): failed to open stream: Permission denied
File: /home3/ejg126/public_html/intel/forum/Sources/Subs-Package.php
Line: 814

I always get an error message like this when trying to install a package. Please help!
Title: Re: Having problems with the package manager?
Post by: J. Williams on June 04, 2006, 07:13:50 AM
Try disabling automatic backups on SMF and try cehcking all permissions are correct.
Title: Re: Having problems with the package manager?
Post by: WarBirD on June 04, 2006, 10:27:11 AM
This is a long discussions and I maybe missed some things that I ask now, but this thread has 19 Sites by now and I got crazy after half of them. So maybe someone can help me.

I have also Problems with installing Package, getting the Modification Parse Error, my Forum is a fresh install 1.1 RC2 so it should not be any problem.

When I checked my Forum Error log, i found things like this.

Quote
gzwrite(): supplied argument is not a valid stream resource

gzclose(): supplied argument is not a valid stream resource

file_get_contents(): Unable to access /var/www/web247/html/community/Packages/temp/./install.xml

packageinstall(): Unable to access /var/www/web247/html/community/Packages/temp/./install.php

packageinstall(/var/www/web247/html/community/Packages/temp/./install.php): failed to open stream: Success

Is this all because my hoster´s webspace has SAFE MODE on ? I am not sure if that would be the problem, if they would change that. On a Webspace you have limited rights, PHP specifications changing is usually not what you´re allowed to do or have.

Any other tip what it might could be ? Btw, it doesn´t matters what kinda of a Mod I try to install, and yes, i checked if they´re for the right Version of my SMF.

Title: Re: Having problems with the package manager?
Post by: J. Williams on June 04, 2006, 01:01:06 PM
What is happening there is your host seems to not have Gzip Enabled :P
Title: Re: Having problems with the package manager?
Post by: JayBachatero on June 04, 2006, 02:05:00 PM
WarBirD can you try installing another mod first to make sure it's a server issue and not a mod issue.
Title: Re: Having problems with the package manager?
Post by: J. Williams on June 04, 2006, 03:08:43 PM
Jay ,did you read it all?

QuoteBtw, it doesn´t matters what kinda of a Mod I try to install, and yes, i checked if they´re for the right Version of my SMF.
Meaning he has tried mods already and has done proper checks.
Title: Re: Having problems with the package manager?
Post by: JayBachatero on June 04, 2006, 03:57:39 PM
Sorry missed that part.

Can you post a link to your phpinfo.php?
What is phpinfo.php? (http://www.simplemachines.org/community/index.php?topic=18250.0)
Title: Re: Having problems with the package manager?
Post by: J. Williams on June 04, 2006, 04:02:19 PM
I don't think it would matter much since I have recommended to him a better host.
Title: Re: Having problems with the package manager?
Post by: soulessmirage on June 09, 2006, 11:45:19 PM
Alright i just installed a new forum and everytime i try to install a package or something in the package manager it asks me for the local host and port ,etc.Well i chmodded all the things in the packages folder and the folder itself because putting the info in has never worked but it still asks for the info.I have filled it in many times aswell.


I tried that fix_ownership.php file and i need the info and it still gives me the same error as regular


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

4.0.26-standard-log¤¦Ð]$8.z?k{
Title: Re: Having problems with the package manager?
Post by: JayBachatero on June 09, 2006, 11:49:57 PM
Most of the time this is related to the path that you put in.  Try different path configuration.
Title: Re: Having problems with the package manager?
Post by: soulessmirage on June 12, 2006, 06:25:32 PM
tried all the different path configurations and it still doesn't work.It lets me upload them but not install.IT doesn't work for either of my smf boards.
Title: Re: Having problems with the package manager?
Post by: JayBachatero on June 12, 2006, 11:11:44 PM
What errors do you get?
Title: Re: Having problems with the package manager?
Post by: soulessmirage on June 13, 2006, 04:39:35 AM
4.0.26-standard-log

the same thing except with different weird characters afterwards
Title: Re: Having problems with the package manager?
Post by: JayBachatero on June 13, 2006, 04:24:52 PM
Can you copy and paste the exact error you get?
Title: Re: Having problems with the package manager?
Post by: soulessmirage on June 13, 2006, 07:50:03 PM
4.0.26-standard-log)_‡3U3=yj)*,


all like that except with different characters at the end.I would have typed out all the ones i got but the page suddenly refreshed on my last one and i lost all the ones i had pasted on this post before.
Title: Re: Having problems with the package manager?
Post by: JayBachatero on June 13, 2006, 08:16:57 PM
First time that I see this error.  Can you please PM me a test account to take a look at?  PM me the account and please make it an admin account.
Title: Re: Having problems with the package manager?
Post by: soulessmirage on June 14, 2006, 12:42:57 AM
Thanks alot Jay for the help,really appreciate it.
Title: Re: Having problems with the package manager?
Post by: Grayside on July 24, 2006, 02:22:34 PM
Trying to apply the Group Moderators Package.. first time using the PM for a mod.

Error Message:
"You cannot download or install new packages because the Packages directory or one of the files in it are not writable!"

The error message includes a /temp section of path that doesn't exist.

2: file_get_contents(/path that exists/temp/./smf_1-1-RC2-1_patch.mod): failed to open stream: No such file or directory
File: /path/rs/Sources/Packages.php
Line: 524


I have used Package Manager Options to set all files writeable and chmodded both.  Things look correct.
Title: Re: Having problems with the package manager?
Post by: JayBachatero on July 24, 2006, 02:50:43 PM
Make a dir called temp inside the Packages dir and chmod it to 777.
Title: Re: Having problems with the package manager?
Post by: Natsuka on July 25, 2006, 11:22:19 PM
hi, i tried chmod-ing the temp folder to 777, but i still get the following error message when i try to install a mod:

2: file_put_contents() [<a href='function.file-put-contents'>function.file-put-contents</a>]: SAFE MODE Restriction in effect. The script whose uid is 10005 is not allowed to access /home/httpd/vhosts/w-inds.ws/httpdocs/loveismessage/Packages/temp owned by uid 48
File: /home/httpd/vhosts/w-inds.ws/httpdocs/loveismessage/Sources/Subs-Package.php
Line: 455

can someone please teach me how to fix this problem.  thanks.
Title: Re: Having problems with the package manager?
Post by: JayBachatero on July 25, 2006, 11:59:57 PM
Seems like your host has safe mode enabled.  The package manager will not work with samfemode enabled.  You need to manually install the mods.
Title: Re: Having problems with the package manager?
Post by: Natsuka on July 26, 2006, 10:42:57 PM
i just asked my host to remove the safe mode, but i still have not been able to successfully install a single mod.  for some reason, all of the installation steps are successful, but installation just stops at the last few steps.

thanks in advance for any help.
Title: Re: Having problems with the package manager?
Post by: JayBachatero on July 26, 2006, 11:22:09 PM
What errors do you get at the end?
Title: Re: Having problems with the package manager?
Post by: Natsuka on July 31, 2006, 02:15:24 AM
for example, the last 3 steps aren't installed:

Installing this package will perform the following actions:    Type   Action   Description
1.   Execute Modification   ./Sources/Load.php   Success
2.   Execute Modification   ./Sources/BoardIndex.php   Success
3.   Execute Modification   ./Sources/ManageBoards.php   Success
4.   Execute Modification   ./Themes/default/languages/Modifications.english.php   Success
5.   Execute Modification   ./Themes/default/ManageBoards.template.php   Success
6.   Execute Modification   ./Themes/default/BoardIndex.template.php   Success
7.   Execute Code   add_settings.php   
8.   Extract File   ./Sources/passwdBoard.php   
9.   Extract File   ./Themes/default/passwdBoard.template.php

Will the mod still work properly?  Thanks.
Title: Re: Having problems with the package manager?
Post by: Grayside on July 31, 2006, 12:12:25 PM
I had a few mods do that recently.  They didn't seem to work, I couldn't uninstall them with the manager, and now I figure on just re-extracting the smf archive.  But then maybe I'm special.
Title: Re: Having problems with the package manager?
Post by: JayBachatero on July 31, 2006, 03:52:20 PM
natsuka those are files that are being extracted.  They don't return Success or Failure.  So its ok to install the mod.
Title: Re: Having problems with the package manager?
Post by: ada on August 04, 2006, 10:42:11 AM
Its telling me that i cant use package manager!!!

I tried changing the permisions too and its telling me "invalid FTP" and all that crap. I'm sure im typing the correct details! Is SMF compatible with all FTPs?
Title: Re: Having problems with the package manager?
Post by: JayBachatero on August 04, 2006, 01:51:42 PM
Make sure that the directly you entered is correct.  Like if you have the forum in a dir caled forum some hosts expect "httpdocs/forum/" for the ftp and some just "forum"
Title: Re: Having problems with the package manager?
Post by: Bojeunx on August 04, 2006, 06:32:32 PM
I installed a fres SMF 1.0.7

Package Manager - Install Actions
Install Actions for archive ThankYouMod103.zip:
Installing this package will perform the following actions:  Type Action Description
1. Extract File ./Themes/default/images/english/thank_you.gif 
2. Extract File ./Themes/default/images/english/thank_you_add.gif 
3. Extract File ./Themes/default/images/english/thank_you_delete.gif 
4. Extract File ./Themes/default/images/english/thank_you_lock1.gif 
5. Extract File ./Themes/default/images/english/thank_you_lock2.gif 
6. Extract File ./Sources/ThankYou.php 
7. Extract File ./Themes/default/ThankYou.template.php 
8. Extract File ./Themes/default/languages/ThankYou.english.php 
9. Execute Code install_1.x.x.php 
10. Execute Modification index.php Success
11. Execute Modification ./Sources/Display.php Success
12. Execute Modification ./Sources/Load.php Success
13. Execute Modification ./Sources/ManageBoards.php Success
14. Execute Modification ./Sources/ManagePermissions.php Success
15. Execute Modification ./Sources/ManageBoards.php Success
16. Execute Modification ./Sources/ModSettings.php Success
17. Execute Modification ./Sources/Post.php Success
18. Execute Modification ./Sources/Security.php Success
19. Execute Modification ./Themes/default/languages/index.english.php Success
20. Execute Modification ./Themes/default/languages/ManagePermissions.english.php Success
21. Execute Modification ./Themes/default/languages/ManageBoards.english.php Success
22. Execute Modification ./Themes/default/languages/ModSettings.english.php Success
23. Execute Modification ./Themes/default/languages/Post.english.php Success
24. Execute Modification ./Themes/default/Display.template.php Success
25. Execute Modification ./Themes/default/ManageBoards.template.php Success
26. Execute Modification ./Themes/default/Post.template.php Success

And trying to install Thank You mod that i installed to my older SMF 1.0.7s without no problem.
This is the message i got after this file list...

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

I'm entering my FTP details but no the mods are not working :(
Title: Re: Having problems with the package manager?
Post by: 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.
Title: Re: Having problems with the package manager?
Post by: Bojeunx on August 04, 2006, 07:02:38 PM
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
Title: Re: Having problems with the package manager?
Post by: JayBachatero 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.
Title: Re: Having problems with the package manager?
Post by: Bojeunx on August 05, 2006, 03:56:07 AM
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
Title: Re: Having problems with the package manager?
Post by: Bojeunx on August 05, 2006, 10:09:21 AM
Somebody please help me.
Title: Re: Having problems with the package manager?
Post by: Owdy on August 05, 2006, 10:24:55 AM
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
Title: Re: Having problems with the package manager?
Post by: 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 :(
Title: Re: Having problems with the package manager?
Post by: Owdy on August 05, 2006, 04:01:53 PM
okay, chmod everything to 777
Title: Re: Having problems with the package manager?
Post by: 青山 素子 on August 05, 2006, 05:46:42 PM
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.
Title: Re: Having problems with the package manager?
Post by: Bojeunx on August 05, 2006, 05:55:53 PM
Quote from: Owdy on August 05, 2006, 04:01:53 PM
okay, chmod everything to 777
By basepath u mean which folder?
Title: Re: Having problems with the package manager?
Post by: Bojeunx on August 05, 2006, 06:56:48 PM
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
Title: Re: Having problems with the package manager?
Post by: 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.
Title: Re: Having problems with the package manager?
Post by: Bojeunx on August 06, 2006, 12:57:36 PM
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.
Title: Re: Having problems with the package manager?
Post by: 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.
Title: Re: Having problems with the package manager?
Post by: Bojeunx on August 06, 2006, 03:06:57 PM
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?
Title: Re: ELDACAR'S METHOD TO GETTING AROUND THE SAFE MODE PROBLEM
Post by: Bojeunx on August 06, 2006, 05:08:27 PM
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.
Title: Re: Having problems with the package manager?
Post by: XzotiC on August 11, 2006, 04:26:38 PM
where I should put this php file?(FTP)
Title: Re: Having problems with the package manager?
Post by: Bigguy on August 23, 2006, 12:20:51 PM
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.
Title: Re: Having problems with the package manager?
Post by: Richmedia on August 29, 2006, 05:39:53 PM
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?
Title: Re: Having problems with the package manager?
Post by: Bigguy on August 29, 2006, 05:46:53 PM
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.
Title: Re: Having problems with the package manager?
Post by: matkins70 on August 29, 2006, 06:22:43 PM
Quote from: Richmedia on August 29, 2006, 05:39:53 PM
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?

I GET EXACTLY THAT PROBLEM!!  What the hell do i do to get round it????
I don't have a server.list file either.  I am new to this, so i really need help, as i would love to have mods for my forum.
Title: Re: Having problems with the package manager?
Post by: JayBachatero on August 29, 2006, 06:41:56 PM
Make a dir called temp inside the Packages dir and CHMOD it to 777.
Title: the session.save_path directive must be set to a valid directory
Post by: virtualdave on August 29, 2006, 08:01:47 PM
Quote from: pjr on March 10, 2006, 10:43:15 AM
It is a parameter in your PHP.ini file. You can check it's value with a call to phpinfo()
if it isnt set it causes all the problems I was having.

it was listed on the system requirments page. put I missed it
http://www.simplemachines.org/download/requirements.php

I know this is from the center of this thread but it sounds like it could be me. I have done the phpinfo.php and found that my safe mode is off. I have tried all the various Temp folder solutions and have gotten no where. I did a fresh install of RC3 and I still can't get anywhere with the package manager.

I have checked the value of the session.save_path http://www.simplemachines.org/download/requirements.php (http://www.simplemachines.org/download/requirements.php)and it is /tmp. Is this correct? If not what is correct and how do I change it.
Thanks
virtualdave
Title: Re: Having problems with the package manager?
Post by: matkins70 on August 30, 2006, 06:49:59 AM
i tried the temp folder thing before, didnt work
Title: Re: Having problems with the package manager?
Post by: Richmedia on August 30, 2006, 08:05:15 AM
I'm about ready to drop back and punt. I chmodded everything in sight to 777, created a temp directory in the packages directory, manually deleted the installed.list and added it back, even created a blank server.list, and still no go.

Package manager still does not work for me. It all started as I recall, when I decided to change the permissions on something or other months ago, within the package manager, and then couldn't change it back.

Something is still working though, because I deliberately submitted an incorrect pass, and I got the expected response, couldn't validate error. It just won't let me validate the ftp server info.

How tough would it be to just install from scratch and add all of my settings, attachments, avatars, everything else back in? That seems extreme just to get the package manager working again, especially since all of the rest of the site is keyed in on the SMF user table for registration and the like. I'd bet there is another thread floating around somewhere.

I can install and delete themes, but can not install or delete mods.
Title: Re: Having problems with the package manager?
Post by: Richmedia on August 30, 2006, 08:20:22 AM
I just reread the original host, and noticed the "could be caused by proper paths" comment. I think I've tried every possibility imaginable, but I'll ask anyway.

User: should this be the ftp user, or ftp user@email address.com, as is oftentimes required with ftp. I've tried both ways.

Path: the short name keeps popping up for me: public_html/forum

Oe should this be the absolute path: localhost/user/home/public_html/forum/ ???
Title: Re: Having problems with the package manager?
Post by: 青山 素子 on August 30, 2006, 10:43:19 AM
User should be whatever username in whatever format you need to access FTP.

SMF guesses on the path, but oftentimes it guesses wrong (it is difficult to figure things out when FTP paths could be configured many many ways). The proper path should be the one you see when you connect with an FTP program and go to the smf folder. For example, on my servers it is "site.domain/public_html/forums" or similar.
Title: Re: Having problems with the package manager?
Post by: virtualdave on August 30, 2006, 02:07:39 PM
Just one more thing that is correct but my package manager won't work anyway.
vd
Title: Re: Having problems with the package manager?
Post by: virtualdave on August 31, 2006, 12:14:53 AM
230 OK. Current restricted directory is /  What does this mean? I got it when I tried the premissions tool linked at the begining of this thread. Now I just got it on my package manager ftp interface.
VD
Title: Re: Having problems with the package manager?
Post by: gerrymore on August 31, 2006, 03:13:37 PM
I tried to install Tiny Portlal to RC3 (fresh install). No way at all would it work. Ran perfect on RC2 though. The error message was that the packages directory, or some of the files within it, were not writable. Now, this is complete rubbish. I used shell access and changed every file and folder inside the public_html folder to 777 (no joy, same error), then to 755 (no joy, same error). I tried this on two completely different hosts with the same results, and have spent the whole day on it.

All ownerships and permissions were correct. I feel that it's more likely to be a Package Manager problem, rather than TP, this may give quite a few people problems.
Title: Re: Having problems with the package manager?
Post by: Tony Reid on September 01, 2006, 07:46:10 AM
gerrymore, have you created a temp directory inside packages and chmod it to 777?
Title: Re: Having problems with the package manager?
Post by: SusanTN on September 01, 2006, 03:29:34 PM
Before they go through the trouble of creating a temp directory with permissions 777 have them try to log out and log back in again. It may fix their issue.
Title: Re: Having problems with the package manager?
Post by: matkins70 on September 01, 2006, 06:08:46 PM
I just wanna be clear.  Is anyone able to use RC3 package manager, cos i hear a lot of people having problems, and i have had no success either.
Title: Re: Having problems with the package manager?
Post by: J. Williams on September 01, 2006, 06:10:34 PM
I seem to be having success, its all about configuration problems etc....
Title: Re: Having problems with the package manager?
Post by: matkins70 on September 01, 2006, 06:13:06 PM
Its just crazy, i cant see whats wrong.  i've tried everything everyone has suggested, and its made no difference.  the only time i get anything different is when i put in incorrect log-in details and it tells me.  All other times it just loads for ages, before pointing me at the file.
Title: Re: Having problems with the package manager?
Post by: Richmedia on September 02, 2006, 04:42:00 AM
Quote from: matkins70 on September 01, 2006, 06:13:06 PM
Its just crazy, i cant see whats wrong.  i've tried everything everyone has suggested, and its made no difference.  the only time i get anything different is when i put in incorrect log-in details and it tells me.  All other times it just loads for ages, before pointing me at the file.

That's been my experience as well. If I enter incorrect information, it will tell me. Correct info, it times out. I even set up a new ftp user, and logged in at the / directory on a shared server setup through a client, and the package manager still didn't recognize the settings. The temp directory set to 777 keeps disappearing. One shot and it's gone.

The settings.list file seems to be missing, and I can't get SMF to create one within the admin panel. I even tried creating a blank text file (unix line endings), set to 777, and named it settings.list, it still didn't work.

I haven't tried the log out suggestion though. It's worth a shot, I guess, but I'm not holding my breath.

In my specific case, the package manager quit on me during RC2, I wasn't able to uninstall the packages and mods before the upgrade, I was hoping that the upgrade might fix it. If I just deleted the Packages directory and copied back the blank one, or at least deleted the contents, might that help?

Okay, I'll log out now. Report back later.
Title: Re: Having problems with the package manager?
Post by: Richmedia on September 02, 2006, 05:18:50 AM
Guess what? The log out trick worked, I'm now able to uninstall the RC2 packages. Hopefully, I'll be able to reinstall them.

I'm not sure why I didn't think of that before, I sometimes tell our members to do exactly that, log out, log in!

I'd do a happy dance, 'cept I can't dance!
Title: Re: Having problems with the package manager?
Post by: nermeen_elhelw on September 02, 2006, 07:34:39 AM
my problems started when my host upgraded the server, and this somehow caused my smf board not to work, i tried (with the host help) to make it work again, but unfortunately it didnt.

i luckily had a backup from the day before

so i removed it and reinstalled it again, then i added the backup file

most of it works fine, but i'm facing some problems, one of them when applying a mod like the smf arcade, i got this message


512: parseModification(): The filename 'index.php' is not a full path!
File: /home/pharmacy/public_html/smf/Sources/Subs-Package.php
Line: 1329

this is happening with many mods

i have no idea how to deal with this, so plz if u have an idea, let me know
thanks
Title: Re: Having problems with the package manager?
Post by: matkins70 on September 02, 2006, 04:50:39 PM
Quote from: Richmedia on September 02, 2006, 05:18:50 AM
Guess what? The log out trick worked, I'm now able to uninstall the RC2 packages. Hopefully, I'll be able to reinstall them.

I'm not sure why I didn't think of that before, I sometimes tell our members to do exactly that, log out, log in!

I'd do a happy dance, 'cept I can't dance!

So wait.  Are u now able to install mods???  and if so, how did u log out?  Do you have to log out at specific point, like after downloading mod etc, or just log in then log out???
Title: Re: Having problems with the package manager?
Post by: virtualdave on September 03, 2006, 04:24:15 PM
Quote from: matkins70 on September 02, 2006, 04:50:39 PM
Quote from: Richmedia on September 02, 2006, 05:18:50 AM
Guess what? The log out trick worked, I'm now able to uninstall the RC2 packages. Hopefully, I'll be able to reinstall them.

I'm not sure why I didn't think of that before, I sometimes tell our members to do exactly that, log out, log in!

I'd do a happy dance, 'cept I can't dance!

So wait.  Are u now able to install mods???  and if so, how did u log out?  Do you have to log out at specific point, like after downloading mod etc, or just log in then log out???

Well I just tried the log out solution and after reading 22+ pages of stuff I found one that worked. I uploaded the mod logged out, logged on and went to package manager and clicked apply mod. then logged out, I logged back on and went to package manager and hit apply mod again this time I entered my ftp password and it went through. There were a few more instructions that went fine. This was for the Ad Mod. I must have spent 12 hours looking for an answer to this here and on the mod support boards. I have other mods to load hopefully this will move them along too.
Many Thanks to bl968
vd
Title: Re: Having problems with the package manager?
Post by: SusanTN on September 03, 2006, 04:52:48 PM
Quote from: virtualdave on September 03, 2006, 04:24:15 PM
Many Thanks to bl968

You are very welcome! It was annoying....
Title: Re: Having problems with the package manager?
Post by: examino on September 09, 2006, 02:31:03 PM
I can't upload any packages or themes either. Imagine if i solve this and then not being able to apply them! I' m really gonna kill my host!  :D
Title: Re: Having problems with the package manager?
Post by: falleninlove on September 12, 2006, 07:22:11 PM
i seem to having problems with installing new mods ..
This error message seems to pop up all the time :(

An Error Has Occurred!
The package you tried to upload either is not a valid package or has become corrupted. 


checked the package and it doesn't seem 2 be corrupted

or if i try to install existing package

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! 
Title: Re: Having problems with the package manager?
Post by: 青山 素子 on September 13, 2006, 02:09:55 AM
Not completely sure on the first error, but for the second, make a folder called "temp" inside the Packages folder, and chmod to 777.
Title: Re: Having problems with the package manager?
Post by: sicaeddoo on September 17, 2006, 10:34:12 AM
- My server is SAFEMODE ON: (webhost=surftown)
- I have innstalled the fix_ownership.pho
- I have created a folder "temp"  and chmod 777

I can now innstall mods, I get succsessfull message. But the problem now is that the mods dosnt show. When i press " Innstalled packages" , I get no mods installed.

Any one? 
Title: Re: Having problems with the package manager?
Post by: sverebom on September 18, 2006, 06:21:12 PM
<< using SMF 1.1RC3
<< used repair_settings.php
<< all paths were correct (checked them several times)
<< used package manager

But still, every time, the same error: no such file or directory.
I've tried to user the ownership-fix and again "no such file or directory".

I've no more idea, what can be wrong or what I can do.
I'm tired, I'm loosing my patience, I'll give it one last chance tommorrow but then I'll change the software!

Thanks for your efforts but ...... aaaaaaarrrrgggghhhhh
Title: Re: Having problems with the package manager?
Post by: JayBachatero on September 18, 2006, 07:23:36 PM
What mod are you trying to install?
Title: Re: Having problems with the package manager?
Post by: statichrist on September 19, 2006, 07:04:09 PM
I just saw this post a moment ago after I made a new topic. Thought I should come here, though. Sorry.

Anyway, every time I click "Package Manager" I get the message "Internet Explorer cannot display the webpage"

I've tried logging in and out, and some other things. Nothing works (so far).

Any ideas as to what I should do? It was working earlier, and then while uploading Bible BCC it got ALL screwed up.

EDIT: I just found a thread in this "room/board/forum" (A & F) entitled "Package Manager doesnt show up at all. (http://www.simplemachines.org/community/index.php?topic=28843.0)" and read that uploading "the whole Sources directory again" fixes this problem. I'm wondering what this refers to.

Note: It displays nothing in FireFox but gives "The page cannot be displayed" in Internet Explorer 6.
Title: Re: Having problems with the package manager?
Post by: statichrist on September 21, 2006, 10:56:16 AM
I have been playing around a bit, and found something interesting.

I CAN get to everything that has to do with packages except the "Browse Packages" page. A friend said this was a server problem. Is this true? Either way, is there anything I can do to fix it?

EDIT: Also, I deleted the Package Server because I wanted to see if that was the problem. Is there a way that I can make it come back? Can you give me the info needed to add this server back?
Title: Re: Having problems with the package manager?
Post by: JayBachatero on September 26, 2006, 01:29:35 PM
Server address is http://mods.simplemachines.org
Title: I need help...
Post by: brianjw on September 29, 2006, 08:21:58 PM
In the admin panel of smf. i go to the options i set everything up like member activation and email settings. When I tested to try it out and clicked register it says like you dont have access to view this page...   ???
I really want to be able to use this feature!
Ok. ok. I know there is the permission options but what do i set that which user can view that way anyone can start registering.
PLEASE SOMEONE REPLY SOON!
or email me at [email protected] but post it here first
:) ;) :D ;D >:( :( :o 8) ??? ::) :P :-[ :-X :-\ :-* :'(
HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP
[/tt]
Title: Re: Having problems with the package manager?
Post by: Oldiesmann on September 29, 2006, 09:50:13 PM
Quote from: brianjw on September 29, 2006, 08:21:58 PM
In the admin panel of smf. i go to the options i set everything up like member activation and email settings. When I tested to try it out and clicked register it says like you dont have access to view this page...   ???
I really want to be able to use this feature!
Ok. ok. I know there is the permission options but what do i set that which user can view that way anyone can start registering.
PLEASE SOMEONE REPLY SOON!
or email me at [email protected] but post it here first
:) ;) :D ;D >:( :( :o 8) ??? ::) :P :-[ :-X :-\ :-* :'(
HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP
[/tt]

http://www.simplemachines.org/community/index.php?topic=116987.msg747724#msg747724

For future reference, please do not put a ton of emoticons and scrolling "HELP" text in your post. It's really annoying and is not going to make us answer your post any sooner.
Title: Re: Having problems with the package manager?
Post by: djole501 on October 06, 2006, 06:06:44 PM
I have installed the CountryFlag package and now I can't acces the Package manager any more. The server is giving me an internal error or misconfiguration. What is the problem? I use version 1.0.8.
Title: Re: Having problems with the package manager?
Post by: JayBachatero on October 06, 2006, 06:10:56 PM
FTP to your site and go to forumdir/Packages and delete the CountryFlag archive and see if that works.  That mod shouldn't cause an internal server error.  Also check the permissions for the dir.  Try changing them to 755.
Title: Re: Having problems with the package manager?
Post by: djole501 on October 06, 2006, 06:13:59 PM
Thanks that worked but the dir was already set to 755.
Title: Re: Having problems with the package manager?
Post by: JayBachatero on October 06, 2006, 07:15:42 PM
Umm the mod shouldn't have caused the error but at least it's working now.
Title: Re: Having problems with the package manager?
Post by: mrjuntao on October 08, 2006, 06:05:55 PM
OK, i am really stuck with the package manager. Firstly I thought it was some error with the current forum, so i set up another one to test it out. Now everytime I go to install a mod, firstly the read me file never displays, then when it says that the tests are successful i go to install it, so I think all well and good, but no lol, nothing gets changed it does not alter anything  :-\ the when i come to unistall it, it says something went wrong with the install. It looks to me that its looking for smf in the wrong location but i am unsure, i really need help in resolving this as i have trawled through every other thread and none of their solutions worked.

This is just the test forum i am experimenting with, so its just a plain install of RC3, nothing changed to it at all.
Title: Re: Having problems with the package manager?
Post by: JayBachatero on October 10, 2006, 08:24:36 AM
Those errors about a mod "installing" and not actually being installed are due to permission errors.  Check the file permissions.
Title: Re: Having problems with the package manager?
Post by: mrjuntao on October 10, 2006, 10:21:56 AM
Hmm it took a couple of tries at resetting the permissions but it installed eventually, although only partly at that, i have managed to get it up and runing now though  :D
Title: Re: Having problems with the package manager?
Post by: udeze on October 10, 2006, 03:08:31 PM
Hi,

I have just tried to install my first MOD, "SMFShop 2.2" to my forum, while trying to upload the zip file from my PC, I got this message:

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.


When I checked my error log I got this information:

2: file(/home/fnigeria/public_html/Packages/installed.list): failed to open stream: No such file or directory
File: /home/fnigeria/public_html/Sources/Subs-Package.php
Line: 508


my forum directory is public_html b/c as it is purely a forumsite, I have changed it to 777, 755 and back to 750 but it doesn't work, the file subs-package.php is also available with CHMOD 644, what would be the cause of this,

my last attempt was to upload all the files to the "packages" directory, run installScript.php, and I got this error
Database Error: Incorrect table name ''
File: /home/fnigeria/public_html/installScript.php
Line: 41


I am completely new to SMF, I just installed for the first time yesterday and I must confess that so far it is better than my former phpbb, I need help as I will really like to use this mod
Title: Re: Having problems with the package manager?
Post by: JayBachatero on October 11, 2006, 12:09:57 PM
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?
Title: Re: Having problems with the package manager?
Post by: udeze on October 11, 2006, 04:13:07 PM
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
Title: Re: Having problems with the package manager?
Post by: JayBachatero on October 11, 2006, 04:28:15 PM
That means that the mod is not compatible with the version of SMF that you are using.
Title: Re: Having problems with the package manager?
Post by: udeze on October 11, 2006, 05:51:22 PM
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
Title: Re: Having problems with the package manager?
Post by: Oldiesmann on October 12, 2006, 10:22:06 PM
"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.
Title: Re: Having problems with the package manager?
Post by: 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 ?
Title: Re: Having problems with the package manager?
Post by: JayBachatero on October 14, 2006, 04:17:01 PM
Did you try creating the temp dir inside Packages and chmoding it to 777?
Title: Re: Having problems with the package manager?
Post by: toyotaTRD on October 14, 2006, 04:34:22 PM
yeah, I had read that in another message and tried it but still no luck.
Title: Re: Having problems with the package manager?
Post by: IchBin™ on October 14, 2006, 11:23:34 PM
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.
Title: Re: Having problems with the package manager?
Post by: toyotaTRD on October 15, 2006, 02:21:39 AM
That's what I'll do, I just wanted to avoid it if there was another way. Thanks for the support guys!
Title: Re: Having problems with the package manager?
Post by: Jim R on October 21, 2006, 11:31:50 PM
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?
Title: Re: Having problems with the package manager?
Post by: JayBachatero on October 22, 2006, 12:55:25 AM
Check that your host allows permissions to be 777.  If not manually change the permissions to 755.
Title: Re: Having problems with the package manager?
Post by: Jim R on October 22, 2006, 09:59:30 AM
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.
Title: Re: Having problems with the package manager?
Post by: Jim R on October 22, 2006, 10:10:33 AM
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?
Title: Re: Having problems with the package manager?
Post by: VicViper on October 26, 2006, 03:52:29 PM
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.
Title: Re: Having problems with the package manager?
Post by: IchBin™ on October 26, 2006, 10:02:11 PM
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
Title: Re: Having problems with the package manager?
Post by: Jim R on October 26, 2006, 10:08:00 PM
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.
Title: Re: Having problems with the package manager?
Post by: Bigguy on October 26, 2006, 10:12:31 PM
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.
Title: Re: Having problems with the package manager?
Post by: Jim R on October 26, 2006, 10:14:51 PM
So what you're saying is my host is telling me things that won't work???

What is your suggestion as a setting? 
Title: Re: Having problems with the package manager?
Post by: Bigguy on October 26, 2006, 10:24:55 PM
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.
Title: Re: Having problems with the package manager?
Post by: Jim R on October 26, 2006, 10:32:24 PM
Where do I find these ownership settings in cPanel?

Thanks.
Title: Re: Having problems with the package manager?
Post by: Bigguy on October 26, 2006, 11:04:00 PM
You can't find them your host has to re-own them for you.
Title: Re: Having problems with the package manager?
Post by: Jim R on October 26, 2006, 11:06:39 PM
They are telling me the ownership has to be set to nobody.  (I think.   :-\)
Title: Re: Having problems with the package manager?
Post by: Bigguy on October 26, 2006, 11:56:19 PM
Then I am at a loss. As far as I know it can't run that way. Maybe someone here with more hosting experience can answer that. I only know that my files have to be owned by me on my server in order for me to do anything with them. Also if I remember correctly .htaccess files are sometime created by hosts or SMF which ever maybe the case. If you find one rename it to .htold and see if it works.
Title: Re: Having problems with the package manager?
Post by: 青山 素子 on October 27, 2006, 12:16:33 AM
"Nobody" is very likely the user the web server runs under. This should (usually) be a good thing. If the files are owned by that user, then there is no need to chmod because it already has permission. Now, the issue when that would be a problem is if PHP runs as a different user. If that is the case, permissions will get all mixed up between the two parts, and things will start to go strange.
Title: Re: Having problems with the package manager?
Post by: Jim R on October 27, 2006, 12:17:59 AM
So how is it corrected?  It seems to get fixed but then messes up after a couple of installs.
Title: Re: Having problems with the package manager?
Post by: Bigguy on October 27, 2006, 12:20:32 AM
Well I have been dealing with strange things now for a couple months when it comes to ownership. That makes more sense then I have heard anywhere else.
Title: Re: Having problems with the package manager?
Post by: 青山 素子 on October 27, 2006, 12:52:49 AM
Jim R, well the thing is that it shouldn't get that way. I personally haven't actually run a server in that configuration so I can't make any suggestions on how to fix it. I also don't have a spare box handy to play with right now to really test it. Perhaps someone else has an idea?
Title: Re: Having problems with the package manager?
Post by: Bigguy on October 27, 2006, 12:56:45 AM
Have you or can you ask your host to "re-own" all the files in your account. It will not touch your permissions at all but it will set the ownership right. Unless your host is supposed to be running with nobody as the owner than this will work as long as they can re-own them. That is the only idea that I have come up with that works for me.
Title: Re: Having problems with the package manager?
Post by: Jim R on October 27, 2006, 01:02:38 AM
It just sounds to me as if they are saying the opposite.

Title: Re: Having problems with the package manager?
Post by: VicViper on October 27, 2006, 11:16:30 AM
It seems SMF has somehow messed up my file permissions, since I can't even CHMOD some files/directories through my FTP client anymore. It always gives me an error "permission denied". What can I do to solve this?
Title: Re: Having problems with the package manager?
Post by: Jim R on October 27, 2006, 11:58:42 AM
I've had the same problems.  My host is moving me to a phpsuexec server.

I have no idea what that really means, but it sounds exciting!!!   ;D
Title: Re: Having problems with the package manager?
Post by: 青山 素子 on October 27, 2006, 12:02:17 PM
That simply means PHP will run under your user account. As a result you shouldn't have to do any chmod stuff on the files.
Title: Re: Having problems with the package manager?
Post by: Jim R on October 27, 2006, 12:04:51 PM
So the burning question is, what happened betweeen 1.1 rc2 and 1.1 rc3?  I never had any problems with rc2.
Title: Re: Having problems with the package manager?
Post by: VicViper on October 27, 2006, 12:18:31 PM
It's also not solving my problem, because my host apparently can't do anything about it. So am I basically stuck with SMF screwing up my file ownerships? I'd prefer doing all the CHMODding myself, but now that the package manager has changed all the ownerships to whatever, I can't do anything.
Title: Re: Having problems with the package manager?
Post by: Jim R on October 27, 2006, 12:24:31 PM
Vic,

I changed all applicable files to 777.  I even tried 755.  Those are bandaid remedies to begin with, but nothing worked for me.  It's been an ownership issue, not that I understand what that really means.

1.1 rc3 Package Installer isn't playing nice with my server, whereas I never had that issue 1.1 rc2.  Guys here and my host are working to help, but the bottom line is simple; I want it to work as it did, especially as I'm told there weren't any changes to the Package Manager.  Something has changed.
Title: Re: Having problems with the package manager?
Post by: IchBin™ on October 27, 2006, 12:32:49 PM
Here's the way I see it. I run my own linux server and I'm no guru, but I think I understand what is happening. Quite frankly, I've been searching for an answer to this myself. There's a few things hosts can do to fix this, but only if you're running certain programs etc.

When you upload your SMF files via FTP to install they are automatically labled as "Owned by you". When you upload mods through SMF, SMF will often run into problems because when files are uploaded or edited by SMF they are automatically labled as "Owned by Apache" aka Nobody. So if "Nobody" goes to edit a file thats "Owned by you", thats when the problems occur.

Some hosting companies are running a program called phpsuexec which makes all the apache/php processes run as "you" which solves some of these problems by ownership. But I've often seen phsuexec nerf permissions when they set it so that things can't be writeable  to certain groups.

If you are running into package manager problems like this it can't really be blamed on SMF for permission issues with the server. Mine has these problems, but since I'm the owner of the linux box I can just run a few chmod/chown commands to solve it quickly. Unfortunately for people being hosted with these kinds of problems often falls into making them install packages manually.
Title: Re: Having problems with the package manager?
Post by: Jim R on October 27, 2006, 12:52:00 PM
I understand all of that, but no one seems to be addressing the question of what has changed rc2 to rc3?  Oddly enough I switched to SMF when I switched to my current host.  I didn't know anything about SMF but quickly found a lot to like, including a very clean package installer.

Over a year I've had this host and SMF, all running smoothly.  I upgrade to 1.1 rc3 and all heck breaks out. 

Man...the only reason I upgraded was to take advantage of a couple of Mods.
Title: Re: Having problems with the package manager?
Post by: IchBin™ on October 27, 2006, 01:13:04 PM
Did your host change anything on the server?
Title: Re: Having problems with the package manager?
Post by: Jim R on October 27, 2006, 01:17:29 PM
Considering I've had as much discussion with them as I have had here, I rather doubt it.  I was uninstalling and installing Mods right before I upgraded making sure I was getting them all off.  They haven't noted any changes.
Title: Re: Having problems with the package manager?
Post by: VicViper on October 27, 2006, 03:24:42 PM
OK, so for the time being, can anyone help me get ownership for my files back? I understand that CHMODding stuff yourself through FTP can help installing packages but I apparently "lost" permission to mod my Themes directory courtesy of SMF.

Can the CHOWN command solve this issue? If so, how do I use it - since my FTP software seems to miss this feature ...
Title: Re: Having problems with the package manager?
Post by: Oldiesmann on October 27, 2006, 04:10:20 PM
CHOWN changes the owner of the file. Most FTP clients don't have this. Unfortunately, if you can't even change the file permissions, you probably won't be able to change the ownership of the files.

Try uploading a file with the following code in it to your SMF directory and running it:

<?php
echo shell_exec('chown -R yourusername ./');
?>


That will attempt to make you the owner of all the files and folders in the current directory (and any files/folders in sub-directories...). I don't know if it will work, but it's worth trying anyway.
Title: Re: Having problems with the package manager?
Post by: Bigguy on October 27, 2006, 04:16:51 PM
If this works it will be very handy.
Title: Re: Having problems with the package manager?
Post by: VicViper on October 27, 2006, 04:23:05 PM
Didn't seem to do anything, unfortunately.
Title: Re: Having problems with the package manager?
Post by: caryb on October 29, 2006, 08:01:08 PM
I had the same problems I had to sudo chown... As I didn't have permissions without elevating my account to change permissions now I can upload packages etc


Cary
Title: Re: Having problems with the package manager?
Post by: Cipriano on October 30, 2006, 08:49:57 AM
I am also having problems, i tryed everything but nothing works. I am using the 1.1 RC3
Title: Re: Having problems with the package manager?
Post by: Morning on November 06, 2006, 07:02:29 AM
Not sure how 'uncompliant" Linux is on these matters, but the UNIX/POSIX compliance says only root may chown (change ownership) of files.

I have generally solved this by having Apache run as user www, and group www. Sites are owned by the user (e.g., foo_user) who is also in group www.

The important setting in UNIX is the 's' (special) bit in the group permissions of the directories. This means that all new fies and directories are automatically created as the group of the directory (in this case group www).

Setting default file mods to rw-rw---- (or 660) for files, and rwxrwx--- (or 770) for directories means that files are created as owned by "apache", but also by group "www". Site 'owners' can still edit their files (tricky part would be making sure others didnt get into site as they would also be able to edit those files, please ignore that for now - unless it is vital to you - send a pm and I'll get back to you on that). btw - the +s setting on directories means that directories are created with the +s setting automatically, so that the structure continues.

My problem with RC3 Package manager is that even when it has rights, it says it doesn't, or it is trying (maybe) to suid (set User ID) when it cant. For installs, I have 'patched' the problem by making the Packages/temp directory manually. However, I have not been able uninstall the one package I have installed. And maybe that is because the package did not install properly ahead of time.

p.s. I am not using Linux, but an "official" UNIX as hosting computer.
Title: Re: Having problems with the package manager?
Post by: 青山 素子 on November 06, 2006, 10:52:01 AM
I just tested on one of my servers, and I can't even chown a file in my own user directory as a normal user ("Vanilla" Linux and userland tools behave as close as possible to UNIX standards). This is on Slackware 11.0, dunno if other distros patch in the functionality.

The nice thing about this board is you can look at the source in the .php files.

The relevant section:

if (!mktree($boarddir . '/Packages/temp', 0755))
{
  deltree($boarddir . '/Packages/temp', false);
  if (!mktree($boarddir . '/Packages/temp', 0777))
  {
    deltree($boarddir . '/Packages/temp', false);
    packageRequireFTP($scripturl . '?action=packages;sa=' . $_REQUEST['sa'] . ';package=' . $_REQUEST['package'], array($boarddir . '/Packages/temp/delme.tmp'));

    deltree($boarddir . '/Packages/temp', false);
    if (!mktree($boarddir . '/Packages/temp', 0777))
      fatal_lang_error('package_cant_download', false);
  }
}


The numbers are actual mode, not mask. So, first, it tries to create the temp directory with 755, then with 777. If that fails, it pops up the box that asks for FTP info. No suid or anything fancy there. Assuming modes are fine on the files and the mkdir/mktree function isn't disabled, it should work.

What specifically are you seeing when trying to uninstall the package?

Personally, my preference on ownership is to set the apache user as owner, and create a new group for each site. For each user, just put them in the group for each site they have access to. Combine this with a umask of 0007 and it works out fairly well.

What "official" UNIX are you using? AIX? Tru64? Solaris? HP-UX? UnixWare? IRIX?
Title: Re: Having problems with the package manager?
Post by: Morning on November 06, 2006, 04:04:17 PM
I am using AIX 5.2, and am trying to rebuild rootvg.net to use SMF versus some anyboard thing I inherited. (Current site is www.rootvg.net, try-out is felt-1.demon.nl/jootvg - smf itself is installed as http://felt-1.demon.nl/smf)

The create mode (the 777 above for a directory, and generally 666 for a file is the create mode, this is NAND (0777 & ~umask) to determine the actual bits that the directory or file will be created with. It should not be 'retrying' and skipping the umask - that is the purpose of umask - UserMask.

If you were going to debug you could try to call umask itself, and set the umask to 0. But I would not consider that very neat. I use umask, as do others, with security settings in mind.
Title: Re: Having problems with the package manager?
Post by: Morning on November 06, 2006, 04:14:24 PM
Well, well, well.

Seems there is some cookiechaching, or whatever. I had tried stopping, restartting, clearing private data, etc. etc.

Seems I just needed to wait a few hours.

Nothing was changed, but now rather than an error message about Packages area I get these two pictures:

(http://felt-1.demon.nl/pictures/uninstall_pre.png)
(http://felt-1.demon.nl/oictures/uninstall_post.png)

edit - reinstall reports no errors.

(http://felt-1.demon.nl/pictures/install_pre.png)
(http://felt-1.demon.nl/pictures/install_post.png)


p.s. i tried the image bbc, but that doiesnt seem to work (yet) for me.
Title: Re: Having problems with the package manager?
Post by: J. Williams on November 06, 2006, 04:17:11 PM
Both links are dead, if you have no other modifications installed apart from it; then just replace all files except settings.php with clean ones.
Title: Re: Having problems with the package manager?
Post by: Morning on November 06, 2006, 04:25:51 PM
thank you. seems i forgot /images/ is a magic word in my apache settings.
Title: Re: Having problems with the package manager?
Post by: Morning on November 06, 2006, 04:35:53 PM
well, i am going to blush a bit here, because the bridged version for rootvg, the installer package works fine, however, another 'site', on the same server (so apache, php, mysql, etc are identical) it doesnt work.

The one that did work used to ask for ftp info, but doesnt atm - so that should give you a hint about what is different - i forget what i did for stop that (I will try to see what I can find, but now I am getting the perms problems again.

(http://felt-1.demon.nl/pictures/ftp_request.png)
(http://felt-1.demon.nl/pictures/warning.png)
Title: Re: Having problems with the package manager?
Post by: Morning on November 06, 2006, 04:43:14 PM
the 'site' that is working is owned by apache (i.e. www), the site that was failing is not.

What I expect I must check is the umask settings in httpd.conf and php.ini as well as system default. What I could see is that apache or php was making new files and the owner was 'www', or apache.

running chown -R www:www 'site' did not resolve the problem though. Still getting the big read error message.

Suggestions. Now I am a bit stuck.
Title: Re: Having problems with the package manager?
Post by: Morning on November 06, 2006, 05:08:23 PM
And a bit lucky - after doing the chown - and it should work, i went to deinstall, and that worked, and after reinstall, the mod works too!

happy me!
Title: Re: Having problems with the package manager?
Post by: bebe on November 10, 2006, 10:10:39 PM
Not sure if this is the correct place to ask this question.

I always get the following 2 errors in the forum log whenever i go to Packages-->Download Packages-->Browse (http:// yoururl.com/forum/index.php?action=packageget;sa=browse;server=1).

8: Undefined index: email
File: /home/youraccount/public_html/forum/Sources/PackageGet.php
Line: 415


8: Undefined index: link
File: /home/youraccount/public_html/forum/Themes/default/Packages.template.php (eval?)
Line: 824


Anybody know what is the cause and how should i correct it?
Title: Re: Having problems with the package manager?
Post by: bebe on November 12, 2006, 01:43:49 AM
I had a check. Would it be possible causing by the following?
The Simple Blog mod's Author field is blank so there is no email link present.

Please. I hate to see any error present in the log. :(
Title: Re: Having problems with the package manager?
Post by: babanner on November 12, 2006, 11:00:12 AM
This is what i get:
Fatal error: require() [function.require]: Failed opening required '/www/110mb.com/w/w/n/_/_/_/_/_/wwn/htdocs/news/Packages/temp/./install.php' (include_path='.:/usr/share/php') in /www/110mb.com/w/w/n/_/_/_/_/_/wwn/htdocs/news/Sources/Packages.php on line 540

What the problem could be?
Title: Re: Having problems with the package manager?
Post by: J. Williams on November 12, 2006, 02:44:46 PM
Safe mode would be the first explanation whilst chmodding might be my next.
Title: Re: Having problems with the package manager?
Post by: same33 on November 12, 2006, 03:39:36 PM
I've tried everything thing ppl have here posted and nothing helps...

Can't add mods  >:(    everytime the ftp info screen pops up and when i feed the needed (ftp host, password and username) it just pops up again... and I'm 100000% sure that all info is correct.
I've installed the forum twice without any difference..  I'm getting really pissed with this bug or what ever is...   Aren't there really anything to do to fix this stopid bug?   or do i really switch to some other forum software :(      argh  plz tell if there is anything to do..
Title: Re: Having problems with the package manager?
Post by: SleePy on November 12, 2006, 03:46:30 PM
It would help if you posted some of the errors you are getting.
Along with errors that popup in error log from it..

As well as some server information like php version, shared or dedicated, windows or linux (if linux what port of linux)

as well as your SMF Version..

Title: Re: Having problems with the package manager?
Post by: same33 on November 12, 2006, 04:01:21 PM
My version is 1.1 RC3. 

Here's the "pop up" ...
(http://www.rayha.com/dumppi/error.jpg)

when i added needed info it goes to same screen again :(

server is IBM xSeries server with apache.. that's all the info i got at this point..
if more info is needed i can mail and ask from company i got the server..

gosh hopefully some1 can help
Title: Re: Having problems with the package manager?
Post by: 青山 素子 on November 12, 2006, 04:02:58 PM
My guess is you aren't putting in the correct info for the local path. Double-check the path with an ftp program.
Title: Re: Having problems with the package manager?
Post by: same33 on November 12, 2006, 04:04:58 PM
done it like 100 times... i've checked everything sooo many times   :(
Title: Re: Having problems with the package manager?
Post by: 青山 素子 on November 12, 2006, 07:01:13 PM
You should get an error message returned if there is a problem. What does it say?
Title: Re: Having problems with the package manager?
Post by: Morning on November 13, 2006, 06:25:54 AM
I would suggest logging in using ftp yourself and checking what path you need to use to get to where you want to go. Assuming you are on a hosted box, your idea of the path may be different from the ftp servers. Web hosts will often use the call chroot() to change the position of the root directory. This prevents you for accessing others - and them from accessing your files.
Title: Re: Having problems with the package manager?
Post by: same33 on November 13, 2006, 07:07:44 AM
Quote from: Motoko-chan on November 12, 2006, 07:01:13 PM
You should get an error message returned if there is a problem. What does it say?

nope no error message of any kind.. the same screen just pop up time after time.
if checked the root from the company i have the server .. checked ports , password, username..
i've chekced every possible aspect i could think of..
Title: Re: Having problems with the package manager?
Post by: NiceMan72 on November 13, 2006, 02:46:20 PM
I get this screen too when i try install mod to 1.1rc3...

I try install Gallery to SMF 1.1 RC3 but i take this screen too... i try many thing but not get it work :-(
Title: Re: Having problems with the package manager?
Post by: Ricky. on November 17, 2006, 01:12:05 PM
I am new to SMF but today my whole day was into messing up with SMF.. particularly "Package Manager"

The main reason for me to go for SMF was its ease of installing mods..ie packages but seems that this the only thing which is not working,I can go for manual install but I dont' want that.

What I am facing that I can only install one package on fresh "SMF 1.1RC3" installation and after that it starts showgin following error..
You cannot download or install new packages because the Packages directory or one of the files in it are not writable!
But I alraedy installed one package ie.. 1st and last.

I tried checkign up permssion and  all required files/directory were in 777 mode.
Then I reinstalled the board.. and again was able to install one MOD and after that.. it showed same error.

Kindly give me the clue ie. solution so that I can move further.
Title: Re: Having problems with the package manager?
Post by: Bigguy on November 17, 2006, 01:14:50 PM
Try changing permissions on the packages folder to 777 and placing a temp directory inside of it also chmodded to 777
Title: Re: Having problems with the package manager?
Post by: Ricky. on November 17, 2006, 01:41:44 PM
Interesting,
Adding a Temp directory inside packages directory with 777 permission solved the problem.
Thanks buddy.. Though I installed Tinyportal but seems that I need to search for changes in it.. lolz.. thats another issue :)
Title: Re: Having problems with the package manager?
Post by: Bigguy on November 17, 2006, 01:43:54 PM
Glad it worked for you. ;)
Title: Re: Having problems with the package manager?
Post by: Ricky. on November 17, 2006, 02:34:52 PM
I think its not solved completely,
When I installed Mods, they got installed and showed installed in Package manager but I think its not working ie.. files are not getting uploaded .. I installed Advance Visual confirmation ..
It shows following list in files
   1.  ttf_fonts/acidic.ttf (49516 bytes)
   2. ttf_fonts/borduu.ttf (9540 bytes)
   3. ttf_fonts/cbgb.ttf (10180 bytes)
   4. ttf_fonts/corporeaa.ttf (8020 bytes)
   5. ttf_fonts/dymo.ttf (21332 bytes)
   6. ttf_fonts/fanzine.ttf (13812 bytes)
   7. ttf_fonts/jaii.ttf (10808 bytes)
   8. ttf_fonts/kulminoituva.ttf (13912 bytes)
   9. readme.txt (931 bytes)
  10. install.xml (46345 bytes)
  11. installverification.php (2235 bytes)
  12. package-info.xml (1091 bytes)
  13. Verification.php (81750 bytes)


It means its shld create directory named : ttf_fonts but there is no such directory created.. neither I am getting any error.

Let me know what next ?
Title: Re: Having problems with the package manager?
Post by: IchBin™ on November 17, 2006, 09:34:42 PM
All of this is boiling down to host issues Ricky. They have security messures in place that are not allowing SMF to create/move/modify files properly. As long as your on this host your more than likely to continue to have these problems. If your mod seemed to install fine, but the files aren't there, go ahead and upload them via FTP into the places that they are supposed to be and see if it works.
Title: Modification parse error...
Post by: Rop on November 18, 2006, 09:17:23 PM
I've read through this entire thread, in fact searched and read every post on this forum related to this error message, so far with no luck.

This is a fresh install of SMF 1.1-RC3 on a W2K machine, running Apache v2, PHP5 (safe_mode = Off), and MySQL 5.0.27. All on the same machine. The entire SMF directory and everything underneath has full access control for everyone, with 'inherit' enabled so the temp dir that Package Manager creates plus its files have full controll as well.

I've tried installing "SMF 1.0.9 and 1.1 RC3-1 Security Patch" through Package Manager and though it says it completed successfully the version number at the bottom of the forum pages still says 'SMF 1.1-RC3'. In short, it looks like this patch didn't take.

Then tried installing "Advanced Visual Verification". When applying the mod it shows "2.     Execute Modification     -     Modification parse error". Though the "install now" option is enabled after that, it is clear that nothing gets installed when hitting it.

From other messages I understand this is supposed to be an access rights issue outside of SMF. However, all files and dirs related to SMF are already wide open for the NT user context that the Apache Web server runs under. The database user account has SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, INDEX and ALTER access to the forum schemata.

Any ideas on where to look or what to try? A better description on what this error message actually means would be helpful too. I've exhausted all ideas on this end...

Thank you!

-Rob-
Title: Re: Having problems with the package manager?
Post by: Ricky. on November 18, 2006, 11:08:04 PM
Rop:
I am having something similar to yours ie the problem but only difference is that you are saying its Parse error, I don't have that one.

IceBin, I am running it on a dedicated box, I have full control so let me know what I need to change ?
Any clue ?
Title: Re: Having problems with the package manager?
Post by: IchBin™ on November 20, 2006, 04:28:39 PM
Well, it all depends on what your running. I'm not up to speed on what things can cause all of these issues. I know that phpsuexec puts a lot of rules on what PHP/Apache do as far as permissions. Do you know what you're running on that box?
Title: Re: Having problems with the package manager?
Post by: Ricky. on November 22, 2006, 05:41:25 AM
Its CentOS
There is not phpsuexec !
Title: Re: Having problems with the package manager?
Post by: Ricky. on December 07, 2006, 03:39:41 PM
Anyways!
If anyone having same problem then the solution is to modify php.ini and set "upload_tmp_dir" to something working.

Here in my case it was not set properly but now  after changing it .. its fine !
Title: Re: Having problems with the package manager?
Post by: biffking on December 08, 2006, 11:29:09 AM
I am having problems with the package manager aswell. It keeps telling me "Could not upload package, please check directory permissions!" every time I click on packages in admin. It was working fine earlier, and now all the sudden I cant get to it. I know the permissions are set right so I dont know what the problem could be.
Title: Re: Having problems with the package manager?
Post by: JayBachatero on December 08, 2006, 12:46:15 PM
What permissions are set for the Packages dir and the installed.list file?
Title: Re: Having problems with the package manager?
Post by: biffking on December 08, 2006, 12:53:02 PM
The package directory is 777. The temp directory is 777 and the installed.list is 777.
Title: Re: Having problems with the package manager?
Post by: JayBachatero on December 08, 2006, 12:54:32 PM
How about the other directories?  Also did you try using another mod and see if it works?
Title: Re: Having problems with the package manager?
Post by: biffking on December 08, 2006, 12:57:28 PM
All files and folders within packages are set at 777. I have tried numerous mods. When I click on packages on the admin pade I get "Internet Explorer can not find the webpage so I have to go to packageget instead. I have even tried mods I previously installed and still have installed and get the same error.
Title: Re: Having problems with the package manager?
Post by: JayBachatero on December 08, 2006, 01:09:01 PM
Try changing the permissions to 755.
Title: Re: Having problems with the package manager?
Post by: LBizGrl on December 09, 2006, 07:25:34 AM
OK...I may have missed it...LOTS of threads here...LOL...

There are some packages that are in pdf format...It will not let me install them...it says something sbout permissions...and when one did get by it messed me up...I got a white blank screen...no errors...as mentioned in another thread....So...I deleted the file in my ftp and can see again! LOL...however..I DO want those pdf packages...

Whew!

Any suggestions?  ;)
Title: Re: Having problems with the package manager?
Post by: IchBin™ on December 09, 2006, 09:36:10 AM
THere shouldn't be any mods that are packages as PDF files. Can you point us to them? Mods should all be in a zipped format with the required mod files or they won't install.
Title: Re: Having problems with the package manager?
Post by: LBizGrl on December 09, 2006, 11:22:34 AM
Several...

Signature_Permission_v1.0.tar

ratings.tar

PM_On_Registration_1-0-2.tar

paidsubs_v0.15.tar

GrouponRegistration-1.1.tar

CountryFlag_1-01.tar


Also...

not a pdf issue...will Global Announcements update? It said not compatable with 1.1 version...
Title: Re: Having problems with the package manager?
Post by: LBizGrl on December 09, 2006, 11:27:16 AM
Sorry...those are all WinZip...for some reason they are not uploading...ONLY these types with the orange WinZip logo are the problem...I don't know where I got PDF from...Lack of sleep I guess...
Title: Re: Having problems with the package manager?
Post by: IchBin™ on December 11, 2006, 08:31:15 PM
So where are you at on your situation? What is the permissions set on your packages directory? Should be 777 if possible.
Title: Re: Having problems with the package manager?
Post by: LBizGrl on December 12, 2006, 04:15:02 PM
Yep. permissions are correct...just can't upload winzinp...ACK!

I went to the 3rd party mod site through my back office and was able to upload a few of them that way...

However, I still cannot get sig permissions and topic ratings. No win zip files will up load. They say there is an error. The sig permissions is pretty important to me...

Any help is appreciated!
Title: Re: Having problems with the package manager?
Post by: AzaToth on December 16, 2006, 02:44:15 PM
Have a strange problem, can get my own mod to work now after upgrading to 1.1 and made a clean install, the problem is that for my mod GeSHiSmf have a require-dir clause, and at the moment it wont work, this I get in my error log:
2: opendir(/home/azatoth/public_html/smf/Packages/tempGeSHiSmf//GeSHiSmf/geshi) [<a href='function.opendir'>function.opendir</a>]: failed to open dir: No such file or directory
File: /home/azatoth/public_html/smf/Sources/Subs-Package.php
Line: 1255
Title: Re: Having problems with the package manager?
Post by: 青山 素子 on December 16, 2006, 07:51:23 PM
Look at the path. Try making the // into just a /
Title: Re: Having problems with the package manager?
Post by: AzaToth on December 18, 2006, 08:22:49 AM
Quote from: Motoko-chan on December 16, 2006, 07:51:23 PM
Look at the path. Try making the // into just a /

Have tried that, the problem is  that in the package-info file, it's specified:
<require-dir name="GeSHiSmf/geshi" destination="$sourcedir" />
Title: Re: Having problems with the package manager?
Post by: AzaToth on December 18, 2006, 08:52:49 AM
Quote from: AzaToth on December 18, 2006, 08:22:49 AM
Quote from: Motoko-chan on December 16, 2006, 07:51:23 PM
Look at the path. Try making the // into just a /

Have tried that, the problem is  that in the package-info file, it's specified:
<require-dir name="GeSHiSmf/geshi" destination="$sourcedir" />


Ok, after some checking, I made it to work by changing first my patch file to containing
<require-dir name="geshi" destination="$sourcedir" />

instead, and to change the Packaging code with this patch:

--- Sources/Subs-Package.php     2006-12-02 14:15:00.000000000 +0100
+++ Sources/Subs-Package.php    2006-12-18 14:51:32.000000000 +0100
@@ -816,7 +816,7 @@
        $return = array();

        $temp_auto = 0;
-       $temp_path = $boarddir . '/Packages/temp' . (isset($context['base_path']) ? $context['base_path'] : '');
+       $temp_path = $boarddir . '/Packages/temp/' . (isset($context['base_path']) ? $context['base_path'] : '');

        // This is the testing phase... nothing shall be done yet.
        foreach ($actions as $action)
@@ -874,7 +874,7 @@
                        if ($action->exists('@from'))
                                $this_action['source'] = parse_path($action->fetch('@from'));
                        else
-                               $this_action['source'] = $temp_path . '/' . $this_action['filename'];
+                               $this_action['source'] = $temp_path . $this_action['filename'];
                }

                // Check if these things can be done. (chmod's etc.)
Title: Re: Having problems with the package manager?
Post by: Exsharaen on December 20, 2006, 12:47:16 AM
Hi, I can apply SMF 1.1.1 quick-mod as they warn us via e-mail, but I can't install any package. It's due to the permission in /Packages/temp folder that is always 755, even though I chmodded it into 777 (which always failed). I tried to delete and recreate that folder, but the permission remains 755.

Any suggestion?
Title: Re: Having problems with the package manager?
Post by: J. Williams on December 20, 2006, 09:36:40 AM
Do it via the permissions clean-up tool in the installation options of the package manager.
Title: Re: Having problems with the package manager?
Post by: Exsharaen on December 22, 2006, 02:37:00 AM
Um, exactly where is it? (Never mind, I found it.)

I'm now being asked my FTP information each time I try to install, is it normal?

EDIT:
No problem now, I found out that my FTP password caused my trouble until today. Now may package manager works normally. Thanks for your help.
Title: Re: Having problems with the package manager?
Post by: Richmedia on January 27, 2007, 10:11:30 AM
Okay, I upgraded our RC3 to 1.1.1 last December and everything went without a hitch. The Package Manager was working as expected, and I no longer got a bunch of sources/subs error messages every time that a page was accessed, as I had experienced under RC3.

So far, so good, and I set about to reinstall the mods that we had been using previously when things started to go south. Certain mods which were compatible with 1.1.1 refused to install, by saying that they were not compatible. This happened with some, but not all mods that I tried to apply. I probably got 8 or so mods upgraded, when suddenly, I can't connect at all to the Package Manager.

Error code:
QuoteCan't open the page "http://www.mysite.com/Forums/index.php?action=packages". The error was: "lost network connection" (NSURLErrorDomain:-1005)

All of the directories are properly CHModded, Safe Mode is off. Other settings:

Current SMF version: SMF 1.1.1
PHP version: 4.4.1
MySQL version: 4.0.27
Server version: Apache

I also just ran the Fix_Ownership.php script, to no avail.

Everything else works just fine in the Admin Panel, I'm even able to install new themes.

Does anyone have a clue of what might have happened? I've about run out of guesses.
Title: Re: Having problems with the package manager?
Post by: chovy on January 29, 2007, 12:52:09 AM
brand new install 1.1.1 with joomla bridge and package manager won't download anything:


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


Please help.
Title: Re: Having problems with the package manager?
Post by: IchBin™ on January 29, 2007, 11:30:42 PM
Make sure the packages you are using are compatible with your SMF version.
Title: Re: Having problems with the package manager?
Post by: Dhekelian on February 04, 2007, 02:15:01 PM
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.
Title: Re: Having problems with the package manager?
Post by: Richmedia on February 04, 2007, 03:14:56 PM
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?
Title: Re: Having problems with the package manager?
Post by: 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.
Title: Re: Having problems with the package manager?
Post by: 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
Title: Re: Having problems with the package manager?
Post by: Richmedia on February 07, 2007, 07:18:06 AM
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.
Title: Re: Having problems with the package manager?
Post by: Richmedia on February 07, 2007, 07:34:28 AM
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.
Title: Re: Having problems with the package manager?
Post by: Rynion on February 08, 2007, 04:36:07 PM
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.
Title: Re: Having problems with the package manager?
Post by: 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.
Title: Re: Having problems with the package manager?
Post by: Richmedia on February 08, 2007, 06:41:47 PM
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.
Title: Re: Having problems with the package manager?
Post by: IchBin™ on February 08, 2007, 08:24:49 PM
Its temp because PHP creates and deletes it as needed.
Title: Re: Having problems with the package manager?
Post by: horilka on February 09, 2007, 04:34:10 AM
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!!!
Title: Re: Having problems with the package manager?
Post by: NativePages on February 15, 2007, 06:45:33 PM
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
Title: Re: Having problems with the package manager?
Post by: moraidh on February 16, 2007, 09:17:18 AM
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.
Title: Re: Having problems with the package manager?
Post by: Dhekelian on February 16, 2007, 02:56:28 PM
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?
Title: Re: Having problems with the package manager?
Post by: moraidh on February 17, 2007, 05:17:07 AM
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!
Title: Re: Having problems with the package manager?
Post by: 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.
Title: Re: Having problems with the package manager?
Post by: korby on February 20, 2007, 03:52:04 PM
Help? :(
Title: Re: Having problems with the package manager?
Post by: JayBachatero on February 21, 2007, 10:41:52 AM
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? (http://www.simplemachines.org/community/index.php?topic=18250.0)
Title: Re: Having problems with the package manager?
Post by: korby on February 21, 2007, 11:46:17 AM
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
Title: Re: Having problems with the package manager?
Post by: korby on February 22, 2007, 01:04:04 PM
Any ideas? :'(
Title: Re: Having problems with the package manager?
Post by: pedesvir on February 23, 2007, 02:55:21 AM
Hey guys. Obviously I am having Package Manager issues - trying to install a mod and keep getting the following error (the modwriter says try here as one check we tried came up clean at his end):

================

2: copy(/home/handsof/public_html/forum2/Sources/itemstats/includes/xmlhelper.php) [<a href='function.copy'>function.copy</a>]: failed to open stream: Permission denied
File: /home/handsof/public_html/forum2/Sources/Subs-Package.php
Line: 962

================

Any ideas?

PEdit: Heres a link to my phpinfo: http://handsofjustice.co.uk/forum2/phpinfo.php
Title: Re: Having problems with the package manager?
Post by: korby on February 23, 2007, 04:59:04 AM
Hmm, same stuff I see. :'(
Title: Re: Having problems with the package manager?
Post by: JayBachatero on February 26, 2007, 09:50:34 AM
You guys tried making a dir called temp inside the Packages dir and chmoding it to 777.
Title: Re: Having problems with the package manager?
Post by: korby on February 26, 2007, 10:23:14 AM
I guess I already said that's all on 777. :(
Title: Re: Having problems with the package manager?
Post by: JayBachatero on February 26, 2007, 10:26:22 AM
But did you try creating a dir called temp inside Packages dir?
Title: Re: Having problems with the package manager?
Post by: korby on February 26, 2007, 02:31:29 PM
Yep, created and modiffied to 777. Then if I try to install something, the content is "stuck" to 666 and I can't change.  
Title: Re: Having problems with the package manager?
Post by: JayBachatero on February 27, 2007, 12:09:58 AM
Check with your host to see if they allow 777.
Title: Re: Having problems with the package manager?
Post by: korby on February 27, 2007, 06:08:56 AM
Yes, it's alowed. I have the site & forum on a friend's server. He tried 777 and chmod 777, but nothing, same problems.  
Title: Re: Having problems with the package manager?
Post by: IchBin™ on February 27, 2007, 10:26:51 AM
Does he have safe-mode on in PHP?
Title: Re: Having problems with the package manager?
Post by: dheeraj on February 27, 2007, 03:39:41 PM
hey im having a problem with my package manager

After upload the Mod into my ftp server it asks me for Chmod
settings and i gave ftp information..and after submitting that
information it simply returns the same page..
I tried a lot of times..but it returned the same..

Plz Help me..
Title: Re: Having problems with the package manager?
Post by: IchBin™ on February 27, 2007, 05:58:45 PM
You probably need to supply the correct path.
Title: Re: Having problems with the package manager?
Post by: korby on February 27, 2007, 07:04:31 PM
I have the same problem with some of the packages. The path is corect, but it still returns to the same screen.
And about the safe-mode on PHP, I didn't managed top talk with the guy.  
Title: Re: Having problems with the package manager?
Post by: dheeraj on February 28, 2007, 01:26:09 AM
yes the path is correct..but it returns the same //
plz help me...
Title: Re: Having problems with the package manager?
Post by: korby on February 28, 2007, 04:40:38 PM
I guess is something wrong with this server. I tried today to make some modifications on the guys forum and encountered the same problems.  
Title: Re: Having problems with the package manager?
Post by: majo on March 05, 2007, 10:04:52 PM
i fixed the problem , yes for some odd reason my installed.list file was empty ? god knows how, anyways i installed one package and took a look again how its modifying the files

it was an easy fix :)


nameofthemod|^|nameofthefile.zip|^|nameoftheauthor:nameofthemod|^|x.x.x <version of the mod

easies way is to go to package manager, click on list files, open package xml file , and you will notice right on top it will give you all information

here is the example of how installed.list file should be populated

Tagging System|^|Tags.zip|^|vbgamer45:SMFTags|^|1.0.3

Title: Re: Having problems with the package manager?
Post by: Orange789 on March 08, 2007, 04:58:06 AM
Since 1.1.2 I cannot "download" packeages with the package manager, I always get the "This package is not comaptible woth your version or is corrupt" message, but if I download them from the mod site then use the upload facility, they work fine ?

Any thoughts ?
Title: Re: Having problems with the package manager?
Post by: 青山 素子 on March 08, 2007, 10:51:49 AM
It is possible your server configuration isn't allowing the packages to download properly.
Title: Re: Having problems with the package manager?
Post by: Orange789 on March 09, 2007, 12:01:29 PM
I dont "think" so.

It allowed 1 package "avatars" with no problem

Really not sure why it wont download packages.

Havent changed anything other than upgrading to 1.1.2

It was fine previous  to the upgrade  :(
Title: Re: Having problems with the package manager?
Post by: MySQASI on March 13, 2007, 01:12:43 AM
hi all,
i install the fress smf 1.1.2 and then try to install themes but all image is not loaded when the themes was selected. looking in Forum Error Log found some error like below :

2: mkdir() [<a href='function.mkdir'>function.mkdir</a>]: SAFE MODE Restriction in effect. The script whose uid is 32148 is not allowed to access /home/zhamct/public_html/labs/Themes/helios_multi11 owned by uid 99

i though that SAFE MODE is only occured when trying install the MOD because when i try to install some mod, they state pharser error... and some mode is installed perfectly...

what is going on actually? i figure out about fix_ownership.php file but using that methode still wont fix that error.... if the problem is coming from hosting provider, then what should i do/tell them..?
Title: Re: Having problems with the package manager?
Post by: DarkCloud14 on March 16, 2007, 04:34:48 AM
Uhm I have a serious problem with package manager on a server of another user. He tried to install my mod.
I've logged in via ftp and checked what happens. If I click on apply mod and the package manager does test
everything, it looks like everything works fine. It creates a temp directory with the correct permissions and successfully extract all files and directories in it.

After the test is done it deletes the temp directory again is that OK??
Cause if I now click on the install button it doesn't install the mod correct.
I checked if package manager creates the temp directory again and it does but seriously
it doesn't extract the directorys anymore just the files in root of the zip/tar.gz file...

Somebody knows whats wrong??
Title: Re: Having problems with the package manager?
Post by: IchBin™ on March 16, 2007, 12:46:33 PM
More than likely a server issue, not allowing the folder to be created. I'm not sure about the types of permissions on these things. May be something you want to talk to the host about.
Title: Re: Having problems with the package manager?
Post by: DarkCloud14 on March 16, 2007, 01:41:10 PM
Yeah thought so first as I saw the error in error log but I've monitored the package managers temp folder
and as I said for the test it extracts everything but then it deletes it again. Is this deleting of temp folder
after the test normal??

I've also created the temp folder manually and it got deleted too after the test.
Title: Re: Having problems with the package manager?
Post by: johnwalkdaily on March 19, 2007, 09:01:24 PM
Whenever I upload a mod with SMF, it changes the owner to "15", instead of my user name on my Linux-based ISP. Is this an SMF deal, apache, or what? What can I do about it? I do not have chown privileges.

Thanks,
John
Title: Re: Having problems with the package manager?
Post by: asymmetric on March 19, 2007, 09:39:21 PM
Quote from: Orange789 on March 08, 2007, 04:58:06 AM
Since 1.1.2 I cannot "download" packeages with the package manager, I always get the "This package is not comaptible woth your version or is corrupt" message, but if I download them from the mod site then use the upload facility, they work fine ?

Any thoughts ?

I am having the same problem, on a fresh install of SMF 1.1.2, on my own (not shared etc) server.  PHP is not running in safe_mode, and allow_url_fopen is on in php.ini.

I have narrowed the problem down to this simple fact, and would appreciate any ideas on a fix..

When trying to fetch the package to verify it, the code in Sources/Subs-Package.php, function "fetch_web_data", issues a hand-crafted HTTP GET of the specified file..

It ONLY works if the server returns a 200.

Well, ALL the download links point to "http://mods.simplemachines.org/...." and they all respond with a 301 - Permanently Moved and redirect (works in a normal browser) "http://custom.simplemachines.org/..."

Of course, that causes the function to simply return false right there, and that's all she wrote.  Installation fails because this hand-crafted HTTP GET function does not understand how to deal with HTTP redirects.

Somebody at SMF decided to do this, renaming 'mods' to 'custom', not knowing they were going to break every install of SMF, which they did, because of this lunatic method of getting files to "get around" allow_url_fopen();

No, not crazy, and it's not any of "our" fault....

Unknown.. Paging unknown.. ;)

I will try to come up with a patch myself since this is really crippling getting this fresh install going with the packages I want..

(edit: They return a 301, not a 302, but same thing.  It's not a 200 or 201 which are the only HTTP responses this function knows how to deal with.  It dies on anything else.)
Title: Re: Having problems with the package manager?
Post by: phatchopolis on March 19, 2007, 10:03:00 PM
Okay I just installed freshly in the last couple days. I add a Package using the upload feature. Go through the installation with no errors and it shows it being installed and seemingly makes the modifications. I noted files added that should have been and alterations to the database tables. But there's no changes to the forum. Any ideas?
Title: Re: Having problems with the package manager?
Post by: dheeraj on March 20, 2007, 01:49:50 AM
hey Problem Solved...this was the server problem...Recently i change my server
and the Package Manager works fine....
and my old server remains the same..
Title: Re: Having problems with the package manager?
Post by: phatchopolis on March 20, 2007, 03:47:51 PM
My problem has to do with the Fantastico installation apparently. Was doing a test board to check mods before installing to a main site. So I installed using Fantastico so it'd be quicker. That's the one that would add the mods but nothing took effect. So I deleted that database and installation and manually installed again. With the manual installation everything is currently working as it should with the Package Manager.
Title: Re: Having problems with the package manager?
Post by: gheli on March 22, 2007, 02:41:03 PM
hey where to put this file han please reply  
Title: Re: Having problems with the package manager?
Post by: 青山 素子 on March 22, 2007, 03:17:35 PM
gheli, you need to be more descriptive of your problem before anyone can help. Also, please start a topic with your problem. This one is long enough as it is.
Title: Re: Having problems with the package manager?
Post by: gheli on March 23, 2007, 02:13:53 PM
yah i have problem that when i want apply mod i just  click [apply]
it get me to
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.

and when i fill the form with all information about my ftp and click proceed it will returns the same no changes and nothing installed
i have smf 1.1.2 plz help me
Title: Re: Having problems with the package manager?
Post by: Oldiesmann on March 24, 2007, 10:29:06 AM
Are the files actually getting chmodded? You may have to do it by hand if the built-in FTP feature doesn't work.
Title: Re: Having problems with the package manager?
Post by: gheli on March 24, 2007, 03:02:04 PM
yah I HAVE CHMODED ALL THE FILES BUT STILL IT GAVE NO RESULT  PLZ HELP 
and today when i try to instal rating mod it give erorr
Fatal error: require() [function.require]: Failed opening required '/www/5gbfree.com/g/h/e/gheli/htdocs/lala/Packages/temp/./RatingsPdb.php' (include_path='.:/usr/share/php') in /www/5gbfree.com/g/h/e/gheli/htdocs/lala/Sources/Packages.php on line 552


and also it said:
 Error in Package Installation
At least one error was encountered during a test installation of this package. It is strongly recommended that you do not continue with installation unless you know what you are doing, and have made a backup very recently. This error may be caused by a conflict between the package you're trying to install and another package you have already installed, an error in the package, a package which requires another package that you don't have installed yet, or a package designed for another version of SMF.

plz help
Title: Re: Having problems with the package manager?
Post by: coldthunder on March 25, 2007, 09:39:52 PM
Well i have had the dreaded cant install any packages syndrome for one week now, like others it comes up with ftp access information, when i type the right info in (and i know its right as i can access the site with other ftp clients) and i know the path is correct (im running ver 1.1.2) so i finally came to the conclusion it has to be something with my host not allowing smf to change the permission required to install the packages. I finally had a friend of mine install smf on his hosting service called Siteground (i used ipower) and for him it worked fine and he can isntall packages all day withough it even asking for the ftp information so i definately know now it is a hosting issue and them not giving the correct rights. I have contacted them but they seem to have no clue what i am talking about, so im moving over to the other hosting company as it works there :-)
Title: Re: Having problems with the package manager?
Post by: Elegant John on April 04, 2007, 07:00:35 AM
Quote from: Minion on March 03, 2005, 01:14:51 PM
\
Anyways if anyone else has an idea i am open to it.

Thanks for you help.

Try http://www.kazix.com   Use Retromex.com as your referrer. Godaddy is excellent in some things, they suck in others such as webhosting. I use them to buy my domains, have tried their hosting packages and was not impressed.  
Title: Re: Having problems with the package manager?
Post by: zuu on April 12, 2007, 01:30:55 AM
2: file_put_contents() [<a href='function.file-put-contents'>function.file-put-contents</a>]: SAFE MODE Restriction in effect. The script whose uid is 3982 is not allowed to access /www/5gbfree.com/i/n/f/infdrm/htdocs/smf/Packages/temp owned by uid 2001
File: /www/5gbfree.com/i/n/f/infdrm/htdocs/smf/Sources/Subs-Package.php
Line: 455
Title: Re: Having problems with the package manager?
Post by: Fiery on April 12, 2007, 01:34:46 AM
Quote from: zuu on April 12, 2007, 01:30:55 AM
2: file_put_contents() [<a href='function.file-put-contents'>function.file-put-contents</a>]: SAFE MODE Restriction in effect. The script whose uid is 3982 is not allowed to access /www/5gbfree.com/i/n/f/infdrm/htdocs/smf/Packages/temp owned by uid 2001
File: /www/5gbfree.com/i/n/f/infdrm/htdocs/smf/Sources/Subs-Package.php
Line: 455


See if your host will turn off Safe Mode, also take a look at ELDACAR'S METHOD TO GETTING AROUND THE SAFE MODE PROBLEM (http://www.simplemachines.org/community/index.php?topic=28393.msg354086#msg354086).  Also, for more info on Safe Mode check out http://us2.php.net/features.safe-mode
Title: Re: Having problems with the package manager?
Post by: zuu on April 12, 2007, 01:37:03 AM
550 Could not change perms on temp: Operation not permitted : /smf/Packages/777 temp
Title: Re: Having problems with the package manager?
Post by: Fiery on April 12, 2007, 01:41:17 AM
Quote from: zuu on April 12, 2007, 01:37:03 AM
550 Could not change perms on temp: Operation not permitted : /smf/Packages/777 temp

The best option is to contact your host and see if they can turn off safe mode... explain the situation to them.
Title: Re: Having problems with the package manager?
Post by: metallica48423 on April 12, 2007, 01:42:23 AM
or at the very least, they should enable phpsuexec for you.. so that your apache processes run as your user
Title: Re: Having problems with the package manager?
Post by: linette97 on April 13, 2007, 10:33:50 PM
I Download the Mod I want... Then I click on Browse in the package manager... It installs the mod.. When I click to apply Mod... I get the screen to put my FTP user name & all that... I put it in and it comes back to the same screen... I then go to my files and Make the Mod file Zip all 777 and I get this error....


QuoteWarning: ftp_site() [function.ftp-site]: Could not change perms on /forum/Packages/PaypalDonations.zip: Operation not permitted in /home/admin/system.freepgs.com/ftp/includes/filesystem.inc.php on line 319
An error has occured:&nbsp;
Unable to execute site command chmod 0777 /forum/Packages/PaypalDonations.zip. Note that the CHMOD command is only available on Unix FTP servers, not on Windows FTP servers.

Go back or Go to the login page


Technical information for developers:

The error occured in file /home/admin/system.freepgs.com/ftp/includes/filesystem.inc.php on line 322.

function ftp_chmod2 (/home/admin/system.freepgs.com/ftp/modules/chmod/chmod.inc.php on line 262)
function net2ftp_module_printBody (/home/admin/system.freepgs.com/ftp/main.inc.php on line 311)
function net2ftp (/home/admin/system.freepgs.com/ftp/index.php on line 53)&nbsp;

It's driving me CRAZY!! I tried to install manually BUT I DONT UNDERSTAND HOW TO DO IT!! I'm running SMF 1.1 & my Host is Freepgs.com

Please Help trying to install the paypal Donation Mod and several others
Thanks all!
Title: Re: Having problems with the package manager?
Post by: freedomroad on April 16, 2007, 11:42:49 AM
Hi;

I'm a complete Newbie to this. Just got hosting w Godaddy, and want to run a forum. Have installed SMF 1.1.1
QUESTIONS:

Am i going to have lots of probs w Godaddy w this?

How do we access the Package Manager?

Any suggestions or where to go on this forum for basic Newbie help w setting up SMF?

thanx in advance
Title: Re: Having problems with the package manager?
Post by: 青山 素子 on April 16, 2007, 02:47:07 PM
This isn't really the appropriate topic for this, but since it is short, I'll answer here. Next time, please create a new topic or post in a better location.

1. GoDaddy is not the best host, but they are passable. Barely. Sometimes things work, sometimes they don't. Their free hosting causes the most problems (the javascript ads cause all kinds of problems). Pick Linux hosting over Windows, their Windows boxes are not set up well for PHP stuff. YMMV.

2. Admin -> Packages

3. Try the general support board.
Title: Re: Having problems with the package manager?
Post by: Dhekelian on April 21, 2007, 04:57:48 PM
Does anything work in this 1.1.2 smf? Sorry to sound negative but I'm fed up defending smf when there is clearly a problem. I am running two forums on the same server, one is private and the other is public, I managed to install just two mods on the private one. If I use the package manager no matter what mod I DL it says there is an error in it and it is not compatible. If I do it manually via ftp I get at least two of the files with parse errors or that the test failed. I change the files to 777 both inside smf and manually. I'm on a Yahoo server btw. smf used to be so good to use it was great but now it's getting so it's not viable. I have now installed two test forums with the sole purpose of getting a mod to work. I cannot install a single mod, these forums have been installed from scratch and have their own database but I can't do it, I was planing to have some fun with these but nothing works the forum ticks over but thats it.
Title: Re: Having problems with the package manager?
Post by: 青山 素子 on April 21, 2007, 05:43:47 PM
I manage four public boards and a few private boards (the private ones being for testing mod development and such). All work quite fine. Of the public boards, three are on 1.1.2 and one is 2.0.

One board is at 1&1 and I have about four mods on it. All installed just fine. Even the 1.1 to 1.1.1 and 1.1.1 to 1.1.2 update packages installed fine. No problems with it except for a minor theme problem from an older mod I removed. That was cleaned up just fine recently.

Another board is at PowWeb (they used to be good). It installs mods just fine too, and has been running SMF since the public 1.0 betas. The biggest issue I had was the upgrade from 1.0 to 1.1 and fixing my custom themes to work.

A third board is running on some random cPanel host (I don't know the hosting, I just admin the board) and it installs mods fine too. It was converted from phpBB to SMF 1.1 and has been upgraded to 1.1.2 recently with about four mods installed.

The fourth board is a 2.0 test board on my personal site. No mods on it yet, but the old 1.1 edition one on the same server worked just fine. Likewise for my private boards. All these ones run on my personal servers.

The mod system is great and all, but it is complex. It also requires some configuration that certain hosts don't allow or aren't set up for. A good many do work fine with it, but some just don't. There are many points something can go wrong at, and lumping all these together as meaning it is broken is just unfair. You could call most software broken going by that definition.
Title: Re: Having problems with the package manager?
Post by: Dhekelian on April 29, 2007, 08:12:35 AM
i don't mean to sound rude m8 but if you think it from my point of view. I had setup an addition 2 forums for testing so I could see if there is any problem with my existing 2 forums only I can't do any testing. As a basic forum it works, just. But you can't enhance it, put mods on, it won't even send out confirmation E-mails. Have you heard of a problem with the Yahoo server? Cause either it is them or the smf software. Everytime you contact Yahoo they say it is fine thier end. I am a fan of the smf software but if it doesn't work then I will have to look at something else I suppose which I really do not want.
Title: Re: Having problems with the package manager?
Post by: 青山 素子 on April 29, 2007, 12:28:44 PM
Without any more information, it would be difficult to determine the problem. If you want, open a new topic in the support area with information and get some assistance.

If you are really having trouble, I'd be happy to give you access to a test 1.1.2 install on one of my servers.
Title: Re: Having problems with the package manager?
Post by: Dhekelian on May 02, 2007, 02:38:14 PM
would it be possible to PM you access details to the Admin on one of my public forums for you to have a look?
Title: Re: Having problems with the package manager?
Post by: 青山 素子 on May 02, 2007, 03:06:45 PM
I'm rather busy, so I don't know how soon I could look (maybe the weekend?), but you can if you wish.

If you also want access to a test 1.1.2 install, I can do that fairly quickly.
Title: Re: Having problems with the package manager?
Post by: goodgameral on May 02, 2007, 07:56:22 PM
Hi. My Package Manager won't let me CHMOD, when I do CHMOD, it changes it back because it isn't safe? I'm getting confused and I can't install the arcade because of this.
Title: Re: Having problems with the package manager?
Post by: RoarinRow on May 11, 2007, 02:27:57 PM
Quote from: coldthunder on March 25, 2007, 09:39:52 PM
Well i have had the dreaded cant install any packages syndrome for one week now, like others it comes up with ftp access information, when i type the right info in (and i know its right as i can access the site with other ftp clients) and i know the path is correct (im running ver 1.1.2) so i finally came to the conclusion it has to be something with my host not allowing smf to change the permission required to install the packages. I finally had a friend of mine install smf on his hosting service called Siteground (i used ipower) and for him it worked fine and he can isntall packages all day withough it even asking for the ftp information so i definately know now it is a hosting issue and them not giving the correct rights. I have contacted them but they seem to have no clue what i am talking about, so im moving over to the other hosting company as it works there :-)

I had the same problem with iPowerweb and the technician did something on their end and it seemed to do the trick   8)
Title: Re: Having problems with the package manager?
Post by: Inflame on May 13, 2007, 12:58:47 PM
scrue me,

new forum, new host, and everything is messed up,
I can't install a normal package, but won't get an error message either.

I tried that thingy from Unknown at the beginning, not knowing it was freaky old,
could someone come up with a new way to sort this problem, never had it before with SMF... and working with it for 2 years now
Title: Re: Having problems with the package manager?
Post by: fabter on May 20, 2007, 12:06:16 PM
I've got one short question about the ftp-functionality of the package manager:
When I enter my FTP-settings I always get following message:
550 /xyz.../html/forum: No such file or directory
Is this an safe mode issue? The safe_mode on my webserver is activated.
Title: Re: Having problems with the package manager?
Post by: jessicac on May 20, 2007, 06:53:35 PM
No, it means what it says. There's no such directory. You should be using the relative path instead of the absolute path. Think of it like this... When you log in via FTP what folders do you see? For me, I see cgi-bin, error, stats, spamassasin, and web. Thus, to get to where my files are I have to go into the web directory. Your FTP path for package manager would be

/web

instead of

/var/www/mysite.com/web

For you, this is just a guess, but I would bet your path would be /html/forum
Title: Re: Having problems with the package manager?
Post by: jessicac on May 20, 2007, 06:55:34 PM
I posted this elsewhere but since I'm not getting any responses I thought I'd try here as well. Sorry for crossposting.

QuoteHi all.

I've run into a new problem that I've never had before with SMF. I'm trying to install TP on a fresh install of SMF via the package manager and it's not creating new directories. Packages is chmod'd to 777. I don't get any error I just get a URL and a blank white page:

http://www.myboard.org/index.php?action=packages;sa=install2;package=TP_0983.zip

If I manually add a temp folder in the Packages directory and chmod it to 777 the tp package will unzip all files that aren't in subdirectories.

This is a new problem for me. PHP is not running in safe mode. The only difference I can see is that files uploaded via the package manager are under the Apache user. Suggestions?
Title: Re: Having problems with the package manager?
Post by: fabter on May 21, 2007, 06:35:33 AM
Thanks for your answer jessicac, but I took the /var/www/myid/html/forum version. And that's the version my hoster gave me. And SMF detected myid/html/forum. So I tried both multiple times, but no success. Always the same errormessage. And the files that are public and accessable from outside are stored in the html-folder. So it should be correct, shouldn't it?
Title: Re: Having problems with the package manager?
Post by: jessicac on May 21, 2007, 07:22:41 AM
No, you missed the point. Do this, connect with your FTP client. That will be your base (as far as Package Manager/ftp is concerned) any subfolders you see below that will be what you put in SMF. When you connect via FTP you won't see /var/www/myid/html/forum because you don't have access to var or www. You probably end up in the myid folder but you don't see "myid". again, I would suggest trying /html/forum.
Title: Re: Having problems with the package manager?
Post by: fabter on May 21, 2007, 07:35:22 AM
Hey thank you very much! ;D
It was my fault, sorry! You were absolutely right! With /html/forum it works just fine.
Title: Re: Having problems with the package manager?
Post by: metallica48423 on May 21, 2007, 09:03:33 AM
jessicac:

Thank you very much for responding -- i actually didn't see this until just now :P

fabter:

Glad to hear you got it resolved

Enjoy :)
Title: Re: Having problems with the package manager?
Post by: Revenge on May 29, 2007, 04:24:49 AM
I keep getting the message

"You cannot download or install new packages because the Packages directory or one of the files in it are not writable!"

But every file in Packages (including the folders Packages and backups) are chmodded to 777. Even the files that the mod alters I manually set to 777. Still no go.

Using SMF 1.1.2
Title: Re: Having problems with the package manager?
Post by: metallica48423 on May 29, 2007, 08:33:23 AM
make sure there is a 'temp' directory set to 777 (or 755 if your host doesn't allow 777) within it.

if 'temp' doesnt work, try 'tmp'
Title: Re: Having problems with the package manager?
Post by: Revenge on May 29, 2007, 03:40:14 PM
Hrrm, tried the temp folder fix, didn't work, but I noticed that I was getting 74 pages of errors all along these lines:

2: gzclose(): supplied argument is not a valid stream resource
File: /home/mydir/www/sgw/forums/Sources/Subs-Package.php
Line: 2105

However, despite this, it claims the package was installed correctly, the test were successful, but the package isn't doing what it is supposed to do.
Title: Re: Having problems with the package manager?
Post by: metallica48423 on May 29, 2007, 03:56:22 PM
i'm leaning towards this being a server configuration problem... i can't be sure... you might want to start a new thread in the support boards.. not too many look at this thread as it it wasn't meant much as a support topic but rather as a solution to a possible problem.

If you start a new topic, it may at least get some others attention.

Also be sure to include in that the contents of this discussion as well as your php and mysql versions

Thanks!
Title: Re: Having problems with the package manager?
Post by: Revenge on May 29, 2007, 04:22:22 PM
Thanks BlackMage, I've posted a new topic in hopes somebody knows how to help. ^^
Title: Re: Having problems with the package manager?
Post by: KirkM on June 06, 2007, 12:34:31 AM
Just FYI -
I was having the same problem with the permissions issue and the temp folder fix did the trick.  I'm using RHEL 4 and Apache 2.x.
Title: Re: Having problems with the package manager?
Post by: KirkM on June 06, 2007, 02:15:29 AM
Posted too soon.  It went through the unpacking and looked like it installed the mod, but it doesn't work and errors when you try to uninstall it.  I've tried everything and can't get this thing to work.
Title: Re: Having problems with the package manager?
Post by: brianjw on June 06, 2007, 08:42:03 AM
Ok need help -

Every time I upload/uninstall a package it gives me this error:
QuoteDatabase Error: Lost connection to MySQL server during query
File: /home/content/b/j/w/bjwilson/html/g82/Sources/Subs.php
Line: 3028
Does anyone have any ideas?
Title: Re: Having problems with the package manager?
Post by: Sarge on June 06, 2007, 10:42:19 AM
Quote from: brianjw on June 06, 2007, 08:42:03 AM
Every time I upload/uninstall a package it gives me this error:
QuoteDatabase Error: Lost connection to MySQL server during query
File: /home/content/b/j/w/bjwilson/html/g82/Sources/Subs.php
Line: 3028
Does anyone have any ideas?

SMF, MySQL and PHP versions? Copy/paste all info from Admin > Support and Credits > Version Information section.
Title: Re: Having problems with the package manager?
Post by: brianjw on June 06, 2007, 02:13:31 PM
Quote from: Sarge on June 06, 2007, 10:42:19 AM
Quote from: brianjw on June 06, 2007, 08:42:03 AM
Every time I upload/uninstall a package it gives me this error:
QuoteDatabase Error: Lost connection to MySQL server during query
File: /home/content/b/j/w/bjwilson/html/g82/Sources/Subs.php
Line: 3028
Does anyone have any ideas?

SMF, MySQL and PHP versions? Copy/paste all info from Admin > Support and Credits > Version Information section.
Remember that other topic about the managesmilies error: Its all located there ;)
Title: Re: Having problems with the package manager?
Post by: Sarge on June 08, 2007, 06:40:43 AM
Quote from: brianjw on June 06, 2007, 02:13:31 PM
Remember that other topic about the managesmilies error: Its all located there ;)

Your host hasn't responded yet, have they? ;)
Title: Re: Having problems with the package manager?
Post by: brianjw on June 08, 2007, 07:51:00 AM
nope
Title: Re: Having problems with the package manager?
Post by: perplexed on June 14, 2007, 12:06:48 PM
has anyone come up with a fix yet for the modification parse error problem in package manager.  I saw one of the mods said they were working on a fix that would work for everyone but that was a few weeks ago.

I have tried all the suggestions and they don't work for me.  I really need the fix.  I can't install any new mods on my second site and my sites really need to be the same.
Title: Re: Having problems with the package manager?
Post by: Sarge on June 15, 2007, 03:45:08 AM
Quote from: perplexed on June 14, 2007, 12:06:48 PM
I saw one of the mods said they were working on a fix that would work for everyone but that was a few weeks ago.

I think you're talking about PHP 5.2 bugs, but have you tried this anyway:  ???
No Temp Directory Removal (http://custom.simplemachines.org/mods/index.php?mod=724)
Title: Re: Having problems with the package manager?
Post by: perplexed on June 16, 2007, 01:09:21 PM
Quote from: Sarge on June 15, 2007, 03:45:08 AM
Quote from: perplexed on June 14, 2007, 12:06:48 PM
I saw one of the mods said they were working on a fix that would work for everyone but that was a few weeks ago.

I think you're talking about PHP 5.2 bugs, but have you tried this anyway:  ???
No Temp Directory Removal (http://custom.simplemachines.org/mods/index.php?mod=724)


hmm I hadnt seen that but I just tried it and it made no difference :(  still get modification parse error.  Thanks for trying though.  I guess I just have to wait (or stop installing mods) till they come up with a solution.
Title: Re: Having problems with the package manager?
Post by: Sarge on June 16, 2007, 02:39:08 PM
Quote from: perplexed on June 16, 2007, 01:09:21 PM
I guess I just have to wait (or stop installing mods) till they come up with a solution.

Can't you install big mods only, or not even very small ones?
Title: Re: Having problems with the package manager?
Post by: Agent Orange on June 25, 2007, 10:02:38 AM
The Package Manager is seriously annoying me.

I can't install themes, I can't install mods, I can't even upgrade to the new version (from 1.1.2), because I keep getting 'parse modification errors' when I try to install anything.

How do I fix this?
Title: Re: Having problems with the package manager?
Post by: Sarge on June 25, 2007, 03:10:03 PM
Quote from: Agent Orange on June 25, 2007, 10:02:38 AM
The Package Manager is seriously annoying me.

I can't install themes, I can't install mods, I can't even upgrade to the new version (from 1.1.2), because I keep getting 'parse modification errors' when I try to install anything.

How do I fix this?

What is the PHP version running on your server? PHP 5.2 has some issues and a workaround should be introduced in a future version of SMF.

Have you tried updating your forum to SMF 1.1.3?
Title: Re: Having problems with the package manager?
Post by: brianjw on June 25, 2007, 06:11:11 PM
Ok - wait wait, there is a smf 1.1.3?
Title: Re: Having problems with the package manager?
Post by: Agent Orange on June 26, 2007, 08:33:18 AM
Quote from: Sarge on June 25, 2007, 03:10:03 PM
Quote from: Agent Orange on June 25, 2007, 10:02:38 AM
The Package Manager is seriously annoying me.

I can't install themes, I can't install mods, I can't even upgrade to the new version (from 1.1.2), because I keep getting 'parse modification errors' when I try to install anything.

How do I fix this?

What is the PHP version running on your server? PHP 5.2 has some issues and a workaround should be introduced in a future version of SMF.

Have you tried updating your forum to SMF 1.1.3?

PHP 5.2.3, so I guess I'll have to wait for a future release then.

And the update issue has been fixed, though I had to do it manually for it to work.
Title: Re: Having problems with the package manager?
Post by: Sarge on June 26, 2007, 12:30:48 PM
Quote from: brianjw on June 25, 2007, 06:11:11 PM
Ok - wait wait, there is a smf 1.1.3?

Simple Machines Forum 1.1.3 and 1.0.11 released (http://www.simplemachines.org/community/index.php?topic=178757.0)
Title: Re: Having problems with the package manager?
Post by: BigGunn on June 26, 2007, 02:38:48 PM
i have php 5.1.6 and I get the same damn Parse Error crap. It's very annoying :(
Title: Re: Having problems with the package manager?
Post by: lordtoreador on July 03, 2007, 02:13:55 PM
Hi,

I need little help with installing some mods to smf (v1.1.3). Mods i want apply are SMF Shoutbox v1.16 & SMF Gallery Lite v1.7.6.

I upload it to package dir and in administration i try to apply this mods. It needs to change same write rules so i wrote a name & password & click Next button. But nothing happened.  Page reload in same place only password is cleared. No errors, nothing. I cant continue install that mods.
Its any option to install it other way ?

First i have older version of SMF 1.1.1 & after install i try to upgrade to newer version. But it wrote error that is some errors in instalation but i can continue. Mod SMF 1.1.2 complete instalation but in admin panel still wrote i have version 1.1.1.  And apply 1.1.3 small update ends in error, that instalation package is corrupt. So i delete all SMF, download v1.1.3 & install again. I hope it helps with mod applying, but no. :(

I have clear instalation of SMF and all directory writable.  I try on  it on default setting on clear SMF then i change to my language & try i too. Nothing helps.

Thanks very much.
Title: Re: Having problems with the package manager?
Post by: babjusi on July 03, 2007, 04:42:24 PM
lordtoreador, log in to your ftp client and check that the ''Package'' directory is indeed chmoded to 777. If not, chmod it to 777, then inside the ''Package'' directory, create a folder called ''temp'' but without the quotes and chmod it to 777 as well. Then install This mod (http://custom.simplemachines.org/mods/index.php?mod=724), which would prevent the Package Manager from removing the ''temp'' folder. Try all this in this order and let us know if it would fix the problem.
Title: Re: Having problems with the package manager?
Post by: lordtoreador on July 03, 2007, 05:14:18 PM
Package dir is chmoded to 777. As you wrote i make temp dir inside Package dir, chmod it to 777 and then download and install the NoTempDelete mod. But when i install that mod, smf wrote an error :

Error in Package Installation
At least one error was encountered during a test installation of this package. It is strongly recommended that you do not continue with installation unless you know what you are doing, and have made a backup very recently. This error may be caused by a conflict between the package you're trying to install and another package you have already installed, an error in the package, a package which requires another package that you don't have installed yet, or a package designed for another version of SMF.

   Type     Action     Description
1.    Execute Modification    NoTempDelete.xml    Modification parse error
2.    Execute Modification    -    Modification parse error

I continue in install, smf wrote Package is installed succesfully, but after installation i look to ftp and that Temp dir been deleted. So i make it again, chmod it to 777.

But i still cannot install any mod i want, & i dont understand how this notempdelet mod has something with instalation of other mods.

A want ask what must by fill to boxes in "FTP information required" screen (when try to apply some mod):

FTP Server: default is "localhost" (must by this or ftp like in connection in total commander, i use to enter to my FTP - xxx.mydomain.com)    
Port: default is "21"
Username: my usrename is same like ftp server so its like for example - xxx.mydomain.com
Password: my pass
Local path to SMF: in my case is /home/www/mydomain.com/subdomains/xxx/smf   

i try a lot of changes and port, and server name and still page only refresh in same , only clear password box. Nothing happened
Thanks for help

Title: Re: Having problems with the package manager?
Post by: Herman's Mixen on July 03, 2007, 05:20:46 PM
you need to edit the package-info.xml in the *.zip or *.tar.gz file

so unpack it and change the lines which say  or something similair

<install for="1.1.2">

to

<install>

same for the <uninstall> tag

save

pack it up again as zip upload the zip true your admin panel

packages --> download !!

;)

Quote
Local path to SMF: in my case is /home/www/mydomain.com/subdomains/xxx/smf 

in most cases like plesk it does it should be this

Local path to SMF: in my case is /subdomains/xxx/smf

Title: Re: Having problems with the package manager?
Post by: babjusi on July 03, 2007, 05:26:51 PM
Have you read the first post in this topic, written by unknown? You can try to do what is described in there and run that  fix_ownership.php file. Maybe that would help.
Are you with a free or paid host? I have come across some posts here where people had the exact same error with the package manager, and they were all in a free host.

Title: Re: Having problems with the package manager?
Post by: Sarge on July 03, 2007, 05:29:14 PM
You shouln't continue if you get a "Modification parse error"

What version of PHP is running on your hosting server? 5.2 has some issues that prevent mod installation in SMF.
Title: Re: Having problems with the package manager?
Post by: lordtoreador on July 03, 2007, 05:39:36 PM
yes i am on free webhosting and i think is server side problem, maybe some restricted function.

Problem is only that FTP Information required screen.
When i want delete one of mod that screen apear and do nothing.
I think that screen has script or function to make changes (chmod i think) through web page, but it isnt functional on my hosting, so if i know what changes want mod or smf want do thorough that script, and i do it through normal FTP its can by functional.

I try to look at code in mod files, what they do and where.
Title: Re: Having problems with the package manager?
Post by: lordtoreador on July 03, 2007, 05:40:27 PM
Quote from: Sarge on July 03, 2007, 05:29:14 PM
You shouln't continue if you get a "Modification parse error"

What version of PHP is running on your hosting server? 5.2 has some issues that prevent mod installation in SMF.

yes php 5.2.x
Title: Re: Having problems with the package manager?
Post by: babjusi on July 03, 2007, 05:46:36 PM
Try do chmod the files from the package manager in the admin panel in your forum.  If it didn''t work when chmoding with ftp, probably won''t work this way either, but the way I see it you got nothing to loose but trying this as well.

Admin Panel-Packages- Options, and scroll down to Cleanup Permissions      
Title: Re: Having problems with the package manager?
Post by: lordtoreador on July 03, 2007, 05:55:30 PM
Quote from: babjusi on July 03, 2007, 05:46:36 PM
Try do chmod the files from the package manager in the admin panel in your forum.  If it didn''t work when chmoding with ftp, probably won''t work this way either, but the way I see it you got nothing to loose but trying this as well.

Admin Panel-Packages- Options, and scroll down to Cleanup Permissions      
Ok i try this.

I try that fix_ownership.php and that write this :

"An error occured while trying to connect. The error was:"

but no error description :(
Title: Re: Having problems with the package manager?
Post by: Herman's Mixen on July 03, 2007, 06:04:37 PM
well according too that fix_permissions is an very old file !! 1.1 Beta 1 it said !!

you need manually edit the files with an decent php editor
i recommend zend studio / NuSphere but you can use your own ;)

here some info how to edit those files

http://docs.simplemachines.org/index.php?topic=402
Title: Re: Having problems with the package manager?
Post by: lordtoreador on July 03, 2007, 06:10:58 PM
Quote from: The Burglar! on July 03, 2007, 06:04:37 PM
well according too that fix_permissions is an very old file !! 1.1 Beta 1 it said !!

you need manually edit the files with an decent php editor
i recommend zend studio / NuSphere but you can use your own ;)

here some info how to edit those files

http://docs.simplemachines.org/index.php?topic=402

heh thnx, but i dont know nothing about php programing, but i look.

I chmod all files in smf to  777 and then try to install SMF gallery mod, its some progress because dont need to change  chmod through that FTP Information required screen.

But it wrote  Modification parse error on two files :(, so i can install it. So only i ask what is that error ? Can by repaired, or something ? Thnanks to all for your help, i very appreciate this :)
Title: Re: Having problems with the package manager?
Post by: Herman's Mixen on July 03, 2007, 06:54:55 PM
well did ya read this one

http://www.simplemachines.org/community/index.php?topic=28393.msg1148228#msg1148228

my post before  ;)
Title: Re: Having problems with the package manager?
Post by: lordtoreador on July 03, 2007, 07:17:10 PM
Quote from: The Burglar! on July 03, 2007, 06:04:37 PM
well according too that fix_permissions is an very old file !! 1.1 Beta 1 it said !!

you need manually edit the files with an decent php editor
i recommend zend studio / NuSphere but you can use your own ;)

here some info how to edit those files

http://docs.simplemachines.org/index.php?topic=402

ok i try it and with that parser : http://modparser.dev.dansoftaustralia.net/index.php   its really easy. One problem is that gallery needs a few tables in mysql DB, so i try to create this tables in phpMyAdmin. I need more time to understand structures of this tables. I think is possible to manually install every mod that way :). 
Can by easier but if i run galleryinstall.php file, that create tables in DB, its not possible through web. I think this file dont have premision to change something in DB. I upload it to ftp and run in firefox, but it wrote an error.  If i know how to run this file to create that tables, it can be easier.

Srry for my english :)
Title: Re: Having problems with the package manager?
Post by: Herman's Mixen on July 03, 2007, 07:38:17 PM
well it easy done with phpmyadmin open the sql import window

and open the galleryinstall.php in wordpad or similair program

example

put this code in the sql query window (import)


//Picture Table
db_query("CREATE TABLE IF NOT EXISTS {$db_prefix}gallery_pic(
ID_PICTURE int(11) NOT NULL auto_increment,
ID_MEMBER mediumint(8) unsigned NOT NULL default '0',
date int(10) unsigned NOT NULL default '0',
title VARCHAR(100) NOT NULL,
description text,
views int(10) NOT NULL default '0',
filesize int(10) NOT NULL default '0',
height int(10) NOT NULL default '0',
width int(10) NOT NULL default '0',
filename tinytext,
thumbfilename tinytext,
commenttotal int(10) NOT NULL default '0',
ID_CAT int(10) NOT NULL default '0',
approved tinyint(4) NOT NULL default '0',
allowcomments tinyint(4) NOT NULL default '0',
keywords VARCHAR(100),
PRIMARY KEY  (ID_PICTURE))", __FILE__, __LINE__);


replace {$db_prefix} with your forums prefix normally it would be

smf_

so in this case the table will be named like this

smf_gallery_pic

so you can import all tables



Title: Re: Having problems with the package manager?
Post by: lordtoreador on July 03, 2007, 07:56:06 PM
yes, i do it partialy for each table but is done and is functional :D.

I go sleep, i test  it all tomorow and do it again on my normal forum (i do it now on my test forum on second web)

I am very happy that is function :D.  Everyday a learn some new things.

Thnx very much for your time and help.

Title: Re: Having problems with the package manager?
Post by: Herman's Mixen on July 03, 2007, 08:00:33 PM
well glad that it works in this mattter of case for ya ;)

best regards,
The Burglar!
Title: Re: Having problems with the package manager?
Post by: lordtoreador on July 04, 2007, 06:49:42 AM
Quote from: The Burglar! on July 03, 2007, 07:38:17 PM
well it easy done with phpmyadmin open the sql import window

and open the galleryinstall.php in wordpad or similair program

example

put this code in the sql query window (import)


//Picture Table
db_query("CREATE TABLE IF NOT EXISTS {$db_prefix}gallery_pic(
ID_PICTURE int(11) NOT NULL auto_increment,
ID_MEMBER mediumint(8) unsigned NOT NULL default '0',
date int(10) unsigned NOT NULL default '0',
title VARCHAR(100) NOT NULL,
description text,
views int(10) NOT NULL default '0',
filesize int(10) NOT NULL default '0',
height int(10) NOT NULL default '0',
width int(10) NOT NULL default '0',
filename tinytext,
thumbfilename tinytext,
commenttotal int(10) NOT NULL default '0',
ID_CAT int(10) NOT NULL default '0',
approved tinyint(4) NOT NULL default '0',
allowcomments tinyint(4) NOT NULL default '0',
keywords VARCHAR(100),
PRIMARY KEY  (ID_PICTURE))", __FILE__, __LINE__);


replace {$db_prefix} with your forums prefix normally it would be

smf_

so in this case the table will be named like this

smf_gallery_pic

so you can import all tables

Its not so easy as u wrote. MySql dont recognize some words so i must adjust text :

CREATE TABLE `smf_gallery_pic` (
`ID_PICTURE` INT( 11 ) NOT NULL AUTO_INCREMENT ,
`ID_MEMBER` MEDIUMINT( 8 ) UNSIGNED DEFAULT '0' NOT NULL ,
`date` INT( 10 ) UNSIGNED DEFAULT '0' NOT NULL ,
`title` VARCHAR( 100 ) NOT NULL ,
`description` TEXT NOT NULL ,
`views` INT( 10 ) DEFAULT '0' NOT NULL ,
`filesize` INT( 10 ) DEFAULT '0' NOT NULL ,
`height` INT( 10 ) DEFAULT '0' NOT NULL ,
`width` INT( 10 ) DEFAULT '0' NOT NULL ,
`filename` TINYTEXT NOT NULL ,
`thumbfilename` TINYTEXT NOT NULL ,
`commenttotal` INT( 10 ) DEFAULT '0' NOT NULL ,
`ID_CAT` INT( 10 ) DEFAULT '0' NOT NULL ,
`approved` TINYINT( 4 ) DEFAULT '0' NOT NULL ,
`allowcomments` TINYINT( 4 ) DEFAULT '0' NOT NULL ,
`keywords` VARCHAR( 100 ) NOT NULL ,
PRIMARY KEY ( `ID_PICTURE` )
) TYPE = MYISAM CHARACTER SET utf8 COLLATE utf8_unicode_ci COMMENT = 'Picture Table'


then the tables is write correctly in mysql DB. Then i continue with all tables. After that i install a changes that wrote me Package parser on http://modparser.dev.dansoftaustralia.net/index.php (http://modparser.dev.dansoftaustralia.net/index.php) .
I try run Galleryinstall.php through web but it wrote some error. When i install it on secong forum i dont do  this, Gallery function perfectly.

Next i try install second mod - SMF Shoutbox. Same problems, i cant install it through admin panel - Packages, so i install it like Gallery :
- in first i find create table function in Sbox_setup.php and create table in my DB.
- second i make changes in files (i use PAckage parser like before)
- upload sbox files to ftp
- reload forum, but sbox write error
- so i upload sbox_setup.php on ftp and run it through web
- it wrote another error (bad tables or something)
- then i again reload forum and sbox is functional :)

so come happyend again  8)

maybe it help to somebody
Title: Re: Having problems with the package manager?
Post by: mizz77 on July 09, 2007, 12:34:59 PM
okay I am having issue too but cant seem to get any help http://www.simplemachines.org/community/index.php?topic=181591.0 is my original thread...

I just want to be able to have the most recent post at the top of its thread not pages down...

if someone would please have a look at the thread above and help me, that would be great
Title: Re: Having problems with the package manager?
Post by: babjusi on July 09, 2007, 02:09:38 PM
For the most recent post to show at the top of the page

Admin Panel-Current Theme-Reset Options-Reset all members' current options for this theme-Show most recent posts at the top
Title: Re: Having problems with the package manager?
Post by: mizz77 on July 09, 2007, 05:15:21 PM
omg, thank you... and here Iv been stressin with this crazy package!

ty ty so much!
Title: Re: Having problems with the package manager?
Post by: babjusi on July 09, 2007, 05:20:39 PM
You are welcome. Glad I could help
Title: Re: Having problems with the package manager?
Post by: gietl on July 11, 2007, 11:46:37 AM
I have been going crazy for a few months now because my package manager worked when I did test runs before converting my site and forums to SMF. After completing the conversion the package manager no longer worked. I tried everything I could think of, asked for help from my host.

In the end, my host blocks the fopen command. So if others are having trouble still that hasn't been addressed in this thread check to see if fopen is allowed on your server.
Title: Reply
Post by: м-ѕтуℓє on July 12, 2007, 05:46:03 PM
Thanks, but this didn't work, every time I try, I've get an error like this:

"An error occured while trying to connect. The error was:"  ::) ???

Title: Re: Having problems with the package manager?
Post by: babjusi on July 12, 2007, 05:52:47 PM
Quote from: м-ѕтуℓє on July 12, 2007, 05:46:03 PM
Thanks, but this didn't work, every time I try, I've get an error like this:

"An error occured while trying to connect. The error was:"  ::) ???



What exactly did you try?
Title: Re: Having problems with the package manager?
Post by: JusticeLight on July 15, 2007, 12:14:21 AM
I am have the same similar issues and have been reading through the post, I have tried, I tried the fix_ownership.php and i get this error same as the person below.

I was getting this error

2: mkdir() [<a href='function.mkdir'>function.mkdir</a>]: SAFE MODE Restriction in effect. The script whose uid is 3177 is not allowed to access /myfreeforum/forums/Packages/temp owned by uid 2001

so I created a temp directory and then the next window just kept coming up after the details are added and proceed has been clicked
Title: Re: Having problems with the package manager?
Post by: metallica48423 on July 15, 2007, 12:34:03 AM
You will have to ask your host to correct the owner on the files.
Title: Re: Having problems with the package manager?
Post by: Sarge on July 15, 2007, 02:20:40 AM
Quote from: JusticeLight on July 15, 2007, 12:14:21 AM
2: mkdir() [<a href='function.mkdir'>function.mkdir</a>]: SAFE MODE Restriction in effect. The script whose uid is 3177 is not allowed to access /myfreeforum/forums/Packages/temp owned by uid 2001

If Servage is your host, you can switch permissions in Online Filemanager. My guess is that 3177 is for your account and 2001 belongs to the "Webserver". Switch the permissions to "You".

Or, you could disable Safe Mode from Webserver > Advanced. The change might take up to 3 hours to come into effect, however.
Title: Re: Having problems with the package manager?
Post by: JusticeLight on July 15, 2007, 02:22:55 AM
freehyperspace is the host. I did send them an email.
Title: Re: Having problems with the package manager?
Post by: Sarge on July 15, 2007, 02:32:02 AM
Quote from: JusticeLight on July 15, 2007, 02:22:55 AM
freehyperspace is the host. I did send them an email.

Let us know of the result. :) If you still have issues, I advise you to start a new topic and include a link to your first message above.
Title: Re: Having problems with the package manager?
Post by: 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
Title: Re: Having problems with the package manager?
Post by: 青山 素子 on July 20, 2007, 10:51:53 AM
Have you tried the suggestions in the first post on this topic? If not, please do so.
Title: Re: Having problems with the package manager?
Post by: Manu.G on July 21, 2007, 11:41:28 AM
I made the suggestions in the first post of this topic, but I still get this error message when I try to install a package:

QuoteFatal error: packageinstall(): Failed opening required '/home/www/*****/html/board/Packages/temp/./reasonforeditinginstall.php' (include_path='.') in /home/www/*****/html/board/Sources/Packages.php on line 552

All I know this
Quote/./
is to much, but I don't know where I can fix it.  ::)

I checked the Packages.php and these are my lines 547 - 553
Quote{
            // This is just here as reference for what is available.
            global $txt, $boarddir, $sourcedir, $modSettings, $context, $settings, $db_prefix, $forum_version;

            // Now include the file and be done with it ;).
            require($boarddir . '/Packages/temp/' . $context['base_path'] . $action['filename']);
         }

I can't see there any error  :'(

I'm open for every help ;D
Title: Re: Having problems with the package manager?
Post by: Bigguy on July 21, 2007, 11:45:23 AM
Create a temp folder in your packages directory and chmod it to 777 and see if you can install that way.
Title: Re: Having problems with the package manager?
Post by: Manu.G on July 21, 2007, 12:38:46 PM
Done

I tried to install a modification and I haven't got the error message, I was happy, till I checked if the modification is visible.
Mistaken, the modification isn't available. *doesn't know how to explain*
It was the mod "Topic description" in the database I can see the row for this mod, but it isn't visible when I will start a new topic :(
Title: Re: Having problems with the package manager?
Post by: ardd on July 21, 2007, 01:41:33 PM
I downloaded the zip files to a directory on my hard drive then used teh package manager tp instll them from there. is this a good work around for my problem or will they not install properly this way?
Title: Re: Having problems with the package manager?
Post by: SlammedDime on July 21, 2007, 01:54:22 PM
Quote from: Manu0372 on July 21, 2007, 12:38:46 PM
Done

I tried to install a modification and I haven't got the error message, I was happy, till I checked if the modification is visible.
Mistaken, the modification isn't available. *doesn't know how to explain*
It was the mod "Topic description" in the database I can see the row for this mod, but it isn't visible when I will start a new topic :(
If you have a custom theme, you'll need to make the template changes to your custom theme.
Title: Re: Having problems with the package manager?
Post by: Manu.G on July 21, 2007, 03:43:15 PM
The mistake was here and I really don't know why I haven't seen this before.  ::)
The CHMOD wasn't 777 I set it to 777, now I have an other question:
Which files need the CHMOD 777?

Btw, I don't use a custom theme
Title: Re: Having problems with the package manager?
Post by: 青山 素子 on July 21, 2007, 03:57:36 PM
Quote from: ardd on July 21, 2007, 01:41:33 PM
I downloaded the zip files to a directory on my hard drive then used teh package manager tp instll them from there. is this a good work around for my problem or will they not install properly this way?

That is perfectly fine. The packages will install just fine in this manner.

Quote from: Manu0372 on July 21, 2007, 03:43:15 PM
The mistake was here and I really don't know why I haven't seen this before.  ::)
The CHMOD wasn't 777 I set it to 777, now I have an other question:
Which files need the CHMOD 777?

Btw, I don't use a custom theme

At the very least, any files a modification can touch. This includes everything in the Sources and Themes directories along with the files in the main forum directory itself.
Title: Re: Having problems with the package manager?
Post by: Bojeunx on August 02, 2007, 05:05:56 AM
"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
Title: Re: Having problems with the package manager?
Post by: metallica48423 on August 02, 2007, 10:40:23 PM
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 (http://custom.simplemachines.org/mods/index.php?mod=724) and it should stop smf from removing the temp directory
Title: Re: Having problems with the package manager?
Post by: Felt on August 04, 2007, 11:06:54 PM
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
I seem to be having the same problems with GoDaddy...
Title: Re: Having problems with the package manager?
Post by: 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?
Title: Re: Having problems with the package manager?
Post by: Felt on August 05, 2007, 05:52:46 PM
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.
Title: Re: Having problems with the package manager?
Post by: metallica48423 on August 05, 2007, 05:55:49 PM
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.
Title: Re: Having problems with the package manager?
Post by: Felt on August 05, 2007, 06:08:42 PM
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.
Title: Re: Having problems with the package manager?
Post by: metallica48423 on August 05, 2007, 06:50:29 PM
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 (http://docs.simplemachines.org/index.php?topic=402)

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. :(
Title: Re: Having problems with the package manager?
Post by: 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?
Title: Re: Having problems with the package manager?
Post by: babjusi on August 09, 2007, 10:02:41 PM
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?
Title: Re: Having problems with the package manager?
Post by: 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.
Title: Re: Having problems with the package manager?
Post by: babjusi on August 09, 2007, 10:33:34 PM
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
Title: Re: Having problems with the package manager?
Post by: andreafahy on August 12, 2007, 10:50:19 PM
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?
Title: Re: Having problems with the package manager?
Post by: Herman's Mixen on August 14, 2007, 09:29:08 AM
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 !
Title: Re: Having problems with the package manager?
Post by: Rysiek on August 19, 2007, 11:29:46 PM
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.
Title: Re: Having problems with the package manager?
Post by: kpel on August 22, 2007, 03:29:45 PM
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!
Title: Re: Having problems with the package manager?
Post by: IchBin™ on August 22, 2007, 04:12:11 PM
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.
Title: Re: Having problems with the package manager?
Post by: kpel on August 22, 2007, 07:03:17 PM
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.
Title: Re: Having problems with the package manager?
Post by: IchBin™ on August 22, 2007, 07:09:44 PM
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.
Title: Re: Having problems with the package manager?
Post by: kpel on August 22, 2007, 07:31:53 PM
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)
Title: Re: Having problems with the package manager?
Post by: Sarge on August 22, 2007, 08:58:31 PM
Quote from: kpel on August 22, 2007, 07:31:53 PM
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)

No changes in the default theme (SMF Default Theme - Core)? Most mods install only on the default theme.
Title: Re: Having problems with the package manager?
Post by: kpel on August 22, 2007, 09:05:05 PM
Using default theme, no changes
Title: Re: Having problems with the package manager?
Post by: IchBin™ on August 22, 2007, 10:34:12 PM
I asked you before if it gave you errors. You stated that it told you not to proceed unless you new what you were doing. When it does the test install is it giving any errors before you click proceed?

Try this:
1. Upload mod (again if necessary).
2. Open your ftp app and create a temp directory in your packages directory. Chmod the folder to 777.
3. Click on the install button to start the test install for your mod. If everything passes the test install with no failures or errors proceed, and see if the installation works. If not, post your error that it gives you.

Title: Re: Having problems with the package manager?
Post by: kpel on August 22, 2007, 11:00:16 PM
All installed again. Here are the errors:
Error in Package Installation

At least one error was encountered during a test installation of this package. It is strongly recommended that you do not continue with installation unless you know what you are doing, and have made a backup very recently. This error may be caused by a conflict between the package you're trying to install and another package you have already installed, an error in the package, a package which requires another package that you don't have installed yet, or a package designed for another version of SMF.

Installations actions for "Custom Profile Field Mod":
Installing this package will perform the following actions:  Type Action Description
1. Execute Modification modification.xml Modification parse error
2. Execute Modification - Modification parse error
3. Extract File ./Sources/CustomProfile.php 
4. Extract File ./Themes/default/languages/CustomProfile.english.php

(have gotten it on any mod I've tried)

Click the instal now button and get a pop up: Are you sure you want to install, even tho it will not install properly.

Next screen: login again (probably because it took me 10 weeks to figure out what path the pkg manager needed for the install)

next screen: Extracting Package
The package was installed successfully. You should now be able to use whatever functionality it adds or changes; or not be able to use functionality it removes. 

It shows in the manager as installed AND This time I SEE IT ON THE BOARD!

Ok, I can handle making a temp folder to get mods to work... its nice to end the night on a sucessful note (for a change). 

Thank you soooooooooooooooo much. I really really like this board.
Title: Re: Having problems with the package manager?
Post by: Sarge on August 22, 2007, 11:21:18 PM
Is your forum running SMF 1.1.3? This version fixes some issues with mod installation under PHP 5.2.x.
Title: Re: Having problems with the package manager?
Post by: kpel on August 22, 2007, 11:29:42 PM
I am using 1.1.3

I just installed another mod using the temp. folder/chmod 777 and it went great. You guys have no idea what a happy camper I am tonight!

I'm ok and very grateful with it this way. If there's something else I should do, let me know. (or if you need more info etc.)

God bless you!!  :-*
Title: Re: Having problems with the package manager?
Post by: Sarge on August 22, 2007, 11:48:15 PM
You can install the No Temp Directory Removal (http://custom.simplemachines.org/mods/index.php?mod=724) mod so that you won't have to recreate and chmod the temp directory before every mod installation.

You can also apply this fix for the default mod server entry:
http://www.simplemachines.org/community/index.php?topic=165016.msg1053700#msg1053700

If you have any other issue, let us know. ;)
Title: Re: Having problems with the package manager?
Post by: Garm on August 27, 2007, 01:10:48 PM
Using 1.1.3. Fresh install with theme: DilberMC

I had problems with the package manager which were solved by making a temp-dir (chmod 777) and installing No Temp Directory Removal. I also corrected the path to my packages.

Fine, no problems anymore. All packages install just as they should.
Now I have a new interesting problem. I can't uninstall the installed packages.
I can install them over and over with the result that i get multiple copies of the same mod but I can't uninstall any of them through the package manager. Before I created the temp-dir and installed the NTDR-mod I could install (without really installing anything) and uninstall (the not-installed mods) but now I can not. If I want to remove a installed mod i have to rewrite the php-files manually and remove anything that has been added but this is a very annoying way to uninstall mods, especially as I am not very good at php.

What can I do about this? How can I get the 'uninstall'-feature back in the package manager?

(I do not use the English languagefiles)
Title: Re: Having problems with the package manager?
Post by: IchBin™ on August 27, 2007, 02:02:38 PM
The uninstall feature disappears if you have updated your forum and the mod isn't compatible with the new SMF version. You'll need to upload the old mod with an updated one in your package directory.
Title: Re: Having problems with the package manager?
Post by: Phorm on August 27, 2007, 07:46:31 PM
Having problems? I'll say. After spending several hours staring at this page (http://docs.simplemachines.org/index.php?topic=93), comparing it to what I saw on my screen, reading the other doc pages on the package manager, searching the forums here, I finally thought that maybe I should just upload the mod files to the Packages directory. Voila! There it is under "Modification Packages"! I click Apply Mod, and...(drum roll, please!) ... "Unable to load the 'ftp_required' template." Great.

"Well," I think to myself, "maybe it installed after all, and there's just some file or something missing. I'll see if I can configure it." Click on "Edit Features and Options", and ... "Unable to load the 'show_settings' template"! Yay! Now my whole admin section is FUBAR'd! Any suggestions?

The mod I was hoping to install is this one (http://custom.simplemachines.org/mods/index.php?mod=907). I'm running 1.1.3, which I just upgraded to today from 1.0; PHP 4.3.10, safe mode off.

I must say, what I've seen of the online documentation is appallingly bad.
Title: Re: Having problems with the package manager?
Post by: IchBin™ on August 27, 2007, 10:15:53 PM
Sorry to hear about all your troubles. Often in an upgrade files don't get replaced or uploaded properly which can cause the load errors you are having. If you haven't install any other mods I would suggest you upload a fresh set of SMF files.

If you search for the error you are getting you'll find the answers are often already posted on the forums many times such as this:
http://www.simplemachines.org/community/index.php?topic=63806.msg441019#msg441019

While you are at it, I would highly suggest you get your host to upgrade PHP as that version was released on 14-Dec-2004. Many bug/security fixes have been implemented since then.
Title: Re: Having problems with the package manager?
Post by: Phorm on August 28, 2007, 06:28:01 PM
Thanks for the reply, and sorry for the drama. It turned out to be a theme problem. When I first installed SMF, I made some tweaks to the default theme, and was using that, and of course it was missing files and the files that were there were missing elements. Perhaps themes could be versioned, and if the theme being used belongs with an old version, throw a big alert.

So, PEBKAC, for the most part, but the doc page on manually installing a mod really is pretty bad!
Title: Re: Having problems with the package manager?
Post by: 青山 素子 on August 28, 2007, 06:33:55 PM
Quote from: Phorm on August 28, 2007, 06:28:01 PM
Perhaps themes could be versioned, and if the theme being used belongs with an old version, throw a big alert.

You can check versions, it is just a bit hidden. In the admin area, use the "more detailed" link under the version info and you can see if the current theme is old.
Title: Re: Having problems with the package manager?
Post by: +Synyster on September 09, 2007, 03:47:26 PM
i am tring to install SMF Affiliates mod by ToRNiYO but it keeps asking for my FTP login but when i enter it it wont let me proceed i was told to come here from smfhelper.info but i have no idea whats going on please help
Title: Re: Having problems with the package manager?
Post by: metallica48423 on September 09, 2007, 05:01:23 PM
what is the path to SMF you're entering in the path field?
Title: Re: Having problems with the package manager?
Post by: +Synyster on September 09, 2007, 05:20:35 PM
/Forums
Title: Re: Having problems with the package manager?
Post by: metallica48423 on September 09, 2007, 05:31:09 PM
if you login to FTP using an ftp client, look at which folders you have to enter in order to get to the main SMF folder.

in cpanel systems, you'd have to go into public_html then forums.  so on THAT system it'd be public_html/forums
Title: Re: Having problems with the package manager?
Post by: +Synyster on September 09, 2007, 05:36:24 PM
it still wont let me proceed even though i use a cpsystem
Title: Re: Having problems with the package manager?
Post by: +Synyster on September 09, 2007, 06:24:37 PM
i tried /htdocs/Forums which is the cp systems folder before forums and ive also tried /tom177sqdn.hostmysiteforfree.com/htdocs/Forums but neither work
Title: Re: Having problems with the package manager?
Post by: metallica48423 on September 09, 2007, 06:46:46 PM
like i said, go into your ftp program and note the path from where you start out to your SMF board.  Not all systems are the same.

who is your host?
Title: Re: Having problems with the package manager?
Post by: +Synyster on September 09, 2007, 07:48:37 PM
www.hostmysiteforfree.com
Title: Re: Having problems with the package manager?
Post by: Sarge on September 21, 2007, 02:05:22 AM
Hi +Synyster, is this issue solved or do you still require assistance?
Title: Re: Having problems with the package manager?
Post by: eckostylez on September 27, 2007, 07:47:46 AM
SMF won't connect to my FTP whatsoever.

Can't even do the webinstaller.php way either.
Title: Re: Having problems with the package manager?
Post by: SodaJim on September 29, 2007, 08:17:27 PM
Hello again,

I'm back to see if I can get to the VERY bottom of correcting this issue...
I'm running 1.1.3 and see version 1.1.4 has been released...
For the life of me, I cannot figure out why I cannot install ANY packages...

I have chmod files, 777, Packages dir to 777, created the dredded "temp" dir and chmod to 777, chown files/dir to www etc, etc...

I just went to upgrade to 1.1.4 via the Packages and the tarball is showing in the list, but none of these install... The system just hangs and after several minutes, a blank page is displayed... That's it...

Is there something else I'm missing...

ANY and ALL suggestions are welcome ! ! !
Title: Re: Having problems with the package manager?
Post by: metallica48423 on September 29, 2007, 08:35:30 PM
anything in the forum's error log and the webserver's error log?
Title: Re: Having problems with the package manager?
Post by: SodaJim on September 30, 2007, 02:33:01 PM
Holy @#$% ! ! !

Forum Error Log
Pages: [1] 2 3 4 ... 38781

Since I'm a migration user coming from Ikonboard, I didn't even know about this forum error log until I looked for it after your suggestion...  This SMF board has only been installed since the end of July and there's almost 40K pages of errors ! ! !
And yet things seem to be functioning...
I do get an error once in a while that I tried to research but didn't come up with any positive results, but I'll save these for later...

Here's the errors from the attempt today:
QuoteJim   Today at 02:08:52 pm 
72.158.248.162     2fed69b8c82e1e43c078c76ef4111b4e 
http://soda-machines.com/discussions/index.php?action=packages;sa=install;package=NoTempDelete.tar.gz 
2: fopen(/home/sodam1/www/soda-machines.com/discussions/Sources/Packages.php): failed to open stream: Permission denied
File: /home/sodam1/www/soda-machines.com/discussions/Sources/Subs-Package.php
Line: 1901
And this one is present as well:
QuoteJim   Today at 02:08:52 pm 
72.158.248.162     2fed69b8c82e1e43c078c76ef4111b4e 
http://soda-machines.com/discussions/index.php?action=packages;sa=install;package=NoTempDelete.tar.gz 
2: fclose(): supplied argument is not a valid stream resource
File: /home/sodam1/www/soda-machines.com/discussions/Sources/Subs-Package.php
Line: 1908

Do these errors give any indication of where the problem may be...

Thanks for your time.
Jim
Title: Re: Having problems with the package manager?
Post by: metallica48423 on September 30, 2007, 04:20:06 PM
either the permissions on your files are wrong, or your host has disallowed use of the fopen function of php.

Please contact your host and inquire about this and ask that they check your file ownership and permissions as well :)

Thanks.
Title: Re: Having problems with the package manager?
Post by: SodaJim on September 30, 2007, 05:31:13 PM
What should these be set to. owner --> www, grp --> www ...?

Thanks again for your assistance,
Jim
Title: Re: Having problems with the package manager?
Post by: Sarge on October 01, 2007, 08:03:10 AM
Go to Admin > Packages > Options tab and select "All files are writeable". If you are asked for the FTP info, double check the details. Sometimes the problem lies in incorrect FTP server names and/or paths, or even wrong usernames and/or passwords.
Title: Re: Having problems with the package manager?
Post by: SodaJim on October 01, 2007, 08:50:55 PM
Thanks for the reply Sarge!

This doesn't work; every time I attempt to use the built in FTP, it just hangs... Nothing ever happens...
FTP user name/password are correct; I've tried the domain name for the FTP Server as well as localhost... For the "Local Path to SMF", I've attempted "/discussions" as well as the complete home path... All to no avail...

I have also verified the Packages dir is chmod to 777 as well as all files/folders except index.html; the Packages dir/files are chown to www as well as chgrp to www.

Anything else to look at...?

Thanks again for your time,
Jim
Title: Re: Having problems with the package manager?
Post by: metallica48423 on October 01, 2007, 08:58:12 PM
the path should be the path from where you are when you login to FTP, to where you end up at the forum's directory.  This field is to tell smf which directories it must enter once it logs into FTP.
Title: Re: Having problems with the package manager?
Post by: SodaJim on October 01, 2007, 09:16:18 PM
The complete path to my SMF is:
/home/sodam1/www/soda-machines.com/discussions

When you say
Quotethe path should be the path from where you are when you login to FTP
I'm not sure I follow what you mean here... I can set up my FTP program to login to a dir of my choice... So how will this affect where SMF logs in to...?

Thanks again,
Jim
Title: Re: Having problems with the package manager?
Post by: metallica48423 on October 01, 2007, 09:48:32 PM
where do you end up when you first login to FTP?
Title: Re: Having problems with the package manager?
Post by: SodaJim on October 02, 2007, 07:27:25 AM
Problem Solved ! ! !
It was the Path that was the issue...

I entered the complete path to SMF and just removed upper level directories from the string until it finally logged in and installed the 1.1.4 patch...

Thanks again for all the help on this issue ! ! !
Jim
Title: Re: Having problems with the package manager?
Post by: ootc on October 03, 2007, 01:57:29 AM
My test forum is up and running.  Upgraded to 1.1.4 OK.  FTP seems to work -- took a little fiddling but now there's no return to the FTP id, psswd, server page.  When I'm in the package manager and click on the download link for a mod I get this error:

"The package you are trying to download or install is either corrupt or not compatible with this version of SMF."

This happened before I upgraded, too.

I changed packages and themes directories and settings.php and settings_bak.php to 777

Still get error.  Not sure what's going on.
Title: Re: Having problems with the package manager?
Post by: metallica48423 on October 03, 2007, 02:00:46 AM
not all mods support 1.1.4 yet, though you could use ;version_emulate=1.1.3 to try to install it.

You just add the above snippet to the end of the url when you're viewing your mod list.
Title: Re: Having problems with the package manager?
Post by: ootc on October 03, 2007, 06:22:35 PM
Thanks Metallica,

I am confused, though.  How do I append ;version_emulate=1.1.3 ? 

Of course there's no place to do that when clicking on the download link and when I try to add it to the URL of a package I saved locally I get an error that packages can only be zip, tar, etc.

Any help is appreciated.

Thanks again.
Title: Re: Having problems with the package manager?
Post by: metallica48423 on October 03, 2007, 06:31:38 PM
go to your admin CP, click 'packages', add that to the end of the URL in your menu bar, and then go to that URL
Title: Re: Having problems with the package manager?
Post by: ootc on October 03, 2007, 10:11:22 PM
Thanks Metallica!  I had to back off even further to get the particular mod I needed but it worked just fine.  Logged off and back on and the mod is installed and the version is back to 1.1.4.

Thanks for your quick, and accurate, response and your patience with me!
Title: Re: Having problems with the package manager?
Post by: metallica48423 on October 03, 2007, 10:40:41 PM
np :)
Title: Re: Having problems with the package manager?
Post by: speedy931 on October 05, 2007, 03:36:26 PM
I have a problem!
I have FTP address and everything OK, and when I'm trying to install a package comes a error screen "Can't download new packages, Package folder isn't writeable". I CHMODED everything TWICE and it didn't help.
Please help me as fast as possible :)
Title: Re: Having problems with the package manager?
Post by: Jack Rafter on October 05, 2007, 04:28:42 PM
You're not alone speedy. . .
Title: Re: Having problems with the package manager?
Post by: Sheamus on October 06, 2007, 12:37:52 PM
OK... nobody seems to be replying to (or even reading ;)) my dedicated thread, so I'll have a go in here... :D

I cannot get packages to work either. The one I've been trying is the Shoutbox. My SMF is version 1.1.4. I am using Firefox 2.0.0.7. My server is UNIX.

This is what happens.

1. I've downloaded the package to my PC.
2. I've gone to the Admin Package Manager, browsed and uploaded the package.
3. The package is now visible in 'Browse Packages'.
4. In here, I click on 'Apply Mod'.
5. It asks for my FTP details. I'm absolutely positive these are correct, but even trying endless combinations with the path etc all I ever get is a blank output screen. When I FTP to my site I go straight to httpdocs and the SMF forum ("/boards") is right there. Hence, I assume, as does SMF, that the correct path is /boards.

(I also get the same blank page/error when trying to set all files to writeable in the cleanup permissions part in the options.)

I have chmod all the directories and files to 777. When I look at my FTP site, the Shoutbox zip file is in the Packages folder, and using the Package Manager I can list all the files etc successfully. Beyond that... nothing.

Any thoughts? It's *got* to be something to do with the FTP or permissions but for the life of me I can't figure out where I'm going wrong. I'm getting desperate... :(
Title: Re: Having problems with the package manager?
Post by: lilfishy95 on October 09, 2007, 06:32:25 PM
what is safe mode and how i get out of it?
Title: Re: Having problems with the package manager?
Post by: metallica48423 on October 09, 2007, 06:59:48 PM
php safe mode is a mode php runs in which disables some highly insecure parts of php, unfortunately it is also some of the most commonly used parts of php. 

only your host generally can turn off safe mode.

Did you try the script in the first post of this thread?
Title: Re: Having problems with the package manager?
Post by: Herman's Mixen on October 09, 2007, 07:07:34 PM
@Sheamus

Quote
I assume, as does SMF, that the correct path is /boards.

it seems that your smf path is incorrect in that ftp screen just change that path too
/httpdocs/boards/ try this one instead and i am almost sure thats your little problem.  ;D
Title: Re: Having problems with the package manager?
Post by: Sheamus on October 10, 2007, 04:25:53 AM
Quote from: The Burglar! on October 09, 2007, 07:07:34 PM
@Sheamus

Quote
I assume, as does SMF, that the correct path is /boards.

it seems that your smf path is incorrect in that ftp screen just change that path too
/httpdocs/boards/ try this one instead and i am almost sure thats your little problem.  ;D

Thanks, but no, didn't work. Same blank output screen. :(
Title: Re: Having problems with the package manager?
Post by: metallica48423 on October 10, 2007, 04:54:26 AM
something is throwing an error most likely. 

Your host is recording absolutly no errors from this?  I do find it hard to believe that it wouldnt throw an error in to the webserver's error log.

Something somewhere is strange :o
Title: Re: Having problems with the package manager?
Post by: Sheamus on October 10, 2007, 05:04:08 AM
Ah, they haven't come back to me yet on the error logs. I'm assuming, as per my other thread, they've fixed my problem with the IMG tag as that's just suddenly started working this morning.

As soon as I hear about the logs, I'll put something up.
Title: Re: Having problems with the package manager?
Post by: voyager1337 on October 14, 2007, 11:33:33 AM
knackered with this problem too
Title: Re: Having problems with the package manager?
Post by: medinafidel on October 18, 2007, 04:47:18 AM
The fix doesn't work on Windows servers, and I am in one, but I have the upload package problem. :(  I am uploading with Filezilla to my FTP, and the permissions appear at 000 for the package folder.  I changed it to 777, but when I checked it again it was at 000.  I have direct access to my server, I changed my permissions in the original tmp upload folder in php, but didn't work.  Created a new folder for uploads and changed the permisions, didn't work.  Changed directory permissions in package folder and assumed ownership of both upload folders and packages to the administrator (which is where php is running).  No luck.  I tried to fix php file, run it, obviously doesn't run in Windows servers.  ah, what else?  I banged my head on the wall . . . the problem hasn't gone away.  Any help?
Title: Re: Having problems with the package manager?
Post by: 青山 素子 on October 18, 2007, 10:21:22 AM
Windows servers don't support UNIX-style permissions. You'll need to ask your host to give the proper permissions to your files. The web server user needs to be able to write to the SMF files.
Title: Re: Having problems with the package manager?
Post by: MatíasBoxer on October 18, 2007, 02:56:42 PM
I dont now how have anew SMF forum???I seen latinhogwarts.smfhost.com and i don´t now how have a forum likethis
Title: Re: Having problems with the package manager?
Post by: medinafidel on October 19, 2007, 01:23:59 AM
As always Motoko-chan, you are absolutely right.  I guess my trouble was that I am my own host  :)  I solved the problem, but didn't involve SMF, only PHP.ini.  What I did was to create two new folders in c:, (upload and session), made sure permissions where assigned to the administrator, then I changed the php.ini file temporary upload and session settings to use the new folders.  It is fixed.  Hope that helps someone.  :)
Title: Re: Having problems with the package manager?
Post by: funcouldron on October 28, 2007, 03:30:24 AM
i uploaded some packages on my forum ,,,

earlier i was abel to see thm  now i get this thing

Browse Packages
No packages yet.


now i even cant upload any new package,,,

i cant even ypgrade the forum ,,,i cant install packages it gives error

whn i try to upgread i get this error

The package you are trying to download or install is either corrupt or not compatible with this version of SMF.,,

i done tht chmod setting to 777 and no temp removel manualy but still no use


wht to do ,,,plz help
Title: Re: Having problems with the package manager?
Post by: romuba on October 31, 2007, 01:31:40 PM
Well I must be blonde and all those other things. Where do I get this thing called a packet manager and what is it for?
Title: Re: Having problems with the package manager?
Post by: Herman's Mixen on October 31, 2007, 02:21:23 PM
goto your admin panel in there you find packages this is designed for simplefy installing of custum mods wich are written by members of this smf community so you wont have do that manually ;)

Title: Re: Having problems with the package manager?
Post by: romuba on October 31, 2007, 04:04:02 PM
Thankyou very much - so simple when you know what one is talking about.
Title: Re: Having problems with the package manager?
Post by: Herman's Mixen on October 31, 2007, 04:28:31 PM
you're welcome  ;D
Title: Re: Having problems with the package manager?
Post by: romuba on October 31, 2007, 04:32:38 PM
I am now fiddling with these packages and am still lost. Is there some place that I can go to find out all about them and how to go about installing etc.?

There is a lot in the package section that I don't know what to do, upload, install and all the rest.
Title: Re: Having problems with the package manager?
Post by: 青山 素子 on October 31, 2007, 04:43:43 PM
The best source for information is our online manual (docs link up in the main nav bar).

You will probably find the packages section (http://docs.simplemachines.org/index.php?board=49.0) very handy.
Title: Re: Having problems with the package manager?
Post by: romuba on October 31, 2007, 04:47:34 PM
Thank you very much. I will spend some time there.
Title: Re: Having problems with the package manager?
Post by: funcouldron on November 03, 2007, 10:11:15 AM
i uploaded some packages on my forum ,,,

earlier i was abel to see thm  now i get this thing

Browse Packages
No packages yet.


now i even cant upload any new package,,,

i cant even ypgrade the forum ,,,i cant install packages it gives error

whn i try to upgread i get this error

The package you are trying to download or install is either corrupt or not compatible with this version of SMF.,,

i done tht chmod setting to 777 and no temp removel manualy but still no use


wht to do ,,,plz help

plzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz
Title: Re: Having problems with the package manager?
Post by: olorin_spb on November 08, 2007, 01:05:17 PM
I'm getting the blank page error too, 99% of the time.  Every once and a while, I'll actually be able to apply a mod.

Blank page happens when installing AND uninstalling mods.  I set CHMOD to 777...yada yada yada...

SMF 1.1.4
PHP 5.0.5
O/S Linux
Kernel 2.6.19.2-grsec-sg5
Title: Re: Having problems with the package manager?
Post by: romuba on November 08, 2007, 01:16:36 PM
I won't even try to solve this problem (I am rather new too this stuff) other than to say that when I had some problems I contacted my hosting company and found that they had to set some permissions before I was able to get the mods (Themes in my instance) to load and install correctly.
Title: Re: Having problems with the package manager?
Post by: olorin_spb on November 08, 2007, 01:54:09 PM
Quote from: romuba on November 08, 2007, 01:16:36 PM
I won't even try to solve this problem (I am rather new too this stuff) other than to say that when I had some problems I contacted my hosting company and found that they had to set some permissions before I was able to get the mods (Themes in my instance) to load and install correctly.

This is what others are saying, but nobody's posted the details.
Title: Re: Having problems with the package manager?
Post by: Sarge on November 08, 2007, 08:46:01 PM
Quote from: olorin_spb on November 08, 2007, 01:54:09 PM
Quote from: romuba on November 08, 2007, 01:16:36 PM
I won't even try to solve this problem (I am rather new too this stuff) other than to say that when I had some problems I contacted my hosting company and found that they had to set some permissions before I was able to get the mods (Themes in my instance) to load and install correctly.

This is what others are saying, but nobody's posted the details.

Some mods modify files in both Sources and Themes directories, sometimes even index.php in your forum directory. This means that you may have to change permissions throughout your forum directory. To do this, you have to chmod recursively, i.e. all directories and their files, and all subdirectories and their files. For example, if you have:

forum_dir
|
----- Themes
    |
     ----- default

you have to chmod all files and directories inside forum_dir, then all files and directories inside Themes etc. A bit tedious to do it through an FTP program (which usually let you work on one level at a time), but it's easily done if you have shell access to your forum directory. Your hosting provider does (or should) have shell access, so they can change to your forum directory and chmod recursively using the command:
chmod -R 777 *
where -R stands for "recursively". Depending on your hosting configuration, you may have to use 755 instead of 777.

Package Manager has a very useful option to chmod forum files recursively. Go to Admin > Packages > Options tab and select "All files are writable". Depending on your hosting configuration, this may not work, but chmodding manually through FTP may work.

Note that chmod (which is a UNIX/Linux command) may not work at all on Windows servers.

In order to be able to set file and directory permissions, you may need to set ownerships (who has access to change permissions). Usually, only your host can modify ownerships; after they transfer the ownership to you, you can assign proper permissions to your forum files. This is one of the scenarios when you have to contact your host in order to solve your Package Manager woes...
Title: Re: Having problems with the package manager?
Post by: olorin_spb on November 10, 2007, 10:58:17 AM
Sarge, thanks for posting the details.  This still doesn't explain why the behavior is intermittent for a given package.  I should have been more clear about that before.  I get the behavior 99% of the time for any given package, but eventually it always works.  If it were a permissions issue, then I wouldn't have been able to install the packages without changing permissions...right?

Also, wouldn't it be good to generate an error if files couldn't be written?  Rather than a blank page...  Seems like the connection is just being reset.
Title: Re: Having problems with the package manager?
Post by: romuba on November 10, 2007, 04:32:03 PM
I have found that permissions on my server have caused my a fair amount of grief. The mod or theme seems to install correctly. No error message is received but the mod is not there or the theme just doesn't happen. Eventually I found out that my server permissions were not correctly set and although the installation went ahead no files were actually loaded into the respective folder. Once permissions were sorted this problem has gone.
Title: Re: Having problems with the package manager?
Post by: yynwebhsu on November 12, 2007, 02:41:31 PM
Romumba - what were the exact server permissions that had to be set?

I have just installed a fresh version of 1.1.4 on my linux server - and I am getting the same problem  of "The package you are trying to download or install is either corrupt or not compatible with this version of SMF."
Title: Re: Having problems with the package manager?
Post by: romuba on November 12, 2007, 02:49:23 PM
I had to contact my Hosting company and told them what the problem was - they are familiar with SMF - and they said that when SMF installs it changes some permissions and they need to reset them. Can't give you more specific info than that I am afraid.
Title: Re: Having problems with the package manager?
Post by: metallica48423 on November 12, 2007, 04:38:19 PM
depends on how its installed -- if its through fantastico for example, it has the tendency to do that.

the problem is also hosts with different setups... most servers will accept permissions of 755 with no issue as that is proper -- but on a phpsuexec setup it is redundant and 644 is appropriate.

Its more of a difference between the server setup and the way things are handled in SMF than not.
Title: Re: Having problems with the package manager?
Post by: romuba on November 12, 2007, 10:39:55 PM
With my host I was not able to initially change the chmod at all. Once they had done their stuff then I could.
Title: Re: Having problems with the package manager?
Post by: Sarge on November 13, 2007, 12:52:09 AM
Quote from: romuba on November 12, 2007, 10:39:55 PM
With my host I was not able to initially change the chmod at all. Once they had done their stuff then I could.

I guess they applied the chown command and you could chmod after that. ;)
Title: Re: Having problems with the package manager?
Post by: romuba on November 13, 2007, 12:59:45 AM
Interesting, I have never met the chown command, what is it and would I be able to affect it?
I don't know what they did but it worked.
Title: Re: Having problems with the package manager?
Post by: 青山 素子 on November 13, 2007, 01:25:24 AM
chown changes the owner of the files on the server (On *NIX systems, every file belongs to a specific user and group). Only root (the system admin account) can change the owner of a file.
Title: Re: Having problems with the package manager?
Post by: romuba on November 13, 2007, 10:06:00 AM
Thanks for the info.
Title: Re: Having problems with the package manager?
Post by: brianjw on November 14, 2007, 07:13:34 PM
I am getting this error message, the package manager times out or something:
Quote
Database Error: Lost connection to MySQL server during query
File: /home/content/*/*/*/********/html/Packages/temp/install.php
Line: 28
Here is my phpinfo: http://www.gamerzgarage.com/phpinfo.php
My SMF Version is: 1.1.4
PHP version: 5.1.4
MySQL version: 5.0.45-log
Server version: Apache
GD version: bundled (2.0.28 compatible)

I can provide you with any other information as needed.

Thanks,
brianjw
Title: Re: Having problems with the package manager?
Post by: Sarge on November 14, 2007, 08:38:43 PM
Quote from: brianjw on November 14, 2007, 07:13:34 PM
I am getting this error message, the package manager times out or something:
Quote
Database Error: Lost connection to MySQL server during query
File: /home/content/*/*/*/********/html/Packages/temp/install.php
Line: 28

Which mod are you trying to install? Does it happen with other mods? Do you get this error only when installing mods, or in other SMF areas as well?
Title: Re: Having problems with the package manager?
Post by: brianjw on November 14, 2007, 09:08:16 PM
It only happens every now and then - no specific mod I believe but the mod I got this error with was ad management even though it does happen to others as well.

It goes off and on, one time it fails and shows the error message - the next it shows the install success message.

brianjw
Title: Re: Having problems with the package manager?
Post by: Sarge on November 14, 2007, 10:02:21 PM
Your best bet is to contact your host. It looks like a MySQL server performance issue to me, although I could be wrong.
Title: Re: Having problems with the package manager?
Post by: brianjw on November 15, 2007, 07:13:48 PM
Will do, sending an email now. ;)
Title: SOLVED and still having problems with the package manager!
Post by: ceewee on November 18, 2007, 02:57:05 PM
SOLVED and still having problems with the package manager!

Been busy last week with "modification parse error", had even to say to my wife , no sorry have a headache honey  ;D
but have partly solved it , with the help of my host servage:

1. It has nothing to do with smf version "whatever",
   besides perhaps   ...package.php
2. it has nothing to do with mods, not suitable mods give errormsg themselves.
3. it has nothing to do with what phpversion you have

Errors besides "modification parse error" are unpacking (if any) zips/gz with filelength 0 bytes, and not modifying files, files or links not showing up and no functionality whatsoever.

I have setup several 1.1.2 and 1.1.4 clean install on different domains, and worked my way thru.

Safe mode (GD) both off before (mod)install, register globals on off
(takes 3 hours to take effect).
lean install works fine but encountered time after time the same "modification parse error".


Checked forumerror log SMF:
admin Today at 11:43:15 AM
82.176.116.58 9532d96eaa5ac8fd62af10f0561e0b73
http://www.degratiskrantvannederland.nl/smf/index.php?action=packages;sa=install;package=feed.zip
8: fwrite() [<a href='function.fwrite'>function.fwrite</a>]: send of 91 bytes failed with errno=32 Broken pipe
File: /mounted-storage/home20b/sub003/sc20581-HXVG/degratiskrantvannederland.nl/smf/Sources/Subs-Package.php
Line: 2902

function.copy and function.fwrite don't work.

And unpacking (if any) zips/gz with filelength 0 bytes has to do with zlib of Apache.

That broken pipe points to server (over)load !!

But there's more:

My host points out that besides chmod there's also CHOWN.
I'm not a techie so I use normal language now:CH is change OWN owner.
When you have Filezilla you see owner in your screen and there you see the
name-holder of the account, for smfsoftware to modify the files you have to change that ownership recursivly (througout the entire smf folders) TO
WEBSERVER recursivly (I use the names as shown to me..perhaps with others that's called otherwise) so the webserver can act standalone as temporay owner
and change files.

However you have to have superuser-status to change the CHOWN.
For chmod a simple ftp prog will do.
If you have in your account a online filemanager, that can point to that status.
Possibly there you can change CHOWN.
(For techies, type chown in google or se)

Note: If your /smf folder has WEBSERVER recursivly as owner, you can download by ftp, but you can't upload anymore ! So plan your work.
One thing at a time. (Or use packagemanager for manuel upload)

After the modification has be done (when doing that I've uploaded and installed/modified 8 mods without errors) you have to CHange the OWNership
back to YOU recursivly, for safety reasons.
You can/should also return to PHP safe mode (GD).

HOWEVER, and this is why it partly works sofar, that broke pipe and server (over)load hampers flawless working.

For instance, I live in the netherlands, europe and around 16.30 USA wakes up
and get online, then I get the same "modification parse error" again !!
Server (over)load..
Cheap servers get server (over)load, expensive once less..I assume..
Or run your own.

For me the late mornings seem to be the best time to install mods, when the USA
is still asleep.

For the developers: Is perhaps the solution that files to be modified are downloaded on the user computer, modified there and uploaded again,
by a standalone packagemangerprog, I dont know if db querys present a problem, but sofar the php functions open, write give the largest problems.

Or divide the modify.xml's in modify files.xml and modify db.xml's ?

Hope this is clear...





Title: Re: Having problems with the package manager?
Post by: ceewee on November 18, 2007, 03:55:48 PM
Forgot to mention: chmod recurisvly (all folders/files to 777 and now no problems when usa is awake...(up till now) ;D

After modinstall change chown and chmod RECURivly back, except folders/files that still need 777...

, please make the following files 777 (writable, 755 on some hosts):
attachments
avatars
Packages
Packages/installed.list
Smileys
Themes
agreement.txt
Settings.php
Settings_bak.php
Title: Re: Having problems with the package manager?
Post by: DarrenOMG on November 23, 2007, 09:13:24 PM
Hi. I get this when trying to apply any mods.

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!

Now, I've double checked EVERYTHING, and it is all CHMODed to 755.
Title: Re: Having problems with the package manager?
Post by: IchBin™ on November 23, 2007, 10:44:29 PM
Did you try chmod to 777 ?
Title: Re: Having problems with the package manager?
Post by: DarrenOMG on November 24, 2007, 11:10:16 AM
Yes, but then the package manager requires FTP info to mod it back to 755.
Title: Re: Having problems with the package manager?
Post by: Ricky. on November 24, 2007, 04:50:31 PM
Quote from: SodaJim on October 02, 2007, 07:27:25 AM
Problem Solved ! ! !
It was the Path that was the issue...

I entered the complete path to SMF and just removed upper level directories from the string until it finally logged in and installed the 1.1.4 patch...

Thanks again for all the help on this issue ! ! !
Jim

What do you mean by upper level directories ? which one ?
Your forum path is :
/home/sodam1/www/soda-machines.com/discussions
so what you removed from it ?
Title: Re: Having problems with the package manager?
Post by: Ricky. on November 24, 2007, 05:14:34 PM
I see here that most of the people are having same problem ie. mods cannot be installed as files are not writable or directory..

I just solved my problem :

So if you are having problem where your mod display as installed but not really installed then it is all about ftp path.

1. Make sure Packages/temp file is there with 777 permission
2. Make sure you are giving right path, do not give path related to your server.
eg.
my real path to forum directory is :
/home/username/domain.com/www/forumdirectory/


But
Smf need it to relative to your account root only..
so I gave
/username/domain.com/www/forumdirectory

I also removed trailing slash (did not try if worked with trailing slash but it worked for me this way)

I hope shall work for you all. !
Title: Re: Having problems with the package manager?
Post by: DarrenOMG on November 24, 2007, 06:35:46 PM
This did not work for me.
Title: Re: Having problems with the package manager?
Post by: Ricky. on November 25, 2007, 11:21:16 AM
Your problem is of permission, create temp directory, chmod 777,
I have those to 777 and ftp manage is fine with it.
Title: Re: Having problems with the package manager?
Post by: DarrenOMG on November 25, 2007, 11:47:42 AM
When installing, I get this error.

Fatal error: packageinstall(): Failed opening required '/hsphere/local/home/carrotda/imdarren.com/Packages/temp/./add_settings.php' (include_path='.:/usr/local/lib/php:/usr/local/share/pear') in /hsphere/local/home/carrotda/imdarren.com/Sources/Packages.php on line 552
Title: Re: Having problems with the package manager?
Post by: Sarge on November 25, 2007, 12:38:45 PM
Try to chmod Packages and temp (inside Packages) to 755.
Title: Re: Having problems with the package manager?
Post by: DarrenOMG on November 25, 2007, 12:48:17 PM
Still no. If any support member of smf would like to get an admin/ftp account, PM me.
Title: Re: Having problems with the package manager?
Post by: DarrenOMG on November 26, 2007, 02:47:15 PM
I tried installing various mods, and I even contacted my site's host, and I am still reciving errors.
Title: Re: Having problems with the package manager?
Post by: metallica48423 on November 26, 2007, 05:50:36 PM
is there anything related showing up in the webserver's error log?  You might have to ask your host this)
Title: Re: Having problems with the package manager?
Post by: Ricky. on November 26, 2007, 07:19:19 PM
YOU may see forum error log, its there where I got idea to solve my problem earlier !
Title: Re: Having problems with the package manager?
Post by: zandria on November 26, 2007, 07:34:52 PM
I'm getting an error when I try to install a package, the test is successful, but when i click on install it attempts to download rather than install?   any help please i've searched and searched and can't find a solution to this.
Title: Re: Having problems with the package manager?
Post by: Sarge on November 27, 2007, 01:23:36 PM
Quote from: zandria on November 26, 2007, 07:34:52 PM
I'm getting an error when I try to install a package, the test is successful, but when i click on install it attempts to download rather than install?

If it is index.php, this can be an issue with your host. Does it happen in other areas of your forum?
Title: Re: Having problems with the package manager?
Post by: Ricky. on November 27, 2007, 03:14:45 PM
may be something with mod_security ..

add following .htaccess

<IfModule mod_security.c>
# Turn off mod_security filtering.
SecFilterEngine Off

# The below probably isn't needed, but better safe than sorry.
SecFilterScanPOST Off
</IfModule>


But, its just a wild guess .. though not really confirmed if its mod_security
Title: Re: Having problems with the package manager?
Post by: DarrenOMG on November 27, 2007, 03:32:23 PM
This is an error in my error log:

Apply Filter: Only show the error messages of this URL  http://imdarren.com/index.php?action=packages;sa=install2;package=FlashChatSMF_1-0.zip
Apply Filter: Only show the errors with the same message
2: packageinstall(/hsphere/local/home/carrotda/imdarren.com/Packages/temp/./add_settings.php): failed to open stream: No such file or directory
File: /hsphere/local/home/carrotda/imdarren.com/Sources/Packages.php
Line: 552


This one, too.

Apply Filter: Only show the error messages of this URL  http://imdarren.com/index.php?action=packages;sa=install2;package=FlashChatSMF_1-0.zip
Apply Filter: Only show the errors with the same message
2: file_get_contents(/hsphere/local/home/carrotda/imdarren.com/Packages/temp/./install.xml): failed to open stream: No such file or directory
File: /hsphere/local/home/carrotda/imdarren.com/Sources/Packages.php
Line: 544
Title: Re: Having problems with the package manager?
Post by: Ricky. on November 28, 2007, 12:08:29 AM
This is truely path problem !
What did you give in ftp as path to smf ?
I guess that in ur case must be :
/carrotda/imdarren.com
Title: Re: Having problems with the package manager?
Post by: Sarge on November 28, 2007, 04:09:15 AM
DarrenOMG, upload and run repair_settings.php:
What is repair_settings.php? (http://docs.simplemachines.org/index.php?topic=663)

Click on all the small "Recommended" blue links in the Paths & URLs section and then click the Save button. Be sure to delete repair_settings.php immediately after saving, for security reasons.

If mod installations still don't work, go to Admin > Packages and click on the Options tab. There you should see two sections:

The first section is named Installation Options. There you can enter the FTP server -- normally localhost, because SMF is running from inside the server, and your FTP Username. Verify that these settings are correct and click the Save button.

The second section is Cleanup Permissions. You can use it to automatically chmod SMF files and directories to 777 (or, depending on the server configuration 755 -- SMF will first try 777 and then 755). Select "All files are writable" and press the "Change file permissions" button.

If you see a new screen, be sure to enter the correct FTP info there:
What is shown as the "Local path to SMF"?

To explain a bit more: when you log in to the FTP server using a FTP program (client), you enter a username and password and then the FTP client should show your initial path. Sometimes, your initial FTP path is simply:
/
or it can be something else, like:
/var/www/your_username/

Browse to your forum directory and write down the path to there. For example, it can be:
/public_html/forum/
or:
/var/www/your_username/forum/

This is exactly what "Local path to SMF" is about. It is your forum's path from the start directory of your FTP login.

Note 1: Do not confuse "SMF Directory" (from Admin > Server Settings > Core Configuration tab) with "Local path to SMF". They're different. "SMF Directory" is the complete path of your forum directory from / (the root directory of the server), whereas "Local path to SMF" is the path of your forum starting from where you log in via FTP. Sometimes, "Local path to SMF" is the last part of your "SMF Directory", but this is not always the case; sometimes they could be the same or totally different.

Note 2: You cannot see or modify "Local path to SMF" in repair_settings.php.




If you don't get a new screen, open phpMyAdmin, select the database where your forum resides, browse the smf_settings table and run this query:

SELECT * FROM smf_settings WHERE variable =  'package_path'

This query works if the database tables prefix for your forum is smf_ (which is the default). The actual prefix can be found in Admin > Server Settings > "Database Tables Prefix" or as the value for $db_prefix in Settings.php (which is located in your forum directory).

To run the query, click on the SQL link at the top of the right pane (see the image below), enter the query in the box and click the Go button.

(http://img177.imageshack.us/img177/9899/sqlhm7.png)

Do you get any results from the query?
Title: Re: Having problems with the package manager?
Post by: Ricky. on November 28, 2007, 07:27:42 AM
Sarge.. thats pretty good post.. :) Hope he get solution through it !
Title: Re: Having problems with the package manager?
Post by: DarrenOMG on December 01, 2007, 12:33:45 PM
Here's what I get back:

Error

SQL query: Documentation

SELECT *
FROM smf_settings
WHERE variable = 'package_path'
LIMIT 0 , 30

MySQL said: Documentation
#1146 - Table 'Carrotd_smf039586840598395.smf_settings' doesn't exist


I also don't use localhost, my host does not use that, if it helps.
Title: Re: Having problems with the package manager?
Post by: funcouldron on December 03, 2007, 07:48:21 AM
plz reply ,,,

i asked many time no one replying
in my forum in packages i m getting there is no packages yet,,

i cnat upload new packaege and even cant upgread forum i tried to chmod777 and also adding temp dir but nthing happnd ,,, plz plzzz plz helpppppppppppppp
Title: Re: Having problems with the package manager?
Post by: Sarge on December 03, 2007, 10:41:38 AM
Quote from: DarrenOMG on December 01, 2007, 12:33:45 PM
Here's what I get back:

Error

SQL query: Documentation

SELECT *
FROM smf_settings
WHERE variable = 'package_path'
LIMIT 0 , 30

MySQL said: Documentation
#1146 - Table 'Carrotd_smf039586840598395.smf_settings' doesn't exist


I also don't use localhost, my host does not use that, if it helps.

Select your forum database before running the query. Also, check out the SMF database tables prefix in Admin > Server Settings > "Database Tables Prefix" -- for example, if the prefix there is myforum_ then the query should be:

SELECT * FROM myforum_settings WHERE variable = 'package_path'

Your forum would not load if the prefix_settings table was not found.
Title: Re: Having problems with the package manager?
Post by: Sarge on December 03, 2007, 10:45:54 AM
Quote from: willwishers on December 03, 2007, 07:48:21 AM
plz reply ,,,

i asked many time no one replying
in my forum in packages i m getting there is no packages yet,,

i cnat upload new packaege and even cant upgread forum i tried to chmod777 and also adding temp dir but nthing happnd ,,, plz plzzz plz helpppppppppppppp

OK, send me the username and password via PM for temporary FTP and SMF admin accounts and I will take a look.
Title: Re: Having problems with the package manager?
Post by: Ch4rOon on December 03, 2007, 03:29:52 PM
Hello ;)

Same problem on free.fr server :

I can upload & install other mods.
I already have these installed :
                                                  1. Spoiler Tag 0.3.2 
                                                  2. Attachments Positioning 1.1
                                                  3. Auto Embed Video Clips 1.6    
                                                  4. Remove Post Modified Time 1.1

I already have "temp" directory in forum/packages/
I've got this error whan applicate the mod :

07.  Appliquer la modification     ./Sources/Post.php     Échec du test
17.  Appliquer la modification     ./Sources/Load.php    Échec du test

07. apply modification     ./Sources/Post.php       Test failed
17. apply modification   ./Sources/Load.php      Test failed

It's not possible to chmod 777 on this server
Any idea please ? Eldacar's method doesn't work too.
Title: Re: Having problems with the package manager?
Post by: Sarge on December 06, 2007, 04:54:11 AM
Quote from: Ch4rOon on December 03, 2007, 03:29:52 PM
It's not possible to chmod 777 on this server

Can you chmod to 755?
Title: Re: Having problems with the package manager?
Post by: Herman's Mixen on December 06, 2007, 05:08:53 AM
try 666 instead of 777 does the same  ;D
Title: Re: Having problems with the package manager?
Post by: Ch4rOon on December 07, 2007, 08:23:28 AM
;)

I've tryed 666/755 too, but no way to affect these attributes to the files in /sources/.

I've test with making a file with mkdir : chmod.php
- I have renamed "sources" -> sources 2
- In the chmod.php i've entered : <?php  mkdir ("./sources/", 0775); ?>
- Uploaded file by ftp in "/forum" and executed it by firefox : http://mysite/forum/chmod.php
- A directory "sources" has been created with chmod 775 (yes!) (noway with 777)
- just to drap/drop the files in "sources 2" to "sources" but same thing all files are in 644.
-So i've tried to copy theses files on my pc and reuploading them ( when a file is upload in a ftp, it's taking the same chmod as the parent directory) but no way.
- always in chmod 644 ...

Does anyone know the command for create a file instead of a directory in a ".php"
I think that it may be work if I create a virgin "load.php" in chmod 775 and paste the lines in it after.

( I've already tried to install it manually but when i'm searching for theses lines : 
"$context['show_spellchecking']" or "global $ID_MEMBER, $user_info, $board_info, $options;" in the file Post.php i can't find nothing. So i've got no idea of where i've got to put the code in :D.
(Free.fr servers does not have spellcheck.dll for exemple)
And as far as i'm a nOob, i'll not try to "macguyverise" it xD

thanks ;)

(sorry for my english, I need to practice more often xD)
Title: Re: Having problems with the package manager?
Post by: funcouldron on December 09, 2007, 12:44:58 AM
i sent u mail plz reply me ,, u can mail me on [email protected] ,,,plzzzz
Title: Re: Having problems with the package manager?
Post by: funcouldron on December 10, 2007, 04:07:56 AM
plzzz reply ..........
Title: Re: Having problems with the package manager?
Post by: Sarge on December 10, 2007, 04:14:39 AM
Quote from: willwishers on December 10, 2007, 04:07:56 AM
plzzz reply ..........

Did you get a PM from me?
Title: Re: Having problems with the package manager?
Post by: funcouldron on December 10, 2007, 04:39:15 AM
plz reply to my pm or i m onlnie on [email protected]  and [email protected]
Title: Re: Having problems with the package manager?
Post by: funcouldron on December 10, 2007, 04:49:23 AM
detail sent..plz reply
Title: Re: Having problems with the package manager?
Post by: funcouldron on December 10, 2007, 05:02:08 AM
u thr???
Title: Re: Having problems with the package manager?
Post by: funcouldron on December 10, 2007, 05:54:34 AM
u thr???
Title: Re: Having problems with the package manager?
Post by: funcouldron on December 10, 2007, 06:12:58 AM
detail sent..plz reply
Title: Re: Having problems with the package manager?
Post by: metallica48423 on December 10, 2007, 08:34:45 AM
willwishers, please be patient.  Posting in the middle of the night where most of us live in the US won't always get answers very fast ;) In some cases it requires a little research to find an acceptable answer.  "plssss help" doesnt give us much idea of what is wrong :(.

Can you please clearly and specifically outline what problem that you are experiencing?
Title: Re: Having problems with the package manager?
Post by: Sarge on December 10, 2007, 12:10:59 PM
Quote from: willwishers on December 03, 2007, 07:48:21 AM
plz reply ,,,

i asked many time no one replying
in my forum in packages i m getting there is no packages yet,,

i cnat upload new packaege and even cant upgread forum i tried to chmod777 and also adding temp dir but nthing happnd ,,, plz plzzz plz helpppppppppppppp

I updated your forum to SMF 1.1.4. There was no Packages directory at all, and of course no temp dir, so I recreated them and chmodded both to 777.

To update your forum, I downloaded the SMF 1.1.4 update patch, uploaded it in Admin > Packages > Download Packages and installed it from there.

Let us know how it goes. :)
Title: Re: Having problems with the package manager?
Post by: funcouldron on December 10, 2007, 12:23:27 PM
hey ,, very much thankx to u ,,,,


u siad thr is no packages directory thn how my mod of tinyportal is working,, my packages dir is outside the forum dir,, if u have noticed,, i made temp dir in it and thought tht by defult packages dir is made thr,,


once again thx for ur gr8 help ,,,

i m planing to earn from my site ,, i will surly  do some donation if i earn from my site,,,

thx once again,,,,




one last q??

can u tell me is thr any mod to put add on site,,,?
Title: Re: Having problems with the package manager?
Post by: funcouldron on December 10, 2007, 12:29:34 PM
sry if i cosed any trouble ,, i m indian and here in india it was a day ,,, i dint thought abt night thr,,,:)
Title: Re: Having problems with the package manager?
Post by: Sarge on December 10, 2007, 12:35:30 PM
Quote from: willwishers on December 10, 2007, 12:23:27 PM
u siad thr is no packages directory thn how my mod of tinyportal is working,, my packages dir is outside the forum dir,, if u have noticed,, i made temp dir in it and thought tht by defult packages dir is made thr,,

My guess is that you moved the Packages directory accidentally (probably by drag-and-drop), after TinyPortal was installed. Mods don't need the Packages directory to work after they're installed -- it is only needed by Package Manager to install, list and uninstall mods.


Quote from: willwishers on December 10, 2007, 12:23:27 PM
i m planing to earn from my site ,, i will surly  do some donation if i earn from my site,,,

You're welcome to do so :) I recommend this:
http://www.simplemachines.org/charter/
or this:
http://www.simplemachines.org/about/donate.php


Quote from: willwishers on December 10, 2007, 12:23:27 PM
can u tell me is thr any mod to put add on site,,,?

Check out the SMF Mod Site (http://custom.simplemachines.org/mods/).
For your information: after installing the update patch, I installed the No Temp Directory Removal (http://custom.simplemachines.org/mods/index.php?mod=724) mod to make it easier for you to install mods.


Quote from: willwishers on December 10, 2007, 12:29:34 PM
sry if i cosed any trouble ,, i m indian and here in india it was a day ,,, i dint thought abt night thr,,,:)

Don't worry about it. :) Just please do not bump support request within 24 hours. We are all volunteers here and give support on our free time.
Title: Re: Having problems with the package manager?
Post by: funcouldron on December 10, 2007, 12:37:17 PM
thn how can i uninstall thos mods now worknig on my site???



coz now i cant see tht mods  in package manager,,??


i need to do it manualy only??



i dnt want to remove it ,, but liek to knw,, if it req in future
Title: Re: Having problems with the package manager?
Post by: Sarge on December 10, 2007, 12:56:17 PM
Quote from: willwishers on December 10, 2007, 12:37:17 PM
thn how can i uninstall thos mods now worknig on my site???

coz now i cant see tht mods  in package manager,,??

i need to do it manualy only??

Do NOT uninstall "SMF 1.0.12 / 1.1.4 / 2.0 b1.1 Update" and I recommend keeping "No Temp Directory Removal". Delete them if you want, but don't uninstall them.

I logged on again and I can see the mod packages in Package Manager. It's possible that it takes awhile for the mods to be uploaded to the correct place (because of the hosting server setup).

It looks like they are not available for some time after upload (perhaps while being scanned for viruses?)
Title: Re: Having problems with the package manager?
Post by: funcouldron on December 10, 2007, 12:58:58 PM
i m not talknig abt tht mods i m talknig abt modesl ike tinyportal and other i inasalled earlier






did u  like site??

any recomandations?
Title: Re: Having problems with the package manager?
Post by: Sarge on December 10, 2007, 01:02:48 PM
Quote from: willwishers on December 10, 2007, 12:58:58 PM
i m not talknig abt tht mods i m talknig abt modesl ike tinyportal and other i intalled earlier

Copy them over from the Packages directory that is out of the forum directory. ;)

You also have to merge the files named installed.list from the new and the old Packages directories. Open them in a text editor and add the contents of the old installed.list to the start of the new one, then upload the merged file into the new Packages dir.
Title: Re: Having problems with the package manager?
Post by: funcouldron on December 10, 2007, 01:07:21 PM
thx for help....

will do tht...

i m changind admin pass for tempadmin nw,, ...
thankuuuuuuuu
Title: Re: Having problems with the package manager?
Post by: babjusi on December 10, 2007, 01:36:08 PM
Sorry for getting off topics guys, but this proved me right again. In spite of the so called Don''t bump posts/topics within 24 hours rule, the persons that bump like there is no tomorrow get all the attention and support they want, whereas those who obey the rules and wait patiently get an answer months later with something like ''Is your issue resolved or do you still require assistance''....... I don''t think this is fair.........
Title: Re: Having problems with the package manager?
Post by: Sarge on December 10, 2007, 01:49:27 PM
babjusi, that member had already started a separate topic for his Package Manager issues:
http://www.simplemachines.org/community/index.php?topic=194783.0

You posted there. ;) None of the posted solutions worked for him. Therefore, since I had some free time, I offered to investigate the issue directly. I think the main problem stemmed from the fact that he had moved the Packages directory out of the forum directory, something that none of us could have guessed, could we? :)
Title: Re: Having problems with the package manager?
Post by: babjusi on December 10, 2007, 01:56:25 PM
Sarge, it was not meant personally my friend. It was just an observation, that particular person bumped 6 times within 24 hours. Anyway, I apologize again for getting off topic, but wouldn''t have been better if a user that doesn''t bump his posts/topics gets helped first? I mean, what is the message that we send out like this, bump away cause you will get faster help inspite of that being against the rules?

P.s. Even at that topic he bumped as well numerous time
Title: Re: Having problems with the package manager?
Post by: metallica48423 on December 10, 2007, 04:43:42 PM
not with me :P

when i do support I almost always do oldest first (we have a script for this, very useful indeed), so these bumpers get put at the end of the line.  :P

This instance here, he had another topic and sarge'd already helped him with (that i missed in my tiredness). 

That said, i don't disagree that it seems that way sometimes.  And its something that should be addressed.  Theres some more important issues to be addressed at the moment, but its not something i haven't noticed.

That said, i highly reccommend starting a new topic in general discussion and feedback instead of continuing this discussion here.  :)
Title: Re: Having problems with the package manager?
Post by: funcouldron on December 11, 2007, 01:13:40 AM
i already apologised to cause trouble by posting continuously in 24 hours,,,,, but i asked for help long back as u knw,,,


and i was nt famalier eith tht rule of not posting within 24 hours,,,,


i already said sry for tht,,,,

so plz dnt make it big issue,,,,
Title: Re: Having problems with the package manager?
Post by: metallica48423 on December 11, 2007, 03:32:46 AM
willwishers: you are fine, no problems at all, my post above your last one was directed at ol' wombat :)
Title: Re: Having problems with the package manager?
Post by: Ch4rOon on December 11, 2007, 09:57:24 AM
Quote from: Ch4rOon on December 03, 2007, 03:29:52 PM
Hello ;)

Same problem on free.fr server :

I can upload & install other mods.
I already have these installed :
                                                  1. Spoiler Tag 0.3.2 
                                                  2. Attachments Positioning 1.1
                                                  3. Auto Embed Video Clips 1.6    
                                                  4. Remove Post Modified Time 1.1

I already have "temp" directory in forum/packages/
I've got this error whan applicate the mod :

07.  Appliquer la modification     ./Sources/Post.php     Échec du test
17.  Appliquer la modification     ./Sources/Load.php    Échec du test

07. apply modification     ./Sources/Post.php       Test failed
17. apply modification   ./Sources/Load.php      Test failed

It's not possible to chmod 777 on this server (neither 775 or 666)
Any idea please ? Eldacar's method doesn't work too.
Quote from: Ch4rOon on December 07, 2007, 08:23:28 AM
;)

I've tryed 666/755 too, but no way to affect these attributes to the files in /sources/.

I've test with making a file with mkdir : chmod.php
- I have renamed "sources" -> sources 2
- In the chmod.php i've entered : <?php  mkdir ("./sources/", 0775); ?>
- Uploaded file by ftp in "/forum" and executed it by firefox : http://mysite/forum/chmod.php
- A directory "sources" has been created with chmod 775 (yes!) (noway with 777)
- just to drap/drop the files in "sources 2" to "sources" but same thing all files are in 644.
-So i've tried to copy theses files on my pc and reuploading them ( when a file is upload in a ftp, it's taking the same chmod as the parent directory) but no way.
- always in chmod 644 ...

Does anyone know the command for create a file instead of a directory in a ".php"
I think that it may be work if I create a virgin "load.php" in chmod 775 and paste the lines in it after.

( I've already tried to install it manually but when i'm searching for theses lines : 
"$context['show_spellchecking']" or "global $ID_MEMBER, $user_info, $board_info, $options;" in the file Post.php i can't find nothing. So i've got no idea of where i've got to put the code in :D.
(Free.fr servers does not have spellcheck.dll for exemple)
And as far as i'm a nOob, i'll not try to "macguyverise" it xD

thanks ;)

(sorry for my english, I need to practice more often xD)
Anyone ? i've had retry yesturday and today but i'm not finding since I haven't the same lines as decrypt in the modification.xml of the package so i don't know where to put them.
Title: Re: Having problems with the package manager?
Post by: SinekSekiz on December 11, 2007, 01:40:45 PM
Hi All

First I am going to start with a confession. I have more then that I can chew in my mouth. I had an professional hosting package from a good hosting company and I taught I learned enough to move on a server package. And you know what? I moved to a root server package. : )

Now I have all sorts of problems that I have to figure out myself. But unfortunately it is not as easy as I imagined. Well I always do this mistake. (And I was the one who stole the apples from our neighbours garden when I was 8. Hell I could climb like a monkey.) Lets finish wit confessions and start with problems.

Since I transferred my sites from my hosting package to root server I am having problem with installation packages and Themes. I start to installation progress as usual. It start uploading data but at the end it show the same Installation pages like I did not touch anything.

When I check with my FTP I cant see any folders belongs to that Theme. Same applies for packages as well. It uploads the zip file but it does not execute it to install the package.

So as far as I read this topic I understand it is something to do with Safe Mode and SuExec. I disable PHP - Safe Mode trough Plesk 8.1 but I could not see any options about SuExec.

Another thing about Package manager is if I try to go options and change the mode to "All files are writable." it asks me to enter FTP details. When I do it gives me an error saying the path way is incorrect.

Default Path is in the package manager is: /vhosts/aylakdiyar.com/httpdocs
I tried to enter full path as: /var/www/vhosts/aylakdiyar.com/httpdocs

These does not work either. Could you tell me how to set up my server to work fine with package manager?

I use Fedora Core 6 - Plesk 8.1

Thank you.
Title: Re: Having problems with the package manager?
Post by: 青山 素子 on December 11, 2007, 02:07:28 PM
The path for the FTP information is almost never the same as the full server path. Connect manually using an FTP program to determine the correct path.
Title: Re: Having problems with the package manager?
Post by: SinekSekiz on December 11, 2007, 02:54:43 PM
Hi Motoko-chan

Could you tell me how to check the path from a FTP program. I am going around and around with Core FTP Lite and only path I can see is "/". My files installed on "/httpdocs/". It is a little bit confusing.

Or do you know how would I see it from Plesk 8.1

Thank you for reply.
Title: Re: Having problems with the package manager?
Post by: 青山 素子 on December 11, 2007, 03:02:20 PM
Then the ftp path would be /httpdocs/
Title: Re: Having problems with the package manager?
Post by: SinekSekiz on December 11, 2007, 03:11:51 PM
Thanks for quick reply Motoko-chan

I have tried it right before your reply anyway. It did not give me any error this time. But unfortunately "All files are writable." option did not work as it supposed to. (I am assuming it has to change all files to CHMOD 777)

I gave every kind of authorization trough Plesk 8.1 but still no effect. Do you have any more suggestions please. I have run out of assumptions : )
Title: Re: Having problems with the package manager?
Post by: metallica48423 on December 11, 2007, 03:36:03 PM
the path you need to enter is the path from where you start when you login to to ftp until the point where you get to your main smf directory (where index.php and SSI.php and Settings.php are)

Title: Re: Having problems with the package manager?
Post by: SinekSekiz on December 11, 2007, 03:46:14 PM
Quote from: BlackMage on December 11, 2007, 03:36:03 PM
the path you need to enter is the path from where you start when you login to to ftp until the point where you get to your main smf directory (where index.php and SSI.php and Settings.php are)



Hi BlackMage

I think the path is correct now. Because I do not get any error message anymore. But including the "All files are writable." option packet manager and theme manager does not take any effect. They do not give any errors. They just do not install. This confuses me a lot and makes me asume that my server or client or domain authoraziations are not set correctly. Or maybe my apache does not allow it. That is why I assumed the SuExec was not enabled in my first message in to this topic. Of course you know better than me so I will try some more but I do not think the path is the problem anymore...

Thank you for your reply.
Title: Re: Having problems with the package manager?
Post by: metallica48423 on December 11, 2007, 04:07:37 PM
progress :P

also check file ownerships.  If your webserver can't modify files owned by whatever user owns your files then you might run into this problem
Title: Re: Having problems with the package manager?
Post by: SinekSekiz on December 11, 2007, 04:17:54 PM
Quote from: BlackMage on December 11, 2007, 04:07:37 PM
progress :P

also check file ownerships.  If your webserver can't modify files owned by whatever user owns your files then you might run into this problem

Hi BlackMage

I find the problem. I was a victim of my ego. I was trying this operations with the theme that I was working on. When I try to install another theme it worked. I give it to size of the file and my compression method for it.

I was compressing it in .zip with winrar with "Best" option. So I think the problem is the highly compressed 3.5 MB theme file. Beside it is highly compressed, 3.5 MB, made in SinekSekiz theme file. I am so sorry to blame this on SMF. (OK I did not but I was about to.)

Please don't turn me in to a frog.

Sorry again.

PS: I checked the file owner in the begining. Come on I am not that begineer. (It felt like you cast the armageddon spell on my ego)
Title: Re: Having problems with the package manager?
Post by: metallica48423 on December 11, 2007, 11:03:18 PM
LOL no problem :P

we're not magic, we cant turn you into a frog :P
Title: Re: Having problems with the package manager?
Post by: SinekSekiz on December 12, 2007, 05:42:23 AM
Quote from: BlackMage on December 11, 2007, 11:03:18 PM
LOL no problem :P

we're not magic, we cant turn you into a frog :P

Huh. That was a relif.
Title: Re: Having problems with the package manager?
Post by: kazmack on December 14, 2007, 01:38:19 PM
Today I converted from PHP 2.0 to SMF...

I try using package manager but I get this error for any mod I try....

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

Any ideas?
Title: Re: Having problems with the package manager?
Post by: babjusi on December 14, 2007, 03:13:30 PM
Quote from: kazmack on December 14, 2007, 01:38:19 PM
Today I converted from PHP 2.0 to SMF...

I try using package manager but I get this error for any mod I try....

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

Any ideas?

Welcome to smf. Did you make sure that the mods that you tried to upload were compatible with your smf version?
Title: Re: Having problems with the package manager?
Post by: kazmack on December 14, 2007, 03:43:27 PM
Quote from: babjusi on December 14, 2007, 03:13:30 PM
Quote from: kazmack on December 14, 2007, 01:38:19 PM
Today I converted from PHP 2.0 to SMF...

I try using package manager but I get this error for any mod I try....

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

Any ideas?

Welcome to smf. Did you make sure that the mods that you tried to upload were compatible with your smf version?

thanks very much :)

Yeah I have done. I tried adding in a temp directory, chmod'd, uploaded by ftp, the 'browse' to file way and the inside package manager way.... still get the same message. Not got a clue why.
Title: Re: Having problems with the package manager?
Post by: babjusi on December 14, 2007, 04:07:33 PM
Quote from: kazmack on December 14, 2007, 03:43:27 PM
Quote from: babjusi on December 14, 2007, 03:13:30 PM
Quote from: kazmack on December 14, 2007, 01:38:19 PM
Today I converted from PHP 2.0 to SMF...

I try using package manager but I get this error for any mod I try....

The packag''e you are trying to download or install is either corrupt or not compatible with this version of SMF.

Any ideas?

Welcome to smf. Did you make sure that the mods that you tried to upload were compatible with your smf version?

thanks very much :)

Yeah I have done. I tried adding in a temp directory, chmod'd, uploaded by ftp, the 'browse' to file way and the inside package manager way.... still get the same message. Not got a clue why.

What you did helps in case the package manager is not writable, which I don''t think is the case here. If you look closely at the error message you got, it says ''The package you are trying to download or install is either corrupt or not compatible with this version of SMF.'' So that bring us back to my above question, that you must make sure to upload the mods that are compatible with your smf version. When you go to a certain mod download page, at the description you will see something like: Compatible With:.....(smf version). So you should download mods that are compatible with your version. Did it make any sense the way I explained it to you?
Title: Re: Having problems with the package manager?
Post by: kazmack on December 14, 2007, 04:09:02 PM
Perfect sence... and yeah the mods Ive tried all say 'tested on' ect for my version.

I'm running the newest one 1.1.4

EDIT - oh hang on. Did it test of one by downloading one from the main site instead of downloading the zip of the package manager then uploading it and it worked.
Title: Re: Having problems with the package manager?
Post by: metallica48423 on December 14, 2007, 04:48:50 PM
it seems the package manager is trying to grab the wrong files
Title: Re: Having problems with the package manager?
Post by: SinekSekiz on December 14, 2007, 05:01:52 PM
Hi Guys.

I am sorry but my package manager and theme manager is not working with any file over 300 or lets say 500 KB. I have lots of themes like 2 - 3MB. What I do is I take out the image files zip them again and install it trough manager. Then I transfer the image files via FTP.

Why do you think my SMF does do this.

I normally go along with it but right now I am attempting to install Tiny Portal and it is not like a theme so any help appreciated.

Thanks again.
Title: Re: Having problems with the package manager?
Post by: babjusi on December 14, 2007, 05:08:52 PM
Maybe I misunderstood you, but you shouldn''t upload theme packages through the Package manager. The theme packages should be uploaded at the section ''Themes and layout'' and scroll all the way towards the bottom.

Now, can you try something and see if it would help to install the mods that you want?
Unzip the TinyPortal package and then upload its folder as a whole inside the package directory through ftp. Then go to the Package Manager at the acp of your forum and click on the ''Browse'' button. If all is well you should see a link for TP that says ''Apply the mod''. Click there and it will be installed. If you get any error warning about failed install on some files, don''t go through with the installation but post those errors here. And remember to make a thorough backup before installing any mods, especially those in the beta version
Title: Re: Having problems with the package manager?
Post by: Shawn Gotti on December 16, 2007, 10:25:03 AM
Im getting this error and need help:

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!

I have installed many mods and this happens now after a month.
Im using 1.14.
Title: Re: Having problems with the package manager?
Post by: Sarge on December 16, 2007, 05:12:00 PM
anothernewdude, please browse this topic for possible solutions -- let us know what you have tried, so that we won't suggest things you have already done.
Title: Re: Having problems with the package manager?
Post by: nickreed on December 19, 2007, 09:01:48 PM
An error occured while trying to connect. The error was:

550 /smf: No such file or directory
It doesn't matter what path I enter it willnot connect
Title: Re: Having problems with the package manager?
Post by: Tipz on January 01, 2008, 07:44:04 AM
Hey! everytime i go to install a mod it comes up with: enter ftw information. I type it in click proceed and it reloads the same page.. Also i tried the fix tool thingy and it says: An error occured while trying to connect. The error was:
nothing comes up :S please help :)
Title: Re: Having problems with the package manager?
Post by: metallica48423 on January 02, 2008, 12:48:51 AM
make sure the path you're entering is right.

The path should be the relative path from where you login to FTP and your SMF folder
Title: Re: Having problems with the package manager?
Post by: shadownexusruler on January 03, 2008, 02:19:20 AM
earlier i try to use package manager to upgrade to 1.1.4 but i get a message saying package manager disabled
Title: Re: Having problems with the package manager?
Post by: 青山 素子 on January 03, 2008, 11:56:14 AM
Quote from: shadownexusruler on January 03, 2008, 02:19:20 AM
earlier i try to use package manager to upgrade to 1.1.4 but i get a message saying package manager disabled

Link to your forum, please.
Title: Re: Having problems with the package manager?
Post by: shadownexusruler on January 03, 2008, 12:32:28 PM
here's the link to my forum http://crimsonrmxpcomunnity.smf.instant-forum.com/
Title: Re: Having problems with the package manager?
Post by: 青山 素子 on January 03, 2008, 02:27:49 PM
Free hosts like that normally disable functionality like the package manager.
Title: Re: Having problems with the package manager?
Post by: shadownexusruler on January 03, 2008, 03:09:37 PM
why would they disable the package manager while at same time ask the members to update there forum with the latest software
Title: Re: Having problems with the package manager?
Post by: 青山 素子 on January 03, 2008, 03:25:34 PM
No clue. You'll need to ask them. We have no control over the actions of outside places.
Title: Re: Having problems with the package manager?
Post by: Sarge on January 04, 2008, 01:30:21 AM
Quote from: shadownexusruler on January 03, 2008, 03:09:37 PM
why would they disable the package manager while at same time ask the members to update there forum with the latest software

Since your host has disabled Package Manager, you will probably have to upload fresh SMF files from the SMF 1.1.4 Large Upgrade package, except upgrade.php and the two .sql files. This will overwrite all mods, but I assume you haven't installed any mods because Package Manager is disabled, right?

On the other hand, if you have done any manual modifications to SMF files and don't want want to lose or reinsert them, you will have to update manually. Only a few files are affected by the patch and you can examine the patch package for the necessary changes.
Title: Re: Having problems with the package manager?
Post by: shadownexusruler on January 04, 2008, 02:28:35 PM
well my forum is hosted at this site http://crimsonrmxpcommunnity.freesmfhosting.com/index.php
Title: Re: Having problems with the package manager?
Post by: Sarge on January 05, 2008, 02:14:30 AM
Quote from: shadownexusruler on January 04, 2008, 02:28:35 PM
well my forum is hosted at this site http://crimsonrmxpcommunnity.freesmfhosting.com/index.php

You posted another URL two days before:
Quote from: shadownexusruler on January 03, 2008, 12:32:28 PM
here's the link to my forum http://crimsonrmxpcomunnity.smf.instant-forum.com/

Either way, there's no setting in SMF to disable Package Manager; it's up to you to use it or not. Most likely, your free host installs SMF for you and at the same time (or shortly thereafter) modifies it via a script to remove "unwanted" features, like Package Manager.

In short, please contact your host about Package Manager being disabled.

[edit]
For details on how to update SMF to the latest version, refer to my earlier post and especially the Online Manual: Upgrading SMF (http://docs.simplemachines.org/index.php?board=3.0;sort=subject)
Title: Re: Having problems with the package manager?
Post by: 青山 素子 on January 05, 2008, 12:58:19 PM
Quote from: Sarge on January 05, 2008, 02:14:30 AM
Either way, there's no setting in SMF to disable Package Manager; it's up to you to use it or not. Most likely, your free host installs SMF for you and at the same time (or shortly thereafter) modifies it via a script to remove "unwanted" features, like Package Manager.

I'm guessing it is more like one of those multi-forum scripts that some free hosts are running. One install of SMF for all the sites, so things like packages are removed because it would affect all sites.
Title: Re: Having problems with the package manager?
Post by: Chriss Cohn on January 24, 2008, 06:02:59 PM
QuoteThe next major release of SMF should solve these problems.
ULTRA-LOL
Do we see something like this in SMF 2.0 ?

Regards, Christian
Title: Re: Having problems with the package manager?
Post by: InsidiousAlgorythm on January 26, 2008, 08:40:19 AM
At servage there is no SSH and according to one person "No secure shell (SSH). This means you can't directly run installation and patching scripts, search files, add PHP plugins, zip up whole directories or copy them to another server"

could this be the cause of all the problems? I have tried everything I can to get mine to work and nada.

Though I have givin up on using SMF, I thought this might help
Title: Re: Having problems with the package manager?
Post by: Sarge on January 26, 2008, 08:46:23 AM
Quote from: InsidiousAlgorythm on January 26, 2008, 08:40:19 AM
Though I have givin up on using SMF, I thought this might help

First of all, can you point us at the exact problems you had? Who knows, we might solve them and get you back to SMF :D

SSH access is not necessary. You might have to ask your host to chown SMF files for you once, but after that it shouldn't be a problem.
Title: Re: Having problems with the package manager?
Post by: InsidiousAlgorythm on January 26, 2008, 03:24:09 PM
Hi Sarge, thanks for the reply,

I haven't tried to set up in a couple of months now, so I can't remember the details. It was the infamous Modification Parse Error thing, and it was a fresh install (tried using both the set up script from servage and setting it all up manually.)

I tried multiple fixes but nothing worked, If you'd like I'll set it all up fresh again just as a learning experience. Just let me know if you'd like me to do so.

Honestly I've gone with elgg as my sites backend, but still love the idea of using SMF as my forum, especially if I can get it integrated with elgg

Title: Re: Having problems with the package manager?
Post by: InsidiousAlgorythm on January 27, 2008, 12:50:52 AM
Weird...

I installed a fresh copy today 1.1.4 and it's all good, works fantastically... So I guess I won't attempt to replicate the error. On the other hand it may have been the servage team since they just got done doing upgrades...

my lucky day... thanks for all the help everyone.
Title: Re: Having problems with the package manager?
Post by: Sarge on January 27, 2008, 01:51:03 PM
Good to know :)
Title: Re: Having problems with the package manager?
Post by: majarm on February 07, 2008, 05:02:28 PM
I have problem with package manager.
I set ftp parameters and after press connect the page return without password.

Is there any help?
Title: Re: Having problems with the package manager?
Post by: neotan on February 07, 2008, 09:20:19 PM
Hi,

"http://xxxx/forum/index.php?action=packages"  used to work but now all I get is a blank screen


Any ideas on how I can troubleshoot?

Thanks
Title: Re: Having problems with the package manager?
Post by: Sarge on February 07, 2008, 09:27:53 PM
Quote from: majarm on February 07, 2008, 05:02:28 PM
I have problem with package manager.
I set ftp parameters and after press connect the page return without password.

Is there any help?

Upload and run repair_settings.php (http://docs.simplemachines.org/index.php?topic=663). Click on the little blue "Recommended" links in the Paths & URLs section and click the Save button.

If you still have problems, upload and run fix_ownership.php attached to the first post of this topic. This script will attempt to fix the path used by Package Manager.
Title: Re: Having problems with the package manager?
Post by: Sarge on February 07, 2008, 09:28:37 PM
neotan, read my previous post.
Title: Re: Having problems with the package manager?
Post by: majarm on February 07, 2008, 09:45:26 PM
After these two steps the problem exist...

I can upload a file, i can see files in .zip but i can't aply mod...

Is there any other way to install modifications or can i install modifications only from package manager???

Quote from: Sarge on February 07, 2008, 09:27:53 PM
Quote from: majarm on February 07, 2008, 05:02:28 PM
I have problem with package manager.
I set ftp parameters and after press connect the page return without password.

Is there any help?

Upload and run repair_settings.php (http://docs.simplemachines.org/index.php?topic=663). Click on the little blue "Recommended" links in the Paths & URLs section and click the Save button.

If you still have problems, upload and run fix_ownership.php attached to the first post of this topic. This script will attempt to fix the path used by Package Manager.
Title: Re: Having problems with the package manager?
Post by: neotan on February 08, 2008, 08:23:29 AM
Quote from: Sarge on February 07, 2008, 09:28:37 PM
neotan, read my previous post.

Sarge, not sure which post you are referring to. Managed to fix this. Apparently, PM is unforgiving if other file formats (other than .zip ) are on the /Packages directory. I removed the file and it's ok now

Title: Re: Having problems with the package manager?
Post by: stacyg on February 24, 2008, 03:55:15 AM
Hi,

I'm having problems with the package manager and hoping someone can help me.  I've tried the fix_ownership and repair_settings and it still doesn't work...I have about 4 packages just sitting there ready to apply and it doesn't do anything after I put in the ftp info :(
Title: Re: Having problems with the package manager?
Post by: aly22 on March 27, 2008, 02:00:09 PM
stacy, I had that problem (nothing happening) until I got the correct paths set in the ftp settings -- be sure you are using correct path and ftp server information.

My problem is that I am able to upload a new package but UNABLE to install it? I have also run the fix_ownership and repair_settings to no avail :(   I uploaded a package, which then shows the option to install. When I click there I get this error:

You cannot download or install new packages because the Packages directory or one of the files in it are not writable!

Despite the fact that packages dir is 777
Title: Re: Having problems with the package manager?
Post by: SlammedDime on March 27, 2008, 02:43:08 PM
aly, create a directory inside the packages directory named temp and chmod it to 777 and try again.
Title: Re: Having problems with the package manager?
Post by: Tdata on April 09, 2008, 02:22:44 AM
I end up having to upload the contents of the package into the Temp folder.  It is the only way i get no errors...
Title: Re: Having problems with the package manager?
Post by: Sarge on April 20, 2008, 03:02:54 AM
Dear SMF community members,

I think this topic has grown too big. It's become increasingly harder to find solutions to specific issues. Package Manager is a very powerful feature of SMF, but also one that seems to be affected often by unusual server/account configurations and other stuff.

Quite a few errors, situations and available solutions have been mentioned here. To make support easier, less confusing and more effective, I'm locking this topic. Please search here and in other topics when you experience an issue related to Package Manager; if you still can't find a solution, start a new topic in the appropriate board (for SMF 1.x or 2.0) and we'll do our best to help you.

Thank you!
Title: Re: Having problems with the package manager?
Post by: Bigguy on April 10, 2012, 09:43:22 AM
Does this file still work with SMF and the current version. ???
Title: Re: Having problems with the package manager?
Post by: Matthew K. on April 10, 2012, 11:03:23 AM
I doubt it, otherwise it probably wouldn't have been locked...
Title: Re: Having problems with the package manager?
Post by: Bigguy on April 10, 2012, 12:13:56 PM
It should be unstuck then.
Title: Re: Having problems with the package manager?
Post by: Matthew K. on April 10, 2012, 12:16:53 PM
Hmm, someone should look into it. Not me. lol
Title: Re: Having problems with the package manager?
Post by: Bigguy on April 10, 2012, 02:40:12 PM
Well we will wait for a bit and if no one answers then I will unstickie it.