Unable to install mods - everything succeeded?

Started by Existence., July 05, 2011, 03:06:05 PM

Previous topic - Next topic

Existence.

Hello,

I'm unable to install any mods on my newly-installed forum. The mod I'm attempting to install is Simple Portal.
The permissions are set correctly in the Packages and Packages/temp directory, and SMF reports that every test edit is successful, however, after installing, no files get copied or changed.

The tables get created in my MySQL database, however, which leads me to believe it's a permission error, which is odd because I'm convinced I set my permissions correctly.

I've even extracted the archive and uploaded it to a folder and installed it from there, but to no avail.

Any help is appreciated, thanks.

MC73

Did you Emulate Version: 2.0 RC4 ...... Does it give you an error ? CHmod all files and folders to 777 just to make sure it isnt that problem.
Over 1100 Online Flash Games 

Existence.

Quote from: MC73 on July 05, 2011, 04:20:56 PM
Did you Emulate Version: 2.0 RC4 ...... Does it give you an error ? CHmod all files and folders to 777 just to make sure it isnt that problem.
It gives me this error when emulating: The package you are trying to download or install is either corrupt or not compatible with this version of SMF.

I'll try chmoding everything.

MC73

package manager ... hit advance and change it to 2.0 RC4 .. then try to install it ... i had to do the same thing when i upgraded mine yesterday
Over 1100 Online Flash Games 

Existence.

Quote from: MC73 on July 05, 2011, 04:38:40 PM
package manager ... hit advance and change it to 2.0 RC4 .. then try to install it ... i had to do the same thing when i upgraded mine yesterday
What? I said I tried emulating it, and while installing the mod it gave me the above error.

MC73

I may have used 2.0 RC5 ..... i just read in SP site and they used 2.0 RC5

c/p from SP site ....

Upload the package to your forum.
Using your package manager look to the bottom right and click the advanced tab.
Emulate SMF 2.0 RC5

SP should be available for installation after doing the abov
Over 1100 Online Flash Games 

Existence.

Quote from: MC73 on July 05, 2011, 04:46:24 PM
I may have used 2.0 RC5 ..... i just read in SP site and they used 2.0 RC5

c/p from SP site ....

Upload the package to your forum.
Using your package manager look to the bottom right and click the advanced tab.
Emulate SMF 2.0 RC5

SP should be available for installation after doing the abov
I'm going to try reinstalling SMF first, to start from scratch, then try that.
Did you encounter the same problem - installing Simple portal on SMF 2.0?

MC73

The only thing i had to do was to change it in advance to 2.0 RC4 or 2.0 RC5 ( i can't remember which one). But Everything went just fine, no errors within the installation of SP.
Over 1100 Online Flash Games 

Existence.

#8
Quote from: MC73 on July 05, 2011, 05:46:43 PM
The only thing i had to do was to change it in advance to 2.0 RC4 or 2.0 RC5 ( i can't remember which one). But Everything went just fine, no errors within the installation of SP.
Well, I reinstalled SMF, permissions and everything were fine, and it still reported it installed successfully but no changes have been made.

I tried using both RC4 and RC5 and I get the following error each time: The package you are trying to download or install is either corrupt or not compatible with this version of SMF.

EDIT: Just tried installing ezPortal, and I literally get the exact same problem - everything is OK for the tests, and it reports everything installed fine, however no files get changed at all.. :/

Eudemon

here are things you can try

did you change the chmod of these files/folders
http://docs.simplemachines.org/index.php?topic=5.0

when u re-install smf from scratch, did you make a new database or it is the old one
i once had same problem because i ran the upgrade script twice
i restored the database with a backup and upgrade again it fixed it

Existence.

Quote from: Eudemon on July 05, 2011, 06:22:34 PM
here are things you can try

did you change the chmod of these files/folders
http://docs.simplemachines.org/index.php?topic=5.0

when u re-install smf from scratch, did you make a new database or it is the old one
i once had same problem because i ran the upgrade script twice
i restored the database with a backup and upgrade again it fixed it
As I stated before, my file permissions are set correctly. The first time I manually changed the permissions, and the 2nd time I used the automatic tool included in the SMF install.

I used the same database but removed all the tables.

Eudemon

can you post the errors in ur error logs after u install/uninstall a mod

Existence.

Figured out the problem. open_basedir was in effect so it was preventing me from accessing the httpdocs directory within PHP files. I created a vhosts.conf file in my hosting account's virtual machine, which disabled open_basedir for my domain. Gonna give it another shot.

Existence.

Now I'm running into another problem. After installing the mods, I don't get an error relating to open_basedir any more, I get the following errors:

http://domain.org/index.php?action=admin;area=packages;sa=install;package=SimplePortal_2.3.3.tar.gz2 [nofollow]: fopen(/var/www/vhosts/domain.org/httpdocs/index.php) [<a href='function.fopen'>function.fopen</a>]: failed to open stream: Permission deniedFile: /var/www/vhosts/domain.org/httpdocs/Sources/Subs-Package.php
Line: 2530

http://domain.org/index.php?action=admin;area=packages;sa=install;package=SimplePortal_2.3.3.tar.gz2 [nofollow]: fclose(): supplied argument is not a valid stream resourceFile: /var/www/vhosts/domain.org/httpdocs/Sources/Subs-Package.php
Line: 2537

http://domain.org/index.php?action=admin;area=packages;sa=install;package=SimplePortal_2.3.3.tar.gz2 [nofollow]: fopen(/var/www/vhosts/domain.org/httpdocs/SSI.php) [<a href='function.fopen'>function.fopen</a>]: failed to open stream: Permission deniedFile: /var/www/vhosts/domain.org/httpdocs/Sources/Subs-Package.php
Line: 2530

I'm getting many of these errors... Any ideas?

Illori

check your permissions on sources/subs-packages.php

How do I chmod? / what is chmod?

maybe it does not even exist on your server.

Existence.

Quote from: Illori on July 05, 2011, 09:08:40 PM
check your permissions on sources/subs-packages.php

How do I chmod? / what is chmod?

maybe it does not even exist on your server.
It's 777.

Illori



MC73

According to the errors , the problem is a permissions problem ... so if all folders and files are set at 777 and you still can't install mods such as SP, then I personally have no idea. .htaccess maybe ? I have no idea. I tried helping but, this problem has gone beyond my knowledge.
Over 1100 Online Flash Games 

Eudemon

try 755, this is sometimes different according to the way how the server is setup

Existence.

#20
Quote from: Eudemon on July 05, 2011, 10:12:53 PM
try 755, this is sometimes different according to the way how the server is setup
They are already 755 by default. (when installing SMF)

EDIT: Think I fixed it. Gimmie a min.
EDIT2: Fixed it, thank God. Permissions were indeed set incorrectly, even after SMF reported they were fine. Went to Package Manager -> File Manager, and set the path to /httpdocs as opposed to /var/vhosts/www/httpdocs.

Thanks everyone. :)

S.T.A.R.S

Same problem :(

Once i set the sources folder to 777 and the subs_package folder to 777 i get an error of

Invalid default value for 'approved'
File: /var/www/vhosts/mmogamer.co.uk/httpdocs/Packages/temp/install2.php
Line: 501
Currently Developing a Gaming Site and Forum. Providing forums for all gamers around the world to socialise and dicuss with others. We support all genres of games!

Currently underdevelopment!

Need any Website Based help? PM me on Facebook

PM Me for Details, in need of sensible reliable moderators.

Advertisement: