News:

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

Main Menu

Package Manager looks like it's working, but it's not!

Started by dansmark, June 25, 2009, 08:48:27 AM

Previous topic - Next topic

dansmark

  I've installed a couple of Mods using "Package Manager".
Package Manager says the installation was a success!
Yet I can't find any trace of the Mods I've installed.

I'm using SMF 2.0 RC1-1
I also downloaded these Mods using SMF 2.0 only, drop down box.

Also, under Admin/Configuration/Modifications/Miscellaneous Tab
There is nothing there...
Is this where I control the packages On/Off?

Here is what I've installed:
1. Bookmarks 2.2.1                                                [ List Files ] [ Delete ] 
2. Highslide Image Viewer 1.2          [ Apply Mod ] [ List Files ] [ Delete ] 
3. Slogan 3                                          [ Uninstall ] [ List Files ] [ Delete ] 
4. SMF Media Gallery 1.5.6                  [ Uninstall ] [ List Files ] [ Delete ] 
5. Topic Solved 1.1                              [ Uninstall ] [ List Files ] [ Delete ] 
6. Users Online Today 1.5.4              [ Apply Mod ] [ List Files ] [ Delete ]

Any suggestions?

Thanks...

dansmark


dansmark

I uninstalled "Slogan".
Then re-installed it, but there is still no trace of it's existance.

Help?

Arantor

The mods in question probably modified the core theme, and not your forum's specific theme.

If you temporarily use the main theme, are they visible?
Holder of controversial views, all of which my own.


dansmark

#4
I haven't changed from the default theme.

I just went to "Configurations", "Themes and Layout", then reset everyone to the default core theme.

No change...
No evidence of any installed package.

Arantor

If Slogan is installed, you should be able to see the control panel somewhere in the Miscellaneous area.
Holder of controversial views, all of which my own.


dansmark

#6
That's what I thought, but nothing is there!

Would the Package Manager not perform it's functions correctly if the packages were FTP'd to the "Packages" directory, then installed using Package Manager?

I just tried that with Slogan v3, and in "Modifications", "Miscellaneous", there is nothing there!

I tried refreshing.. but got nothing.

It seems all the files are there, because I can see them in the Package Manager.

Could the "Miscellaneous" area be in a place that write perimissions have not been granted?
I only have write permissions where the SMF 2.0 RC1-1 told me I needed at installation (and a tmp-dir named "upload_tmp_dir").

dansmark

I downloaded a mod using Package Manager from SMF, then tried to install it and got many errors!

Here is what I got:

Apply Mod
Please remember to always make regular backups of your sources and database before installing mods, especially beta versions. 


!!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.
Installation Readme
This is the first version of my topic solved MOD for SMF. This MOD allows you to select
boards as "topic solved" boards. These boards will allow the topic started to ask questions
and accept/reject answers to them. This is most useful on support boards. There are many
settings than can be set up. Including message icons to indicate acceptance/rejection, and
changing the background colour of the message to reflect topic starter as well as accepted
and rejected messages. All "solved" topics will be marked in the message index with the "solved" topic icon.

Written By Matthew Wolf (a.k.a Grudge) - [email protected]
http://www.mymods.co.uk
Copyright 2004 - Neither this package or any of it's contents may be distributed without authorisation


Install Actions
Installations actions for "Topic Solved":
Installing this package will perform the following actions:   Type Action Description
1. Extract File ./Themes/default/images/english/accept.gif 
2. Extract File ./Themes/default/images/english/reject.gif 
3. Execute Code TopicSolvedPdb.php 
4. Execute Modification ./Themes/default/languages/Modifications.english.php Test successful
  1. Add Before ./Themes/default/languages/Modifications.english.php Test successful

5. Execute Modification ./Sources/ModSettings.php File not found
6. Execute Modification ./Sources/Subs-Boards.php Test failed
  1. Add After ./Sources/Subs-Boards.php Test failed
  2. Add After ./Sources/Subs-Boards.php Test failed
  3. Add After ./Sources/Subs-Boards.php Test failed

7. Execute Modification ./Sources/ManageBoards.php Test successful
  1. Add After ./Sources/ManageBoards.php Test successful

8. Execute Modification ./Themes/default/ManageBoards.template.php Test failed
  1. Add Before ./Themes/default/ManageBoards.template.php Test failed

9. Execute Modification ./Sources/Load.php Test failed
  1. Add After ./Sources/Load.php Test failed
  2. Add After ./Sources/Load.php Test failed

10. Execute Modification ./Sources/Post.php Test failed
  1. Add After ./Sources/Post.php Test failed
  2. Add After ./Sources/Post.php Test successful
  3. Add After ./Sources/Post.php Test successful

11. Execute Modification ./Themes/default/Post.template.php Test failed
  1. Add Before ./Themes/default/Post.template.php Test failed
  2. Add Before ./Themes/default/Post.template.php Test successful

12. Execute Modification ./index.php Test successful
  1. Add After ./index.php Test successful

13. Execute Modification ./Themes/default/Display.template.php Test failed
  1. Add Before ./Themes/default/Display.template.php Test successful
  2. Replace ./Themes/default/Display.template.php Test successful
  3. Replace ./Themes/default/Display.template.php Test failed

14. Execute Modification ./Sources/Display.php Test failed
  1. Add After ./Sources/Display.php Test failed
  2. Add After ./Sources/Display.php Test failed
  3. Add After ./Sources/Display.php Test successful


Any thoughts?

Arantor

Most of that failed because you already have it installed according to your list - a package physically modifies the SMF core files, so applying it a second time will tend to fail.

Personally I'd be inclined to take a backup of the full database, start with a fresh board, add your mods one by one, ensuring that they work, then using your backup to repopulate the database.
Holder of controversial views, all of which my own.


dansmark

I never installed this on this forum.

FYI:
  I have 2 forums in different directories, running on 2 seperate databases, on the same server.

Could they be conficting with each other?

Arantor

Either that, or the theme or other mods you have installed already is conflicting - but it's the core theme so it shouldn't.

I'm confused. I think you are probably best taking a backup and starting with fresh files.
Holder of controversial views, all of which my own.


dansmark

I will backup and re-install later today.

I just had my host give "modify & write" permissions to "Attachments, Packages, and Upload_tmp_dir" directories.
I then unistalled all my Mods, then tried to install Slogan v3, but it still don't show-up in the "Miscellaneous" page.

If I re-install, I will have to go back through my host and get permissions again.

Thanks for the help!

Aleksi "Lex" Kilpinen

Hi dansmark - Did you have any luck with the reinstall? Do you still need assistance on this?
When you install a modification (any) do you get any errors to your forum's logs - or your servers error logs?
Slava
Ukraini!
"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

How you can help SMF

dansmark

The install worked like it's suppose to (did last time too, no errors... nothing), but I still can't get any mods to work with the installation.

The mods install without errors, but they never show up in the Modifications page, in the Miscellaneous folder.

I just gave up!
Worked on the problem 2 weeks, that more time than I'm prepared to waste.

Thanks for asking.

nathan42100

I've noticed that if a mod is intended for a 1.1.x installation it can still pass installation without being installed correctly.

Aleksi "Lex" Kilpinen

Quote from: dansmark on July 12, 2009, 04:54:36 PM
The mods install without errors, but they never show up in the Modifications page, in the Miscellaneous folder.
Not all mods add anything in there, and those that do might not add anything in there in all languages. So what you might want to do, is a) empty your forum cache after mod installs. b) make sure to check the language the mod installs to and compare it to the language you are using. If they don't match, you might need to do the language edits yourself manually.
Slava
Ukraini!
"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

How you can help SMF

Tyrsson

The topic solved mod should make a visible change. Have you checked to make sure you have enabled the boards on which you wish to use the topic solved. The Boards must be added as "Topic Solved" enabled before the option will show at the bottom of the thread.  If memory serves you will find this option under that are where you edit the boards that you have already created

admincp>boards>modify

Once there you should see the option to set the board as a topic solved enabled board. Then from there you will need to set the permissions for those usergroups that you wish to have the permission to mark a topic as solved. This will be found in the permissions area.

If none of those options are found then the mod did not install and you may need to check your php ini file to see if your host has mod security installed on the server. Please post back and let us know. You can see this topic for more on the problems concerning mod security.

Having problems with mod_security?

PM at your own risk, some I answer, if they are interesting, some I ignore.

dansmark

I just checked Admin/Boards/Modify... and everything, even every drop-down, but nothing that suggests a "Topic Solved" setting.

I will contact my Host, to find out if "mos_security" is being used.

dansmark

#18
I called my Host and the tech support guy said they didn't use "mod_security" in any of their server systems.

Is there a simple mod I can install that would have some Admin settings that would tell us for sure the SMF software isn't displying it correctly?

You may not know this, but I can't even upload images (I tried one of the image-files in the above post).

Error everytime.
[Your attachment couldn't be saved. This might happen because it took too long to upload or the file is bigger than the server will allow.

Please consult your server administrator for more information. ]

I already turn up the files sizes, so that's not the problem...

When I repeat the upload I get this:
[You already submitted this post! You might have accidentally double clicked or tried to refresh.]

dansmark

If you look at the start of this topic, I downloaded "only" 2.0 RC1-1 mods.
They didn't say anything about language that I can remember (I'll go back and check).


Quote from: LexArma on July 13, 2009, 01:40:06 AM
Quote from: dansmark on July 12, 2009, 04:54:36 PM
The mods install without errors, but they never show up in the Modifications page, in the Miscellaneous folder.
Not all mods add anything in there, and those that do might not add anything in there in all languages. So what you might want to do, is a) empty your forum cache after mod installs. b) make sure to check the language the mod installs to and compare it to the language you are using. If they don't match, you might need to do the language edits yourself manually.

Advertisement: