Simple Machines Community Forum

SMF Support => SMF 1.1.x Support => Topic started by: weissefar on April 14, 2007, 10:32:29 PM

Title: Problems when trying to install mods
Post by: weissefar on April 14, 2007, 10:32:29 PM
I am running SMF1.1.2 and I want to install some of the MODS available. I try to install MODS via the Admin -> Download packages. I then browse though the list of available packages, but I always get this error message, when I choose to download a MOD:

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

Am I doing something wrong?
Title: Re: Problems when trying to install mods
Post by: metallica48423 on April 14, 2007, 10:33:02 PM
have you tried making sure its the latest version?

http://mods.simplemachines.org
Title: Re: Problems when trying to install mods
Post by: weissefar on April 15, 2007, 04:50:19 AM
Yes, I have made a "Detailed Version Check" from SMF's admin panel, and I am running latest SMF version. What can be wrong? ???
Title: Re: Problems when trying to install mods
Post by: Dragooon on April 15, 2007, 04:55:30 AM
Make sure your package dir has been ChModed to 777.
Title: Re: Problems when trying to install mods
Post by: weissefar on April 15, 2007, 05:07:20 AM
I can confirm that my package dir is CMHModed to 777. I was that already, so unfortunately that doesn't do it....
Title: Re: Problems when trying to install mods
Post by: Dragooon on April 15, 2007, 05:14:01 AM
Then try to make a temp directory in package dir.
Title: Re: Problems when trying to install mods
Post by: Sarge on April 15, 2007, 05:17:56 AM
Make sure that the temp dir is chmod-ed to 777 too.
Title: Re: Problems when trying to install mods
Post by: weissefar on April 15, 2007, 05:36:15 AM
Which temp dir? Where is that dir located?
Title: Re: Problems when trying to install mods
Post by: Dragooon on April 15, 2007, 05:38:57 AM
First make a temp dir in Package dir and then ChMod it to 777
Title: Re: Problems when trying to install mods
Post by: weissefar on April 15, 2007, 06:22:34 AM
I have now created a temp dir. I have placed it here: smf/packages/tempdir

An I have CHModed the dir to 777.

If this is correct, then what do I do now?
Title: Re: Problems when trying to install mods
Post by: Sarge on April 15, 2007, 06:29:09 AM
Quote from: weissefar on April 15, 2007, 06:22:34 AM
I have now created a temp dir. I have placed it here: smf/packages/tempdir

An I have CHModed the dir to 777.

If this is correct, then what do I do now?

You should chmod 777 the Packages/ directory, too.

Now try to install a mod. Make sure that the mod you're installing is for the SMF version your forum is running.
Title: Re: Problems when trying to install mods
Post by: Dragooon on April 15, 2007, 06:31:18 AM
Wait you did a thing wrong did you named it "tempdir"?Or if you did rename it to "temp"
Title: Re: Problems when trying to install mods
Post by: Sarge on April 15, 2007, 06:36:24 AM
Indeed. The temp dir must be named temp, not tempdir. So its path should be this:

smf/Packages/temp
Title: Re: Problems when trying to install mods
Post by: weissefar on April 15, 2007, 06:38:06 AM
Quote from: Dragooon on April 15, 2007, 06:31:18 AM
Wait you did a thing wrong did you named it "tempdir"?Or if you did rename it to "temp"
No wonder systems don't work, when people make such mistakes :o I have corrected the folder name now ;)
Title: Re: Problems when trying to install mods
Post by: weissefar on April 15, 2007, 06:39:50 AM
QuoteNow try to install a mod. Make sure that the mod you're installing is for the SMF version your forum is running.
I thought that only compatible mods were shown, when browsing mods via admin panel. Is that a wrong assumption?
Title: Re: Problems when trying to install mods
Post by: Sarge on April 15, 2007, 06:55:50 AM
I believe that is a correct assumption when browsing (like you are), but not when uploading.

OK, go ahead: browse for a mod that you like and try to install. Do you get any errors?
Title: Re: Problems when trying to install mods
Post by: weissefar on April 15, 2007, 06:58:22 AM
I have now done as instructed and I then try to install a mod. I do as I explained in my first post, and I try to install this mod:

97. RSS Feed Icon for boards [ Download ]
Package Type:  Modification
Version:  1.1
Author:  vbgamer45
Location of file:  http://mods.simplemachines.org/downloads/376/feed.zip
Description:  Adds a feed icon on the board index for each forum.

But the error is still there.....!?! Any suggestions...?
Title: Re: Problems when trying to install mods
Post by: Sarge on April 15, 2007, 07:15:33 AM
Download the mod and try the upload option. Does it work?
Title: Re: Problems when trying to install mods
Post by: Sarge on April 15, 2007, 08:10:07 AM
The following fix works if ALL of these are correct (in other words, check about these first):

1) you can browse mod servers from within your forum;
2) you can install mods by downloading them and using the upload option;
and:
3) a directory named temp exists inside the Packages directory and both are chmod-ed to 777.




Fix for Package Manager:
http://www.simplemachines.org/community/index.php?topic=158979.msg1020561#msg1020561

If you don't have access to phpMyAdmin or are afraid to use it, use this alternative fix:

1. Go to Admin > Packages.
2. Click on the Download Packages tab.
3. Delete the Simple Machines server (its URL is not valid anymore, that's why):

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg262.imageshack.us%2Fimg262%2F5824%2Fdeleteserveruc6.png&hash=cf97cc17aca3ad32914f1aa4a40bddafcd20785f) (http://img262.imageshack.us/img262/5824/deleteserveruc6.png)

4. Add the server again - with the same name, but with the current URL:

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg83.imageshack.us%2Fimg83%2F6964%2Faddserverwr8.png&hash=11800fc2d6d47379a8eac401c87908870adfc20e) (http://img83.imageshack.us/img83/6964/addserverwr8.png)
Title: Re: Problems when trying to install mods
Post by: weissefar on April 15, 2007, 09:22:57 AM
Problem solved - it is working! :)

But I guess there must be many SMF users out there, who will experience this problem!!! :o

Thanks for your help ;)
Title: Re: Problems when trying to install mods
Post by: Sarge on April 15, 2007, 10:04:16 AM
Quote from: weissefar on April 15, 2007, 09:22:57 AM
Problem solved - it is working! :)

But I guess there must be many SMF users out there, who will experience this problem!!! :o

Thanks for your help ;)

You're welcome! :)

Can you please tell us what did you do to solve the problem, so that other users can apply the same solution to the same problem?

Thank you.
Title: Re: Problems when trying to install mods
Post by: weissefar on April 15, 2007, 10:40:43 AM
Sure, I just did as you explained :)

As you said the problem was that the mod server settings were wrong, so I followed this instruction from you:

1. Go to Admin > Packages.
2. Click on the Download Packages tab.
3. Delete the Simple Machines server (its URL is not valid anymore, that's why):
4. Add the server again - with the same name, but with the current URL: http://custom.simplemachines.org/mods

Once again - thanks a lot for your help! ;)
Title: Re: Problems when trying to install mods
Post by: metallica48423 on April 15, 2007, 02:47:27 PM
im sure this will be fixed in an upcoming release :P
Title: Re: Problems when trying to install mods
Post by: Sarge on April 16, 2007, 02:04:39 AM
Quote from: weissefar on April 15, 2007, 10:40:43 AM
Sure, I just did as you explained :)

Once again - thanks a lot for your help! ;)

You're welcome! I'm glad the problem is solved.
Title: Re: Problems when trying to install mods
Post by: SleePy on April 16, 2007, 05:23:47 PM
Quote from: Sarge on April 15, 2007, 08:10:07 AM1) you can browse mod servers from within your forum (PHP is not running in safe_mode, and allow_url_fopen is on in php.ini);

Sarge I would like to state for the fact that allow_url_fopen does not need to be enabaled. I personally have this set off in my own php.ini
SMF uses fsock to open a connect to the mod site in question and get needed information.
Title: Re: Problems when trying to install mods
Post by: Sarge on April 17, 2007, 04:05:33 AM
Quote from: SleePy on April 16, 2007, 05:23:47 PM
Quote from: Sarge on April 15, 2007, 08:10:07 AM1) you can browse mod servers from within your forum (PHP is not running in safe_mode, and allow_url_fopen is on in php.ini);

Sarge I would like to state for the fact that allow_url_fopen does not need to be enabaled. I personally have this set off in my own php.ini
SMF uses fsock to open a connect to the mod site in question and get needed information.

Post is corrected. Thanks for the info.