Jump to content

admin page gives 404 error


Guest TMarie

Recommended Posts

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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';

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

Guest Brivtech

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

Link to comment
Share on other sites

;) 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

Link to comment
Share on other sites

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

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