Steps to install MODx on XAMPP
There are some workarounds over internet to fix "503 Error : Could not load MODx config file" error. This includes creating "config.inc.php" inside "core/config" folder. This is surely resolve 503 error but results in another error "XPODdriver_ not found", I have no idea of fixing this error by doing any workaround. Instead of getting into some cumbersome techniques and wasting time, follow the steps described above to install MODx and get it up and running smoothly.
- Download MODx Revolutions Traditional package.
- Unzip and extract contents into htdocs folder.
- Make user all the required modules are enabled and settings configured in php.ini settings (refer MODx site for requirements)
- Rename ht.access file to .htaccess in root, core and manager folder.
- Problem with windows is, files can not exist without file name. So ht.access can not be renamed using windows GUI. Switch to command line mode and do a rename using "rename ht.access .htaccess" command.
- Now, browse MODx using your favorite browser.
- It is common to browse to root level index.php page. When browsed to index page, you may encounter "503 Error : Could not load MODx config file" error. eg: if you have extracted contents into "modxdemo" folder, your url would be "localhost/modxdemo".
- Instead of navigating to "localhost/modxdemo", navigate to "setup" folder, i.e., "localhost/modxdemo/setup" and follow the setup instruction.
- MODx will show a welcome message, click next.
- Leave the default selection of "new installation" and click next.
- Provide you DB type and DB connection details, click on "Test database server connection and view collations." link.
- If connection is successful, you will be prompted to select collation and character set for the tables.
- After selection , click on "Create or test selection of your database".
- Provide site admin details and click next.
- MODx displays installation summary, and may ask you to correct somethings if it is not right. If every requirement is in green, click install button.
- This will install MODx CMS, basically it creates all the necessary tables for content management.
- After installation, click next in the summary page.
- A final Thanking message is displayed with login button.
- Clicking on login button will ensure the setup directory is deleted from the root folder.
- Now login with admin credentials and start creating content, installing extensions and templates etc.
- Try navigating to root page i.e., "localhost/modxdemo" now, you'll see a blank page. Don't panic here, nothing went wrong. Blank page is displayed because no content is added yet.
- Add some content to home page (Resource) from the admin panel and refresh the page.
There are some workarounds over internet to fix "503 Error : Could not load MODx config file" error. This includes creating "config.inc.php" inside "core/config" folder. This is surely resolve 503 error but results in another error "XPODdriver_ not found", I have no idea of fixing this error by doing any workaround. Instead of getting into some cumbersome techniques and wasting time, follow the steps described above to install MODx and get it up and running smoothly.