We will be doing some site maintenance and need to take the site down for 10 minutes.

Site will go down at 19:00 UTC

Forums / General Questions / Trying to rename my admin: I am missing something in my changes

Trying to rename my admin: I am missing something in my changes

Locked

Started by alwinch on 21 Sep 2008, 6:15 PM · Views: 907

Results 1 to 11 of 11
This thread is locked. New replies are disabled.
21 Sep 2008, 6:15 PM
#1
alwinch avatar

alwinch

New Zenner

Join Date:
Sep 2008
Posts:
56
Plugin Contributions:
0

Trying to rename my admin: I am missing something in my changes

Hi I've changed my configure.php to

define('DIR_WS_ADMIN', '/newpass/');
define('DIR_WS_CATALOG', '/');
define('DIR_WS_HTTPS_ADMIN', '/newpass/');
define('DIR_WS_HTTPS_CATALOG', '/');

define('DIR_FS_ADMIN', '/home/mystore.com/www/public/newpass/');
define('DIR_FS_CATALOG', '/home/mystore.com/www/public/');

I still get

http://www.mystore.com/zencart/admin/configuration.php?gID=4 and have to manully change "admin" to "newpass" everytime. did I miss a change omwhere?

thanks

21 Sep 2008, 7:01 PM
#2
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,691
Plugin Contributions:
0

Re: Trying to rename my admin: I am missing something in my changes

Did you make your changes to BOTH the includes/configure.php and the admin/includes/configure.php and rename the admin directory to your new name?

Please do not PM for support issues: a private solution doesn't benefit the community.

Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

21 Sep 2008, 9:24 PM
#3
soba avatar

soba

New Zenner

Join Date:
Jan 2008
Location:
EGYPT
Posts:
66
Plugin Contributions:
0

Re: Trying to rename my admin: I am missing something in my changes

reaname the admin folder :blush:

21 Sep 2008, 9:38 PM
#4
alwinch avatar

alwinch

New Zenner

Join Date:
Sep 2008
Posts:
56
Plugin Contributions:
0

Re: Trying to rename my admin: I am missing something in my changes

admin folder is changed. When I go to admin page it load fine to the main page. Just every link still refers back to the old naming and I have to manually type in the new name. Someone thought maybe I didn't change the includes.configure.php but mine does not have any admin sttings to change. I changed all of them in the newadminname/ includes/configure.php so the amin page does load

21 Sep 2008, 10:34 PM
#5
soba avatar

soba

New Zenner

Join Date:
Jan 2008
Location:
EGYPT
Posts:
66
Plugin Contributions:
0

Re: Trying to rename my admin: I am missing something in my changes

try to clear internet cookies

then log to http://www.mystore.com/zencart/newadmin.

must work

22 Sep 2008, 2:26 AM
#6
alwinch avatar

alwinch

New Zenner

Join Date:
Sep 2008
Posts:
56
Plugin Contributions:
0

Re: Trying to rename my admin: I am missing something in my changes

Thanks for trying to help. I did not get it to work.
So I changed the configure.php back to the admin and reanamed the folder to admin and now I can't even get the log in page.

this is what I changed it back to adn renamed teh folder admin

define('DIR_WS_ADMIN', '/zencart/admin/');
define('DIR_WS_CATALOG', '/zencart/');
define('DIR_WS_HTTPS_ADMIN', '/zencart/admin/');
define('DIR_WS_HTTPS_CATALOG', '/zencart/');

define('DIR_FS_ADMIN', '/site/zencart/admin/');
define('DIR_FS_CATALOG', '/site/admin/');

did I screw somthing up?

22 Sep 2008, 4:19 AM
#7
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Trying to rename my admin: I am missing something in my changes

This does not look correct:

define('DIR_FS_ADMIN', '/site/zencart/admin/');
define('DIR_FS_CATALOG', '/site/admin/');

It could also be related to your URL etc. in the file ...

Does your Catalog run?

If so, compare your file in the Catalog configure.php
/includes/configure.php

with the one in the Admin configure.php
/admin/includes/configure.php

They should be very similar ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

22 Sep 2008, 7:27 PM
#8
alwinch avatar

alwinch

New Zenner

Join Date:
Sep 2008
Posts:
56
Plugin Contributions:
0

Re: Trying to rename my admin: I am missing something in my changes

I am unable to repair this. My store works https://www.awdwest.com/zencartI've changed everything back to "admin" including the name of the folder. The two configure.php are the same.

When I run

https://www.awdwest.com/zencart/admin I get an error page and no log in. Any help is appreciated

define('DIR_WS_ADMIN', '/zencart/admin/');
define('DIR_WS_CATALOG', '/zencart/');
define('DIR_WS_HTTPS_ADMIN', '/zencart/admin/');
define('DIR_WS_HTTPS_CATALOG', '/zencart/');

define('DIR_WS_IMAGES', 'images/');
define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
define('DIR_WS_CATALOG_IMAGES', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'images/');
define('DIR_WS_CATALOG_TEMPLATE', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'includes/templates/');
define('DIR_WS_INCLUDES', 'includes/');
define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');
define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');
define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');
define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');
define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');
define('DIR_WS_CATALOG_LANGUAGES', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'includes/languages/');

// * DIR_FS_* = Filesystem directories (local/physical)
//the following path is a COMPLETE path to your Zen Cart files. eg: /var/www/vhost/accountname/public_html/store/
define('DIR_FS_ADMIN', '/hermes/web06/b2982/moo.mysite/zencart/admin/');
define('DIR_FS_CATALOG', '/hermes/web06/b2982/moo.mysite/zencart/');

22 Sep 2008, 8:06 PM
#9
alwinch avatar

alwinch

New Zenner

Join Date:
Sep 2008
Posts:
56
Plugin Contributions:
0

Re: Trying to rename my admin: I am missing something in my changes

I can log in now to the main page of the cart. with admin/admin.php

But every link on the cart gives me an error and takes me to just a listing of the links

the error code is obect expected and then a line and character

is this a problem with one of the configure.php files?

thanks

22 Sep 2008, 8:40 PM
#10
alwinch avatar

alwinch

New Zenner

Join Date:
Sep 2008
Posts:
56
Plugin Contributions:
0

Re: Trying to rename my admin: I am missing something in my changes

That since I can log in and get to the cart home page but can't access any of the catagories that the problem is in the store/includes/configure.php?

define('HTTP_SERVER', 'http://www.awdwest.com');
define('HTTPS_SERVER', 'https://protected.fatcow.com/login1');

define('ENABLE_SSL', 'true')

define('DIR_WS_CATALOG', '/zencart/');
define('DIR_WS_HTTPS_CATALOG', '/zencart/');

define('DIR_WS_IMAGES', 'images/');
define('DIR_WS_INCLUDES', 'includes/');
define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');
define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');
define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');
define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');
define('DIR_WS_DOWNLOAD_PUBLIC', DIR_WS_CATALOG . 'pub/');
define('DIR_WS_TEMPLATES', DIR_WS_INCLUDES . 'templates/');

define('DIR_WS_PHPBB', '/');

define('DIR_FS_CATALOG', '/hermes/web06/b2982/moo.login1/zencart/');

define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');
define('DIR_WS_UPLOADS', DIR_WS_IMAGES . 'uploads/');
define('DIR_FS_UPLOADS', DIR_FS_CATALOG . DIR_WS_UPLOADS);
define('DIR_FS_EMAIL_TEMPLATES', DIR_FS_CATALOG . 'email/');

// define our database connection
define('DB_TYPE', 'mysql');
define('DB_PREFIX', '');
define('DB_SERVER', 'login1.fatcowmysql.com');
define('DB_SERVER_USERNAME', 'ausername');
define('DB_SERVER_PASSWORD', password);
define('DB_DATABASE', 'zencart');
define('USE_PCONNECT', 'false');
define('STORE_SESSIONS', 'db');

DIR_FS_SQL_CACHE to a directory where your apache

define('SQL_CACHE_METHOD', 'none');
define('DIR_FS_SQL_CACHE', '/hermes/web06/b2982/moo.login1/zencart/cache');

help?

thanks

22 Sep 2008, 9:08 PM
#11
soba avatar

soba

New Zenner

Join Date:
Jan 2008
Location:
EGYPT
Posts:
66
Plugin Contributions:
0

Re: Trying to rename my admin: I am missing something in my changes

check you private massage