Package Manager problems with installing SMF Mambo Bridge

Started by ukurban, November 16, 2005, 08:27:37 AM

Previous topic - Next topic

ukurban

  Hey Guys

Im trying to install a bridge between the smf forum and mambo, however, I'm having difficulty with the package manager in the admin.  I've checked the forum and seen that other people have had a similar problem, but there doesn't appear to have been a clear solution given.  Here's the message I'm getting

Quote2: fopen(/web/sites/myusername/mydomain.com/forum/index.php): failed to open stream: Permission denied
File: /web/sites/myusername/mydomain.com/forum/Sources/Subs-Package.php
Line: 1476

Note that myusername and hxxp:mydomain.com [nonactive] have been substituted for my actual domain name.  My server has confirmed that safe mode is NOT on and I've tried all the suggestions with making the directories writable, but I can't get past this problem.  Can anybody help please?  in the Execute Modification - it says SUCCESS and there is no "FAILURE"



Oldiesmann

Make sure that index.php is chmodded to 666 or 777. "Success" means that it found all the code strings that it was told to look for.
Michael Eshom
Christian Metal Fans

ukurban

OK I tried chmodding index.php to 666 and 777 and now it says that the index.php is "failed" as opposed to success before I chmodded it.  I now get an alternative error message

Quote2: copy(/web/sites/myusername/mydomain.com/forum/Themes/default/script.js~): failed to open stream: Permission denied
File: /web/sites/myusername/mydomain.com/forum/Sources/Subs-Package.php
Line: 1307

:-\

Oldiesmann

Delete script.js~ from the Themes/default directory. It's leftover from another mod. Not sure what would cause index.php to show "Failed" instead of "Success" unless it was already modified the first time. Try deleting index.php and renaming index.php~ to index.php
Michael Eshom
Christian Metal Fans

ukurban

it gets worse - I'm beginning to think I'll never get this installed  :-[  I've got rid of the script.js and deleted the index.php and renamed index.php~ to index.php  the index now has SUCCESS next to it again though   but there's now a new message

Quote2: copy(/web/sites/myusername/mydomain.com/forum/index.php~): failed to open stream: Permission denied
File: /web/sites/myusername/mydomain.com/forum/Sources/Subs-Package.php
Line: 1307

Kindred

looks like a DIRECTORY permissions issue.  Make sure that your smf root direcotry is at least 755 (777 is good, too)
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

ukurban

The SMF root directory is 755 (I've also tried 777) and it makes no difference whatsoever

Oldiesmann

Are you sure you're not trying to install the mod twice? It appears that there's another index.php~ file there already. If there is, then delete it and try again.
Michael Eshom
Christian Metal Fans

ukurban

well, here's exactly what's in my root directory including the permissions set

Quote-rwxrwxrwx Settings.php            3,580 16/11/2005 14:18:00
-rwxrwxrwx Settings_bak.php        3,220 16/11/2005 14:16:00
-rwxrwxrwx agreement.txt           3,343 16/11/2005 14:17:00
-rw-rw-rw- index.php              13,643 16/11/2005 14:19:00
-rw-r--r-- SSI.php                50,589 16/11/2005 14:16:00
-rw-r--r-- changelog-themes.txt   12,844 16/11/2005 14:16:00
-rw-r--r-- changelog.txt         196,041 16/11/2005 14:16:00
-rw-r--r-- license.txt             3,929 16/11/2005 14:16:00
-rw-r--r-- news_readme.html        2,346 16/11/2005 14:16:00
-rw-r--r-- readme.html             8,432 16/11/2005 14:16:00
-rw-r--r-- smf_1-0.sql            33,924 16/11/2005 14:16:00
-rw-r--r-- ssi_examples.php        5,181 16/11/2005 14:16:00
-rw-r--r-- ssi_examples.shtml      5,245 16/11/2005 14:16:00
drwxrwxrwx Packages                4,096 16/11/2005 14:27:00
drwxrwxrwx Smileys                 4,096 14/11/2005 20:38:00
drwxrwxrwx Sources                 4,096 16/11/2005 00:48:00
drwxrwxrwx Themes                  4,096 14/11/2005 20:41:00
drwxrwxrwx attachments             4,096 14/11/2005 20:34:00
drwxrwxrwx avatars                 4,096 14/11/2005 20:25:00

Oldiesmann

Try chmodding index.php to 777, and make sure that your SMF directory is chmodded to 777 as well. Some servers are picky about file permissions.
Michael Eshom
Christian Metal Fans

ukurban

hmmmmm strange  I've chmodded the SMF directory to 777 with success.  However, I am unable to chmodd index.php to 777 - infact I can't change the permissions of the index.php  - the server appears to be refusing the request.  I can change the permissions on other files though.  weird, any suggestions on this?  Thanks for sticking through this with me guys  ;)  I'm hoping I'll get their in the end!

Oldiesmann

I've seen this weird permissions issue before. Basically your host has PHP running as a different user, and has some sort of (annoying) restriction that prevents you from being able to do anything to the files that were modified by the server. It's similar to the restrictions imposed by Safe Mode, but not quite as annoying.

Try putting this in your forum directory and running it:

<?php
chmod
('index.php'0777);
?>


That should work, unless your host has disabled the chmod function.
Michael Eshom
Christian Metal Fans

ukurban

WOW  - you've done it, I can't believe it!  3 cheers - hip pip hoorray! hip pip hooray! hip pip hooray!  hip pip hooray! lol  You would hardly believe that something as simple as that would do it!  Thank you so much. :D

VERY HAPPY!   ;D

Oldiesmann

Michael Eshom
Christian Metal Fans

Advertisement: