Guest TMarie Posted September 10, 2006 Share Posted September 10, 2006 after installing cubecart for the first time and following all the instructions i get a 404 error when i try to access the adin page. i have tried to reupload the admin folder and that did not help here is the site: http://shop.thepamperedglider.com Quote Link to comment Share on other sites More sharing options...
roban Posted September 10, 2006 Share Posted September 10, 2006 Look at your includes/global.inc file. Make sure your url path is correct, ie. Your path has a problem. If you go to http://www.shop.thepamperedglider.com/admin/ you will see the log in screen if you delete the 'shop' part. (although there's a path problem there) Right now your admin log in path is http://www.shop.thepamperedglider.com/shop/admin/ You see that extra 'shop' ? That's one of your path problems. If you can post your global.inc file here, we'll try to help you sort it out. Quote Link to comment Share on other sites More sharing options...
Guest TMarie Posted September 10, 2006 Share Posted September 10, 2006 global inc appears to be fine and lists this: $glob['storeURL'] = 'http://shop.thepamperedglider.com'; the store front works but the admin doesn't which makes the store useless. Quote Link to comment Share on other sites More sharing options...
Guest vrakas Posted September 10, 2006 Share Posted September 10, 2006 Is that all there is in global.inc file? Quote Link to comment Share on other sites More sharing options...
Guest TMarie Posted September 10, 2006 Share Posted September 10, 2006 no: $glob['dbdatabase'] = 'pmpredgldrcubecart'; $glob['dbhost'] = 'mysql.powweb.com'; $glob['dbpassword'] = '*****'; $glob['dbprefix'] = ''; $glob['dbusername'] = '*******'; $glob['installed'] = '1'; $glob['rootDir'] = '/hermes/w/b/pow.pmpredgldr/htdocs/shop'; $glob['rootRel'] = '/shop'; $glob['storeURL'] = 'http://shop.thepamperedglider.com'; Quote Link to comment Share on other sites More sharing options...
Guest TMarie Posted September 10, 2006 Share Posted September 10, 2006 i've tried removing the root shop too since it's redundant (the subdomain goes to the subdirectory shop) and still nothing. i have tried going to www.thepamperedglider.com/shop/admin too and still nothing Quote Link to comment Share on other sites More sharing options...
roban Posted September 10, 2006 Share Posted September 10, 2006 You have a couple of problems here. As far as I can see your store is not in a directory called 'shop' so: $glob['rootDir'] = '/hermes/w/b/pow.pmpredgldr/htdocs'; $glob['rootRel'] = '/'; if it were shop it would be $glob['rootRel'] = '/shop/'; Quote Link to comment Share on other sites More sharing options...
Guest TMarie Posted September 10, 2006 Share Posted September 10, 2006 it is in a directory called shop so i'm not sure what you are referring to. i have a subdomain set up that points to to the directory shop on my server... that's how i've always done subdomains Quote Link to comment Share on other sites More sharing options...
roban Posted September 10, 2006 Share Posted September 10, 2006 Then I am confused, as your url does not say http://shop.thepamperedglider.com/shop that's why I assumed it was not. If it is then $glob['rootRel'] = '/shop'; should be $glob['rootRel'] = '/shop/'; and $glob['storeURL'] = 'http://shop.thepamperedglider.com/shop'; but the latter is not the case. Are you redirecting? Quote Link to comment Share on other sites More sharing options...
Guest TMarie Posted September 10, 2006 Share Posted September 10, 2006 yes as i said above the subdomain shop.thepamperedglider.com points to the directory shop on the server going to shop.thepamperedglider.com lets you open the store but it's really located in thepamperedglider.com/shop Quote Link to comment Share on other sites More sharing options...
Guest Brivtech Posted September 11, 2006 Share Posted September 11, 2006 AH HA! That's a common hosting configuration. You want: http://shop.thepamperedglider.com which you have done (Works fine), but you can't get into Admin, which is : http://shop.thepamperedglider.com/admin/ As Roban mentioned, your configuration is wrong. That's why the system can't find your files because it thinks they are here: http://shop.thepamperedglider.com/shop/admin/, which would be /shop/shop/admin/ on your server (Which is obviously wrong). At the moment, your admin area is located web-wise at http://www.thepamperedglider.com/shop/admin/ but you can't use it because of the messed up configuration. Subdomain folders set up like this can also be accessed through a www, with the subdomain name as the folder name, but this messes up with the way CubeCart works because of certain security controls is features. FIRSTLY BEFORE YOU GO ANY FURTHER PLEASE CHANGE YOUR PASSWORDS! You should never post passwords in a public forum, and have exposed yourself to a security vunerability. Secondly, the only line you should need to change is: $glob['rootRel'] = '/shop'; This SHOULD be: $glob['rootRel'] = '/'; (Which Roban already mentioned). If after doing this, you still haven't got it working, try uploading the entire Admin folder again. I've come across quite a few occasions where FTP software makes an error in uploading (They don't make the correct switch between binary and ascii mode properly sometimes). Quote Link to comment Share on other sites More sharing options...
Guest TMarie Posted September 11, 2006 Share Posted September 11, 2006 ;) don't worry..... i've been doing web admin for quite awhile now.. none of that login information is completely correct... i will try altering the config again and see what happens.. i've already reuploaded admin Quote Link to comment Share on other sites More sharing options...
Guest TMarie Posted September 11, 2006 Share Posted September 11, 2006 that worked.. thanks i hope this turns out well.. anyone know if it's compatible with joomla ... would be nice to use it on another site i have if all works well Quote Link to comment Share on other sites More sharing options...
Guest TMarie Posted September 12, 2006 Share Posted September 12, 2006 well the error returns... it seems my https server is having issues from what i can see but until they are resolved is there any way to take the secure settigns out so i can get into admin... it seems to give me a permanent lockout 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.