Guest jsox79 Posted June 17, 2007 Share Posted June 17, 2007 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. Quote Link to comment Share on other sites More sharing options...
Guest jsox79 Posted June 17, 2007 Share Posted June 17, 2007 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? Quote Link to comment Share on other sites More sharing options...
Guest dtmswebmaster Posted June 18, 2007 Share Posted June 18, 2007 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. Quote Link to comment Share on other sites More sharing options...
Guest vivwatts Posted June 23, 2007 Share Posted June 23, 2007 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!!! Quote Link to comment Share on other sites More sharing options...
roban Posted June 23, 2007 Share Posted June 23, 2007 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. Quote Link to comment Share on other sites More sharing options...
Guest rbpill2 Posted August 25, 2008 Share Posted August 25, 2008 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. Anyway, just adding the slash fix'd it for me. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.