Page 1 of 1

[Solved] CGCalendar: Back end calendar missing

Posted: Tue Sep 01, 2015 11:44 am
by mgrendal
For a while now going through multiple versions of CMSMS and addons I have not been able to view the CGCalendar with events in the back end, and that makes it a bit hard to edit events.

This is with the site set to Norwegian language in config.php:

Code: Select all

$config['locale'] = 'nb_NO';
If I switch to English everything works just fine:

Code: Select all

$config['locale'] = 'en_US';
I have seen others having a similar problem with languages other than English, maybe they have been fixed - but I can't get it to work in Norwegian... Is there a way to fix this?

Here is my system info - let me know if you need more info!
----------------------------------------------
Cms Version: 1.12.1
Installed Modules:
CMSMailer: 5.2.2
Gallery: 2.0.2
MenuManager: 1.8.7
ModuleManager: 1.5.8
News: 2.15.2
Search: 1.7.13
ThemeManager: 1.1.8
EditArea: 0.2.9
FileManager: 1.4.5
Printing: 1.1.2
TinyMCE: 2.9.12
CGExtensions: 1.49.7
CGCalendar: 1.15.4
JQueryTools: 1.2.6
Statistics: 1.1.3
CMSPrinting: 1.0.5
MicroTiny: 1.2.9
simplequotes: 0.9.1
CGSimpleSmarty: 1.9.1
CGFBApp: 1.0.9

Config Information:
php_memory_limit:
process_whole_template:
max_upload_size: 128000000
url_rewriting: mod_rewrite
page_extension: /
query_var: page
image_manipulation_prog: GD
auto_alias_content: true
locale: nb_NO
default_encoding: utf-8
admin_encoding: utf-8
set_names: true

Php Information:
phpversion: 5.5.28-1~dotdeb+7.1
md5_function: On (True)
gd_version: 2
tempnam_function: On (True)
magic_quotes_runtime: Off (False)
E_STRICT: 0
E_DEPRECATED: 0
memory_limit: 129M
max_execution_time: 30
output_buffering: On
safe_mode: Off (False)
file_uploads: On (True)
post_max_size: 128M
upload_max_filesize: 128M
session_save_path: No check because open basedir active
session_use_cookies: On (True)
xml_function: On (True)
xmlreader_class: On (True)

Server Information:
Server Api: cgi-fcgi
Server Db Type: MySQL (mysql)
Server Db Version: 5.5.45
Server Db Grants: Found a "GRANT ALL" statement that appears to be suitable
Server Time Diff: No filesystem time difference found

----------------------------------------------

Re: CGCalendar: Back end calendar missing

Posted: Tue Sep 01, 2015 9:34 pm
by reneh
Thats strange to me
I'm not seeing how the lang files could have impression on the backend view. But i fixed up a lot of encoded chars in the nb_NO file just now.
Can you try to add fresh lang file found on link below to your site to see if it helps?
http://viewsvn.cmsmadesimple.org/filede ... Fnb_NO.php

(Best is to rename old file and copy in the new - that way you can change back easily...)

Re: CGCalendar: Back end calendar missing

Posted: Wed Sep 02, 2015 7:10 am
by mgrendal
Thanks reneh, I tried to apply the new language file - but the problem still remains.

I also tried to remove the Norwegian language file entirely, then the back end language for CGCalendar switched to English - but still no calendar to be seen in the back end. So that should mean that this language file is not the problem, right?

Re: CGCalendar: Back end calendar missing

Posted: Fri Sep 11, 2015 1:33 pm
by mgrendal
Solved! I tried upgrading the site to CMSMS 2.0 to see if that would help, but the problem remained. Then I stumbled over an article that suggested an adjustment to the locale setting - I tried it, and it worked!

Code: Select all

$config['locale'] = 'nb_NO.utf8';
This small adjustment brought back the calendar in the back end, and also solved a little trouble I had with the Norwegian letters ÆØÅ in the weekday names. So now all is good! :)

Re: [Solved] CGCalendar: Back end calendar missing

Posted: Fri Sep 11, 2015 4:01 pm
by calguy1000
for most common european languages, this should not be necessary.

I'll see about changing the NLS files in 2.0.1 so that that is the default for norwegan and other languages