Page 1 of 1

[solved] File Manager OpenBrowser displays blank white window

Posted: Sat Jun 26, 2010 8:36 am
by arnolde
Hi,

I had a CMSMS site version 1.6.6 for my girlfriend's cattery running fine for about a year on my Linux root server, until last month she asked me to add a guestbook. So I installed the guestbook module and then lots of stuff stopped working (often blank pages, etc.) so then I found out that I was running PHP 5.3 which CMSMS 1.6.6 doesnt support, so I attempted to upgrade to CMSMS 1.7.1, which didnt really work although I thought I followed the instructions right.

Anyway I then installed a fresh version of CMSMS 1.7.1 (all the checks were green) without changing the database, and copied the folders with images etc. over to the new installation, then the install routine detected that the database was from a previous version and upgraded it, and after that (after correcting some file permissions here and there) everything seemed to work just fine.

Now we discovered that when we go to edit content, page, [any page], click on insert image, and then click on the search-file-icon, the filemanager just displays a blank white window (up until that point everything is fine). There is no relevant PHP error message that I can find in the apache errorlog, except for many many lines saying:

Code: Select all

PHP Warning:  strftime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CEST/2,0/DST' instead in /srv/www/vhosts/schimmerfell.de/lib/smarty/Smarty_Compiler.class.php on line 400
PHP Fatal error:  strftime(): Timezone database is corrupt - this should *never* happen! in /srv/www/vhosts/schimmerfell.de/lib/smarty/Smarty_Compiler.class.php on line 400
but that was the case before the upgrade, also (I was sort of hoping to get rid of that, too, but after trying for a few hours I gave up)

I searched this forum for "file manager white" but found nothing relevant, so I hope this question isnt on the top 10 FAQ and will get me flamed to a crisp ;-)

Code: Select all

Cms Version: [b]1.7.1[/b]

Installed Modules:

    * CMSMailer: [b]2.0[/b]
    * FileManager: [b]1.0.2[/b]
    * MenuManager: [b]1.6.3[/b]
    * ModuleManager: [b]1.3.3[/b]
    * News: [b]2.10.5[/b]
    * nuSOAP: [b]1.0.1[/b]
    * Printing: [b]1.0.4[/b]
    * Search: [b]1.6.3[/b]
    * ThemeManager: [b]1.1.1[/b]
    * TinyMCE: [b]2.7.0[/b]
    * Statistics: [b]1.0.1[/b]
    * Guestbook: [b]1.1.12[/b]
    * Captcha: [b]0.4.1[/b]
    * Statistics: [b]1.0.1[/b]


Config Information:

    * php_memory_limit: [b][/b]
    * process_whole_template: [b]false[/b]
    * max_upload_size: [b]10000000[/b]
    * default_upload_permission: [b]664[/b]
    * assume_mod_rewrite: [b]false[/b]
    * page_extension: [b][/b]
    * internal_pretty_urls: [b]false[/b]
    * use_hierarchy: [b]true[/b]


Php Information:

    * phpversion: [b]5.3.0[/b]
    * md5_function: [b]An[/b] (Ja)
    * gd_version: [b]2[/b]
    * tempnam_function: [b]An[/b] (Ja)
    * magic_quotes_runtime: [b]Aus[/b] (Nein)
    * E_STRICT: [b]0[/b]
    * E_DEPRECATED: [b]0[/b]
    * memory_limit: [b]128M[/b]
    * max_execution_time: [b]60[/b]
    * safe_mode: [b]Aus[/b] (Nein)
    * session_save_path: [b]/tmp[/b] (1777)
    * session_use_cookies: [b]An[/b] (Ja)


Server Information:

    * Server Api: [b]apache2handler[/b]
    * Server Db Type: [b]MySQL (mysql)[/b]
    * Server Db Version: [b]5.1.36[/b]
Kind regards,
Ethan

Re: File Manager OpenBrowser displays blank white window

Posted: Sat Jun 26, 2010 1:57 pm
by calguy1000
Thank you for providing a decent problem report... something we can work with.

Now, I haven't had this exact problem myself, but a 'white blank page' usually means some kind of a fatal error occurred before the output to the page started.

However, I did some googling and:

can you try adding

Code: Select all

date_default_timezone_set('America/Edmonton'); 
to the top of your config.php
after the <?php line.
of course you may want to change the timezone from
America/Edmonton to whatever is appropriate for your system as defined here:
http://www.php.net/manual/en/timezones.php

and we'll see if that helps anything.

Re: File Manager OpenBrowser displays blank white window

Posted: Sat Jun 26, 2010 2:32 pm
by arnolde
It sure did help!!! Thanks a lot!!!

Adding that line (I used Europe/Berlin instead) fixed it, now the blank window works correctly and we can upload and insert images again. Also the tons of "timezone blabla" error messages are now not logged anymore.

We had another problem uploading images, but that was just some file permissions.

Thanks for the quick and easy help! Donation's on the way :-)

regards,
Ethan

Re: [solved] File Manager OpenBrowser displays blank white window

Posted: Sat Jun 26, 2010 2:37 pm
by calguy1000
This is a perfect example of why giving a decent amount of information is required.

I'll consider adding a timezone selector thing in for 1.8.. as my googling says that PHP 5.3 has finally solved the timezone issue.

It's unfortunate that many people on this forum think that they are 'above' reading, researching, following forum rules or providing decent information for us to help with.

Re: [solved] File Manager OpenBrowser displays blank white window

Posted: Sat Jun 26, 2010 2:43 pm
by arnolde
Well, I should admit that I'm an IT guy myself and have some support experience... so I know both sides and try my best to supply informative questions. It sure beats waiting in vain for good answers and needing to spend days on Google to find the solution myself :-)

Re: [solved] File Manager OpenBrowser displays blank white window

Posted: Sat Aug 21, 2010 8:27 pm
by mr.bacan
Just want to report that I had a similar problem using FormBuilder 0.6.2 on CMSMS 1.8.1, but after editing the config.php the problem has been fixed.

Thanks Calguy for this working solution.

Re: [solved] File Manager OpenBrowser displays blank white window

Posted: Tue Aug 31, 2010 3:42 pm
by djkirstyjay
I have also done as calguy1000 suggested and it fixed the error messages for me too. :)