Digizex Video Tutorial: Installation and Basic Features · May 16, 09:01 AM
Digizex has been refactored to use the Fabrication framework, and a slew of new features has been added, including integration with KapInspect. This tutorial walks you through installing Digizex on a personal web server.
Part 1 of 2
Part 2 of 2
Tips for Installing on a Custom Server Configuration
- The default install assumes that the username for MySql is root and the password is blank (ie: no password).
- Also assumes that the MySql server is located at 127.0.0.1 (ie: localhost)
- You can change database settings by modifying the config.xml file located in /digi/application/data.
— Pickle
Comment
Pushing HydroSequence The Digizex Debugger for Flash and Flex: Drop-in KapInspect and De MonsterDebugger without Breaking a Sweat [AS3]

First off, I can’t thank you enough for the resources and information provided on your site. You have opened up a whole new world for me.
In following along with this tutorial i ran into a problem that hopefully you can help me resolve. I installed a fresh copy of XAMPP v1.7.2 on Windows XP SP3 using all the defaults and the same directory structure as displayed in your video. All the steps described were followed exactly including the point where the digizex database was successfully imported. When i typed “http://digi.localhost” (keeping my fingers crossed), I received the following error:Fatal error: Uncaught exception ‘Zend_Controller_Exception’ with message ‘No default module defined for this application’ in C:\xampp\htdocs\digi\library\Zend\Controller\Dispatcher\Standard.php:392 Stack trace: #0 C:\xampp\htdocs\digi\library\Zend\Controller\Dispatcher\Standard.php(211): Zend_Controller_Dispatcher_Standard->getControllerClass(Object(Zend_Controller_Request_Http)) #1 C:\xampp\htdocs\digi\library\Zend\Controller\Dispatcher\Standard.php(245): Zend_Controller_Dispatcher_Standard->isDispatchable(Object(Zend_Controller_Request_Http)) #2 C:\xampp\htdocs\digi\library\Zend\Controller\Front.php(946): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http)) #3 C:\xampp\htdocs\digi\application\bootstrap.php(29): Zend_Controller_Front->dispatch() #4 C:\xampp\htdocs\digi\index.php(5): require(‘C:\xampp\htdocs…’) #5 {main} thrown in C:\xampp\htdocs\digi\library\Zend\Controller\Dispatcher\Standard.php on line 392
..which stopped my learning experience dead in its tracks
I can’t access the Digitalus CMS dashboard.
Any help would be greatly appreciated.
Thank you in advance
— Carpe_Diem · Sep 22, 10:57 PM · #
After spending several hours trying to solve the Fatal error: Uncaught exception ‘Zend_Controller_Exception’, i found a post in the Digitalus forum:
http://community.digitaluscms.com/viewtopic.php?f=7&t=4&start=10
stating that the problem is due to the Digitalus 1.81 database not installing when using PHP v5.2.9 and up. The solution posted was to “replace private function _populate() in ‘/library/Digitalus/Installer/Database.php’ (about line 230)” with some code i’ll provide further down.
Since i haven’t installed Digitalus directly, but through digizex, i tried finding the corresponding file “Database.php” in the “www” folder of digizex. Here is the complete path after the contents of the folder “www” were copied into the newly created “digi” folder in “C:\xampp\htdocs\” :“C:\xampp\htdocs\digi\library\DSF\Installer\Database.php”
I’m assuming that is the correct file to edit. I tried two methods for editing the “private function _populate()” :1)
private function _populate() { $queries = array( ‘INSERT INTO `content_nodes` VALUES (?, ?, ?, ?, ?, ?)’ => array( array(1, ‘page_1’, ‘content’, null, null, ‘Welcome to Digitalus CMS’), array(2, ‘page_1’, ‘tagline’, ‘en’, null, ‘About Digitalus’), array(3, ‘page_1’, ‘content’, ‘en’, null, “Congratulations! You have successfully installed Digitalus CMS.<br>To get started why don’t you log in and change this page:<br><ol><li>Log in to site administration with the username and password you set up in the installer.</li><li>Go to the pages section.</li><li>Click on the Home page on the left sidebar.</li><li>Now update it and click update page!</li></ol>If you have any questions here are some helpful links:<br><ul><li><a href=\“http://forum.digitaluscms.com\”>Digitalus Forum</a></li><li><a href=\“http://wiki.digitaluscms.com\”>Digitalus Documentation</a><br></li></ul>”), array(4, ‘page_1’, ‘headline’, ‘en’, null, ‘Digitalus CMS’), array(5, ‘page_1’, ‘teaser’, ‘en’, null, ‘’), array(6, ‘page_2’, ‘headline’, ‘en’, null, ‘HTTP/1.1 404 Not Found’), array(7, ‘page_2’, ‘teaser’, ‘en’, null, ‘’), array(8, ‘page_2’, ‘content’, ‘en’, null, ‘Sorry, the page you are looking for has moved or been renamed.’), array(9, ‘page_3’, ‘headline’, ‘en’, null, ‘Site Offline’), array(10, ‘page_3’, ‘teaser’, ‘en’, null, ‘’), array(11, ‘page_3’, ‘content’, ‘en’, null, ‘Sorry, our site is currently offline for maintenance.’) ), ‘INSERT INTO `data` VALUES (?, ?, ?)’ => array( array(1, ‘site_settings’, “<?xml version=\“1.0\”?>\n<settings><name>Digitalus CMS Site</name><online>1</online><addMenuLinks>0</addMenuLinks><default_locale/><default_language>en</default_language><default_charset>utf-8</default_charset><default_timezone>America/Los_Angeles</default_timezone><default_date_format/><default_currency_format/><default_email/><default_email_sender/><use_smtp_mail>0</use_smtp_mail><smtp_host/><smtp_username/><smtp_password/><google_tracking/><google_verify/><title_separator> – </title_separator><add_menu_links>1</add_menu_links><doc_type>XHTML1_TRANSITIONAL</doc_type><home_page>1</home_page><page_not_found>2</page_not_found><offline_page>3</offline_page><meta_description/><meta_keywords/></settings>\n”) ), ‘INSERT INTO `designs` VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)’ => array( array(1, ‘Default’, ‘This is the standard page.’, ’2-column-right.phtml’, “<?xml version=\“1.0\”?>\n<styles><blank-page><stylesheet>nav.css</stylesheet><stylesheet>style.css</stylesheet></blank-page></styles>\n”, ‘’, null, null, null, ‘1’) ), ‘INSERT INTO `pages` VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)’ => array( array(1, 1, ‘1231952304’, null, null, null, ‘Home’, ‘’, ‘content’, ‘default_default’, null, 0, 2, 1, 1, null), array(2, 1, ‘1234630372’, null, null, null, ’404 Page’, ‘’, ‘content’, ‘default_default’, null, 0, 0, null, 0, null), array(3, 1, ‘1234630436’, null, null, null, ‘Site Offline’, ‘’, ‘content’, ‘default_default’, null, 0, 1, null, 0, null) ) );
foreach ($queries as $sql => $inserts) { $stmt = $this->_db->prepare($sql); foreach ($inserts as $data) { $stmt->execute($data); } } }…which resulted in the same error
2)
private function _populate() { $queries = array( ‘INSERT INTO `content_nodes` VALUES (?, ?, ?, ?, ?, ?)’ => array( array(1, ‘page_1’, ‘content’, null, null, ‘Welcome to Digitalus CMS’), array(2, ‘page_1’, ‘tagline’, ‘en’, null, ‘About Digitalus’), array(3, ‘page_1’, ‘content’, ‘en’, null, “Congratulations! You have successfully installed Digitalus CMS.<br>To get started why don’t you log in and change this page:<br><ol><li>Log in to site administration with the username and password you set up in the installer.</li><li>Go to the pages section.</li><li>Click on the Home page on the left sidebar.</li><li>Now update it and click update page!</li></ol>If you have any questions here are some helpful links:<br><ul><li><a href=\“http://forum.digitaluscms.com\”>Digitalus Forum</a></li><li><a href=\“http://wiki.digitaluscms.com\”>Digitalus Documentation</a><br></li></ul>”), array(4, ‘page_1’, ‘headline’, ‘en’, null, ‘Digitalus CMS’), array(5, ‘page_1’, ‘teaser’, ‘en’, null, ‘’), array(6, ‘page_2’, ‘headline’, ‘en’, null, ‘HTTP/1.1 404 Not Found’), array(7, ‘page_2’, ‘teaser’, ‘en’, null, ‘’), array(8, ‘page_2’, ‘content’, ‘en’, null, ‘Sorry, the page you are looking for has moved or been renamed.’), array(9, ‘page_3’, ‘headline’, ‘en’, null, ‘Site Offline’), array(10, ‘page_3’, ‘teaser’, ‘en’, null, ‘’), array(11, ‘page_3’, ‘content’, ‘en’, null, ‘Sorry, our site is currently offline for maintenance.’) ), ‘INSERT INTO `data` VALUES (?, ?, ?)’ => array( array(1, ‘site_settings’, “<?xml version=\“1.0\”?>\n<settings><name>Digitalus CMS Site</name><online>1</online><addMenuLinks>0</addMenuLinks><default_locale/><default_language>en</default_language><default_charset>utf-8</default_charset><default_timezone>America/Los_Angeles</default_timezone><default_date_format/><default_currency_format/><default_email/><default_email_sender/><use_smtp_mail>0</use_smtp_mail><smtp_host/><smtp_username/><smtp_password/><google_tracking/><google_verify/><title_separator> – </title_separator><add_menu_links>1</add_menu_links><doc_type>XHTML1_TRANSITIONAL</doc_type><home_page>1</home_page><page_not_found>2</page_not_found><offline_page>3</offline_page><meta_description/><meta_keywords/></settings>\n”) ), ‘INSERT INTO `designs` VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)’ => array( array(1, ‘Default’, ‘This is the standard page.’, ’2-column-right.phtml’, “<?xml version=\“1.0\”?>\n<styles><blank-page><stylesheet>nav.css</stylesheet><stylesheet>style.css</stylesheet></blank-page></styles>\n”, ‘’, null, null, null, ‘1’) ), ‘INSERT INTO `pages` VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)’ => array( array(1, 1, ‘1231952304’, null, null, null, ‘Home’, ‘’, ‘content’, ‘default_default’, null, 0, 2, 1, 1, null), array(2, 1, ‘1234630372’, null, null, null, ’404 Page’, ‘’, ‘content’, ‘default_default’, null, 0, 0, null, 0, null), array(3, 1, ‘1234630436’, null, null, null, ‘Site Offline’, ‘’, ‘content’, ‘default_default’, null, 0, 1, null, 0, null) ) );
foreach ($queries as $sql => $inserts) { $stmt = $this->_db->prepare($sql); foreach ($inserts as $data) { $stmt->execute($data); } } } which ALSO resulted in the same error.I REALLY want to get digizex to work. You have finally provided flash developers with the tools they need to create SEO friendly Sites that are easy to debug within a rock solid framework.
I could use your help right about now.
Thank you for all your hard work.
— Carpe_Diem · Sep 23, 11:59 PM · #
Sorry for the delayed response. I have fixed this problem for the next Digizex release (not yet available) which will also use the latest version of Digitalus.
The last post on the web page you mentioned is the solution I used.
I think it didn’t work for you because you are applying a fix for Digitalus 1.8.1 to an earlier version of Digitalus. Maybe the foreach statement at the end of the populate function is the part to change.
— Pickle · Sep 26, 05:19 PM · #
Hi,
i treid it using mamp on mac but its not working at all, i simply get a blank page.
Do you please like to tell me how to install it without using a subdomain? Than I could stroke out that this step is the fault. (anyways I have added the subdomain and vhost, not working )
— dl · Nov 18, 04:41 AM · #
I tried installing xampp on my MacBook a little while ago and gave up after a couple of hours. There were a lot of issues with permissions and such, and I never got it to work. Using Windows XP is a lot easier because there is pretty much no security. I have installed xampp on a VMWare virtual machine with no problems. This might be a good way to install locally if you are on a mac and have VMWare. (some of the video tutorials were actually recorded from a VMWare virtual machine)
— Pickle · Nov 19, 09:11 AM · #
Bonjour,
Same installation problem as Carpe Diem, and “fixed” it by installing an older release (picked up the r15 on http://code.google.com/p/digizex/updates/list, which is the closest in date to the tutorial).
Cross fingers for the next steps !
— Boulbidur · Nov 28, 09:06 PM · #