problem with install kwf-cms-demo on fedora20 with xampp

19 views
Skip to first unread message

José C Gallo

unread,
Apr 29, 2014, 9:53:18 PM4/29/14
to koala-fra...@googlegroups.com
Hi, I have a problem finalizing the installation of kwf-cms-demo. I follow the steps according to the instructions of the web (my path: /opt /lamp/htdocs/portal) 

Then i following the url 

And next I get the error:

exception 'ErrorException' with message 'Argument 1 passed to Zend_Db_Select::__construct() must be an instance of Zend_Db_Adapter_Abstract, boolean given, called in /opt/lampp/htdocs/portal/library/zend/1.10.7/Zend/Db/Table/Select.php on line 76 and defined' in /opt/lampp/htdocs/portal/library/zend/1.10.7/Zend/Db/Select.php:163
Stack trace:
#0 /opt/lampp/htdocs/portal/library/zend/1.10.7/Zend/Db/Select.php(163): Kwf_Debug::handleError(false)
#1 /opt/lampp/htdocs/portal/library/zend/1.10.7/Zend/Db/Table/Select.php(76): Zend_Db_Select->__construct(Object(Kwf_Db_Table))
#2 /opt/lampp/htdocs/portal/kwf-lib/Kwf/Db/Table/Abstract.php(111): Zend_Db_Table_Select->__construct()
#3 /opt/lampp/htdocs/portal/kwf-lib/Kwf/Model/Db.php(260): Kwf_Db_Table_Abstract->select(Object(Kwf_Model_Select))
#4 /opt/lampp/htdocs/portal/kwf-lib/Kwf/Model/Db.php(858): Kwf_Model_Db->createDbSelect(Object(Kwf_Model_Select))
#5 /opt/lampp/htdocs/portal/kwf-lib/Kwf/Model/Db.php(1003): Kwf_Model_Db->_getDbSelect(Object(Kwf_Model_Select), Array)
#6 /opt/lampp/htdocs/portal/kwf-lib/Kwf/Model/Db.php(1109): Kwf_Model_Db->_createDbSelectWithColumns('array', Object(Kwf_Model_Select), Array)
#7 /opt/lampp/htdocs/portal/kwf-lib/Kwf/Model/Proxy.php(196): Kwf_Model_Db->export('array', Object(Kwf_Model_Select), Array)
#8 /opt/lampp/htdocs/portal/kwf-lib/Kwc/Root/Category/Generator.php(203): Kwf_Model_Proxy->export(NULL, Object(Kwf_Component_Select))
#9 /opt/lampp/htdocs/portal/kwf-lib/Kwc/Root/Category/Generator.php(129): Kwc_Root_Category_Generator->_getPageIds(NULL, Object(Kwf_Component_Select))
#10 /opt/lampp/htdocs/portal/kwf-lib/Kwf/Component/Data.php(420): Kwc_Root_Category_Generator->getChildData(Array, Array)
#11 /opt/lampp/htdocs/portal/kwf-lib/Kwf/Component/Data.php(1191): Kwf_Component_Data->getRecursiveChildComponents('portal/kwf/main...')
#12 /opt/lampp/htdocs/portal/kwf-lib/Kwc/Root/Abstract.php(64): Kwf_Component_Data->getChildPageByPath(Object(Kwf_Component_Data_Root), 'portal/kwf/main...')
#13 /opt/lampp/htdocs/portal/kwf-lib/Kwc/Root/Abstract.php(50): Kwc_Root_Abstract::getChildPageByPath('portal/kwf/main...', 'es-ES,es;q=0.8,...')
#14 /opt/lampp/htdocs/portal/kwf-lib/Kwf/Component/Data/Root.php(197): Kwc_Root_Abstract->getPageByUrl('http://localhos...', 'es-ES,es;q=0.8,...', true)
#15 /opt/lampp/htdocs/portal/kwf-lib/Kwf/Setup.php(204): Kwf_Component_Data_Root->getPageByUrl()
#16 /opt/lampp/htdocs/portal/bootstrap.php(5): Kwf_Setup::dispatchKwc()
#17 {main}

What am I doing wrong?

greetings and thanks!

Niko Sams

unread,
Apr 30, 2014, 5:16:32 AM4/30/14
to Koala Framework Dev
Hi,

problem should be fixed now. please update kwf-lib, execute
rm cache/setup*
rm cache/config/*
and restart your webserver.

Problem was that you run the demo in a subfolder (/portal) which was broken.
We recommend running in an own vhost - because we don't test the
running-in-subfolder that good as you can see :D

cheers,
Niko
> --
> You received this message because you are subscribed to the Google Groups
> "Koala Framework Dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to koala-framework...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages