News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Having problems with the package manager?

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

Previous topic - Next topic

青山 素子

The best source for information is our online manual (docs link up in the main nav bar).

You will probably find the packages section very handy.
Motoko-chan
Director, Simple Machines

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


romuba

Thank you very much. I will spend some time there.
Ross Bartholomew
email: [email protected]
www.bartwebsites.com

funcouldron

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
Visit us at  ww.4moreFun.com

olorin_spb

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
"Simplicity is the ultimate sophistication"
-- Leonardo da Vinci

romuba

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.
Ross Bartholomew
email: [email protected]
www.bartwebsites.com

olorin_spb

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.
"Simplicity is the ultimate sophistication"
-- Leonardo da Vinci

Sarge

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

    Please do not PM me with support requests unless I invite you to.

http://www.zeriyt.com/   ~   http://www.galeriashqiptare.net/


Quote
<H> I had zero posts when I started posting

olorin_spb

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.
"Simplicity is the ultimate sophistication"
-- Leonardo da Vinci

romuba

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.
Ross Bartholomew
email: [email protected]
www.bartwebsites.com

yynwebhsu

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

romuba

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.
Ross Bartholomew
email: [email protected]
www.bartwebsites.com

metallica48423

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.
Justin O'Leary
Ex-Project Manager
Ex-Lead Support Specialist

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


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

romuba

With my host I was not able to initially change the chmod at all. Once they had done their stuff then I could.
Ross Bartholomew
email: [email protected]
www.bartwebsites.com

Sarge

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. ;)

    Please do not PM me with support requests unless I invite you to.

http://www.zeriyt.com/   ~   http://www.galeriashqiptare.net/


Quote
<H> I had zero posts when I started posting

romuba

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.
Ross Bartholomew
email: [email protected]
www.bartwebsites.com

青山 素子

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.
Motoko-chan
Director, Simple Machines

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


romuba

Ross Bartholomew
email: [email protected]
www.bartwebsites.com

brianjw

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

Sarge

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?

    Please do not PM me with support requests unless I invite you to.

http://www.zeriyt.com/   ~   http://www.galeriashqiptare.net/


Quote
<H> I had zero posts when I started posting

brianjw

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

Advertisement: