Cannot get storytlr to use ZendFramework on debian 6

89 views
Skip to first unread message

Chux

unread,
Aug 19, 2013, 11:55:56 PM8/19/13
to storytlr...@googlegroups.com
Hello .. 

The wiki install guide is solely focused on redhat based systems, and there is no info about debian based distros at all .. 

In any case, I was able to follow the guide and get storytlr installed .. well, as well as its other dependencies, including zendframework.  I have also setup php include_path fine, and can test Zend framework is working fine through apache2 .. 

storytlr completes install, and is running fine .. but it will not accept any logons in the admin section .. it just fails silently, even when debug is enabled.  So, one tries the admin/recover and with debug set a message displays suggesting there may be issues talking to the Zend framework .. 

<code>
Notice: Trying to get property of non-object in /var/www/storytlr/protected/application/admin/controllers/BaseController.php on line 45 Notice: Trying to get property of non-object in /var/www/storytlr/protected/application/admin/controllers/BaseController.php on line 50 Notice: Trying to get property of non-object in /var/www/storytlr/protected/application/admin/controllers/BaseController.php on line 50
</code>

A peek in the BaseController.php file reveals that .. 
<code>
Line 45:  Zend_Registry::set("shard", $this->_application->user->id);
Line 50:  $this->_properties      = new Properties(array(Stuffpress_Db_Properties::KEY => $this->_application->user->id));
</code>

Its like the application is not registered with Zend, but I don't know enough about the zend framework to be sure about this  ..  I have spent tons of time trying to debug this, and had to rig up other tests to be sure that the framework is working OK ..

I also know the application is seeing zend, because if I switch to zend framework 2.x, storytlr just does not even load at all .. I am using zendframework 1.12.3, and it runs Ok but will not allow me to logon .. 

Questions:
-- Is there a particular version of zend 1.x that must be installed ?
-- How else can I troubleshoot what's going on ?
-- Any other suggestions ?

Thanks in advance for your help .. 



Chux

unread,
Aug 29, 2013, 9:48:55 AM8/29/13
to storytlr...@googlegroups.com

Thanks for publishing my post ..

I will have a go at fixing this .. soon as I can find some time .. Storytlr has some attractive feature set.  Thanks for sharing it with the community.  Shame it seems you have lost interest in pushing it further ..
Reply all
Reply to author
Forward
0 new messages