Home » PHP » Page 4


I am using Zend Framework Models. I have 2 tables:
'results' and 'resources'.

Table 'results' has the columns: />'results_id',
'resource_id_team2', />'match_result'.

Table 'resources' has the columns: />'resource_id',

I want to retrieve the
results from the table 'results' and I want to join 2 times
table 'resources', so that to have the names of the teams in the array
and to obtain something like:

'results_id' => 1, />'resource_id_team1' => 1,
'resource_id_team2' => 2, />'match_result' => '2:1',
'resource_id' => '1', />'resource_name'

Hallo good people,

I have been having an error of "Index
doesn't exists in the specified directory" in my zend application. i
have a controller called search and it looks like this

SearchController extends Zend_Controller_Action { protected
$_indexPath =
'C:/xampp/htdocs/tbSurveillance/application/data/search'; public
function init() { /* Initialize action controller here */ }
public function indexAction() { // action body } public
function buildindexAction() {// protected $_indexPath =


I have a Zend project and I would like to implement a
login form in the header of the site in such a way, that if a user is
not logged in, he can use the site, but the form is always there, no
matter what pages he access. If he is logged in, then his username is
always in the header.

Please advise some links for
documentation on this subject.

Thank you.


Just trying to learn on how the Zend Framework works but
i keep on getting this errors on viewing as http://mainevent on my
local machine:

Fatal error: Uncaught exception
'Zend_Controller_Dispatcher_Exception' with message 'Invalid
controller specified (error)' in
llerDispatcherStandard.php:249 Stack trace: #0
Object(Zend_Controller_Response_Http)) #1

Plz any body help me

how can i send data in server by form
use Zend framwork MVC

or give me instraction about zend

I am using Zend Framework with the Doctrine ORM and was wondering
how I would get Doctrine to recognize a database schema I already have
made to automatically read it and handle the relationship mapping,
etc. Any ideas?

Hi guys, I am a bit stuck and after some help. I studying through a
book called practical web 2.0 applications. Through this book you
build a full application as you are learning. Now I have got to a
section and can't go further. When I go to insert data into MySQL via
a form, I get this error message:

Fatal error: Maximum
execution time of 30 seconds exceeded in
C:wampwwwphpweb20htdocsendDbStatementPdo.php on line 229

Now I
have gone through the book over and over again re-checking everything,
and I have followed it right to the nail. Can someone please tell me
what are the usual causes of this kind of error, so I know where to
look. I have coded about 20 odd scripts and

hi, i am pretty new to zendframwork butnot so new to php. i am
trying to use ajax with the framework, but i keep getting an

Fatal error: Call to a member function getHelper() on a

my controller looks like this:

* Admin section of the status-admin.leaugeoflegends.com site. * *
*/use Cache as Cache;use DBConn as DBConn;use Filter as
Filter;require_once 'Logs/Service.php';class LogsController extends
endControllerAction{ public function init() { $ajaxContext =
$ajaxContext->addActionContext('list', 'html')
->initContext(); }

Hello. I have created a new Zend project, created a new model class
to get some data from the database. If the environment is set to
'development', the data from the database are displayed properly in
the browser, but after setting the environment to 'production', the
following error appears:

An error occurred


Can anybody please help to find out the problem?

Evening all

I am working my way through Zend Framework 1.x,
and seem to have an issue.

I am trying to set the
doctype() to HTML5:

class Bootstrap extends
Zend_Application_Bootstrap_Bootstrap { protected function
__initDoctype() { $this->bootstrap('view'); $view =
$this->getResources('view'); $view->doctype('HTML5');

I have check the documentation and using
doctype('HTML5') seems to be correct, but my output keeps
showing others.

4.01 Transitional//EN"

- Technology - Languages
+ Webmasters
+ Development
+ Development Tools
+ Internet
+ Mobile Programming
+ Linux
+ Unix
+ Apple
+ Ubuntu
+ Mobile & Tablets
+ Databases
+ Android
+ Network & Servers
+ Operating Systems
+ Coding
+ Design Software
+ Web Development
+ Game Development
+ Access
+ Excel
+ Web Design
+ Web Hosting
+ Web Site Reviews
+ Domain Name
+ Information Security
+ Software
+ Computers
+ Electronics
+ Hardware
+ Windows
+ C/C++/C#
+ VB/VB.Net
+ Javascript
+ Programming
Privacy Policy - Copyrights Notice - Feedback - Report Violation 2018 © BigHow