osCmax v2.5 User Manual
Results 1 to 5 of 5

?? -Get "White Pages" when i try to switch languag

This is a discussion on ?? -Get "White Pages" when i try to switch languag within the osCMax v1.7 Installation forums, part of the osCmax v1.7 Forums category; Hi! I belive I have done everything the way I suppose too..(obviusly im not..) Well, the problem is that ,if ...

      
  1. #1
    New Member Rickard1127's Avatar
    Join Date
    Feb 2005
    Posts
    6
    Rep Power
    0


    Default ?? -Get "White Pages" when i try to switch languag

    Hi!

    I belive I have done everything the way I suppose too..(obviusly im not..)

    Well, the problem is that ,if I try to change the language to Swedish, all I get are white pages, when I browse "/catalog", and "/admin"..

    if I add "/?language=en" after "/catalog", then the white pages suddenly goes away, replaced by the original-files in english. But If I try /?language=se, then the white pages are there again...

    (ive used up a-l-o-t of hours manually turn every .php-file in the languages-dir from english to swedish, but got white pages, so try it more basic first:

    latest try to get it to work was:

    /Fresh Install MAX1.7/

    -copied, and renamed in both the /catalog, and /admin -folders:

    ****/catalog/includes/languages/english
    (renamed to :/languages/svenska)

    ****/catalog/includes/languages/add_ccgvdc_english
    (renamed to: /add_ccgvdc_svenska)

    ****/catalog/includes/languages/affiliate_english
    (renamed to: /affiliate_svenska)

    ****/catalog/includes/languages/english
    (renamed to: /svenska)


    same changes to the /admin/includes/languages/english
    (renamed to svenska)
    etc, etc..


    What could the problem be when theres just a blank page?

    (i have told the program via admin that there is a new language etc)
    (its when I choose "svenska" in admin, that the pages go blank)

    Puh!

    -Any ideas? Would be great if I could get this going!


    /Rickard

    (I got the languages to work with the standard OsCommerce 2.2m2!)

  2. #2
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,907
    Rep Power
    568


    Default RE: ?? -Get "White Pages" when i try to switch lan

    Hi,

    Of course they worked with the statdard osC 2.2, they were specifically written for it. You need to look at your error logs. You are getting a php error somewhere.

    You probably have files missing, since there are several dozen more files in osCMax that the language dir needs to have. You should compare the Swedish dir to the English dir and add any missing files to the Swedish dir...
    Michael Sasek
    osCMax Developer


    osCmax Installation Service
    - Have our professionals install osCmax on your server - same day service!
    osCmax 2.5 User Manual - the must have beginners guide to osCmax v2.5

    Stay Up To Date with everything osCMax:
    Free osCmax Newsletters - Security notices, New Releases, osCMax News
    osCmax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  3. #3
    New Member Rickard1127's Avatar
    Join Date
    Feb 2005
    Posts
    6
    Rep Power
    0


    Default RE: ?? -Get "White Pages" when i try to switch lan

    Thanks for the quick reply!

    -Ill do some more testing tonight!

    /Rick
    [SigP210-6]-dont require any mod´s at all

  4. #4
    New Member Rickard1127's Avatar
    Join Date
    Feb 2005
    Posts
    6
    Rep Power
    0


    Default RE: ?? -Get "White Pages" when i try to switch lan

    argh!..

    -with un-modified, original language-files: Haven´t added or deleted anything..

    English version works glorius,:

    -Then, I just re-name these catalog-files:

    dir english to svenska
    file add_ccgvdc_english.php to add_ccgvdc_svenska.php

    file affiliate_english.php to affiliate_svenska.php

    file english.php to svenska.php

    , then, when i choose svenska as language.. its all the same.. white page..
    (in admin, there´s no problem in doing this)

    -This should work, should´nt it`?

    I feel like: "hm, perhaps there are a file somewhere, where one should add the
    "se"-thingy, so the oscMax "reqognize the new language?

    Perhaps its just problems with the name "svenska", ill try to rename the files
    to "swedish"... If that wont work, Ill wipe out the catalog once again, and
    start all over..

    -Wich file is most likely to cause the "white page"-problem?

    (ive read somewhere, that white space, in the beginning or end
    of php-files might cause this problem. But then again, why does
    it work again, as soon as I re-rename the files back to english???

    /ive tried to look around alot in the forums and know-how´s.. sorry to
    bother with this basic-frequently-asked-question : /


    /Rick
    [SigP210-6]-dont require any mod´s at all

  5. #5
    New Member Rickard1127's Avatar
    Join Date
    Feb 2005
    Posts
    6
    Rep Power
    0


    Default RE: ?? -Get "White Pages" when i try to switch lan

    k. Got it working. strange. Did the same thing that i tried several times before.

    Wonder if my ftp-program sometimes skips some files? nah.. that cant be it.?
    (Core Ftp)

    Nah.. like blaming on the gun if one misses the target..


    /Cya! Rick

    Well! Guess I have to to the translation all over once again.. puh..
    [SigP210-6]-dont require any mod´s at all

Similar Threads

  1. Remove "QTPRO" for "Option Type Feature"
    By adam71o in forum osCmax v2 Customization/Mods
    Replies: 3
    Last Post: 01-10-2007, 09:32 AM
  2. "error on page" messages on all osC pages
    By deuce in forum osCmax v2 Customization/Mods
    Replies: 2
    Last Post: 12-07-2006, 06:24 AM
  3. Template switch only "mostly" works....
    By sheikyerbouti in forum osCmax v2 Customization/Mods
    Replies: 0
    Last Post: 10-18-2005, 04:00 PM
  4. Adding "Next page" links to bottom of new pages?
    By afguns in forum osCmax v1.7 Discussion
    Replies: 0
    Last Post: 03-31-2004, 05:30 PM
  5. Moving "Result Pages: 1,2" to the top of the page
    By Anonymous in forum osCmax v1.7 Discussion
    Replies: 1
    Last Post: 02-06-2004, 01:37 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
  •