Using the latest stable version of Elgg on Centos7. I've tried installing both through the elgg-cli and through the browser. With each I get the error stating that
I saw this was an issue on github and also saw that there was a fix merged, however it still seems to be an issue. I've used all of the correct credentials/permissions and have verified that I can access my database.
In Database.php line 448:
An exception occurred while executing 'SELECT * FROM elgg_config': SQLSTATE[42S02]: Base table or view not found: 1146 Table 'elgg.elgg_ config' doesn't exist
install [-c|--config [CONFIG]]
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by RaĆ¼l Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
If I try creating the table myself using:
CREATE TABLE elgg_config(
name varchar(255) PRIMARY KEY,
value longtext NOT NULL,
);
and then install again, I get an error stating that "The site secret is not set" This may be because I manually cleared the cache in my data directory??
On Elgg 3.1.5? Are you sure?
Yes.. definitely version 3.1.5.
Just yesterday we've installed Elgg 3.1.5 on CentOS 7 and have not any problem with it.
Try the clean installation:
ok, I'll give it another shot.
Just tried again using web
https:/mysite/install.php
and CLIphp vendor/bin/elgg-cli install
all works very wellOk... I just tried... now get error "Unknown database 'elgg'. The installation is supposed to create the elgg database correct?
You must add the database manually then specify the added DB name during installation process web or CLI both).
http://learn.elgg.org/en/stable/intro/install.html#create-a-mysql-database
I'm sorry, I'm not quite sure what I'm doing wrong. I still get the error
In Database.php line 448: An exception occurred while executing 'SELECT * FROM elgg_config': SQLSTATE[42S02]: Base table or view not found: 1146 Table 'elgg.elgg_co nfig' doesn't exist
This after creating the table, creating a user with privileges, granting permission to my apache user on the data and elgg root directories. :-( Gotta be something simple I'm missing here
I don't understand thease actions.
All you need to create a new database. How you do it?
Can you install another CMS with MySQL (e.g. WordPress) to check your DB connection?
There is a video about Elgg installation (it's Elgg 1.12 but on Elgg 3 same steps):
https://www.youtube.com/watch?v=1kY_U3USWX0
- Previous
- 1
- 2
- Next
You must log in to post replies.