"Hack" G2 to work in safe mode?

Jocke72

Joined: 2006-02-26
Posts: 5
Posted: Sun, 2006-02-26 18:33

Yes, yes I know...

The situation is the following. Low level traffic, I will be the only one managing files etc.
My visitors will only be able to view, rate and comment.

I've read everything I can get my hands on, altough I don't fully understand everything as I just started with php a few days ago. (Domino Developer since many years, don't tell anyone. ;)

I've found a modified version here that's supposed to work:
http://www.netsons.org/viewtopic.php?t=117&sid=147134b58781c691efab5e264cd7d1ac

It work's until step 8, "install gallery core", where I get a lot of error messages: Safe mode in effect etc..

Are you able to install G2 manually somehow? Haven't been able to find any info on this.

Thanks!

Joacim Boive

 
ckdake
ckdake's picture

Joined: 2004-02-18
Posts: 2258
Posted: Sun, 2006-02-26 18:43

see http://gallery.menalto.com/node/3017

--
http://ckdake.com/

If you found my help useful, please consider donating to Gallery.

 
Jocke72

Joined: 2006-02-26
Posts: 5
Posted: Sun, 2006-02-26 19:20

Yes, I read it already. Timeout issues are'nt a problem for me, I can risk it.

I'm interested in getting it to run, all discussions about why you shouldn't aren't really interesting here. I know the issues and I can accept them.

/Jocke

 
ckdake
ckdake's picture

Joined: 2004-02-18
Posts: 2258
Posted: Sun, 2006-02-26 19:52

take a look at install/steps/SystemChecksStep.php aoudn like 108. Remove the safe mode checks.

--
http://ckdake.com/

If you found my help useful, please consider donating to Gallery.

 
Jocke72

Joined: 2006-02-26
Posts: 5
Posted: Sun, 2006-02-26 20:24

Thanks! I'll try that.

Appreciate your help. =)

/J

 
BorgKing
BorgKing's picture

Joined: 2002-09-12
Posts: 314
Posted: Wed, 2006-03-01 17:38

Jocke72, did you have any success in installing G2 with safe_mode enabled?

I'm very interested in this as well, since I use G2 the same way you do, and want to switch to a host that does not support safe_mode off. If you got it working, it would be great if you could explain the exact steps. Thanks!

 
Jocke72

Joined: 2006-02-26
Posts: 5
Posted: Wed, 2006-03-01 18:03

Nope, sorry. Got an error when installing the core modules. Have a look at the link I posted.

In the very near future I'm switching to another host that has safe_mode=off so this is'nt really important to me anylonger.

/Jocke