Page 1 of 1

blank page help..

Posted: Wed Aug 23, 2006 10:45 am
by microOn
How can i turn safe mode in cmsMS ON? This mabe cause blank main page. The admin page works fine. Hope some one can help me out here  ???

The server is apache running postgreSQL7/8 safe mode ON. I use cmsMS 0.13.

I did this:

You need permissions to folders below template_c, because smarty makes sub_dirs.

If you cannot do that change the source of content.functions.php line 53  from

//use_sub_dirs doesn't work in safe mode
      if (ini_get("safe_mode") != "1")
        $this->use_sub_dirs = true;

to

$this->use_sub_dirs = false;


This did not do anything for the main page, but errors in admin panel is gone.

Re: blank page help..

Posted: Wed Aug 23, 2006 10:05 pm
by Dee
I just did an install of 0.13 and 1.0 with safe_mode turned on (using Postgres), both without any problems.
No need for code or config changes, but filepermissions must be set correctly.

Re: blank page help..

Posted: Sun Aug 27, 2006 4:56 pm
by microOn
Dee wrote: I just did an install of 0.13 and 1.0 with safe_mode turned on (using Postgres), both without any problems.
No need for code or config changes, but filepermissions must be set correctly.
what can be the problem when my index page still is blank? The admin works fine. Wrong filepermissions? shall it only be like this?:       

    *tmp/templates_c
    * tmp/cache
    * uploads
    * uploads/images
    * modules

Does it mean all files in the last folder eks. *tmp/templates_c

Re: blank page help..

Posted: Mon Sep 04, 2006 3:32 pm
by microOn
The main page is up now, increased the php memory with 16M and a new install. but the template is not there. Its just white with text. what can be wrong ??? http://student.umb.no/~disko/index.php

Have a new thread here  http://forum.cmsmadesimple.org/index.php?topic=6594.0