OK maybe i did something wrong along the way, but when i created my new database, i was not prompted to set a username and password. Can i go back and do it? Is it set without me knowing it? So at this point, i am not sure where i am anymore![]()
OK maybe i did something wrong along the way, but when i created my new database, i was not prompted to set a username and password. Can i go back and do it? Is it set without me knowing it? So at this point, i am not sure where i am anymore![]()
You should be able to go back into your webmaster panel and assign a user and password for the database.
Mary Ellen
I came; I saw; I Zenned
Taking over the world... one website at a time
Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.
Holzheimer
Fan Odyssey
Is there a way to go back and check the password of previous dbase? I am getting kind of lost in all those passwords and would like to make SURE i am using the exact same one.
When i asked my host if i could recover the password for the previous database, here was the answer:
"There is no way to recover these passwords. You need to delete the database user and then re-add it."
I kind of guessed that but wanted to make sure. Now, if i delete the database user and re-add it (with a known password) how will this affect my LIVE store??
Your /includes/configure.php will have the database user and password for your original db, as it needs to use them.
If you change user/password, change the /includes/configure.php and /admin/includes/configure.php to match.
Ok i did it. I have a clone of my store, but i have two little questions:
1- how do i access to the admin now? since i didn`t change anything other than the store is now called storetest, i thought i would use the exact same link while correcting this store name, but when i do, i get this error message:
0 DB_ERROR_NOT_CONNECTED
in:
[db_cache table]
If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.
Did i forget something along the way?
Second question: how can i make sure that nobody visits the site an mistakenly tries to order something?
Cassel
Did you run fix_cache_key.php in the new, copied store?
Also, if you try to access both copies of the site in the same browser session (using browser TABS), you can get a session confusion problem.
20 years a Zencart User
Where do i find the fix_cache_key.php file?
I found the file, and copied it to my storetest directory and ran it. It seemed to work and said Finished, without any error message, but then, i still cannot access the admin window.
Then, i thought i might have put it in the wrong place and i put it in the storetest/cache directory (where the index file is), and from there, it would not even let me run it in my browser.
I am sure i forget something tiny that prevents it from working. But what is it?