[solved] File Manager OpenBrowser displays blank white window

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
arnolde
New Member
New Member
Posts: 5
Joined: Sat Jun 26, 2010 8:07 am

[solved] File Manager OpenBrowser displays blank white window

Post 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
Last edited by arnolde on Sat Jun 26, 2010 2:33 pm, edited 1 time in total.
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: File Manager OpenBrowser displays blank white window

Post 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.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
arnolde
New Member
New Member
Posts: 5
Joined: Sat Jun 26, 2010 8:07 am

Re: File Manager OpenBrowser displays blank white window

Post 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
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

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

Post 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.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
arnolde
New Member
New Member
Posts: 5
Joined: Sat Jun 26, 2010 8:07 am

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

Post 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 :-)
mr.bacan

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

Post 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.
djkirstyjay
Forum Members
Forum Members
Posts: 206
Joined: Tue Oct 25, 2005 4:50 pm

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

Post by djkirstyjay »

I have also done as calguy1000 suggested and it fixed the error messages for me too. :)
Post Reply

Return to “CMSMS Core”