Zen Cart Logo
Forums / Customization from the Admin / admin area not redirect, just blank - 1.38a

admin area not redirect, just blank - 1.38a

Views: 3,010

Results 1 to 5 of 5
8 Mar 2012, 4:52 PM
#1
jerry5763837 avatar

jerry5763837

Zen Follower

Join Date:
May 2008
Posts:
261
Plugin Contributions:
0

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 https://www.xxx.com works okay, but the admin has problem.
when typing https://www.xxx.com/admin, it is just a blank page.
when typing https://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.

8 Mar 2012, 5:35 PM
#3
jerry5763837 avatar

jerry5763837

Zen Follower

Join Date:
May 2008
Posts:
261
Plugin Contributions:
0

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 https://www.xxx.com/admin

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

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
8 Mar 2012, 5:51 PM
#4
jerry5763837 avatar

jerry5763837

Zen Follower

Join Date:
May 2008
Posts:
261
Plugin Contributions:
0

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:

  $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';
8 Mar 2012, 7:43 PM
#5
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

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

Jerry5763837:

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