Loading...
 
Skip to main content

Architecture / Installation


Tiki v1.7.8 BUG FOUND - Windows, change Admin Preferences, get blank pages

So I thought I solved my blank pages problem (again!), and 2 mins later: *bang* stopped working again. I re-installed again to track my steps, and again, and again, and now I found what's bugging...

When you log in as admin and change some General settings, not only the database gets updated, also a file called templates_c/preferences.php does. In there, on the last line, it says
Copy to clipboard
$tmpDir="\";$smarty->assign("tmpDir","$tmpDir");

The escape character \ should be escaped to become a back-slash!

Copy to clipboard
$tmpDir="\\";$smarty->assign("tmpDir","$tmpDir");


I think is has to do with OS-dependant / or \ variable and things work ok with / but with \ escaping is required.

I don't know why this hasn't come up more... are there so little Windows Tiki users or is this somehow only my problem?

- John

Hi,

Windows does allows double \\ both in Apache and IIS envronments. I think your problem is more likely to be the memory_limit in PHP. See the new article on Home

Damian


Well, what I was trying to say is that it works now!

That's because I manually changed "\" to "\\" after changing settings with Tiki!

The "\" generated by Tiki is simply not a closed string in PHP, so it is a bug.

I just posted it to prevent other Windows users from having the same troubles. And when verified, it could be posted as a bug, checked in other versions, etc.

- John