Results 1 to 5 of 5
  1. #1
    Join Date
    Oct 2009
    Posts
    2
    Plugin Contributions
    0

    Default index.php?main_page=create_account is blank

    Hi,

    I had followed the guide to make my error verbose so that I can identify why I got blank pages, but it seems none of them work for me.

    I only have this problem when using other language than english. I installed Malay language and when ever user try to register upon submit button they will be presented a blank page.

    I do not have any problem with english language registration.

    Please assist.

    Thank you

  2. #2
    Join Date
    Jan 2007
    Location
    Australia
    Posts
    6,167
    Plugin Contributions
    7

    Default Re: index.php?main_page=create_account is blank

    I've no experience with zencart foreign languages, but from what I do know is that each language will have its own <language>.php file located in the /languages directory, so the first thing I'd be doing is checking to ensure they exist.

    If they do exist, my next suggestion would be to inspect the contents of them for any characters that may cause a problem, I am referring specifically to badly placed double or single quote characters contained within the text strings.

    Finally, although I'm also not sure if relevant with the language.php files, there are many files used by zencart that will cause a blank page problem if the file has any blank lines after the closing php tag, so just to be on the safe side, ensure that this isn't the cause of your problem (many text editors will add a blank line at the end simply by loading and saving the file without making any other changes).

    Cheers
    Rod

  3. #3
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: index.php?main_page=create_account is blank

    FAQ article found by searching for "blank page": https://www.zen-cart.com/tutorials/index.php?article=82
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  4. #4
    Join Date
    Oct 2009
    Posts
    2
    Plugin Contributions
    0

    Default Re: index.php?main_page=create_account is blank

    RodG: All the language files are there.
    DrByte: I had done that.

    I only have this blank page problem if I select different language than the default one and register an account or even log-of from the said account.

    In my cart I have 2 language, if I set English as default, I am able to create the account and have no problem. Same goes when I set my local language as the default, everything went ok. THE PROBLEM when I change the language and then proceed with the account registration.

  5. #5
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: index.php?main_page=create_account is blank

    And ... when the blank page happens, what shows up in the logs?
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 

Similar Threads

  1. Replies: 1
    Last Post: 12 Jul 2016, 04:21 PM
  2. index.php?main_page=create_account is blank / shows a white page
    By Monsunemoon in forum General Questions
    Replies: 1
    Last Post: 29 Jun 2012, 05:28 AM
  3. blank checkout page: index.php?main_page=checkout&fecaction=null
    By gibow in forum All Other Contributions/Addons
    Replies: 9
    Last Post: 13 Jul 2011, 01:30 PM
  4. index.php?main_page=account coming out blank (white)
    By JByrne84 in forum General Questions
    Replies: 2
    Last Post: 2 Dec 2010, 12:12 PM
  5. Change the index.php?main_page=index and where it links to
    By tqualizer_man in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 25 Nov 2006, 01:41 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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR