Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Admin Blank Page -please help-


baner

Recommended Posts

Posted
That will get rid of the E_STRICT and associated errors.

 

The things that are coming back undefined should be in /catalog/admin/languages/english/login.php

 

Below is an unmodified copy of that file:

 

<?php
/*
 $Id: login.php 1739 2007-12-20 00:52:16Z hpdl $

 osCommerce, Open Source E-Commerce Solutions
 [url="http://www.oscommerce.com"]http://www.oscommerce.com[/url]

 Copyright © 2007 osCommerce

 Released under the GNU General Public License
*/

define('HEADING_TITLE', 'Administrator Login');

define('TEXT_USERNAME', 'Username:');
define('TEXT_PASSWORD', 'Password:');

define('TEXT_CREATE_FIRST_ADMINISTRATOR', 'No administrators exist in the database table. Please fill in the following information to create the first administrator. (A manual login is still required after this step)');

define('ERROR_INVALID_ADMINISTRATOR', 'Error: Invalid administrator login attempt.');

define('BUTTON_LOGIN', 'Login');
define('BUTTON_CREATE_ADMINISTRATOR', 'Create Administrator');
?>

You may have accidentally replaced this one with the one from /catalog/includes/languages/english/login.php

 

Well I am getting less errors in the admin/login.php page:

Notice: Use of undefined constant E_STRICT - assumed 'E_STRICT' in /hermes/web02/b2005/ph.randybiehl/catalog/admin/includes/application_top.php on line 23

 

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /hermes/web02/b2005/ph.randybiehl/catalog/admin/includes/application_top.php:23) in /hermes/web02/b2005/ph.randybiehl/catalog/admin/includes/functions/sessions.php on line 102

 

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /hermes/web02/b2005/ph.randybiehl/catalog/admin/includes/application_top.php:23) in /hermes/web02/b2005/ph.randybiehl/catalog/admin/includes/functions/sessions.php on line 102

 

But still the same errors when I login.

 

The /admin/includes/application_top.php file all ready has the code looking like what you wanted me to change it to all ready.

// Set the level of error reporting

error_reporting(E_ALL | E_STRICT);

 

Any other suggestions? Thank you for all the help all ready!

 

Liz

Posted

Look closer at my post:

 

// Set the level of error reporting
 error_reporting(E_ALL & ~E_NOTICE);

THAT is what it should be.

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Posted
Look closer at my post:

 

// Set the level of error reporting
 error_reporting(E_ALL & ~E_NOTICE);

THAT is what it should be.

 

 

OMG it works now! Thanks so much. you were right I miss read your post I guess.

 

Thanks again for all your help ~ I'm eternally grateful :D

 

~Liz

  • 1 year later...
Posted

Hi Liz

 

silly me you need to do that in admin/includes/application top.php

 

and make that file in admin

 

Steve

 

 

THANK YOU! I've been at this for over 2 hours now! I would have never found the error where it was actually at without this.

  • 10 months later...
Posted

I have installed it works in frontend ike lightbox is working fine ut when i clicked Categories/Products in backend nothing happens,i mean the left menu and footer remain there but canter is blank,i have started a thread before coming here, i also posted code there so have a look and guide me fix it http://www.oscommerce.com/forums/topic/379349-blank-admincatgoriesphp/

 

anyways this is a great addon.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...