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

$19.99 per month
Paperback Feb 2007 260 pages 1st Edition
eBook
$9.99 $25.99
Paperback
$43.99
Subscription
Free Trial
Renews at $19.99p/m
$19.99 per month
Paperback Feb 2007 260 pages 1st Edition
eBook
$9.99 $25.99
Paperback
$43.99
Subscription
Free Trial
Renews at $19.99p/m
eBook
$9.99 $25.99
Paperback
$43.99
Subscription
Free Trial
Renews at $19.99p/m

What do you get with a Packt Subscription?

Free for first 7 days. $19.99 p/m after that. Cancel any time!
Product feature icon Unlimited ad-free access to the largest independent learning library in tech. Access this title and thousands more!
Product feature icon 50+ new titles added per month, including many first-to-market concepts and exclusive early access to books as they are being written.
Product feature icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Product feature icon Thousands of reference materials covering every tech concept you need to stay up to date.
Subscribe now
View plans & pricing
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 : 9781904811312
Concepts :
Tools :

What do you get with a Packt Subscription?

Free for first 7 days. $19.99 p/m after that. Cancel any time!
Product feature icon Unlimited ad-free access to the largest independent learning library in tech. Access this title and thousands more!
Product feature icon 50+ new titles added per month, including many first-to-market concepts and exclusive early access to books as they are being written.
Product feature icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Product feature icon Thousands of reference materials covering every tech concept you need to stay up to date.
Subscribe now
View plans & pricing

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
$19.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
$199.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
$279.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 $ 134.97
Building Websites with e107
$43.99
Magento 2 Developer's Guide
$41.99
WordPress 3.7 Complete: Third Edition
$48.99
Total $ 134.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 included in a Packt subscription? Chevron down icon Chevron up icon

A subscription provides you with full access to view all Packt and licnesed content online, this includes exclusive access to Early Access titles. Depending on the tier chosen you can also earn credits and discounts to use for owning content

How can I cancel my subscription? Chevron down icon Chevron up icon

To cancel your subscription with us simply go to the account page - found in the top right of the page or at https://subscription.packtpub.com/my-account/subscription - From here you will see the ‘cancel subscription’ button in the grey box with your subscription information in.

What are credits? Chevron down icon Chevron up icon

Credits can be earned from reading 40 section of any title within the payment cycle - a month starting from the day of subscription payment. You also earn a Credit every month if you subscribe to our annual or 18 month plans. Credits can be used to buy books DRM free, the same way that you would pay for a book. Your credits can be found in the subscription homepage - subscription.packtpub.com - clicking on ‘the my’ library dropdown and selecting ‘credits’.

What happens if an Early Access Course is cancelled? Chevron down icon Chevron up icon

Projects are rarely cancelled, but sometimes it's unavoidable. If an Early Access course is cancelled or excessively delayed, you can exchange your purchase for another course. For further details, please contact us here.

Where can I send feedback about an Early Access title? Chevron down icon Chevron up icon

If you have any feedback about the product you're reading, or Early Access in general, then please fill out a contact form here and we'll make sure the feedback gets to the right team. 

Can I download the code files for Early Access titles? Chevron down icon Chevron up icon

We try to ensure that all books in Early Access have code available to use, download, and fork on GitHub. This helps us be more agile in the development of the book, and helps keep the often changing code base of new versions and new technologies as up to date as possible. Unfortunately, however, there will be rare cases when it is not possible for us to have downloadable code samples available until publication.

When we publish the book, the code files will also be available to download from the Packt website.

How accurate is the publication date? Chevron down icon Chevron up icon

The publication date is as accurate as we can be at any point in the project. Unfortunately, delays can happen. Often those delays are out of our control, such as changes to the technology code base or delays in the tech release. We do our best to give you an accurate estimate of the publication date at any given time, and as more chapters are delivered, the more accurate the delivery date will become.

How will I know when new chapters are ready? Chevron down icon Chevron up icon

We'll let you know every time there has been an update to a course that you've bought in Early Access. You'll get an email to let you know there has been a new chapter, or a change to a previous chapter. The new chapters are automatically added to your account, so you can also check back there any time you're ready and download or read them online.

I am a Packt subscriber, do I get Early Access? Chevron down icon Chevron up icon

Yes, all Early Access content is fully available through your subscription. You will need to have a paid for or active trial subscription in order to access all titles.

How is Early Access delivered? Chevron down icon Chevron up icon

Early Access is currently only available as a PDF or through our online reader. As we make changes or add new chapters, the files in your Packt account will be updated so you can download them again or view them online immediately.

How do I buy Early Access content? Chevron down icon Chevron up icon

Early Access is a way of us getting our content to you quicker, but the method of buying the Early Access course is still the same. Just find the course you want to buy, go through the check-out steps, and you’ll get a confirmation email from us with information and a link to the relevant Early Access courses.

What is Early Access? Chevron down icon Chevron up icon

Keeping up to date with the latest technology is difficult; new versions, new frameworks, new techniques. This feature gives you a head-start to our content, as it's being created. With Early Access you'll receive each chapter as it's written, and get regular updates throughout the product's development, as well as the final course as soon as it's ready.We created Early Access as a means of giving you the information you need, as soon as it's available. As we go through the process of developing a course, 99% of it can be ready but we can't publish until that last 1% falls in to place. Early Access helps to unlock the potential of our content early, to help you start your learning when you need it most. You not only get access to every chapter as it's delivered, edited, and updated, but you'll also get the finalized, DRM-free product to download in any format you want when it's published. As a member of Packt, you'll also be eligible for our exclusive offers, including a free course every day, and discounts on new and popular titles.