Welcome Guest ( Log In | Register )



 
Closed TopicStart new topic
> Safe Mode Restriction?, Is it turned on?
WeaponX
post Jun 24 2005, 03:03 PM
Post #1


Way Out Of Control - You need a life :)
Group Icon

Group: Members
Posts: 1,086
Joined: 21-June 05
From: New York
Member No.: 6,440
myCENTs:86.41



Hi, I installed SMF smoothly just now. I just tried to install some mods and encountered this error:
QUOTE
2: copy(Themes/default/languages/Modifications.english.php~): failed to open stream: Permission denied
File: /home/weaponx/public_html/bb/Sources/Subs-Package.php
Line: 1307


If memory serves me correctly, I remember that I had to ask my webhost to turn safe mode off. Is this the case here also?

Also when I installed Mambo, I see that register globals was off. Is that ok? It was in red when I ran the setup.
Go to the top of the page
 
+Quote Post
NilsC
post Jun 24 2005, 03:07 PM
Post #2


To Err Is Human, To Forgive Divine
Group Icon

Group: Members
Posts: 558
Joined: 24-December 04
From: http://www.ultimatekayakfishing.com/
Member No.: 1,871



No, no safe mode turned on. You need to check your CHMOD settings.
Go to the top of the page
 
+Quote Post
miCRoSCoPiC^eaRt...
post Jun 24 2005, 03:27 PM
Post #3


PsYcheDeLiC dR3aMeR
Group Icon

Group: Admin
Posts: 2,242
Joined: 29-January 05
From: Nakorn Chaisri, Thailand
Member No.: 2,411
myCENTs:84.36



Yup the permission denied is definitely CHMOD issues..
Go to the top of the page
 
+Quote Post
WeaponX
post Jun 24 2005, 03:42 PM
Post #4


Way Out Of Control - You need a life :)
Group Icon

Group: Members
Posts: 1,086
Joined: 21-June 05
From: New York
Member No.: 6,440
myCENTs:86.41



Just checked, but they are set to 777 already.

Now when I try to install the MOD, I get some failures in the process:
QUOTE
12.  Execute Modification  Sources/Admin.php  Failure
15.  Execute Modification  Sources/Subs.php


I clicked Proceed anyway and it gave me the same error message in my initial post.

I see that it created some backups (?) also since those two failed files above also have a duplicate but with a tilde ~ at the end.

Any other ideas?
Go to the top of the page
 
+Quote Post
OpaQue
post Jun 24 2005, 05:10 PM
Post #5


Administrator
Group Icon

Group: Admin
Posts: 467
Joined: 26-August 04
Member No.: 1
myCENTs:85.82



Check the complete directory structure.

DIRA/DIRB/DIRC

If a file in DIRC needs special persmission like 777, then u have to ensure that DIRA and DIRB are also 777.

Go to the top of the page
 
+Quote Post
WeaponX
post Jun 24 2005, 06:55 PM
Post #6


Way Out Of Control - You need a life :)
Group Icon

Group: Members
Posts: 1,086
Joined: 21-June 05
From: New York
Member No.: 6,440
myCENTs:86.41



LOL. That was it OpaQue. Had to manually look through each folder and file to verify they are all 777. Thanks.
Go to the top of the page
 
+Quote Post
Trekkie101
post Jun 25 2005, 10:48 AM
Post #7


Teh Teckeh Trekkeh
Group Icon

Group: Members
Posts: 682
Joined: 8-September 04
From: Scotland, UK
Member No.: 389



Wow, sorry for not posting earlier, but remember I said about fix_ownership.php, this is what its for biggrin.gif

When you modify files with mods or packages in SMF it makes a copy of the older file as a backup for you, well, the backup needed changed and couldnt be because of the chmod, fix_ownership.php will chmod all the files correctly within seconds, no hassle for you.

Just upload it your SMF folder, run the file in your web browser and then delete it.

http://www.simplemachines.org/community/in...p?topic=28393.0
Go to the top of the page
 
+Quote Post
WeaponX
post Jun 25 2005, 09:57 PM
Post #8


Way Out Of Control - You need a life :)
Group Icon

Group: Members
Posts: 1,086
Joined: 21-June 05
From: New York
Member No.: 6,440
myCENTs:86.41



Thanks for the explanation Trekkie. So basically this fix_ownership.php file is used to chmod all my files and folders for SMF to 777?

Yeah, I saw that my backup permissions were modified (not 777) but the newly created file was. Anyway, the problem's there already now. Since the mod didn't install completely (it was the Donation Mod), I have duplicates now (two Donation buttons laugh.gif). Luckily, it was a test forum. Is there any way to undo this incomplete MOD installation, if say, this was a live forum? Manual way is only method?
Go to the top of the page
 
+Quote Post
Trekkie101
post Jun 25 2005, 10:06 PM
Post #9


Teh Teckeh Trekkeh
Group Icon

Group: Members
Posts: 682
Joined: 8-September 04
From: Scotland, UK
Member No.: 389



Upload fresh files, minus settings.php and settings_bak.php and you'd have to install all other mods again.
Go to the top of the page
 
+Quote Post
WeaponX
post Jun 25 2005, 10:08 PM
Post #10


Way Out Of Control - You need a life :)
Group Icon

Group: Members
Posts: 1,086
Joined: 21-June 05
From: New York
Member No.: 6,440
myCENTs:86.41



Ugh. Gotcha. I will backup my files before applying any mods laugh.gif

Thanks again. Problem solved. biggrin.gif
Go to the top of the page
 
+Quote Post

Closed TopicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. Hosting Accounts In Read-only Mode(6)


 



- Lo-Fi Version Time is now: 5th December 2008 - 12:03 PM