Jewels78 Posted March 12, 2006 Posted March 12, 2006 Hello, I wanted to rename my Admin directory to something else. I replaced all the "admin" word I could find in the admin/includes/configure.php Now, when I try to access it, I get a Parse error: parse error, unexpected T_STRING in /home/usename/public_html/cart/whatsup/includes/configure.php on line 13 Could anybody please help? I tried looking for anything I may have omitted or missed, but no luck so far. I'm new to all of this, so I apologize if this is a dumb question. Here is part of the script: define('DIR_FS_DOCUMENT_ROOT', '/home/username/public_html'); // where the pages are located on the server define('DIR_WS_WHATSUP', '/cart/whatsup/'); // absolute path required define('DIR_FS_WHATSUP', '/home/username/public_html/cart/whatsup/'); // absolute path required define('DIR_WS_CATALOG', '/cart/'); // absolute path required define('DIR_FS_CATALOG', '/home/username/public_html/cart/'); // absolute path required define('DIR_WS_IMAGES', 'images/'); I'd greatly appreciate it! :blush:
Avec Posted March 12, 2006 Posted March 12, 2006 Did you actually change WS_ADMIN to WS_WHATSUP? If you did, that is a problem. The only thing you need to change is the path names. Should be like define('DIR_WS_ADMIN','/cart/whatsup/')
sweetndesign Posted March 12, 2006 Posted March 12, 2006 can someone help me also? not sure where the line starts here i totally messed up the text on my main page trying to edit it (i am NOT a programmer) check out my mess at http://mikesfabrics.com/sales/catalog according to what i have read there is a way to turn that tex off and just add a intro above this is one seriously lost old lady here, the install was easy after 6 hours of trial and error and reading documentation i managed my first, the second i installed using the button my hosting co provides 10 min the images were easy by creating my own and keeping the name the same but the text is bad kicking my but please help if possible my clients site says something like this ..' image/text . : ; . I only charged her a small amt for this but i will gladly share
Jewels78 Posted March 13, 2006 Author Posted March 13, 2006 Hi Avec, Thank you so much for the reply. I changed the part back to ADMIN, but it still comes up with the same Parse Error.... Did I really screw things up? I didn't back up the file before doing this, am I screwed? Sweetndesign, I'm sorry I can't help you. I hope somebody else will respond. I'm completely new to all of this. If anybody could help, I would really really appreciate it! -Linda :rolleyes: :(
♥Vger Posted March 13, 2006 Posted March 13, 2006 In includes/languages/english/index.php remove all of the default text and line 13 should look like this: define('TEXT_MAIN', ''); then you can change it like so: define('TEXT_MAIN', 'Put some new text here'); If you enter text which uses apostrophies then take note of this: Let's = wrong Let\'s = right Else you'll get a parse error. Vger can someone help me also? not sure where the line starts herei totally messed up the text on my main page trying to edit it (i am NOT a programmer) check out my mess at http://mikesfabrics.com/sales/catalog according to what i have read there is a way to turn that tex off and just add a intro above this is one seriously lost old lady here, the install was easy after 6 hours of trial and error and reading documentation i managed my first, the second i installed using the button my hosting co provides 10 min the images were easy by creating my own and keeping the name the same but the text is bad kicking my but please help if possible my clients site says something like this ..' image/text . : ; . I only charged her a small amt for this but i will gladly share
♥Vger Posted March 13, 2006 Posted March 13, 2006 Take a look in the Tips & Tricks Forum and you should find a thread on how to set up your configure.php files. In your configure.php file a Parse Error message usually means you've missed out an opening or closing apostrophy somewhere. Vger Hi Avec, Thank you so much for the reply. I changed the part back to ADMIN, but it still comes up with the same Parse Error.... Did I really screw things up? I didn't back up the file before doing this, am I screwed? Sweetndesign, I'm sorry I can't help you. I hope somebody else will respond. I'm completely new to all of this. If anybody could help, I would really really appreciate it! -Linda :rolleyes: :(
Jewels78 Posted March 15, 2006 Author Posted March 15, 2006 Take a look in the Tips & Tricks Forum and you should find a thread on how to set up your configure.php files. In your configure.php file a Parse Error message usually means you've missed out an opening or closing apostrophy somewhere. Vger Hello, I just wanted to say thank you. I've resolved the problem and am very happy I chose OsCommerce! You guys rock! Linda :D
Recommended Posts
Archived
This topic is now archived and is closed to further replies.