Results 1 to 5 of 5
  1. #1
    Join Date
    May 2008
    Posts
    261
    Plugin Contributions
    0

    Default admin area not redirect, just blank - 1.38a

    dear all,

    could you please advisd if anyone came across the same problem as mine?

    after transfer my 1.38a site from one host to another, the website www.xxx.com works okay, but the admin has problem.
    when typing www.xxx.com/admin, it is just a blank page.
    when typing www.xxx.com/admin/login.php, and fill in username, password, click "login", then it is still a blank page.
    but infact, i'm aready logged in.

    also, after chages someting in the admin area, after clicking "save" button, it also gives the blank page. however it is saved succesfully.

    does anyone know what it the problem?
    thank you so much for your suggestion in advance.

  2. #2
    Join Date
    Jan 2004
    Posts
    60,685
    Blog Entries
    4
    Plugin Contributions
    149

    Default Re: admin area not redirect, just blank - 1.38a

    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donations always welcome: www.zen-cart.com/donate

    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.



  3. #3
    Join Date
    May 2008
    Posts
    261
    Plugin Contributions
    0

    Default Re: admin area not redirect, just blank - 1.38a

    Dear DrByte,

    many appreciated for your quick response.

    after i open debug function, then the errors read as follows after go to www.xxx.com/admin

    could you please kindly help me to verify what is the problem and how to fix, thank you so much.

    HTML Code:
    Notice: Undefined index: HTTPS in /mysite folder/admin/includes/init_includes/init_file_db_names.php on line 57
    
    Notice: Undefined index: HTTP_X_FORWARDED_BY in /mysite folder/admin/includes/init_includes/init_file_db_names.php on line 57
    
    Notice: Undefined index: HTTP_X_FORWARDED_HOST in /mysite folder/admin/includes/init_includes/init_file_db_names.php on line 57
    
    Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /mysite folder/admin/includes/init_includes/init_file_db_names.php:57) in /mysite folder/includes/functions/sessions.php on line 108
    
    Notice: Undefined variable: template_dir in /mysite folder/admin/includes/languages/english.php on line 72
    
    Notice: Use of undefined constant DIR_WS_TEMPLATE - assumed 'DIR_WS_TEMPLATE' in /mysite folder/admin/includes/init_includes/init_templates.php on line 59
    
    Warning: Cannot modify header information - headers already sent by (output started at /mysite folder/admin/includes/init_includes/init_file_db_names.php:57) in /mysite folder/admin/includes/init_includes/init_templates.php on line 69
    
    Warning: Cannot modify header information - headers already sent by (output started at /mysite folder/admin/includes/init_includes/init_file_db_names.php:57) in /mysite folder/admin/includes/functions/general.php on line 37
    
    Notice: Object of class queryFactoryResult could not be converted to int in Unknown on line 0

  4. #4
    Join Date
    May 2008
    Posts
    261
    Plugin Contributions
    0

    Default Re: admin area not redirect, just blank - 1.38a

    on line of 57 of the file admin/includes/init_includes/init_file_db_names.php:57
    the code reads:
    HTML Code:
      $request_type = (strtolower($_SERVER['HTTPS']) == 'on' || $_SERVER['HTTPS'] == '1' || strstr(strtoupper($_SERVER['HTTP_X_FORWARDED_BY']),'SSL') || strstr(strtoupper($_SERVER['HTTP_X_FORWARDED_HOST']),'SSL'))  ? 'SSL' : 'NONSSL';

  5. #5
    Join Date
    Jan 2007
    Location
    Australia
    Posts
    4,954
    Plugin Contributions
    3

    Default Re: admin area not redirect, just blank - 1.38a

    Quote Originally Posted by Jerry5763837 View Post
    after i open debug function, then the errors read as follows after go to www.xxx.com/admin

    could you please kindly help me to verify what is the problem and how to fix, thank you so much.

    To me, this looks like either something has gone astray when you transferred the files to the new site, OR the /admin/includes/configure.php file has been corrupted.

    Oh, and you really need to upgrade ASAP

    Cheers
    Rod

 

 

Similar Threads

  1. admin display/layout problem: blank area below menu
    By podbear in forum General Questions
    Replies: 2
    Last Post: 25 Jan 2011, 05:01 AM
  2. Categories/products blank in admin area
    By keeping in forum Upgrading from 1.3.x to 1.3.9
    Replies: 5
    Last Post: 12 Jul 2010, 07:43 PM
  3. Blank page on admin area, debug faq didn't help.
    By shotormorgh in forum General Questions
    Replies: 5
    Last Post: 21 May 2009, 12:35 AM
  4. Can't get to Admin area, Just getting a Blank Screen
    By socalcane in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 3 Jan 2009, 12:59 AM

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
  •