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
£7.99 £25.99
Paperback
£32.99
Subscription
Free Trial
Renews at £16.99p/m

What do you get with Print?

Product feature icon Instant access to your digital eBook copy whilst your Print order is Shipped
Product feature icon Paperback book shipped to your preferred address
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

Shipping Address

Billing Address

Shipping Methods
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
Estimated delivery fee Deliver to Great Britain

Standard delivery 1 - 4 business days

£4.95

Premium delivery 1 - 4 business days

£7.95
(Includes tracking information)

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 : 9781904811312
Concepts :
Tools :

What do you get with Print?

Product feature icon Instant access to your digital eBook copy whilst your Print order is Shipped
Product feature icon Paperback book shipped to your preferred address
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

Shipping Address

Billing Address

Shipping Methods
Estimated delivery fee Deliver to Great Britain

Standard delivery 1 - 4 business days

£4.95

Premium delivery 1 - 4 business days

£7.95
(Includes tracking information)

Product Details

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

Packt Subscriptions

See our plans and pricing
Modal Close icon
£16.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
£169.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
£234.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

What is the delivery time and cost of print book? Chevron down icon Chevron up icon

Shipping Details

USA:

'

Economy: Delivery to most addresses in the US within 10-15 business days

Premium: Trackable Delivery to most addresses in the US within 3-8 business days

UK:

Economy: Delivery to most addresses in the U.K. within 7-9 business days.
Shipments are not trackable

Premium: Trackable delivery to most addresses in the U.K. within 3-4 business days!
Add one extra business day for deliveries to Northern Ireland and Scottish Highlands and islands

EU:

Premium: Trackable delivery to most EU destinations within 4-9 business days.

Australia:

Economy: Can deliver to P. O. Boxes and private residences.
Trackable service with delivery to addresses in Australia only.
Delivery time ranges from 7-9 business days for VIC and 8-10 business days for Interstate metro
Delivery time is up to 15 business days for remote areas of WA, NT & QLD.

Premium: Delivery to addresses in Australia only
Trackable delivery to most P. O. Boxes and private residences in Australia within 4-5 days based on the distance to a destination following dispatch.

India:

Premium: Delivery to most Indian addresses within 5-6 business days

Rest of the World:

Premium: Countries in the American continent: Trackable delivery to most countries within 4-7 business days

Asia:

Premium: Delivery to most Asian addresses within 5-9 business days

Disclaimer:
All orders received before 5 PM U.K time would start printing from the next business day. So the estimated delivery times start from the next day as well. Orders received after 5 PM U.K time (in our internal systems) on a business day or anytime on the weekend will begin printing the second to next business day. For example, an order placed at 11 AM today will begin printing tomorrow, whereas an order placed at 9 PM tonight will begin printing the day after tomorrow.


Unfortunately, due to several restrictions, we are unable to ship to the following countries:

  1. Afghanistan
  2. American Samoa
  3. Belarus
  4. Brunei Darussalam
  5. Central African Republic
  6. The Democratic Republic of Congo
  7. Eritrea
  8. Guinea-bissau
  9. Iran
  10. Lebanon
  11. Libiya Arab Jamahriya
  12. Somalia
  13. Sudan
  14. Russian Federation
  15. Syrian Arab Republic
  16. Ukraine
  17. Venezuela
What is custom duty/charge? Chevron down icon Chevron up icon

Customs duty are charges levied on goods when they cross international borders. It is a tax that is imposed on imported goods. These duties are charged by special authorities and bodies created by local governments and are meant to protect local industries, economies, and businesses.

Do I have to pay customs charges for the print book order? Chevron down icon Chevron up icon

The orders shipped to the countries that are listed under EU27 will not bear custom charges. They are paid by Packt as part of the order.

List of EU27 countries: www.gov.uk/eu-eea:

A custom duty or localized taxes may be applicable on the shipment and would be charged by the recipient country outside of the EU27 which should be paid by the customer and these duties are not included in the shipping charges been charged on the order.

How do I know my custom duty charges? Chevron down icon Chevron up icon

The amount of duty payable varies greatly depending on the imported goods, the country of origin and several other factors like the total invoice amount or dimensions like weight, and other such criteria applicable in your country.

For example:

  • If you live in Mexico, and the declared value of your ordered items is over $ 50, for you to receive a package, you will have to pay additional import tax of 19% which will be $ 9.50 to the courier service.
  • Whereas if you live in Turkey, and the declared value of your ordered items is over € 22, for you to receive a package, you will have to pay additional import tax of 18% which will be € 3.96 to the courier service.
How can I cancel my order? Chevron down icon Chevron up icon

Cancellation Policy for Published Printed Books:

You can cancel any order within 1 hour of placing the order. Simply contact customercare@packt.com with your order details or payment transaction id. If your order has already started the shipment process, we will do our best to stop it. However, if it is already on the way to you then when you receive it, you can contact us at customercare@packt.com using the returns and refund process.

Please understand that Packt Publishing cannot provide refunds or cancel any order except for the cases described in our Return Policy (i.e. Packt Publishing agrees to replace your printed book because it arrives damaged or material defect in book), Packt Publishing will not accept returns.

What is your returns and refunds policy? Chevron down icon Chevron up icon

Return Policy:

We want you to be happy with your purchase from Packtpub.com. We will not hassle you with returning print books to us. If the print book you receive from us is incorrect, damaged, doesn't work or is unacceptably late, please contact Customer Relations Team on customercare@packt.com with the order number and issue details as explained below:

  1. If you ordered (eBook, Video or Print Book) incorrectly or accidentally, please contact Customer Relations Team on customercare@packt.com within one hour of placing the order and we will replace/refund you the item cost.
  2. Sadly, if your eBook or Video file is faulty or a fault occurs during the eBook or Video being made available to you, i.e. during download then you should contact Customer Relations Team within 14 days of purchase on customercare@packt.com who will be able to resolve this issue for you.
  3. You will have a choice of replacement or refund of the problem items.(damaged, defective or incorrect)
  4. Once Customer Care Team confirms that you will be refunded, you should receive the refund within 10 to 12 working days.
  5. If you are only requesting a refund of one book from a multiple order, then we will refund you the appropriate single item.
  6. Where the items were shipped under a free shipping offer, there will be no shipping costs to refund.

On the off chance your printed book arrives damaged, with book material defect, contact our Customer Relation Team on customercare@packt.com within 14 days of receipt of the book with appropriate evidence of damage and we will work with you to secure a replacement copy, if necessary. Please note that each printed book you order from us is individually made by Packt's professional book-printing partner which is on a print-on-demand basis.

What tax is charged? Chevron down icon Chevron up icon

Currently, no tax is charged on the purchase of any print book (subject to change based on the laws and regulations). A localized VAT fee is charged only to our European and UK customers on eBooks, Video and subscriptions that they buy. GST is charged to Indian customers for eBooks and video purchases.

What payment methods can I use? Chevron down icon Chevron up icon

You can pay with the following card types:

  1. Visa Debit
  2. Visa Credit
  3. MasterCard
  4. PayPal
What is the delivery time and cost of print books? Chevron down icon Chevron up icon

Shipping Details

USA:

'

Economy: Delivery to most addresses in the US within 10-15 business days

Premium: Trackable Delivery to most addresses in the US within 3-8 business days

UK:

Economy: Delivery to most addresses in the U.K. within 7-9 business days.
Shipments are not trackable

Premium: Trackable delivery to most addresses in the U.K. within 3-4 business days!
Add one extra business day for deliveries to Northern Ireland and Scottish Highlands and islands

EU:

Premium: Trackable delivery to most EU destinations within 4-9 business days.

Australia:

Economy: Can deliver to P. O. Boxes and private residences.
Trackable service with delivery to addresses in Australia only.
Delivery time ranges from 7-9 business days for VIC and 8-10 business days for Interstate metro
Delivery time is up to 15 business days for remote areas of WA, NT & QLD.

Premium: Delivery to addresses in Australia only
Trackable delivery to most P. O. Boxes and private residences in Australia within 4-5 days based on the distance to a destination following dispatch.

India:

Premium: Delivery to most Indian addresses within 5-6 business days

Rest of the World:

Premium: Countries in the American continent: Trackable delivery to most countries within 4-7 business days

Asia:

Premium: Delivery to most Asian addresses within 5-9 business days

Disclaimer:
All orders received before 5 PM U.K time would start printing from the next business day. So the estimated delivery times start from the next day as well. Orders received after 5 PM U.K time (in our internal systems) on a business day or anytime on the weekend will begin printing the second to next business day. For example, an order placed at 11 AM today will begin printing tomorrow, whereas an order placed at 9 PM tonight will begin printing the day after tomorrow.


Unfortunately, due to several restrictions, we are unable to ship to the following countries:

  1. Afghanistan
  2. American Samoa
  3. Belarus
  4. Brunei Darussalam
  5. Central African Republic
  6. The Democratic Republic of Congo
  7. Eritrea
  8. Guinea-bissau
  9. Iran
  10. Lebanon
  11. Libiya Arab Jamahriya
  12. Somalia
  13. Sudan
  14. Russian Federation
  15. Syrian Arab Republic
  16. Ukraine
  17. Venezuela