Help - Search - Members - Calendar
Full Version: Cant access admin page
CubeCart Forums > CubeCart Version 3 > Installation & Upgrade Help (Version 3)
jsox79
i have tried everything ive read here. changing relative root adding a slash here and there, nothing.

heres my global inc
<?php
$glob['dbdatabase'] = 'SBHCanada';
$glob['dbhost'] = 'localhost';
$glob['dbpassword'] = 'daks001';
$glob['dbprefix'] = '';
$glob['dbusername'] = 'Canada';
$glob['installed'] = '1';
$glob['rootDir'] = '/var/www/vhosts/surfboardhacker.net/httpsdocs/canada/';
$glob['rootRel'] = '/';
$glob['storeURL'] = 'https://209.250.234.170/canada';
?>

the domain has not been forwarded yet to the new server as I run two stores one for us and one for canada. I root both boxes, can anyone shed some light on this.

The problem seems that it tries to call admin twice
so i get
https://209.250.234.170/canada/admin/admin/...admin/index.php
i know this is ultimately is a conf problem. thanks in advance.
jsox79
okay,

it must be this version of cubecart.
because ive read many posts that are similar to mine, and all include the newest build. Ive installed cubecart many times, on subdomains, domains, linux, windows, w/e. never have i had such a problem so im going to delete the subdomain and try with 3.015, and i bet i dont have any problems. as before somehow the script is throwing an extra admin in there. admin/admin/login.php

anybody else?
dtmswebmaster
QUOTE(jsox79 @ Jun 16 2007, 10:41 PM) *
i have tried everything ive read here. changing relative root adding a slash here and there, nothing.

heres my global inc
<?php
$glob['dbdatabase'] = 'SBHCanada';
$glob['dbhost'] = 'localhost';
$glob['dbpassword'] = '*removed*';
$glob['dbprefix'] = '';
$glob['dbusername'] = 'Canada';
$glob['installed'] = '1';
$glob['rootDir'] = '/var/www/vhosts/surfboardhacker.net/httpsdocs/canada/';
$glob['rootRel'] = '/';
$glob['storeURL'] = 'https://209.250.234.170/canada';
?>

the domain has not been forwarded yet to the new server as I run two stores one for us and one for canada. I root both boxes, can anyone shed some light on this.

The problem seems that it tries to call admin twice
so i get
https://209.250.234.170/canada/admin/admin/...admin/index.php
i know this is ultimately is a conf problem. thanks in advance.



Ok.. before I even try to troubleshoot this problem, I HIGHLY recommend you change your db pass and try to remember to hide passwords as many ppl read these forums.
vivwatts
Hi I've just installed cubecart and am getting the same just an error page not found when i try to
go to /shop/admin/

HELP PLEASE!!!
roban
Try this:

$glob['rootDir'] = '/var/www/vhosts/surfboardhacker.net/httpdocs/canada/';
$glob['rootRel'] = '/';
$glob['storeURL'] = 'http://www.surfboardhacker.net/canada';

https should only come into play at checkout and your admin control panel.
rbpill2
Sorry to bump an old thread, but I was having this same problem over the weekend.
Whenever I would try to access the admin area (domain.com/admin), it would end up putting an extra admin level in there (domain.com/admin/admin/index.php?act=somethingblah).

In global.inc I had to add a slash in rootRel. (My store is in the domain root directory)

BEFORE
$glob['rootRel'] = '';

AFTER
$glob['rootRel'] = '/';

Apparently "blank" and "slash" aren't the same thing. on2long.gif

Anyway, just adding the slash fix'd it for me.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.