Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Relocating and renaming admin


condog_aus

Recommended Posts

Posted

My file manager in cpanel does not allow passwords unless they are in /httpsdocs/

 

Ive read about a fex contributions, but ive made too many changes to start over with virgin files.

 

my shop runs from /httpdocs/shop

 

1. If i rename admin to say "santa" as an example and relocate it to httpsdocs/santa what script and where is it located do i need to change to get admin fully functioning? and

 

2. Do i just apply a password through httpsdocs in cpanel

 

Thanks in advance.

Posted

You will need to edit admin(santa)/includes/configure.php to point to the new location - then add your passwrod thru cPanel :D

 

Matti

Posted

So let me get this straight

 

1. Move admin to httpsdocs/

2. Rename admin to say "santa" for example

3. Go into httpsdocs/santa/includes/santa.php and point it to its own new location . Hmmmm??????? doesnt seem right.

Posted

Im assuming this is the line to modify. ive hasshed out some detail for security

 

define('DIR_FS_ADMIN', '/home/httpd/vhosts/t######.com.au/httpdocs/shop/admin');

 

 

Would i change that to

 

('DIR_FS_ADMIN', '/home/httpd/vhosts/t######.com.au/httpsdocs/santa');

 

or

 

('DIR_FS_ADMIN', '/home/httpsd/vhosts/t######.com.au/httpsdocs/santa');

 

or

 

('DIR_FS_SANTA', '/home/httpd/vhosts/t######.com.au/httpdocs/santa');

Posted

httpsdocs/santa/includes/configure.php

 

Yes, this must be done - take a look at it and you will see :D

 

Matti

Posted

define('DIR_WS_ADMIN', '/shop/admin/');

define('DIR_FS_ADMIN', '/home/httpd/vhosts/t#####.com.au/httpdocs/shop/admin')

 

missed first bit above

Posted

No tried about ten things and cant get it to work.

 

Can you just be sepcific in which bit i have to change and what i change it to

 

define('DIR_WS_ADMIN', '/shop/admin/');

define('DIR_FS_ADMIN', '/home/httpd/vhosts/t#####.com.au/httpdocs/shop/admin')

Posted

Sorry to vent but this is friggen rediculous that something everyone needs to do is so dam hard and not documented. I cant get specific reply and ive exhausted the search funtion to find hundreds of half baked replys.

 

 

Im about to smash this bloody thing and give up.

Posted
Sorry to vent but this is friggen rediculous that something everyone needs to do is so dam hard and not documented.  I cant get specific reply and ive exhausted the search funtion to find hundreds of half baked replys.

Im about to smash this bloody thing and give up.

 

I would try it in two steps.

 

First rename the admin folder to "santa" leaving it exactly where it is and make sure everything is working.

 

Then once that is done move the folder to where you want it to be and work on the correct paths. Doing two or three things at the same time you cannot be sure what the problem is.

The Knowledge Base is a wonderful thing.

Do you have a problem? Have you checked out Common Problems?

There are many very useful osC Contributions

Are you having trouble with a installed contribution? Have you checked out the support thread found Here

BACKUP BACKUP BACKUP!!! You did backup, right??

Posted

Why is it that nobody knows how to explain this exact procedure for such a bsic thing that everyone has to do . Can it not be done

 

If I change admin name to santa

 

then relocate it from httpdocs/shop/santa

 

to httpsdocs/santa

 

exactly what to i change in this line below, cause ive tried like 50 different strings and none work

 

 

define('DIR_WS_ADMIN', '/shop/admin/');

define('DIR_FS_ADMIN', '/home/httpd/vhosts/t#####.com.au/httpdocs/shop/admin')

Posted
Why is it that nobody knows how to explain this exact procedure for such a bsic thing that everyone has to do .  Can it not be done

 

If I change admin name to santa

 

then relocate it from httpdocs/shop/santa

 

to httpsdocs/santa

 

exactly what to i change in this line below, cause ive tried like 50 different strings and none work

define('DIR_WS_ADMIN', '/shop/admin/');

define('DIR_FS_ADMIN', '/home/httpd/vhosts/t#####.com.au/httpdocs/shop/admin')

 

Quit your whining and be patient for an answer! Maybe you can't follow instructions correctly on the above posts. Have you ever thought of that????!!!

 

I was able to do it on my own with no help so I guess that makes me a genius! :D

Posted
Why is it that nobody knows how to explain this exact procedure for such a bsic thing that everyone has to do ....

exactly what to i change in this line below, cause ive tried like 50 different strings and none work

define('DIR_WS_ADMIN', '/shop/admin/');

define('DIR_FS_ADMIN', '/home/httpd/vhosts/t#####.com.au/httpdocs/shop/admin')

If I remember right, you need to change more than just a couple of lines; you also need to change the admin config so that the paths for the catalog are correct (they won't be once you move the admin directory). But it was ages ago when I did this, so I'm not sure on specifics (and don't have the time to go back and work it out).

 

...and having a go at everyone is really not going to get you very far.

 

Rich.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...