Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Building Websites with e107
Building Websites with e107

Building Websites with e107: A step by step tutorial to getting your e107 website up and running fast

eBook
€8.99 €25.99
Paperback
€32.99
Subscription
Free Trial
Renews at €18.99p/m

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
OR
Modal Close icon
Payment Processing...
tick Completed

Billing Address

Table of content icon View table of contents Preview book icon Preview Book

Building Websites with e107

Chapter 2. Installing e107

Now that you have had your history lesson and can define a CMS, we can get down to the business of learning how to install and configure e107. I believe the best way to learn is through practical application so my veterinarian friend has graciously consented to allowing us to create an e107 site called Cuddle Care Animal Hospital: http://www.cuddlecare.biz

Requirements

To function, e107 requires that your web server or your hosting company's server meets the following basic requirements:

Note

A full installation of e107 requires 8.53 MB but remember that you will need more space initially for both the compressed files and the expanded files during installation. Also, keep in mind your database will grow, and you will need space for email accounts, statistic programs, and other programs and/or databases...

Requirements


To function, e107 requires that your web server or your hosting company's server meets the following basic requirements:

Note

A full installation of e107 requires 8.53 MB but remember that you will need more space initially for both the compressed files and the expanded files during installation. Also, keep in mind your database will grow, and you will need space for email accounts, statistic programs, and other programs and/or databases you will be running.

The easiest way to ensure that you find a host that meets the requirements is to search for "e107 hosting" at search engines like http://www.google.com. The reason for this is that some web-hosting companies install PHP differently, which can stop e107 from working properly. The hosting companies are always upgrading software, so if any known issues list were provided...

Operating System Requirements


The requirements for running e107 on both the operating systems—Windows and Unix/Linux—are the same. You must have Apache, PHP, and MySQL installed and running successfully. If you plan to use e107 on a web server that you do not own, you seriously will need to consider making a change to a web‑hosting service that uses Unix/Linux. However, if you wish to test e107 on your Windows computer at home, you will need to install Apache, MySQL, and PHP. You can install all three at once using:

This list is by no means exhaustive or an endorsement over any others. You can also download Apache, PHP, and MySQL from their individual sites (see Appendix A), and install and troubleshoot each program.

If you have a dedicated web server and you are planning to run e107 site on this server, then it is better to install Apache, MySQL, and PHP independently. If you are operating your own server then...

Installing e107


Even if you are new to Linux, installing e107 is very easy. Before we begin let me caution those of you who have web-hosting accounts that feature cPanel. cPanel is a control panel very widely used in Linux hosting. Most cPanel accounts also offer Fantastico DeLuxe (a plug-in with a script library that automates script installation). If your web-hosting company activates e107 as an option then you can install e107 and the database with a mouse click. I strongly recommend against this type of installation as it often installs older versions of e107 and once it has finished you will still have to go to the e107 site, download, and install the updated files, so you really gain nothing.

Uploading e107 to Your Server


Now that you have a web space capable for handling e107 it is time to begin the installation process. First, you need to go to http://e107.org/ and download the latest version; at present it is version .0.7.7. Once you click on the Download link from the menu bar you will be presented with a page of download links (see the screenshot overleaf):

No Command-Line Access

For security reasons, many web-hosting companies do not give you command-line access unless you have a dedicated server or dedicated virtual private server account. If you do not have the command-line access, follow these steps:

  1. 1. Download the e107 0.7.7 Full install (.zip) file to your computer.

  2. 2. Open your FTP client to your server. (If your web-hosting company supports secure FTP then use it instead of regular FTP). If you do not have an FTP client you can download a free open-source FTP client called Filezilla at http://sourceforge.net/projects/filezilla. If you are not comfortable with the...

Setting File Permissions


When expanded, e107 will add 8 folders and 40 files to your directory (see the screenshot overleaf). Keep in mind that this may change with updates.

Note

Please note that during installation if you do not have enough storage capacity then the system will only unzip the number of files it has room for and not more than that; and it does not warn you that it has encountered this problem.

Now we are going to set some directory permissions to enable us to configure and customize e107. You may not want to use all the features (plugins) of e107 so the following is broken down into core permissions and plug-in permissions. If you have never changed permissions before, start with using the Help menu on your FTP program and it should provide guidance. Whether you are using FileZilla or some other FTP program the screens will look similar to the screenshot below. Right-click the folder or file for which you wish to change the permission and look for either CHMOD (a UNIX Command...

Running the Installation Script


Now that we have finished changing the core permissions close your FTP client, open up your web browser, and navigate to the URL where your files are located. In my case, that is http://www.cuddlecare.biz but if you have another domain name, just substitute your URL or browse http://www.yourdomain.com.

If you are using Windows with the Apache server then locate your installation where you specified your folder structure when you installed Apache. Usually this will begin with http://localhost/html/cuddlecare.

Now follow along with me as we finish our installation:

Stage 1

If, all the files were successfully uploaded you will see the first page of the install script. It will give you an option for the language you wish to use during the configuration.

Select Set Language to proceed to the next stage.

Stage 2

Now, it is time to create our database. This will happen in one of the following two ways depending upon your access.

Root Access

If you have root access...

Securing Your Installation


If you see the welcome screen as shown opposite then it is time to secure your installation. Connect to your site using your FTP client as we did earlier (see the screenshot under the section Setting File Permissions) and change the file permissions for file /e107_config.php to 644.

Note

A permissions set of "644" represents read/write access for the owner and read-only access for group and other uses

We have now completed a full installation of e107. However, before we move on to the next chapter let's look at updating an installation and some troubleshooting tips for when the install does not quite go as smoothly as above.

Upgrading an Existing e107 Installation


The e107 development team is dedicated to improving e107. In fact, the 0.7 version was almost a complete rewriting of code from 0.6. You should always keep your e107 up to date. Most version upgrades fix security problems or minor bugs in the code. Additionally e107 issues upgrades when updates to MySQL and PHP may affect functionality. Before you roll your eyes back into your head, updating is very easy.

Note

Before any changes are made to your current installation you need to make a backup of your e107 database. Failure to do this simple operation can cost you hours or days of work.

Here is what you need to do:

  1. 1. You should make a backup of your e107 database before making any changes. With a hosting control panel this is usually done by locating the MySQL or some panels have a backup feature that allows you to make a full backup of your website or databases. If you have this feature, select backup of the database.

  2. 2. Locate the latest update from...

Troubleshooting Common Installation Problems


I was going to call this section "when things go wrong" and have a little guy pulling his hair out but didn't want to confuse you into thinking I was advertising an old B horror film. Like everything in life, things do not always go according to plan, especially when it comes to loading programs or updating them. I am sure that you have experienced a problem or two in your computing lifetime.

If you are the victim of a stuck installation or the files are installed but you have a blank screen where the welcome screen should be, do not bang the keyboard or throw your computer on the floor. It is all right to swear if you want. However, once your face turns from red back to normal go to http://www.e107.org site and select forums. By using the search forum feature you can search for your specific problem. Chances are that with so many users, the problem and its respective solution will be available.

Note

When searching the forums it is best to start...

Summary


In this chapter we have learned where to obtain the latest version of e107 and gone through the installation process step by step. We learned the importance of backing up your database and finally we covered how to keep e107 in up-to-date form and provided you with a troubleshooting resource. Now go grab your favorite caffeinated beverage, stretch your legs, and we will proceed with creating our website.

Left arrow icon Right arrow icon

Key benefits

  • Get your e107 website up fast
  • Simple and practical guide to mastering e107
  • Customize and extend your e107 site with new templates and the CMS plug-in

Description

e107 is a PHP-based content management system that uses the popular open source MySQL database system for content storage. e107 is released under the terms of the GNU General Public License and is completely free, totally customizable and in constant development. It is an ideal tool for developing small to large dynamic community websites, intra company portals, corporate portals, weblogs and much more. It has a large, enthusiastic, and helpful community of users.If you want to create a powerful, fully-featured website in no time, this book is for you. This book will help you explore e107, putting you in the picture of what it offers, and how to go about building a site with the system. The book covers all the core features of e107, and it is thorough and incremental tutorial approach it gives you the understanding to experiment with advanced features and customization.

Who is this book for?

This book is primarily for entrepreneurs, small office/home office, small businesses and non-profit agencies who would like to have interactive, business and/or e-commerce web sites at a low cost without sacrificing power or usability. No knowledge of PHP programming, Apache, or MySQL is required.

What you will learn

  • How to install and configure e107 on a local development machine or a web hosting service
  • Working with templates to change the look and feel of your site
  • Customizing your site for e-commerce
  • Extending your site using a number of core and non-core plugins
  • Creating state-of-art forums for your site
  • Working with the CMS plug-in to add content
  • Internationalizing your site
  • Linking to the outside world using Newsletters, RSS, PodCasts, and Search Engine Optimization
  • Maintaining, Optimizing, and Securing your site

Product Details

Country selected
Publication date, Length, Edition, Language, ISBN-13
Publication date : Feb 26, 2007
Length: 260 pages
Edition : 1st
Language : English
ISBN-13 : 9781847190215
Concepts :
Tools :

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
OR
Modal Close icon
Payment Processing...
tick Completed

Billing Address

Product Details

Publication date : Feb 26, 2007
Length: 260 pages
Edition : 1st
Language : English
ISBN-13 : 9781847190215
Concepts :
Tools :

Packt Subscriptions

See our plans and pricing
Modal Close icon
€18.99 billed monthly
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Simple pricing, no contract
€189.99 billed annually
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just €5 each
Feature tick icon Exclusive print discounts
€264.99 billed in 18 months
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just €5 each
Feature tick icon Exclusive print discounts

Frequently bought together


Stars icon
Total 101.97
Building Websites with e107
€32.99
Magento 2 Developer's Guide
€31.99
WordPress 3.7 Complete: Third Edition
€36.99
Total 101.97 Stars icon
Banner background image

Table of Contents

9 Chapters
An Introduction to e107 Chevron down icon Chevron up icon
Installing e107 Chevron down icon Chevron up icon
Setting Site Preferences Chevron down icon Chevron up icon
Customizing the Look and Feel of Your Site Chevron down icon Chevron up icon
Customizing Your Site for e-Commerce with Plugins Chevron down icon Chevron up icon
Customizing Your Site for Business with Plugins Chevron down icon Chevron up icon
Adding Content to e107 Chevron down icon Chevron up icon
Information Dissemination Chevron down icon Chevron up icon
Maintenance, Optimization, and Security Chevron down icon Chevron up icon
Get free access to Packt library with over 7500+ books and video courses for 7 days!
Start Free Trial

FAQs

How do I buy and download an eBook? Chevron down icon Chevron up icon

Where there is an eBook version of a title available, you can buy it from the book details for that title. Add either the standalone eBook or the eBook and print book bundle to your shopping cart. Your eBook will show in your cart as a product on its own. After completing checkout and payment in the normal way, you will receive your receipt on the screen containing a link to a personalised PDF download file. This link will remain active for 30 days. You can download backup copies of the file by logging in to your account at any time.

If you already have Adobe reader installed, then clicking on the link will download and open the PDF file directly. If you don't, then save the PDF file on your machine and download the Reader to view it.

Please Note: Packt eBooks are non-returnable and non-refundable.

Packt eBook and Licensing When you buy an eBook from Packt Publishing, completing your purchase means you accept the terms of our licence agreement. Please read the full text of the agreement. In it we have tried to balance the need for the ebook to be usable for you the reader with our needs to protect the rights of us as Publishers and of our authors. In summary, the agreement says:

  • You may make copies of your eBook for your own use onto any machine
  • You may not pass copies of the eBook on to anyone else
How can I make a purchase on your website? Chevron down icon Chevron up icon

If you want to purchase a video course, eBook or Bundle (Print+eBook) please follow below steps:

  1. Register on our website using your email address and the password.
  2. Search for the title by name or ISBN using the search option.
  3. Select the title you want to purchase.
  4. Choose the format you wish to purchase the title in; if you order the Print Book, you get a free eBook copy of the same title. 
  5. Proceed with the checkout process (payment to be made using Credit Card, Debit Cart, or PayPal)
Where can I access support around an eBook? Chevron down icon Chevron up icon
  • If you experience a problem with using or installing Adobe Reader, the contact Adobe directly.
  • To view the errata for the book, see www.packtpub.com/support and view the pages for the title you have.
  • To view your account details or to download a new copy of the book go to www.packtpub.com/account
  • To contact us directly if a problem is not resolved, use www.packtpub.com/contact-us
What eBook formats do Packt support? Chevron down icon Chevron up icon

Our eBooks are currently available in a variety of formats such as PDF and ePubs. In the future, this may well change with trends and development in technology, but please note that our PDFs are not Adobe eBook Reader format, which has greater restrictions on security.

You will need to use Adobe Reader v9 or later in order to read Packt's PDF eBooks.

What are the benefits of eBooks? Chevron down icon Chevron up icon
  • You can get the information you need immediately
  • You can easily take them with you on a laptop
  • You can download them an unlimited number of times
  • You can print them out
  • They are copy-paste enabled
  • They are searchable
  • There is no password protection
  • They are lower price than print
  • They save resources and space
What is an eBook? Chevron down icon Chevron up icon

Packt eBooks are a complete electronic version of the print edition, available in PDF and ePub formats. Every piece of content down to the page numbering is the same. Because we save the costs of printing and shipping the book to you, we are able to offer eBooks at a lower cost than print editions.

When you have purchased an eBook, simply login to your account and click on the link in Your Download Area. We recommend you saving the file to your hard drive before opening it.

For optimal viewing of our eBooks, we recommend you download and install the free Adobe Reader version 9.