Zen Cart Logo
Forums / Installing on a Windows Server / Updated wamp + zen cart tutorial for Zen Cart 1.3.8a and Wamp Server 2.0i

Updated wamp + zen cart tutorial for Zen Cart 1.3.8a and Wamp Server 2.0i

Locked

Views: 15,526

Results 1 to 20 of 21
This thread is locked. New replies are disabled.
11 Aug 2009, 00:51
#1
dakos avatar

dakos

New Zenner

Join Date:
Aug 2009
Posts:
11
Plugin Contributions:
0

Updated wamp + zen cart tutorial for Zen Cart 1.3.8a and Wamp Server 2.0i

This tutorial is for Zen Cart 1.3.8a and Wamp Server 2.0i.

Step 1:

Step 2:

  • Follow the steps in the .pdf tutorial to install wamp server.

Continue untill you hit Step 6 in "Setting up a root Password for WampServer".

Step 3:

  • In step 6 in "Setting up a root Password for WampServer", in the file C:\wamp\apps\phpmyadmin3.2.0.1\config.inc.php you need to ADD!!! in the end of the file but before the ?> sign the following lines:
    $cfg['blowfish_secret'] = 'd4uhpnfay9';
    $cfg['Servers'][$i]['auth_type'] = 'cookie'; // Authentication method (config, http or cookie based)?
    $cfg['Servers'][$i]['password'] = 'd4uhpnf9';
    $cfg['Servers'][$i]['AllowNoPasswordRoot'] = false;
    You need to do this without converting the file to DOS format. UltraEdit can do the editing without the conversion, get it at ultraedit.com

Continue untill you hit Step 12 in "Setting up a root Password for WampServer".

Step 4:

  • There is no php_mcrypt extension on wamp 2.0i, it's integrated now so there is no need to specifically add it.

Continue untill you hit Step 4 in "Install Zencart 1.3.7 on your new WampServer"

Step 5:

  • Use this address instead
    "http://localhost/zencart/zc_install/index.php"

Step 6:

  • In the file C:\wamp\www\zencart\zc_install\includes\application_top.php change line 22 and add a"@" in the begining of the line, instead of:
    set_magic_quotes_runtime(0);
    You get:
    @set_magic_quotes_runtime(0);

Continue untill you hit Step 4 in "Install Zencart 1.3.7 on your new WampServer"

Step 7:

  • We need to turn on ssl in apache.
    left click wamp icon->Apache->Apache modules->ssl_module
    Wait a minute or two.

I got stuck right after this step.

Step 8:

  • Create a database for zen cart:
    Open phpMyAdmin and goto Priviliges,
    click "Add New User"
    Username: zencart
    Host: Change the drop box to Local and type localhost
    Password: zencart
    Check "Create database with same name and grant all privileges"
    Select the following premissions:
  • SELECT
  • INSERT
  • UPDATE
  • DELETE
  • FILE (optional, but easiest to leave it checked)
  • CREATE
  • ALTER
  • INDEX
  • DROP
  • CREATE TEMPORARY TABLES (not required by the core code, but may be required by some addons)
  • LOCK TABLES (required for database backups)
    Press "Go"

So can someone help?

11 Aug 2009, 07:29
#2
dakos avatar

dakos

New Zenner

Join Date:
Aug 2009
Posts:
11
Plugin Contributions:
0

Re: Updated wamp + zen cart tutorial for Zen Cart 1.3.8a and Wamp Server 2.0i

OK, as I learned lately, Zen Cart 1.3.8a and Wamp Server 2.0i don't work together.

You need Wamp server version 2.0h.
You do everything the same except skip stap 6 and disregard step 4.
Even Step 8 goas smoothly.

Cheers

02 Sep 2009, 14:28
#3
agent_kgb avatar

agent_kgb

Zen Follower

Join Date:
Jan 2009
Posts:
111
Plugin Contributions:
0

Re: Updated wamp + zen cart tutorial for Zen Cart 1.3.8a and Wamp Server 2.0i

Any idea where i can download version 2.0h?

07 Sep 2009, 09:42
#5
jkidz avatar

jkidz

New Zenner

Join Date:
Sep 2009
Posts:
9
Plugin Contributions:
0

Re: Updated wamp + zen cart tutorial for Zen Cart 1.3.8a and Wamp Server 2.0i

What is the likely causes that make Step8 failed when using 2.0i as against 2.0h??

07 Sep 2009, 14:30
#6
drbyte avatar

drbyte

Sensei

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

Re: Updated wamp + zen cart tutorial for Zen Cart 1.3.8a and Wamp Server 2.0i

jkidz:

What is the likely causes that make Step8 failed when using 2.0i as against 2.0h??
Wampserver 2.0i contains PHP 5.3.0 which Zen Cart v1.3.8a and older are NOT compatible with. That's why you need to use the older version of wamp.

08 Sep 2009, 01:12
#7
jkidz avatar

jkidz

New Zenner

Join Date:
Sep 2009
Posts:
9
Plugin Contributions:
0

Re: Updated wamp + zen cart tutorial for Zen Cart 1.3.8a and Wamp Server 2.0i

DrByte:

Wampserver 2.0i contains PHP 5.3.0 which Zen Cart v1.3.8a and older are NOT compatible with. That's why you need to use the older version of wamp.

So, can I just d/l an older PHP addon and still run it under 2.0i??

The steps above is abit confusing as there are so many StepX in the manual and the post.. :P

08 Sep 2009, 04:27
#8
drbyte avatar

drbyte

Sensei

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

Re: Updated wamp + zen cart tutorial for Zen Cart 1.3.8a and Wamp Server 2.0i

I don't know the answer to your question, as I don't use wampserver.
I would suggest uninstalling the incompatible version of wampserver before installing the compatible version.

01 Dec 2009, 13:17
#9
eronkid avatar

eronkid

New Zenner

Join Date:
Nov 2009
Location:
Philippines
Posts:
19
Plugin Contributions:
0

Re: Updated wamp + zen cart tutorial for Zen Cart 1.3.8a and Wamp Server 2.0i

I am having this problem and I end up to this tutorial. I'll try this up and hope that it works for me. I'll say something later. Thank you.

01 Dec 2009, 13:45
#10
misty avatar

misty

Inactive

Join Date:
Apr 2004
Location:
UK
Posts:
5,752
Plugin Contributions:
1

Re: Updated wamp + zen cart tutorial for Zen Cart 1.3.8a and Wamp Server 2.0i

Today, installed Wamp on Windows7 laptop...only wamp version that would work is 2.0h, which has php 5.29 and so did not require zencart 1.3.8.a to be patched...

01 Dec 2009, 13:49
#11
eronkid avatar

eronkid

New Zenner

Join Date:
Nov 2009
Location:
Philippines
Posts:
19
Plugin Contributions:
0

Re: Updated wamp + zen cart tutorial for Zen Cart 1.3.8a and Wamp Server 2.0i

Ok, it works for me!... Thanks a lot dakos!

10 Mar 2010, 07:30
#12
renob avatar

renob

New Zenner

Join Date:
Mar 2010
Posts:
15
Plugin Contributions:
0

Re: Updated wamp + zen cart tutorial for Zen Cart 1.3.8a and Wamp Server 2.0i

Sorry for the post, but I can't seem to find a solution to my problem.
I am using windows Vista machine and trying to install ZC on local running wamp 2.0 based on the instructions outlined here:
http://www.zen-cart.com/forum/showthread.php?t=134435&highlight=wamp
and Setting_up_Zencart_On_WampServer_2 pdf.
I completed up to step 6 in the pdf file (step 3 in the post). I closed my browsers and re-started wamp as instructed and attemempted to log into phpMyAdmin and cannot get access. I am receiving the following message:

phpMyAdmin - Error

Cannot start session without errors, please check errors given in your PHP and/or webserver log file and configure your PHP installation properly.

I have checked my entries in the C:\wamp\apps\phpmyadmin3.2.0.1\config.inc.php file and everything seems correct. I even replaced the config.inc.php file with an unedited copy and still recieve the error. I edited the file using komodo edit.

I have been using wamp with no problems for Dreamweaver projects, but this is the first time I have attempted to set passwords.

Any help would be greatly appreciated!

10 Mar 2010, 14:09
#13
slomojojo avatar

slomojojo

Zen Follower

Join Date:
Feb 2009
Posts:
142
Plugin Contributions:
0

Re: Updated wamp + zen cart tutorial for Zen Cart 1.3.8a and Wamp Server 2.0i

RenoB,

Although this thread is 6 months old, the information in it's still current. Zencart, like a lot of other carts, will throw errors with the new PHP 5.3. That's the PHP version wamp 2.0i uses.

You can either install the PHP 5.3 patches to the zencart on your computer, or switch to wamp 2.0h instead of 2.0i. The downoad link for the correct wamp version is in the 4th post of this thread.

10 Mar 2010, 19:01
#14
renob avatar

renob

New Zenner

Join Date:
Mar 2010
Posts:
15
Plugin Contributions:
0

Re: Updated wamp + zen cart tutorial for Zen Cart 1.3.8a and Wamp Server 2.0i

Thanks slomojo! That got it!

23 Mar 2010, 04:23
#15
djbelize avatar

djbelize

New Zenner

Join Date:
Mar 2010
Posts:
32
Plugin Contributions:
0

Re: Updated wamp + zen cart tutorial for Zen Cart 1.3.8a and Wamp Server 2.0i

http://www.zen-cart.com/forum/showthread.php?t=140960

use this link to solve problems for the latest zen cart 1.3.8a and WAMP2.0i ... worked like a charm ... I believe this is what slomojojo mentioned :) ... I'm new here so I have the latest of the prgms installed and had lots of similar troubles ,,, but this link solved all ... thnx to forums !

23 Mar 2010, 06:55
#16
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Location:
Sunny Coast, Australia
Posts:
3,427
Plugin Contributions:
2

Re: Updated wamp + zen cart tutorial for Zen Cart 1.3.8a and Wamp Server 2.0i

I disagree that Wampserver 2.0i does not work with zc 1.3.8.a as WampServer allows you to install almost all the existing releases of Apache, PHP and MySQL so you can reproduce exactly the settings of your production server. To add a new release, download it from their site and install it.

Then click on the WampServer menu and activate the release that you want to use.

see http://www.wampserver.com/en/presentation.php

Works a charm for me

24 Mar 2010, 19:14
#17
atjhza avatar

atjhza

New Zenner

Join Date:
Feb 2006
Posts:
48
Plugin Contributions:
0

Re: Updated wamp + zen cart tutorial for Zen Cart 1.3.8a and Wamp Server 2.0i

Hi,

I was originally working on my site live online (dumb I know!) but was concerned over security as I wanted to install a PayPal module.
I've downloaded a copy of my site and have tried to follow the instructions for running the site locally using Wampserver2.0. However, after following the instructions, I just get the following:

Deprecated: Function set_magic_quotes_runtime() is deprecated in C:\wamp\www\includes\application_top.php on line 56

Hello. Thank you for loading Zen Cart™.
You are seeing this page for one or more reasons:
This is your first time using Zen Cart™ and you haven't yet completed the normal Installation procedure.
If this is the case for you, you will need to upload the "zc_install" folder using your FTP program, and then run zc_install/index.php via your browser (or reload this page to see a link to it).

Your /includes/configure.php and/or /admin/includes/configure.php file contains invalid path information and/or invalid database-connection information.
If you recently edited your configure.php files for any reason, or maybe moved your site to a different folder or different server, then you'll need to review and update all your settings to the correct values for your server.
See the Online FAQ and Tutorials area on the Zen Cart™ website for assistance.

To begin installation ...
Installation documentation is normally found in the /docs folder of the Zen Cart™ distribution files/zip. You can also find documentation in the Online FAQs.
You will need to upload the "zc_install" folder using your FTP program, and then run zc_install/index.php via your browser (or reload this page to see a link to it).
The Online FAQ and Tutorials area on the Zen Cart™ website will also be of value if you run into difficulties.

Can anyone offer any advices please!
Thanks.

24 Mar 2010, 19:21
#18
drbyte avatar

drbyte

Sensei

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

Re: Updated wamp + zen cart tutorial for Zen Cart 1.3.8a and Wamp Server 2.0i

If you're going to use PHP 5.3 with Zen Cart v1.3.8, you'll need to apply the PHP 5.3 patch for v1.3.8: http://www.zen-cart.com/forum/showthread.php?t=140960

24 Mar 2010, 19:49
#19
atjhza avatar

atjhza

New Zenner

Join Date:
Feb 2006
Posts:
48
Plugin Contributions:
0

Re: Updated wamp + zen cart tutorial for Zen Cart 1.3.8a and Wamp Server 2.0i

Thank you for the link.
Can i ask how I tell which version of php I am running on my laptop?

25 Mar 2010, 14:41
#20
drbyte avatar

drbyte

Sensei

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

Re: Updated wamp + zen cart tutorial for Zen Cart 1.3.8a and Wamp Server 2.0i

Given that you said you were using wampserver, I would expect that inside your wampserver console will be an indicator of your PHP version.
Additionally, the wampserver website probably lists what versions of the many programs are bundled in its package.
Additionally, in the Zen Cart zc_install process you'll see the PHP version listed, or you can click on the phpinfo link on the system-inspection screen for complete details of your PHP configuration.