Home » PHP » Page 4
Zend models select join the same table twice
PHP

Hi.

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

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

Table 'resources' has the columns:
'resource_id',
'resource_name'.

I want to retrieve the results from the table 'results' and I want to join 2 times

Zend lucene index error
PHP

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

class SearchController extends Zend_Controller_Action { protected $_indexPath = 'C:/xampp/htdocs/tbSurveillance/application/data/search'; public function init() { /* Initialize action co

Zend login form in the header
PHP

Hi!

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.


Zend is making me feel Zendy!! !! $ !!
PHP

Hi,

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 D:apachefriendsxampphtdocsxamppmaineventincludeendlibraryendContro llerDispatcherStandard.php:249 Stack trace

Zend From
PHP

Plz any body help me

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

or give me instraction about zend MVC


Zend Framework with an ORM and recognizing a db schema
PHP

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?


Zend framework/MySQL
PHP

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:wampwwwphpweb20htdocs


zend framework erroFatal error: Call to a member function getHelper() on a non-object
PHP

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 error:

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

my controller looks like this:

<?php/** * Admin section of the status-admin.leaugeoflegends.com site. * * */use Cache as Cache;use DBConn as DBConn;use Filter as Filt

Zend Framework environment: production returns an error
PHP

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

Application error

Can anybody please help to find out the proble


Zend framework doctype()
PHP

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'); }}
Privacy Policy - Copyrights Notice - Feedback - Report Violation - RSS 2017 © bighow.org All Rights Reserved .