Zen Cart Logo
Forums / Installing on a Windows Server / Installing with WAMP5

Installing with WAMP5

Locked

Views: 29,131

Results 41 to 60 of 88
This thread is locked. New replies are disabled.
6 May 2007, 4:07 AM
#41
ckosloff avatar

ckosloff

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.

6 May 2007, 5:53 AM
#42
meltdown avatar

meltdown

Totally Zenned

Join Date:
Jun 2006
Location:
My family and I live in Brighton, England
Posts:
947
Plugin Contributions:
0

Re: Installing with WAMP5

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 61

and 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 of

admin
admin

once 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.

6 May 2007, 6:51 AM
#43
meltdown avatar

meltdown

Totally Zenned

Join Date:
Jun 2006
Location:
My family and I live in Brighton, England
Posts:
947
Plugin Contributions:
0

Re: Installing with WAMP5

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

7 May 2007, 12:04 AM
#44
oxicottin avatar

oxicottin

Zen Follower

Join Date:
Aug 2006
Location:
West Virginia
Posts:
320
Plugin Contributions:
0

Re: Installing with WAMP5

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

7 May 2007, 12:13 AM
#45
oxicottin avatar

oxicottin

Zen Follower

Join Date:
Aug 2006
Location:
West Virginia
Posts:
320
Plugin Contributions:
0

Re: Installing with WAMP5

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.

7 May 2007, 1:19 AM
#46
ckosloff avatar

ckosloff

Totally Zenned

Join Date:
Feb 2007
Location:
South Florida, USA
Posts:
1,375
Plugin Contributions:
0

Re: Installing with WAMP5

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.

7 May 2007, 1:28 AM
#47
oxicottin avatar

oxicottin

Zen Follower

Join Date:
Aug 2006
Location:
West Virginia
Posts:
320
Plugin Contributions:
0

Re: Installing with WAMP5

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...

7 May 2007, 3:05 AM
#48
ckosloff avatar

ckosloff

Totally Zenned

Join Date:
Feb 2007
Location:
South Florida, USA
Posts:
1,375
Plugin Contributions:
0

Re: Installing with WAMP5

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.

7 May 2007, 4:34 AM
#49
oxicottin avatar

oxicottin

Zen Follower

Join Date:
Aug 2006
Location:
West Virginia
Posts:
320
Plugin Contributions:
0

Re: Installing with WAMP5

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:

7 May 2007, 6:08 AM
#50
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: Installing with WAMP5

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.

7 May 2007, 6:19 AM
#51
meltdown avatar

meltdown

Totally Zenned

Join Date:
Jun 2006
Location:
My family and I live in Brighton, England
Posts:
947
Plugin Contributions:
0

Re: Installing with WAMP5

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!

7 May 2007, 11:10 AM
#52
oren avatar

oren

New Zenner

Join Date:
May 2007
Posts:
1
Plugin Contributions:
0

Re: Installing with WAMP5

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.

7 May 2007, 1:19 PM
#53
oxicottin avatar

oxicottin

Zen Follower

Join Date:
Aug 2006
Location:
West Virginia
Posts:
320
Plugin Contributions:
0

Re: Installing with WAMP5

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:

7 May 2007, 7:29 PM
#54
ckosloff avatar

ckosloff

Totally Zenned

Join Date:
Feb 2007
Location:
South Florida, USA
Posts:
1,375
Plugin Contributions:
0

Re: Installing with WAMP5

Oxi,
In what section did you post?
I cannot find the tut...

7 May 2007, 8:10 PM
#55
oxicottin avatar

oxicottin

Zen Follower

Join Date:
Aug 2006
Location:
West Virginia
Posts:
320
Plugin Contributions:
0

Re: Installing with WAMP5

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:

10 May 2007, 1:35 AM
#56
ckosloff avatar

ckosloff

Totally Zenned

Join Date:
Feb 2007
Location:
South Florida, USA
Posts:
1,375
Plugin Contributions:
0

Re: Installing with WAMP5

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?

10 May 2007, 3:02 AM
#57
ckosloff avatar

ckosloff

Totally Zenned

Join Date:
Feb 2007
Location:
South Florida, USA
Posts:
1,375
Plugin Contributions:
0

Re: Installing with WAMP5

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?

10 May 2007, 3:07 AM
#58
ckosloff avatar

ckosloff

Totally Zenned

Join Date:
Feb 2007
Location:
South Florida, USA
Posts:
1,375
Plugin Contributions:
0

Re: Installing with WAMP5

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.

10 May 2007, 3:42 AM
#59
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: Installing with WAMP5

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

10 May 2007, 12:40 PM
#60
oxicottin avatar

oxicottin

Zen Follower

Join Date:
Aug 2006
Location:
West Virginia
Posts:
320
Plugin Contributions:
0

Re: Installing with WAMP5

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!