Simple Machines Community Forum

SMF Support => SMF 1.1.x Support => Topic started by: waterrat on December 21, 2008, 01:40:07 AM

Title: Mods reading as installed, but aren't
Post by: waterrat on December 21, 2008, 01:40:07 AM
I encountered the Verification Error problem when installing mods and followed the directions to fix that error. 

I was able to install one mod, then on the next mod installs, I got an error saying my files were not writeable in the th Packages folder.  Again, I found an answer and put a temp folder in Packages with 777 attributes. 

Now, the modes "install" (and they show as installed), but in fact they don't actually make any changes.  I have to go in and do manual changes to get the functionality of the mods.  Any advice.  The problem is not specific to any one mod--all the one's I've tried have the same result.  I'm running 1.1.7.
Title: Re: Mods reading as installed, but aren't
Post by: NHWD on December 21, 2008, 01:51:00 AM
are u using the default theme?
Title: Re: Mods reading as installed, but aren't
Post by: waterrat on December 21, 2008, 11:52:41 AM
Quote from: Tyrsson on December 21, 2008, 04:00:09 AM
Maybe this will help.

Session verification failed (http://www.simplemachines.org/community/index.php?topic=278824.0)

Followed that fix, as I said, but then the "Packages folder not writable" error arose and I did the fix on that too.  Mods show as installed, but have no effect.

I am using the default theme.
Title: Re: Mods reading as installed, but aren't
Post by: Tyrsson on December 21, 2008, 12:11:28 PM
Make sure all these files have the correct permission set.

The following files should be CHMOD'ed to 777*:

    * attachments
    * avatars
    * Packages
    * Packages/installed.list
    * Smileys
    * Themes
    * Themes/default/languages/Install.english.php
    * agreement.txt
    * Settings.php
    * Settings_bak.php
    * install.php
Title: Re: Mods reading as installed, but aren't
Post by: waterrat on December 21, 2008, 12:21:22 PM
Quote from: Tyrsson on December 21, 2008, 12:11:28 PM
Make sure all these files have the correct permission set.

The following files should be CHMOD'ed to 777*:

    * attachments
    * avatars
    * Packages
    * Packages/installed.list
    * Smileys
    * Themes
    * Themes/default/languages/Install.english.php
    * agreement.txt
    * Settings.php
    * Settings_bak.php
    * install.php

I don't seem to have an install.php file in the home directory.  Is it elsewhere?  I have a install_1-1.sql file.

All the other files had the correct settings.
Title: Re: Mods reading as installed, but aren't
Post by: waterrat on December 21, 2008, 12:22:49 PM
I think I deleted the install.php to improve security.  I'll upload and retry.
Title: Re: Mods reading as installed, but aren't
Post by: Tyrsson on December 21, 2008, 12:27:24 PM
No do not upload the install.php


Just make sure the files and folders that are there now has the right permissions.
Title: Re: Mods reading as installed, but aren't
Post by: waterrat on December 21, 2008, 04:17:28 PM
All files/folders have the right permissions, but the problem is the same.
Title: Re: Mods reading as installed, but aren't
Post by: greyknight17 on December 21, 2008, 05:01:20 PM
Create a folder called temp in your Packages directory and CHMOD it to 777. Then try installing the mod again.
Title: Re: Mods reading as installed, but aren't
Post by: Tyrsson on December 21, 2008, 05:23:40 PM
Knight I think they have done that already....

I am kinda at a loss??
Title: Re: Mods reading as installed, but aren't
Post by: waterrat on December 21, 2008, 08:28:04 PM
Quote from: Tyrsson on December 21, 2008, 05:23:40 PM
Knight I think they have done that already....

I am kinda at a loss??

Yes, as I said at the beginning, the temp folder I created has 777 attributes.  When I install a mod, it tells me the mod installs fine and it shows as installed, but no change actually occurs.  It's as if the mod is writing to the temp file just fine, but then not writing to the files it is supposed to modify.  This happens with any mod I install.  I'll keep working on it.  Thanks for the help.
Title: Re: Mods reading as installed, but aren't
Post by: Bulakbol on December 21, 2008, 09:00:54 PM
Check the permission of your template files and source files. CHMOD them to 777.
Title: Re: Mods reading as installed, but aren't
Post by: waterrat on December 21, 2008, 09:28:08 PM
Quote from: Bulakbol on December 21, 2008, 09:00:54 PM
Check the permission of your template files and source files. CHMOD them to 777.

I think I've said this before--all files are set to 777.  Every one of them.
Title: Re: Mods reading as installed, but aren't
Post by: Tyrsson on December 21, 2008, 10:19:55 PM
Contact your host and ask if they have changed anything in the configuration... Its worth a shot.
Title: Re: Mods reading as installed, but aren't
Post by: gtowntalk on December 26, 2008, 07:37:08 PM
waterrat! I feel your pain. You have explained yourself perfectly. I too must manually add the temp folder to the Package folder and manually give it 777 and then and only then will the mod install. BUT! Like waterrat it says it is install but it is not true. As a matter of fact it does nothing.

Please, we need a Server expert or coder to help us. I don't mean to speak for waterrat but i think that we have tried all the fixes such as trying to install the "mod" to make the temp dir and make it 777 and reset 777 all over the place but this is something in our server configurations, PHP.INI or sessions. I have checked all of my settings against the required settings and all apprear to be correct.

We need high level help.....thank everyone for your attention and hey, I've gotten great help here in the past and i am a great support of smf. Love it and don't want to use the others...just need to get past this. You guys are why free is better! :)
Thanks, gt

Title: Re: Mods reading as installed, but aren't
Post by: Relyana on December 26, 2008, 08:31:21 PM
I had the exact same problem yesterday .. "Change all file permissions throughout the forum" didn't work out at all, the mod I was trying to install was listed as installed but none of the edits were actually done.
In my case the fix_ownership.php file helped a lot in fixing the problem. I can now install mods without that temp folder. After fixing that issue 2 older mods were still half way installed and I couldn't uninstall them using the package manager. I finished their installation manually and I'm aware of the fact that one day I will have to uninstall them the same way ... I'll be wiser that day anyway.  :P

Are you sure that you have the right path for the Packages folder ? Mine had an extra "/" added.
Title: Re: Mods reading as installed, but aren't
Post by: gtowntalk on December 26, 2008, 09:26:10 PM
Hey, thanks for the tip. Where exactly did you find the extra "/"?
Title: Re: Mods reading as installed, but aren't
Post by: Relyana on December 28, 2008, 07:49:36 AM
Quote from: gtowntalk on December 26, 2008, 09:26:10 PM
Hey, thanks for the tip. Where exactly did you find the extra "/"?

The ftp path in package manager must be your forum's path, the one you can also see in the FTP client (/public_html/yourforum or /public_html without a trailing slash). You might have httpdocs instead of public_html or something else (dunno)

I found public_html/ instead of public_html for the Local path to SMF and I had to fix the database related table in order to be able to install mods again (things must've gone wrong when I moved my forum from the subdomain to the domain root)

Sarge's post might help you fix the issues you're having with the package manager
Having problems with the package manager? (http://www.simplemachines.org/community/index.php?topic=28393.msg1323590#msg1323590)
Title: Re: Mods reading as installed, but aren't
Post by: aw22sr on January 09, 2009, 09:58:49 AM
when i  run the fix_ownership.php ask me fron the same information

FTP Server:     
Port:
Username:    
Password:    
Local path to SMF:

put the information and again and again and again
Title: Re: Mods reading as installed, but aren't
Post by: greyknight17 on January 19, 2009, 10:52:46 PM
Is this issue resolved now?

When you run fix_ownership.php it will ask you for the FTP details again, but I think it lists the FTP Path there for you. Confirm that it's the same path you are using in the package manager when it prompts you to enter your FTP details.

If none of those still work, give the following a try:

Go to Admin->Packages->Options and uncheck Create Backup versions of replaced files with a tilde (~) on the end of their names. Try installing a mod now.
Title: Re: Mods reading as installed, but aren't
Post by: xtremecruiser on March 01, 2009, 01:50:39 PM
Since I updated to 1.8 I get the
"Session verification failed. Please try logging out and back in again, and then try again."
error
This thread has been no help
http://www.simplemachines.org/community/index.php?topic=278824.0

On a side note, packages install fine on a fresh install of smf 1.1.8

And if I use the 1.1.6 packages.php I can get mods to install but some work and others dont dude to it saying the db is Software Version:           SMF 1.1.2
Title: Re: Mods reading as installed, but aren't
Post by: xtremecruiser on March 11, 2009, 06:44:21 PM
Bump
Title: Re: Mods reading as installed, but aren't
Post by: xtremecruiser on March 20, 2009, 08:52:37 AM
How about a update with this error that many have
Title: Re: Mods reading as installed, but aren't
Post by: Bulakbol on March 28, 2009, 02:42:41 PM
@xtremecruiser

Try deleting your cookie.
Title: Re: Mods reading as installed, but aren't
Post by: tatoon on April 24, 2009, 05:28:31 AM
I have a similar problem to what was described before.

I install mods and in the package section they all look successful, the green dot is next to the mod name (I guess it means it's running).

But when I go back to post a new topic (these mods im trying modify the behavior of adding attachments when posting), everything looks the same. But in the screenshots of the mod I see there should be a few more options.
So basically, the mod is not working.
I tried to stop/start apache, delete all my cache, cookies, etc. Try different browser and different computer.
So it's something to do with my installation of smf.

Any idea?
Title: Re: Mods reading as installed, but aren't
Post by: Tyrsson on April 24, 2009, 05:34:22 AM
@tatoon

Smf version?

Theme you are using?

MOd you are trying to install?

Any other info that would help to point us in the right direction.
Title: Re: Mods reading as installed, but aren't
Post by: JBlaze on April 24, 2009, 05:34:58 AM
Quote from: tatoon on April 24, 2009, 05:28:31 AM
I have a similar problem to what was described before.

I install mods and in the package section they all look successful, the green dot is next to the mod name (I guess it means it's running).

But when I go back to post a new topic (these mods im trying modify the behavior of adding attachments when posting), everything looks the same. But in the screenshots of the mod I see there should be a few more options.
So basically, the mod is not working.
I tried to stop/start apache, delete all my cache, cookies, etc. Try different browser and different computer.
So it's something to do with my installation of smf.

Any idea?

The green dot next to a mod means that you are currently using the most recent version of that mod.

As for your mods not working, are you using a custom theme? When you install a mod, it only installs on the default theme. You must then manually edit the custom theme's template files for the mod to work on a custom theme.

To find the manual install instructions, go to the mods page and parse the instructions for your forum version.
Title: Re: Mods reading as installed, but aren't
Post by: tatoon on April 24, 2009, 05:36:56 AM
I havent installed any additional theme.
Im using the default one from smf.

I'll check those parse entries you mentioned.
Title: Re: Mods reading as installed, but aren't
Post by: Dragooon on April 24, 2009, 05:40:31 AM
Is mod_security or php safe_mode enabled? Are you sure the permissions for files are correct?
Title: Re: Mods reading as installed, but aren't
Post by: tatoon on April 24, 2009, 05:50:56 AM
Perfect!

It was the mod_security.
Never heard about that before. But I disabled it and the mods are now running as they should.

Thanks a lot!!!
Title: Re: Mods reading as installed, but aren't
Post by: Dragooon on April 24, 2009, 05:52:32 AM
Great then, glad it works for you :).