Installation Error with PHP
Permalink
Hi folks, I have come to install Concrete5, which looks fantastic. I'm a website developer but I'm building a site to promote the town in which I live - a non-profit website. I chose the Concrete5 platform because it looks awesome and having looked at some other sites using the platform, I was impressed and decided to give it a try out!
I've just downloaded the latest version, extracted and copied the files onto the server, then followed the installation instructions and set up a MySQL database with the necessary permissions, but I get this PHP error when I go to the root domain of my site:
-----
Fatal error: Class 'Loader' not found in /home/smettewe/public_html/concrete/dispatcher.php on line 29
-----
Line 29 of dispatcher.php says: Loader::database();
Please can somebody tell me what I am doing incorrectly or how to fix this? Thank you!
Sam
I've just downloaded the latest version, extracted and copied the files onto the server, then followed the installation instructions and set up a MySQL database with the necessary permissions, but I get this PHP error when I go to the root domain of my site:
-----
Fatal error: Class 'Loader' not found in /home/smettewe/public_html/concrete/dispatcher.php on line 29
-----
Line 29 of dispatcher.php says: Loader::database();
Please can somebody tell me what I am doing incorrectly or how to fix this? Thank you!
Sam
Hello there,
I haven't. I simply followed the instructions on the helpfile with the download. I also can't seem to find a site.php file in the config folders.
I have 2 config folders, one in the root of public_html which has one file - site_theme_paths.php and one inside "concrete" directory which has the following files:
Please help. Thanks in advance!
I haven't. I simply followed the instructions on the helpfile with the download. I also can't seem to find a site.php file in the config folders.
I have 2 config folders, one in the root of public_html which has one file - site_theme_paths.php and one inside "concrete" directory which has the following files:
app.php banned_words.txt base.php base_pre.php db.xml file_types.php localization.php theme_paths.php version.php
Please help. Thanks in advance!
config/site.php does not exist until after you have run the installer. The installer should be run automatically when you first go to yoursite.com/index.php
My guess is that either something did not get unzipped or it got unzipped in the wrong place.
The folders a new installation should have are:
blocks
concrete *
config *
controllers
css
elements
files
helpers
jobs
js
languages
libraries
mail
models
packages
page_types
single_pages
themes
tools
updates
In these folders, only 'concrete' and 'config' will have any content. The rest are empty. (files will have a 0 length index.html file in it)
You will also have files in the root folder:
index.php
INSTALL
LICENSE.TXT
robots.txt
The main files created during the installation are:
.htaccess
config/site.php
My guess is that either something did not get unzipped or it got unzipped in the wrong place.
The folders a new installation should have are:
blocks
concrete *
config *
controllers
css
elements
files
helpers
jobs
js
languages
libraries
models
packages
page_types
single_pages
themes
tools
updates
In these folders, only 'concrete' and 'config' will have any content. The rest are empty. (files will have a 0 length index.html file in it)
You will also have files in the root folder:
index.php
INSTALL
LICENSE.TXT
robots.txt
The main files created during the installation are:
.htaccess
config/site.php
Hi there,
Yes I have all those directories listed within my public_html root.
The domain ishttp://www.smetteweb.co.uk although I will be switching to another domain shortly!
At what point is the site.php file supposed to appear? When the files are extracted from the zip or after the installation? It seems to me it didn't get as far as the installation?!
Your help is much appreciated.
Yes I have all those directories listed within my public_html root.
The domain ishttp://www.smetteweb.co.uk although I will be switching to another domain shortly!
At what point is the site.php file supposed to appear? When the files are extracted from the zip or after the installation? It seems to me it didn't get as far as the installation?!
Your help is much appreciated.
When you first visit the site, it will show an install dialog, asking for login and database details. site.php is created as a result of that dialog, and the site then knows that is is installed and behaves like a site rather than showing the install dialog.
Ok, would the best course of action be to re-download the ZIP file and extract/upload its contents?
Yes. If you have shell access or other suitable host control panel utilitiles, its best to wget the zip directly and then unzip in place, much faster and more reliable than uploading already unzipped files with ftp.
Citytech