Re: Desperately need help with the rewards module!!
You are required to change the name of the 'admin' folder to something else of your choice when you install Zencart. If you have an 'admin' folder on your server, that's probably what your problem is. The files in the 'admin' folder in the mod belong in the folder you (or, I'm guessing, your host's auto-installer) changed the name of right after installing Zencart.
When you and countrycharm get it figured it out, please come back and let us know what the problem was. Might help someone else.
Re: Desperately need help with the rewards module!!
yes I will thank you so much for your help! You gave me something to look at. I still have the original files, maybe if I can figure out what the original admin file had in it, I can find out what it was renamed.
Re: Desperately need help with the rewards module!!
Stevesh and Country Charm Thank you... Thank you.... Thank you!!!!
Stevesh you were right! When I installed zen cart somehow it created an admin folder named adminurrhtcqq, I also had an admin folder. I moved all the files from the admin folder to the adminurrhtcqq folder and wala I now have menu items!!! I am sooo happy I don't know how to thank you guys! You are the best!! Now I just need to test it. I will keep my finger crossed! I need to try to figure out why I wasn't given the option to rename my own admin folder so this wouldn't have happened.
I am forever grateful to you both, and you are greatly appreciated!
Re: Desperately need help with the rewards module!!
Hi, One more question, please... Since my system automatically named my admin file adminurrhtcqq when zen cart was installed, can I change it now to something I would like to call it? Would this cause any problems? Would I have to modify any files to tell it the admin file named changed?
Thanks again in advance.
Re: Desperately need help with the rewards module!!
Quote:
can I change it now to something I would like to call it? Would this cause any problems? Would I have to modify any files to tell it the admin file named changed?
Not if you are using ZenCart 1.5.1 and the admin configure.php file that came with it
Download that file open it in a code editor and at about line 33 you should see this "preg_replace"
Code:
$t1 = parse_url(HTTP_SERVER);$p1 = $t1['path'];$t2 = parse_url(HTTPS_SERVER);$p2 = $t2['path'];
define('DIR_WS_ADMIN', preg_replace('#^' . str_replace('-', '\-', $p1) . '#', '', dirname($_SERVER['SCRIPT_NAME'])) . '/');
define('DIR_WS_CATALOG', '/');
define('DIR_WS_HTTPS_ADMIN', preg_replace('#^' . str_replace('-', '\-', $p2) . '#', '', dirname($_SERVER['SCRIPT_NAME'])) . '/');
define('DIR_WS_HTTPS_CATALOG', '/');
Re: Desperately need help with the rewards module!!
Actually, you don't have to edit anything if you're using version 1.5.x. Just change the name of the folder (which you must do, now that you've published the current name in a public forum).
Re: Desperately need help with the rewards module!!
Thank you all for your help!!!