Jump to content

Cant access admin page


Guest jsox79

Recommended Posts

Guest 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.

Link to comment
Share on other sites

Guest 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?

Link to comment
Share on other sites

Guest dtmswebmaster

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.

Link to comment
Share on other sites

Guest 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!!!

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

  • 1 year later...
Guest 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. :wacko:

Anyway, just adding the slash fix'd it for me.

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.

Guest
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...