Loading...
 
Skip to main content

Architecture / Installation


V2.1 works fine but V4.1 gives blank page

I have been using v2.1 for some time on a hosted server. Initially I had problems because of the memory limit issue but the hosting provider enabled a local php configuration file. Once that change was made I was able to increase the memory limit and everything has since been working fine.

I have tried several times to upgrade to later versions - most recently v4.1. In all versions past 2.1 I receive a blank page when trying to run the installer. I have v2.1 in one directory and v4.1 in another and have set the directory permissions correctly on the v4.1 directory structure.

I'm at a loss to explain why a previous version works but later versions do not with the same configuration. Not being able to display error messages obviously isn't helping.

Does anyone have a solution or fault finding path to take perhaps? I'd really like to upgrade..!

You may want to check the php & sql compatability?

It seems 2b a strange habit in this support area that request aren't answered at all or on a placebo level. Listen, I personally would definately not miss "Check compatibility"...

I tried to make v 4.1 run on Windows 2003 server having php 5.2.5 and mysql 5.0.41 perfectly working with serveral other applications. I passed the installation wizzard reporting 128M for PHP und when I do the final step to call tiki-index.php or simply index.php A BLANK SCREEN appears.
I have to mention that for the very first time I trie to complete the installation, I got a message saying that some directories aren't properly installed. As the path was wrong I changed the PATH_TRANSLATED base path-detection into a getwd() method and then the error message disappeared but nothing else appeared...
I followed the flow of included scripts and detected nothing. Everything seems ok but it appears to me that smarty does not process any template nor content.
Maybe some data in the tables or templates are missing (./templates contains about 1 mio tpl-files 😉 ).
After some hours of code analysing I got the idea to turn off smarty security by adding $prefs'smarty_security' = 'n';
after require_once ('lib/setup/prefs.php');
things became fine and appeared to work as they should
Of course yo can also alter line 1259 in lib/setup/prefs.php into 'smarty_security' => 'n'


I tried your suggestion but this did not fix the problem in my case. I still just receive a blank screen. I find it rather surprising that there is no real error checking with any of this and you simply get a blank screen. All compatibility and dependencies have been checked and there's no (obvious) reason why I'm getting the blank screen.

I had exactly the problem when upgrading from 1.9 to 4.1.

After the install, I got a blank page and the templates_c folder stayed empty. Everything seemed to work fine up to $smarty->display("tiki.tpl") which returned a blank page. Access rights to the templates_c folder were ok.

Adding $prefs['smarty_security'] = 'n' solved the problem for me.

Wish I had seen this thread before, that would have saved me a few hours of work...

Thanks lvd!