Hello everyone,
what kind of HTTP response codes would you suggest using when
accessing a page which requires user to be logged in and there is no
current identity present?
Initially I thought about 401 Unauthorized, but the definition says:
The response MUST include a WWW-Authenticate header
Hi all,
I'm working on a project which (surprisingly) has pages and a navigation
menu.
The 'elbows' in the menu are not clickable. They just expand the underlying
sub-pages.
This works fine by creating a Zend_Navigation_Page_Uri with an uri '#'.
But the browser still responds to the click
Thank you very much for your advices Hector.
I have one more question, is anything changing on models management using
multidb?
How do a model know which database resource must use?
Thanks
Sergio
From: djvir...@gmail.com
Date: Tue, 16 Mar 2010 09:23:26 -0700
Subject: Re: [fw-general]
Steven,
I would like to see this too!
I like Zend_VersionControl_*
Look forward to see it something.
Shaun J. Farrell
Washington, DC
(202) 713-5241
www.farrelley.com
On Thu, Mar 18, 2010 at 6:00 PM, Danny Fröberg danny.frob...@foreststar.net
wrote:
Steven,
Yes would love to have it, use
Nice to have.
Regards,
Saša Stamenković
On Fri, Mar 19, 2010 at 12:58 PM, Shaun Farrell farrel...@gmail.com wrote:
Steven,
I would like to see this too!
I like Zend_VersionControl_*
Look forward to see it something.
Shaun J. Farrell
Washington, DC
(202) 713-5241
www.farrelley.com
On Fri, Mar 19, 2010 at 2:17 AM, Mike A mik...@hotmail.co.uk wrote:
On 18 Mar 2010 at 19:02, Jake McGraw wrote:
I'd like to use Zend_Loader_Autoloader::setZfPath() and the
autoloaderZfPath application.ini directive to select a ZF version
based on Environment, exactly as described here:
Hi,
I had exactly the same problem.
*ZendFramework dir structure (the same of the example on zf manual)
-project
--ZendFramework
1.10.2-minimal
1.9.6-minimal
*project/public/index.php
//PROJECT_ROOT_DIR is defined above
set_include_path(implode(PATH_SEPARATOR,
The things I did is
1. zf create project demo1 in command prompt
2. add the lines to application.ini
* appnamespace = Application
* resources.layout.layoutPath = APPLICATION_PATH
/layouts/scripts
3. add a layout with header and footer using partial() (They are
-- Marian Meres marian.me...@gmail.com wrote
(on Friday, 19 March 2010, 08:43 AM +0100):
what kind of HTTP response codes would you suggest using when
accessing a page which requires user to be logged in and there is no
current identity present?
Initially I thought about 401 Unauthorized,
-- Jake McGraw jmcgr...@gmail.com wrote
(on Thursday, 18 March 2010, 07:02 PM -0400):
I'd like to use Zend_Loader_Autoloader::setZfPath() and the
autoloaderZfPath application.ini directive to select a ZF version
based on Environment, exactly as described here:
Hello all,
Its been years since i was stuck enough with anything to ask for help, but
this is driving me nuts!
My router config:
?xml version=1.0 encoding=UTF-8?
routes
user
typeZend_Controller_Router_Route_Hostname/type
route:username.example.com/route
/user
The only thing that is automatic regarding the DB is Zend_Db_Table and its
default adapter. You can specify the default by using this confing option:
resources.multidb.db2.default = true
For everything else, you'll need to inject the db instance into your models
(for example, by injecting into a
Here is how i set up OpenFlash charts
(http://teethgrinder.co.uk/open-flash-chart/)
Controller action:
public function statsAction(){
$this-_helper-viewRenderer-setNoRender(true);
$this-_helper-layout-disableLayout();
$transactions = new Orders();
$data =
I'm not sure if you can add custom attributes to the navigation, but why not
use external Javascript for this instead of inline? In jQuery it would be
simple:
jQuery(function($)
{
$('ul.navigation a[href=#]').click(function(event)
{
event.preventDefault();
});
});
--
Hector
Well i have solved it myself, here is the solution:
?xml version=1.0 encoding=UTF-8?
routes
user
typeZend_Controller_Router_Route_Hostname/type
route:username.avidimages.net/route
chains
default
typeZend_Controller_Router_Route_Module/type
On 19 Mar 2010 at 10:52, Matthew Weier O'Phinney wrote:
-- Jake McGraw jmcgr...@gmail.com wrote
(on Thursday, 18 March 2010, 07:02 PM -0400):
I'd like to use Zend_Loader_Autoloader::setZfPath() and the
autoloaderZfPath application.ini directive to select a ZF version
based on Environment,
-- Mike A mik...@hotmail.co.uk wrote
(on Friday, 19 March 2010, 04:29 PM -):
On 19 Mar 2010 at 10:52, Matthew Weier O'Phinney wrote:
-- Jake McGraw jmcgr...@gmail.com wrote
(on Thursday, 18 March 2010, 07:02 PM -0400):
I'd like to use Zend_Loader_Autoloader::setZfPath() and the
ok thanks, i managed to figure it out a while after i first posted and i
corrected. but now i have another issue...
Fatal error: Uncaught exception 'Zend_Controller_Response_Exception' with
message 'Cannot send headers; headers already sent in
C:\xampp\htdocs\eshop\public\modules\header.php,
- Well, check your modules\header.php, line 3, as the message states. Someone
is outputting on line 3 or before. Maybe an include file.
- Check that there are no spaces/anything before ?php in the php files.
- Delete all closing ? in php files. Spaces after can/will cause
outputting.
- Check
1- Well, check your modules\header.php, line 3, as the message states.
Someone is outputting on line 3 or before. Maybe an include file.
2- Check that there are no spaces/anything before ?php in the php files.
3- Delete all closing ? in php files. Spaces after can/will cause
outputting.
4-
On 19 Mar 2010 at 13:22, Matthew Weier O'Phinney wrote:
-- Mike A mik...@hotmail.co.uk wrote
(on Friday, 19 March 2010, 04:29 PM -):
On 19 Mar 2010 at 10:52, Matthew Weier O'Phinney wrote:
-- Jake McGraw jmcgr...@gmail.com wrote
(on Thursday, 18 March 2010, 07:02 PM -0400):
I followed the installation directions but when I run the client I get:
PHP Fatal error: Cannot access self:: when no class scope is active in
/var/backup/zendframeworks/ZendFramework-1.10.2/library/Zend/Tool/Framework/Provider/Signature.php
on line 355
I have the path to the library in my
Hm, I wasn't looking careful enough your code. As I said in my first answer,
index.php is not meant for any output.
Thus, the code from index.php
- require('modules/header.php');
- require('modules/menu.php');
should go to the same place where you have put
titleEshop/title ...
It doesn't
ok i figured out the problem with your help, thanks for giving me to
understand how it works. i moved my .php files here
application\custom\modules and my images at application\custom\art so i have
to change the image links in my php files can you help me ? first it is
wrong to put my php
So here is what I ended up doing:
Directory for different versions of ZF
% mkdir -p /usr/share/php/ZendFramework
Directory for Zend_Loader_*, Zend_Application, Zend_Exception (static
version 1.10.2)
% mkdir -p /usr/share/php/ZendFrameworkLoader/library/Zend
% cd /usr/share/php/ZendFramework
%
On Mar 19, 2010, at 13:25, Jason Lehman wrote:
I followed the installation directions but when I run the client I get:
PHP Fatal error: Cannot access self:: when no class scope is active in
/var/backup/zendframeworks/ZendFramework-1.10.2/library/Zend/Tool/Framework/Provider/Signature.php
26 matches
Mail list logo