Totally Zenned
- Join Date:
- Feb 2007
- Location:
- South Florida, USA
- Posts:
- 1,375
- Plugin Contributions:
- 0
Installing with WAMP5
Oxi,
Once you update your tut don't forget to resend to me too, please.
Views: 29,131
Totally Zenned
Oxi,
Once you update your tut don't forget to resend to me too, please.
Totally Zenned
In case anyone else here does what I did, I'm posting this beautifully simple fix:
The mistake I made:
After the initial rush of success of installing WAMP5 on my localhost and installing zencart locally for testing purposes, I made a (possibly) huge mistake:
I arrive at my admin login to see this error message:Quote:
Fatal error: Call to a member function Execute() on a non-object in C:\wamp\www\zencart\includes\functions\sessions.php on line 61and was unable to login.
Instead of investigating the error, I hit the "resend password" button out of frustration. However there is no email system in place on my localhost for a new password to be sent to.Now that I've resolved the error, I can't login!
Is there a work-around here or do I need to delete the whole thing and go through all the setup steps again?
The Fix:
in your phpmyadmin, run this SQL query
Code:
INSERT INTO admin VALUES ('', 'admin', 'admin@localhost', '351683ea4e19efe34874b501fdbf9792:9b', 1);this will create an admin and username ofadmin
adminonce in you can reset the password for the other one and then you can delete this one
For the fatal error fix, enter this in the seach field:
Fatal Error in Sessions.php line 61
There is a thread by that name with a fix in it.
Totally Zenned
So now that I have a test site up-&-running on localhost, how do I install modules to it?
Specifically I want to make a copy of my live site for testing purposes. As I understand it I can use the Backup MYSQL Plugin to achieve this. (in conjunction with moving a copy of my custom template file from live to local) But how do I install the Backup MYSQL Plugin to start? I'm so used to ftp'ing files to install modules hat I can't imaging how to do it locally. Do I use http://localhost/phpmyadmin/? If so, am I importing?
Thanks for any help in getting my brain around this - Tim
Zen Follower
Meltdown, Forget ftp all together! Just go into your c:/wamp/www/zencart folder and put the module files where they need to go then install the SQL if it comes with one. thats it!!!:P
Zen Follower
Meltdown, as for making a copy of your existing site on your local host just follow the directions on page 31. you dont need that backup module but if you want to use it do so or follow the directions on page 49-56. Just open the icon in the taskbar and select PhpMyAdmin and follow the directions in the tut.
Totally Zenned
Oxi,
I have a suggestion for you:
Please publish your tut as a contrib or download, I think that's what they call them here.
That will save you having to distribute or update it to your growing group of followers, you could then make versions of it.
I'm serious, your tut is great and you are now the WAMP5-Zen Cart man.
Just trying to take a load off you.
Zen Follower
ckosloff:
Oxi,
I have a suggestion for you:
Please publish your tut as a contrib or download, I think that's what they call them here.
That will save you having to distribute or update it to your growing group of followers, you could then make versions of it.
I'm serious, your tut is great and you are now the WAMP5-Zen Cart man.
Just trying to take a load off you.
Thanks ckosloff! I would like to I will have to read into how its done. Right now I was working on splitting up the zen from the wamp in the pdf table of contence so you didnt have to dig for the info. I will be done here shortly...
Totally Zenned
oxicottin:
Thanks ckosloff! I would like to I will have to read into how its done. Right now I was working on splitting up the zen from the wamp in the pdf table of contence so you didnt have to dig for the info. I will be done here shortly...
Easy as pie. You have to be logged in, then downloads --> click on button "Submit your file" and follow the prompts.
Zen Follower
ckosloff:
Easy as pie. You have to be logged in, then downloads --> click on button "Submit your file" and follow the prompts.
I tried but its giving me this error "There was a problem with the Contribution Upload File" I contacted Zen about it... In the meantime feel free to Pm But still put your fixes or problems here:blink:
Sensei
oxicottin:
I tried but its giving me this error "There was a problem with the Contribution Upload File"It would be better to have posted in the forum for "Support Site Questions" rather than email.
Please retry your upload. The file was greater than the 2MB limit previously set.
Totally Zenned
ckosloff:
Oxi,
I have a suggestion for you:
Please publish your tut as a contrib or download, I think that's what they call them here.
That will save you having to distribute or update it to your growing group of followers, you could then make versions of it.
I'm serious, your tut is great and you are now the WAMP5-Zen Cart man.
Just trying to take a load off you.
I agree - This contribution is invaluable. Originally, after having downloaded WAMP5, I abandoned it as being too complicated to take-on at the moment. Your tutorial has made it a do-able task!
New Zenner
Oxicottin, thanks for the tutorial. Great contribution.
However, I need some help with the following:
§ I have installed WAMP5 on my PC using all the defaults.
§ I have enabled port 80 and port 3306 on the firewall
§ The WAMP5 icon shows that all services are running
§ When trying to access phpMyAdmin I get the following error message
#2003 – The server is not responding
I have been trying for few hours now to find a solution with no success.
Can anyone help, please?
Thanks.
Zen Follower
DrByte:
It would be better to have posted in the forum for "Support Site Questions" rather than email.
Please retry your upload. The file was greater than the 2MB limit previously set.
Thanks DrByte it worked!:smile:
Totally Zenned
Oxi,
In what section did you post?
I cannot find the tut...
Zen Follower
ckosloff:
Oxi,
In what section did you post?
I cannot find the tut...
Its awaiting aproval so it might be a few days. I posted it in the troubleshooting section.....:blink:
Totally Zenned
Oxi,
I cannot open any of the files attached to the tut.
"Acrobat cannot open the file attachment XXX because your PDF file attachment settings do not allow this file type to be opened."
I'm using Acrobat Reader 8, and I tried tweaking the Document --> Security Settings unsuccessfully.
Any suggestions?
Totally Zenned
New question: unable to rename dist-configure.php to configure.php in admin/includes and includes, a file with that name already exists.
So, delete dist-config?
Totally Zenned
Yet another one: this one is stupid.
How do I chmod on a local server?
I have never done this, I always chmoded via ftp or some webhost program.
Thanks.
Sensei
ckosloff:
Yet another one: this one is stupid.
How do I chmod on a local server?
I have never done this, I always chmoded via ftp or some webhost program.
Thanks.
You'll find a short paragraph on this in the eStart Your Webstore with Zen Cart book, on page 52.
You can also find it explained in this FAQ, located by searching for "chmod":
https://www.zen-cart.com/tutorials/index.php?article=9
Zen Follower
Ok my new tutorial is finished! Man is great for a newbie:P I made it from start to finish.... Just uploaded and waiting on approvial but I got an error so I dont know if it was uploaded so I will have to see:blink:
Warning: no file uploaded.
and
Success: file saved successfully.
So im not sure what I did I guss I will have to just wait!
Tell staff why this post should be reviewed.