zend-frameworkRelated issues-Collection of common programming errors
Mahbubur R Aaman
php centos zend-framework
Shows PHP Fatal Errormain(): Failed opening required ‘Zend/Loader.php’I have installed ZF on /usr/share/phpzf command is working. I can create project and do other works using zf command. But while including the library path then shows the error.Am i missing something?
VBart
php postfix zend-framework
I run three Magento web stores. All the orders e-mails are working just fine, with the exception of 7 e-mails that didn’t even got sent from the webserver. Upon investigating the issue I discovered the following logs:Magento log:2013-08-08T11:44:59+00:00 ERR (3): exception ‘Zend_Mail_Transport_Exception’ with message ‘Unable to send mail. ‘ in /var/www/website.com/lib/Zend/Mail/Transport/Sendmail.php:137Postifx log:Aug 8 12:44:59 bv-webserver postfix/sendmail[18647]: fatal: [email protected](3
Vecta
php zend-framework lucene
I’ve written a basic indexing script for my site and it seems to be working…somewhat. It gets through about 3/4 of the pages it needs to index and then give this error: Fatal error: Maximum execution time of 0 seconds exceeded in/Zend/Search/Lucene/Analysis/Analyzer.php on line 166It seems to hang up in a different spot each time, too. I ran it a minute later and got this:Fatal error: Maximum execution time of 0 seconds exceeded in/Zend/Search/Lucene/Storage/Directory/Filesystem.php on line 34
Ronedog
zend-framework
I just want to use a few classes Zend offers, Zend Date, Zend Mail, and a few others, but I can’t get the date one to even do anything. I’ve included it this way:include_once ‘../classes/zend/library/zend/date/DateObject.php’; $date = new Zend_Date(time());Here’s the error: Fatal error: Class ‘Zend_Date’ not foundDo I have to go through the steps to change the configuration files for apache, and php just to use this one class?Any help is appreciated. Thanks.
Boris Guéry
zend-framework zend-session
I’m getting an error when trying to include Session.php for the Zend Framework.Here’s how I include it:$ZEND_LIBRARY_PATH = “path_to_zend_library_folder”; set_include_path( get_include_path() . PATH_SEPARATOR . $ZEND_LIBRARY_PATH); include_once ‘../classes/zend/library/zend/Session.php’; $account_info = new Zend_Session_Namespace(‘account’);The file gets included ok, but I get this error: Cannot redeclare class Zend_Session How can I get this to work?
Charles
zend-framework zend-framework2
require_once ‘Zend/Loader/StandardAutoloader.php’; $loader = new Zend\Loader\StandardAutoloader(array(‘autoregister_zf’ => true)); $loader->register();For some reason, I cannot get this three lines of code above to work. Here is what i have done :I added the ZF2 library into my include_path (at runtime) using set_include_path I verified that it is working fine. calling require_once ‘Zend/Loader/StandardAutoloader.php’; does not return any error messages But when i call : $loader = new Zen
Lats
zend-framework zend-framework2
Warning: include_once(SITE.php) [function.include-once]: failed to open stream: No such file or directory in D:\xampp\php\ZendFramework\library\Zend\Loader.php on line 134Warning: include_once() [function.include]: Failed opening ‘SITE.php’ for inclusion (include_path=’D:\xampp\htdocs\tonkinmembers\application/../library;D:\xampp\htdocs\tonkinmembers\library;;D:\xampp\htdocs\tonkinmembers\application\models;D:\xampp\htdocs\tonkinmembers\application\forms;D:\xampp\htdocs\tonkinmembers\application
TomPHP
php mysql zend-framework phpmyadmin wamp
I am using WAMP for my application. I am developing the application in ZEND. When I work with the application I am receiving the following Error. Even I am not able to look at my PHPMYADMIN. The error totally vanish my WAMP!! I am using WampServer2.1e-x32Fatal error: Out of memory (allocated 1048576) (tried to allocate 393216 bytes) in D:\wamp\apps\phpmyadmin3.3.9\libraries\config.default.php on line 2051I have did the following but still I issue remains same:I have set the memory limit to 0 in
Rich
php zend-framework error-handling fatal-error
On a PHP webapp using the Zend 1 framework, if the code throws an exception, I get a nice error page with my branding etc.If the code encounters a PHP fatal error (e.g. “method call on non-object” when an object reference is unexpectedly null), then I just get a bare Apache 500 error page.How can I get a nice error page in the latter case?Things I have tried:If the PHP ini “display_errors” is set, then I get just the fatal error message as plain text If “display_errors” is not set, then I get th
Artur
zend-framework
I’ve started using Zend framework, and Im following this simple Zend form tutorial. The form is located in application/forms directory I have included the Zend framework in the Path (by going to computer properties). However when i access form.php page, i get this error:Fatal error: Class ‘Zend_Form’ not found I have also tried by copying the Zend folder from the Zend framework in the library folder of the application, however error still remains same. Thanks.
Web site is in building