Jump to content

login.php not respond, Blank page


Recommended Posts

Hi averyone, thanks for read this message, I upgrade to de new version and after that, I can not acces to the Login.php page, the web works but it is un accesible , can you help me in that, I check the admin.php but I do not know how can solve this. please see bellow

 * CubeCart v6
 * ========================================
 * CubeCart is a registered trade mark of CubeCart Limited
 * Copyright CubeCart Limited 2015. All rights reserved.
 * UK Private Limited Company No. 5323904
 * ========================================
 * Web:   http://www.cubecart.com
 * Email:  [email protected]
 * License:  GPL-3.0 https://www.gnu.org/licenses/quick-guide-gplv3.html
## Don't let anything be cached
header('Cache-Control: no-store, no-cache, must-revalidate');
header('Cache-Control: pre-check=0, post-check=0, max-age=0');
header("Expires: -1");
header("Pragma: no-cache");
header('X-Frame-Options: SAMEORIGIN'); // Do NOT allow iframes

## Include the ini file (required)
require 'ini.inc.php';

define('CC_IN_ADMIN', true);

## Include core functions
require 'includes/functions.inc.php';

## Include admin presession controller
include CC_ROOT_DIR.CC_DS.'controllers'.CC_DS.'controller.admin.pre_session.inc.php';

$feed_access_key = $GLOBALS['config']->get('config','feed_access_key');
$feed_access_key = (!$feed_access_key) ? '' : $feed_access_key;

if (Admin::getInstance()->is() || (isset($_GET['_g']) && $_GET['_g']=='products' && $_GET['node']=='export' && !empty($_GET['format']) && $_GET['access']==$feed_access_key && !empty($feed_access_key))) {
    if (version_compare(PHP_VERSION, '5.4') >= 0) {
        error_reporting(E_ALL ^ (E_NOTICE | E_DEPRECATED | E_USER_DEPRECATED));
    } else {
        $GLOBALS['main']->setACPWarning("WARNING: PHP ".PHP_VERSION." detected. Please upgrade to PHP 5.4 or above.");
    include CC_ROOT_DIR.CC_DS.'controllers'.CC_DS.'controller.admin.session.true.inc.php';
} else {
    include CC_ROOT_DIR.CC_DS.'controllers'.CC_DS.'controller.admin.session.false.inc.php';
// Render the completed page
if (!isset($suppress_output) || !$suppress_output) {

Link to comment
Share on other sites

Dear Dirty Butter, thanks for help.

I updated but not bookmark the new name after that, I rename admin.php name because I saw that it was changed sorry. now, I follow your advices en go toglobal.inc.php it says: <?php
$glob['adminFile'] = 'xxx'i;
$glob['adminFolder'] = 'yyy';
$glob['cache'] = 'file';
$glob['dbdatabase'] = 'zzz';
$glob['dbhost'] = 'localhost';
$glob['dbpassword'] = 'aaaa';
$glob['dbprefix'] = '';
$glob['dbusername'] = 'bbb';
$glob['installed'] = '1';


what I need to replace now? sorry I´m Beringer in php.




Link to comment
Share on other sites

You can change xxx and yyy to whatever you want, as long as the naming in the includes file matches exactly the naming of your admin folder and admin file.

You've displayed your password and other very private naming publicly, so it would be best if you could change the database info IF you understand how to do that.

Your login url will be your store_url/whatever you changed xxx to.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...