Monday, May 19, 2014

How to Install Prestashop on a local host WAMP server

How to Install Prestashop on a local host WAMP server

Check you have a working WAMP installation

WAMP stands for Windows, Apache, mySQL, PHP. It refers to the key components used to run a lot of dynamic websites on a Windows Server. It often used for developing web applications on your local machine before putting it live on your server. You can get prebuilt installation routines that make installing a WAMP server a real breeze. The one I am using for this article can be found here www.wampserver.com. If you don't already have an installation the Download it and install it. Once it is installed you need to set it running. On Windows XP this is done by clicking on Start -> All Programs -> WampServer ->Start WampServerWamp Server Once that is started you should see the WAMP server manager icon in the system control. See below for the WAMP server starting (Windows XP WAMP Shown)Wamp Starting

Create a Database to install Prestashop in

After a successful WAMP install you will have mySQL server also installed. By default mySQL is installed with a username of root and a blank password. You can easily create and manage mySQL databases using a mySQL manager called phpmyadmin. You can access this by entering the following URL in your browser http://localhost/phpmyadmin/ Once this is open you should see a create database section. We need to create a database for our prestashop installation. So enter the name presta in the create database box and click "create" Create Presta Database You have created a blank database to install prestshop into. As this is a local test on your pc we have left the default security of login or root and no password. We will need to rememeber that for a little later in the install.

Down load and Unzip the prestashop install files

From the prestashop website download the prestashop install files www.prestashop.com/en/downloads/ Once intalled unzip them files under the default areas that wamp serves it's web sites from. This is usually c:\wamp\www\Wamp install Once unzipped you should have a folder structure like this.PrestaShop file structure

Run the Prestashop installer

Open a web browser and open the the URL http://localhost This should pring up the wamp home page Scroll down the page and under the Your Projects you should see prestashop listed. Click on thisWamp Server HomeYou will see the the installer welcome page. Choose your language and click next.Prestashop Install WelcomeThe prestashop installer will show you the prestashop requirements on the System Compatibility Page. You should find that most recent versions of WampServer 2+ should have all the requirements so you should not need to do anything. Do a quick check and ensure the requirements are met and then click next. Now on the Systems configuration page enter your database details. As this is a default install of WampServer you can lave the prestashop suggested configuration. Click Verify now!Prestashop RequirementsNOTE! Since this is Windows WAMP server there is no mail server or MTA installed so you can ignore the e-mail part as this won't work any way Then click Next From this point you should be pretty much ready to finish the install and have prestatshop installed. You will be asked to rename the default admin folder name which is pretty straight forward to do within windows.

Friday, May 16, 2014

Functions Used In Wordpress Theme Creation




INSTALLATION OF WORDPRESS ON WAMP SERVER ( OS WINDOWS 7 )

 install WordPress on your personal computer for learning and testing purposes. The process of installing WordPress on your personal computer is also known as setting up a local server environment or localhost. Often theme designers and plugin developers install WordPress on a local server environment to speed up their development process. An average user can use the local server environment to test plugins and/or make changes to the site before making it live for their audiences. In this article, we will show you how to install WordPress on your Windows computer using WAMP.

Note: If you install WordPress locally on your computer, then the only person who can see that site is you. If you want to have a live WordPress site available to the public, then you need to have a Domain and WordPress Web hosting. We recommend that you follow this guide on how to install WordPress.

What is WAMP?

WAMP or WampServer is a compilation of Apache web server, PHP and MySQL bundled for Windows computers. Basically, you need WAMP to setup your own local server environment and install WordPress on Windows. There are other clients for Windows such as XAMPP, but we use and recommend WAMP. It is free and easy to use.

Installing Wampserver on your PC

First thing you need to do is go to WampServer website and download the latest WampServer. You will be presented with various options on their download page. Simply choose the one that applies to your Windows (64-bit or 32-bit). When in doubt, select the 32-bit version because it will work on 64-bit versions of Windows.
Once you have downloaded WampServer, run the installation program and follow on-screen instructions. At one point during the installation, WampServer will ask for the location of the default web browser. By default it will use Internet Explorer, but you can change that to Google Chrome or Firefox by locating the browser in Program Files.
Installing Wampserver
Once you are done with the installation, launch WampServer.

Setting Up a Database for WordPress

WampServer comes with phpMyAdmin, a web based application to manage MySQL databases. Click on the Wampserver icon in windows taskbar and then click on phpmyadmin.
launching phpMyAdmin in Wamp
phpMyAdmin will open in a new browser window. Click on Databases in phpmMyAdmin to create a new database for WordPress. Choose a name for your database and click on Create button.
Creating a database in phpMyAdmin for WordPress

Installing WordPress on Windows with WAMP

Download a copy of WordPress from WordPress.org. Extract the zip file and copy the wordpress folder. Go to C:wampwww and paste wordpress folder there. You can rename the wordpress folder to anything you want for example mysite, wpbeginner, etc. For the sake of this tutorial, we renamed our wordpress directory to mysite. Now open a web browser and go to:
http://localhost/mysite/
WordPress will inform you that it can not find a wp-config.php file. Click on theCreate a Configuration File button to create it.
Create wordpress configuration wp-config file
On the next screen, you need to provide your database information. The database name will be the one that you selected. In our case, we called it test_db.
Please note that your default database username will be root and leave the password blank. Click on the submit button and WordPress will create a configuration file for you.
Provide your database information to install WordPress on localhost with WAMP
After this you will see a screen informing you that WordPress has successfully created the configuration file, and you can proceed with the installation. Click onRun Install button.
Run WordPress Installation Script
On the next screen, fill out the installation form. You need to provide a title for your website, choose an admin username and password, and provide admin email address. Finally press the Install WordPress button.
WordPress Installation Page
WordPress will quickly run the installation and create database tables. Once done, you will see a success message after the installation. You can then proceed to your WordPress by clicking on the Log in button.

Troubleshooting WAMP Skype Error

If you have Skype installed and running then WampServer may not be able to work properly due to a conflict with Skype. The conflict is caused by both Apache and Skype using the same port 80. There is a simple fix for this problem. Open Skype and go to Tools » Options. Click on Advanced and then Connections. Uncheck the box that says Use port 80 and 443 as alternatives for incoming connections. Save options and restart Skype.
Fixing Wamp / Xampp Skype Conflict

Enabling Pretty Permalinks in WAMP

Pretty permalinks will not work by default on your local server environment. All your URLs will look like localhost/mysite/?p=18. If you go to Settings » Permalinks and use one of the other opttions, then it will show you “page not found” errors. We have already written about a solution here that will show you how to enable custom permalinks in WAMP.

Migrating from WAMP to Live

After numerous request via twitter, facebook, email, and comments in this post, we have written a guide on how to move WordPress from WAMP local server to a live site. Hopefully you guys will find it helpful when you are ready to deploy your local site to production.
We hope that this article helped you install WordPress on your Windows computer using WAMP. Having a local server environment is great for learning and testing purposes. Remember, if you want to run a blog for other people to see, then you do not need to install WordPress on your computer. You need to install WordPress on aweb hosting provider. If you have any questions, then please feel free to ask in the comments below.

How to install WordPress locally on Mac system using MAMP

before installing WordPress on your Mac system let me tell you something about Macsystem and MAMP software.
  • The Macintosh operating system (Mac) contains a feature of the GUI (Graphical User Interface) which represents desktop interface with some 3D appearance characteristics and designed to run exclusively on Mac computers.
  • MAMP (Macintosh, Apache, MySQL, PHP) is a software which can easily install Apache, PHP, MySQL in one folder for Mac OS.
  • You can easily install WordPress on your Mac System using MAMP.
Let’s begin with the process.

Installing MAMP Software On Mac System

Step #1

Go to MAMP website and install MAMP software on your Mac system.
Click on Download Now button.
mamp website

Step #2

Click on the Continue button to get continue with the installing process.
click on continue button

Step #3

Get continue by click on the Continue button.
click on continue button

Step #4

Get continue with the License Agreement for MAMP by click on the Continue button.
click to continue

Step #5

Get continue with the installation of software for all users by click on the Continue button.
click to continue

Step #6

You can set the password by entering it in the Password field and then click on the Install Software button.
enter password

Step #7

Go to Preferences.. option by click on it.
click on preferences

Step #8

Select Apache option and check the Document Root (it should be/Applications/MAMP/htdocs) under it and then click on OK button.
select document root

Step #9

After check the root then click on Start Servers button.
click on start servers

Step #10

You can see the green signal in the image given below which indicates that Apache Serverand MySQL Server are started now.
servers are started now
MAMP is successfully installed on your machine and servers get started running now.

Installing WordPress

Step #11

After successful completion of MAMP installation. You need to install WordPress on yourMac system from WordPress.org.
Click on Download WordPress 3.6 (not necessary the same version)
wordpress.org site

Place WordPress Folder in htdocs Folder of MAMP

Step #12

After complete installation of WordPress on your machine you need to place thewordpress folder on the htdocs folder of MAMP.
For that, click on MAMP option listed under installed applications on your system.
Go to Applications –> MAMP
MAMP folder

Step #13

Under MAMP, open htdocs folder by just click on it.
open htdocs folder

Step #14

Now paste this “wordpress” folder under the htdocs folder as you can see in the image given below.
paste wordpress folder

Create Database of WordPress

Step #15

For creating a database of WordPress open MAMP which already installed on your machine.
Click on phpMyAdmin appear on the top menu bar.
click on phpmyadmin

Step #16

Click on Databases for creating the new database of WordPress.
click on database

Step #17

Give your WordPress database name (lets say wordpress) and click on Create button.
enter database name

Step #18

Database of WordPress is created now. Click on Privileges for setting the privileges.
click on privileges

Step #19

You can add privileges on your newly created database by selecting it from the list underAdd privileges on the following database . You can see in the image given below i have choose my database named wordpress.
select database from the list

Step #20

After selecting your database for the privilege.
Click on Check All option to add all MySQL privileges.
click on check all option
The check is on it means all the privileges are selected now.
privileges gets checked

Step #21

As soon as you click on the Go button then all the privileges get updated forroot@localhost.
You can see the message appear on the screen.
click on go button

Step #22

Now copy the address code (localhost:8888/wordpress)and run it in the browser.
copy the address code

Run WordPress on Localhost

Step #23

You can manually create a file by click on Create a Configuration File.
click on create a configuration file
Get continue with the process by click on Let’s go! Button.
click on Let's go button

Step #24

Before starting WordPress on your system lets enter your database connection details as you can see in the image given below.
submit database details

Step #25

Now WordPress gets communicated with the database. It’s time to run it by just a click onRun the install.
click on run the install

Step #26

Create your WordPress site by entering its details like site title, username, password etc.
create wordpress site

Step #27

Your WordPress site is created now. You can run it only after getting successful login.
get login in WordPress site

Step #28

You can get login into your WordPress site by entering a valid username and password in the respective fields.
enter username and password

Step #29

You are successfully login now and dashboard of your website is opened now.
dashboard of WordPress site

Step #30

You can view your website in front end and it would appear like this.
front view of WordPress site
Note- If you want to see the whole process in a glimpse you can just click on one image and the slide it to see the complete process of installation in one way.
That’s it. Bingo. :)
You have successfully installed WordPress on Mac.
I hope you find this tutorial very helpful and in that respect, I would appreciate if you could share this with others to resolve their problems as well.
Let me know your feedback about this one. If you have any queries or doubts you can simply post it below.