I did same thing with Date object but I am getting some errors
-----------
require_once(Zend/Date/DateObject.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory
Exception Type: E_WARNING
Rendered Page: Click here to view contents able to be rendered
Source File: C:\wamp\www\QCODO\includes\Zend\Date.php Line: 25
Line 20: */
Line 21:
Line 22: /**
Line 23: * Include needed Date classes
Line 24: */
Line 25: require_once 'Zend/Date/DateObject.php';
Line 26: require_once 'Zend/Locale.php';
Line 27: require_once 'Zend/Locale/Format.php';
Line 28: require_once 'Zend/Locale/Math.php';
Line 29:
Line 30: /**
Call Stack:
#0 C:\wamp\www\QCODO\includes\qcodo\_core\framework\_functions.inc.php(21): QErrorHandler::HandleError()
#1 C:\wamp\www\QCODO\includes\Zend\Date.php(25): __qcodo_handle_error()
#2 C:\wamp\www\QCODO\includes\Zend\Date.php(25): require_once()
#3 C:\wamp\www\QCODO\www\sample.php(11): require()
-------------
I am using qcodo stable build and sample database, downloaded Zend using qcodo API and set the zend path in configuration.inc.php
define ('__ZEND__', _INCLUDES_ . '/Zend');
if (is_dir(_ZEND_))
{
set_include_path(get_include_path() . PATH_SEPARATOR . _INCLUDES_);
}
in sample.php
----------------
if( is_dir(_ZEND_))
require(_ZEND_ . '/Date.php');
$dtDate = new Zend_Date();
is anything I am missing ???