Results 1 to 4 of 4

Thread: Language file causing problem (blanc screen)

  1. #1
    youmla is offline Junior Member
    Join Date
    Feb 2011
    Posts
    3

    Default Language file causing problem (blanc screen)

    I'm having a problem that puzzles me for the last 8 hours.

    After installing the dutch language pack sugarcrm just gives me a blanc page (HTTP 500 error) as soon as I try to logon.


    The server logs show these errors:


    [Wed Feb 23 18:30:42 2011] [error] [client 84.38.232.49] PHP Warning: include(include/language/nl_nl.lang.php) [<a href='function.include'>function.include</a>]: failed to open stream: No such file or directory in /var/www/vhosts/crm.xxx.nl/httpdocs/include/utils.php on line 849, referer: http://crm.xxx.nl/index.php?action=L...language=en_us



    [Wed Feb 23 18:30:42 2011] [error] [client 84.38.232.49] PHP Warning: include() [<a href='function.include'>function.include</a>]: Failed opening 'include/language/nl_nl.lang.php' for inclusion (include_path='/var/www/vhosts/crm.xxx.nl/httpdocs/include/..:.:') in /var/www/vhosts/crm.xxx.nl/httpdocs/include/utils.php on line 849, referer: http://crm.xxx.nl/index.php?action=L...language=en_us




    [Wed Feb 23 18:30:42 2011] [error] [client 84.38.232.49] PHP Warning: require(include/language/nl_nl.lang.php) [<a href='function.require'>function.require</a>]: failed to open stream: No such file or directory in /var/www/vhosts/crm.xxx.nl/httpdocs/include/utils.php on line 716, referer: http://crm.xxx.nl/index.php?action=L...language=en_us



    [Wed Feb 23 18:30:42 2011] [error] [client 84.38.232.49] PHP Fatal error: require() [<a href='function.require'>function.require</a>]: Failed opening required 'include/language/nl_nl.lang.php' (include_path='/var/www/vhosts/crm.xxx.nl/httpdocs:/var/www/vhosts/crm.software-company.nl/httpdocs/include/..:.:') in /var/www/vhosts/crm.xxx.nl/httpdocs/include/utils.php on line 716, referer: http://crm.xxx.nl/index.php?action=L...language=en_us


    Steps I took to try to solve it:

    1. Searched the internet and forums
    2. I tried both entries in the language array in the config.php file nl_nl and nl_NL
    3. I tried to copy the language file so both nl_nl and nl_NL.lang.php are in the include/language directory

    So far no luck.
    Hopefully one of you guys can help me out. I'm pretty new to Sugar to forgive me if I'm asking a stupid question... i'm learning!

    Tim
    Last edited by youmla; 2011-02-23 at 09:17 PM.

  2. #2
    youmla is offline Junior Member
    Join Date
    Feb 2011
    Posts
    3

    Default Re: Language file causing problem (blanc screen)

    Here is some extra info...

    Sugar Version 6.1.2
    Sugar Edition CE
    Category Install
    Operating System Win 7
    PHP Version 5.2.14
    Database MySQL
    Web Server Apache/Plesk



    Maybe it's the Plesk issue? I put these lines in my .htaccess:

    ========================
    php_value session.save_path /var/www/vhosts/crm.xxx.nl/httpdocs/tmp

    php_value memory_limit 40M
    php_value upload_max_filesize 20M
    php_value post_max_size 20M

    # BEGIN SUGARCRM RESTRICTIONS
    RedirectMatch 403 (?i).*\.log$
    RedirectMatch 403 (?i)/+not_imported_.*\.txt
    RedirectMatch 403 (?i)/+(soap|cache|xtemplate|data|examples|include|log4p hp|metadata|modules)/+.*\.(php|tpl)
    RedirectMatch 403 (?i)/+emailmandelivery\.php
    RedirectMatch 403 (?i)/+cache/+upload
    RedirectMatch 403 (?i)/+files\.md5$
    # END SUGARCRM RESTRICTIONS
    ========================


    Please help because I really don't know where to start solving this issue...
    Last edited by youmla; 2011-02-23 at 08:21 PM.

  3. #3
    andopes's Avatar
    andopes is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Jul 2006
    Location
    São Paulo - Brazil
    Posts
    8,335

    Default Re: Language file causing problem (blanc screen)

    It happens because you are trying to log in SugarCRM under Nederlands language pack (nl_nl), which seems to be incomplete, as per errors a lots of nl_nl language files are missing.
    At the login screen choose English language pack and try again.

    Contact the maintainer of such language pack.

    Cheers
    André Lopes
    DevToolKit / Project of the Month - June 2009
    Lampada Global Services- Open Source Solutions
    Avenida Ipiranga, 318
    Bloco B - CJ 1602
    São Paulo, SP 01046-010
    Brazil
    Office: +55 11 3237-3110
    Mobile: +55 11 7636-5859
    e-mail: andre@lampadaglobal.com

    Lampada Global delivers offshore software development and support services to customers around the world.
    Lampada is proud to be a SugarCRM Gold Partner, revolutionizing Customer Relationship Management.

    I DO NOT answer questions through PM and Email. If you need some help post your question into SugarForum.

  4. #4
    youmla is offline Junior Member
    Join Date
    Feb 2011
    Posts
    3

    Default Re: Language file causing problem (blanc screen)

    André,

    Thanks a lot for your quick reply.

    When I try to logon the dropdown is on English by default. The screen and buttons doesn't show the correct text but labels only (for example: LBL_USER_NAME).

    When I logon from here (English) I get a blanc screen. The error_log logs the following, although I tried to login in English:

    [Wed Feb 23 22:48:01 2011] [error] [client 80.101.186.131] PHP Warning: include(include/language/nl_nl.lang.php) [<a href='function.include'>function.include</a>]: failed to open stream: No such file or directory in /var/www/vhosts/crm.xxx.nl/httpdocs/include/utils.php on line 849, referer: http://crm.xxx.nl/index.php?action=L...n_action=index


    When I change the language to Dutch, suddenly the labels (in Dutch) appear.
    When I change the language (in the login screen) back to English then the blanc screen (http 500 error) shows up again.

    The error log gives about 10 errors all relates to these two lines in utils.php:

    [Wed Feb 23 22:55:00 2011] [error] [client 84.38.232.49] PHP Warning: include(include/language/nl_nl.lang.php) [<a href='function.include'>function.include</a>]: failed to open stream: No such file or directory in /var/www/vhosts/crm.xxx.nl/httpdocs/include/utils.php on line 849

    [Wed Feb 23 22:55:12 2011] [error] [client 84.38.232.49] PHP Fatal error: require() [<a href='function.require'>function.require</a>]: Failed opening required 'include/language/nl_nl.lang.php' (include_path='/var/www/vhosts/crm.xxx.nl/httpdocs:/var/www/vhosts/crm.software-company.nl/httpdocs/include/..:.:') in /var/www/vhosts/crm.xxx.nl/httpdocs/include/utils.php on line 716


    Any further help would be highly appreciated. If de-installing the dutch lang pack would help that's an option too. But can this be done without loggin in?

    Thanks a lot!

    Tim
    Last edited by youmla; 2011-02-23 at 09:17 PM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Blank Screen after install dutch language pack
    By peterpontiac in forum Translators
    Replies: 12
    Last Post: 2010-03-13, 12:40 PM
  2. JavaScript Language file problem
    By Mithun in forum Developer Help
    Replies: 4
    Last Post: 2009-06-01, 09:16 AM
  3. Replies: 3
    Last Post: 2009-04-06, 05:32 PM
  4. Problem with Italian Language file
    By BigShow in forum Translators
    Replies: 1
    Last Post: 2007-07-24, 10:57 AM
  5. Blanc screen after login
    By pabloferre in forum Help
    Replies: 0
    Last Post: 2007-01-24, 02:27 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •