#Deleting everything
rm -rf modx
mkdir modx
cp modx*.zip modx
cd modx
unzip modx*.zip
cd ..
#setting really insecure permissions so that I know it is not the cause of the problem (will fix after I figure out what is causing the problem)
chmod -R 777 modx
#clearing database
mysql
mysql> drop database modx;
mysql> create database modx;
mysql> grant all on modx.* to modxuser@localhost identified by ’applez’;
#running setup again
http://ipaddress/modx/setup/
clicked ’Select’
clicked ’Next’
Didn’t change anything and clicked ’Next’
Entered modxuser for the username
Entered applez for the password
didn’t change the database name or the table prefix.
clicked on "Test database server connection and view collations."
clicked on "Create or test selection of your database"
Entered admin for the ’Administrator username’
Entered my email address for ’Administrator E-Mail’
Entered applez for the ’Administrator Password’
Entered applez for the ’Confirm Password’
***Please see screenshot attached***
Clicked next and was given an installation summary with:
Installation Summary
Pre-installation tests were successful. Click Install below to continue.
Checking PHP version: OK! Running: 5.3.3
Checking PHP for zlib dependency: OK!
Checking for SimpleXML: OK!
Checking if memory limit is set to at least 24M: OK! Set to 128M
Checking if sessions are properly configured: OK!
Checking if /srv/www/htdocs/modx/core/cache directory exists: OK!
Checking if /srv/www/htdocs/modx/core/cache directory is writable: OK!
Checking if /srv/www/htdocs/modx/core/export directory exists: OK!
Checking if /srv/www/htdocs/modx/core/export directory is writable: OK!
Checking if /srv/www/htdocs/modx/core/packages directory exists: OK!
Checking if /srv/www/htdocs/modx/core/packages directory is writable: OK!
Checking if /srv/www/htdocs/modx/core/config/config.inc.php exists and is writable: OK!
Creating connection to the database: OK!
Clicked Install
----Apache error log fills up with errors like:
[Thu Nov 12 07:33:51 2009] [error] [client redacted] PHP Warning: PDO::query(): SQLSTATE[42S02]: Base table or view not found: 1146 Table ’modx.modx_access_actions’ doesn’t exist in /srv/www/htdocs/modx/core/xpdo/xpdo.class.php on line 1859, referer:
http://redacted/modx/setup/index.php?action=summary (I have attached full log as modxlog2.txt)
Installation summary:
Installation Summary
Core installation was successful. Click next to complete the installation process.
(scroll to bottom)
Clicked Next
"Thank you for installing"
Clicked Login
At the login screen entered:
admin for the username
applez for the password
clicked login
Login screen is returned again and again with no success.