Zen Cart Logo
Forums / General Questions / Renaming Admin- Configuration Woes!!

Renaming Admin- Configuration Woes!!

Locked

Views: 1,009

Results 1 to 9 of 9
This thread is locked. New replies are disabled.
16 Mar 2007, 6:36 PM
#1
jemenvy avatar

jemenvy

New Zenner

Join Date:
Mar 2007
Location:
Alberta, Canada
Posts:
20
Plugin Contributions:
0

Renaming Admin- Configuration Woes!!

Greetings!! I am a new Zenner... needing a bit of help.

I have followed the instructions to rename the Admin directory, and the two seperate configure.php files. It's not working.

I am sure I've followed them exactly, but obviously I'm missunderstanding something, somewhere... I am getting these two error messages when I try to log back into my admin area.

Warning: Unexpected character in input: '' (ASCII=92) state=1 in /home/jemenvyc/public_html/sukyinimages/includes/configure.php on line 2

Parse error: syntax error, unexpected T_STRING in /home/jemenvyc/public_html/sukyinimages/includes/configure.php on line 2

Can someone help, pretty please??! :cry:

I am very much stuck!

16 Mar 2007, 7:10 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Renaming Admin- Configuration Woes!!

Can you post the top lines of the configure.php file here? Do not include your DB user or pass if you post these lines

16 Mar 2007, 8:02 PM
#3
jemenvy avatar

jemenvy

New Zenner

Join Date:
Mar 2007
Location:
Alberta, Canada
Posts:
20
Plugin Contributions:
0

Re: Renaming Admin- Configuration Woes!!

I realize that this question has probably been answered 1000 times over... I just can't find the info I need.

Now, to your question... which of the two configure.php files do you need to see? Or is either fine?

I really appreciate your patience, understanding and help!

16 Mar 2007, 8:11 PM
#4
jemenvy avatar

jemenvy

New Zenner

Join Date:
Mar 2007
Location:
Alberta, Canada
Posts:
20
Plugin Contributions:
0

Re: Renaming Admin- Configuration Woes!!

I hope I'm giving you the right info and not the WRONG info...

Here goes...

/*************** NOTE: This file is similar, but DIFFERENT from the "admin" version of configure.php. /
/
**** The 2 files should be kept separate and not used to overwrite each other. ***********/

// Define the webserver and path parameters
// HTTP_SERVER is your Main webserver: eg, http://www.yourdomain.com
// HTTPS_SERVER is your Secure webserver: eg, https://www.yourdomain.com

define('HTTP_SERVER', 'http://jemenvy.com');
define('HTTPS_SERVER', 'https://jemenvy.com');
// Use secure webserver for checkout procedure?
define('ENABLE_SSL', 'false');
// NOTE: be sure to leave the trailing '/' at the end of these lines if you make changes!
// * DIR_WS_* = Webserver directories (virtual/URL)
// these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder)
define('DIR_WS_CATALOG', '/sukyinimages/');
define('DIR_WS_HTTPS_CATALOG', '/sukyinimages/');
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', '/');
// * 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_CATALOG', '/home/jemenvyc/public_html/sukyinimages/');
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/');

17 Mar 2007, 12:27 AM
#5
ajeh avatar

ajeh

Oba-san

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

Re: Renaming Admin- Configuration Woes!!

Do you have Zen Cart loaded in both your root as well as your directory:
/sukyinimages

Also, look at the top of your file:
/includes/configure.php

Make sure that there isn't any foreign text in there ...

It should start with:

<?php
/**
 *
 * @package Configuration Settings
 * @copyright Copyright 2003-2006 Zen Cart Development Team
 * @copyright Portions Copyright 2003 osCommerce
 * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
 */


/*************** NOTE: This file is similar, but DIFFERENT from the "admin" version of configure.php. ***********/
/***************       The 2 files should be kept separate and not used to overwrite each other.      ***********/

// Define the webserver and path parameters
  // HTTP_SERVER is your Main webserver: eg, http://www.yourdomain.com
  // HTTPS_SERVER is your Secure webserver: eg, https://www.yourdomain.com

And then begins the define statements ...

17 Mar 2007, 12:51 AM
#6
jemenvy avatar

jemenvy

New Zenner

Join Date:
Mar 2007
Location:
Alberta, Canada
Posts:
20
Plugin Contributions:
0

Re: Renaming Admin- Configuration Woes!!

Hello, Thank you for taking a look....

As far I can see, I do have zen cart installed in both directories.
I used Fantastico (through my server) to download and install it.

To my untrained eye it looks like everything is where it should be.
As for the configure.php file(s), there isn't any text in the file that shouldn't be there (based on your previous reply).

I am very much a novice! While the instructions for renaming the Admin folder seemed very straight forward, it just isn't working.

Any other thoughts on what the issue might be?

Thanks again for your help.

17 Mar 2007, 12:56 AM
#7
ajeh avatar

ajeh

Oba-san

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

Re: Renaming Admin- Configuration Woes!!

Make sure that you are looking at the configure.php on the server that is located at:
/includes/configure.php

If this is a clean install, I'd be inclined to say to decide do you want Zen Cart in your root or a subdirectory?

Then, remove all files and reinstall, not with Fantastico but by doing a download from our Download link at the top of your screen ...

Unzip this to a directory on your computer and then FTP it to your server with a good FTP program ...

Clean out your database ...
NOTE: if you are using more than Zen Cart with your database then this needs to be done carefully, otherwise you can just drop all of the tables

NOTE: be sure that you know your database name, username and password for your database

And then do a fresh install ...

17 Mar 2007, 5:25 AM
#8
jemenvy avatar

jemenvy

New Zenner

Join Date:
Mar 2007
Location:
Alberta, Canada
Posts:
20
Plugin Contributions:
0

Re: Renaming Admin- Configuration Woes!!

Hello!

I have just completed your suggestion to reinstall all the Zen software.
It seems to be working just fine now! I can't tell you how happy I am at this very instant. :thumbsup:

Now, all I have to do is master the art of the Zen Cart override system. lol

I am really greatful for your prompt and wise guidance!
Thank you so much, Ajeh!

17 Mar 2007, 1:44 PM
#9
ajeh avatar

ajeh

Oba-san

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

Re: Renaming Admin- Configuration Woes!!

Thanks for the update and glad to hear that a new install was able to fix this issue ... :smile:

Good luck with your shop!!