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.ph
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
%
I think you should study in more depth the framework. It is very a powerful
framework, and "unfortunately" very, very flexible framework and therefore
not so easy to start from scratch.
I think the best way would be to install and get the working demo app from
http://framework.zend.com/manual/e
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 code
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
Eshop ...
It doesn't matter if y
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 php
On 19 Mar 2010 at 13:22, Matthew Weier O'Phinney wrote:
> -- Mike A wrote
> (on Friday, 19 March 2010, 04:29 PM -):
> > On 19 Mar 2010 at 10:52, Matthew Weier O'Phinney wrote:
> >
> > > -- Jake McGraw wrote
> > > (on Thursday, 18 March 2010, 07:02 PM -0400):
> > > > I'd like to use Zend_Loa
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 "" in php files. Spaces after can/will cause
outputting.
4- Check if any file has UTF BOM chars at the beginn
- 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 "" in php files. Spaces after can/will cause
outputting.
- Check if any file has UTF BOM chars at the beginning
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, line
In ZF, index.php is not meant for outputting any characters and definitely
not the HTML code. It is the entry point to you app. It makes first
initializations, like include_path.
The HTML code (Eshop ... ) should go into your process.phtml
(or in your .phtml layout script, if you're using it, e.g
-- Mike A wrote
(on Friday, 19 March 2010, 04:29 PM -):
> On 19 Mar 2010 at 10:52, Matthew Weier O'Phinney wrote:
>
> > -- Jake McGraw wrote
> > (on Thursday, 18 March 2010, 07:02 PM -0400):
> > > I'd like to use Zend_Loader_Autoloader::setZfPath() and the
> > > autoloaderZfPath application.
On 19 Mar 2010 at 10:52, Matthew Weier O'Phinney wrote:
> -- Jake McGraw 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
Well i have solved it myself, here is the solution:
Zend_Controller_Router_Route_Hostname
:username.avidimages.net
Zend_Controller_Router_Route_Module
On
default
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
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 = $tr
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
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:
Zend_Controller_Router_Route_Hostname
:username.example.com
Zend_Controller_Router_Route_Module
On
-- Jake McGraw 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:
>
> http://framework.zend.com/manual/en/zend.load
-- Marian Meres 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", but the definition
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
perf
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, ar
On Fri, Mar 19, 2010 at 2:17 AM, Mike A 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:
>>
>>
>> http://frame
Nice to have.
Regards,
Saša Stamenković
On Fri, Mar 19, 2010 at 12:58 PM, Shaun Farrell 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 Th
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 wrote:
> Steven,
>
> Yes would love to have it, use case could be for having se
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] Using
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 wh
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
28 matches
Mail list logo