Perhaps moving Zend.php to Zend/Core.php as-is AND making new classes to
replace it is the better solution.
We can make the move from Zend to Zend_Core and people can easily do a
global search-replace to handle it.
Once Zend_Core is in the framework, you can basically turn each of it's
functions
Well, The error message seems fairly self explanitory. Try using a fully
qualified path name.
$base = dirname(dirname(__FILE__));
$controller->setControllerDirectory($base . '/application/controllers');
On 1/9/07, Lindemann <[EMAIL PROTECTED]> wrote:
changing __construct() to init() solved m
Well, i have used __autoload with my projects without any issues, and I use
byte code caches (Zend Platform, APC, and XCache). I was mainly mentioning
it since I had seen people arguing that it wouldn't work right. As for
premature optimization... When I started my current project using the ZF
Hi everyone.
I was playing around with the spl_autoload_register function today and
decided to ask, Why doesn't ZF use it instead of all the require_once calls?
a simple
spl_register_autoload(array('Zend', 'loadClass'));
would do the trick i think. It's valid from PHP 5 >= 5.1.0RC1 (
http:/
That specific error is due to the fact that when you use an array in a
foreach loop, PHP tries to update the internal pointer to the 'current'
key. Since you cannot get the array by reference using __get or offsetGet,
you cannot update this pointer. PHP is telling you that you are updating
the p
ce' but the option is not available
> when I am viewing this page.
>
> - Original Message
> From: Lee Saferite < [EMAIL PROTECTED]>
> To: Don Reeves <[EMAIL PROTECTED]>; Zend Framework General
>
> Sent: Tuesday, December 26, 2006 8:17:56 AM
> Subj
iewing this page.
- Original Message
From: Lee Saferite <[EMAIL PROTECTED]>
To: Don Reeves <[EMAIL PROTECTED]>; Zend Framework General <
fw-general@lists.zend.com>
Sent: Tuesday, December 26, 2006 8:17:56 AM
Subject: Re: [fw-general] dynamic image generation
Generally, in fire
I vote for the idea of the ability to set the no route controller/action.
I would also expect the original controller/action to still be set when the
noroute controller/action is called so you could properly log errors.
Lee
On 12/23/06, Willie Alberty <[EMAIL PROTECTED]> wrote:
On Dec 23, 200
Generally, in firefox, you can 'view source' and get the actual error
message the server sent.
Send us that error please.
Lee
On 12/25/06, Don Reeves <[EMAIL PROTECTED]> wrote:
Hi,
I am new to the Zend Framework but am very happy with what I have seen so
far. I have decided to try integrati
/response/invokeArgs
The new Zend_Controller_Action class provides a stub function called init()
that you can override to do any controller level setup if needed.
Lee.
On 12/22/06, Lee Saferite <[EMAIL PROTECTED]> wrote:
Actually, a call to $this->_getParam('id') gets tr
Actually, a call to $this->_getParam('id') gets translated into
$this->getRequest()->getParam('id') in the Action class. So, his code
'should' work. It seems that the internal call to getRequest() is not
returning a valid object.
The source code provided is insufficient to diagnose the problem.
You would get that if you had no Zend_Controller_Request object.
What does your bootstrap code look like?
Lee.
On 12/22/06, Marc Lindemann <[EMAIL PROTECTED]> wrote:
Hello,
I have to problems after upgrading to 0.6.0:
-*Fatal error*: Call to a member function getParam() on a
non
BTW, This discussion belongs in the MVC list ([EMAIL PROTECTED])
On 12/21/06, Lee Saferite <[EMAIL PROTECTED]> wrote:
Wait... doesn't using __call provide the same effect?
On 12/21/06, Kevin McArthur <[EMAIL PROTECTED]> wrote:
>
> I second this. Bring back noroute =P
Wait... doesn't using __call provide the same effect?
On 12/21/06, Kevin McArthur <[EMAIL PROTECTED]> wrote:
I second this. Bring back noroute =P
K
- Original Message -
From: "Willie Alberty" <[EMAIL PROTECTED]>
To: "Zend Framework General"
Sent: Thursday, December 21, 2006 10:02 AM
S
What does your code look like?
If, for example, you are using the RewriteRouter, you could do something
like this:
$router->addRoute('catchall', new Zend_Controller_Router_Route('/*',
array('controller'=>'index', 'action'=>'error'), array());
$router->addRoute('home', new Zend_Controller_Router_
Well, Gentoo has 5.1.6 listed as stable and 5.2 in available in an overlay
On 12/11/06, Paul Court <[EMAIL PROTECTED]> wrote:
On 11 Dec 2006, at 23:07, Richard Thomas wrote:
> On that note, asking for input, I use RHEL/Centos so I don't really
> know the status in the other worlds, could peop
wrote:
Did that. Now when I do :
$db=$this->getAdapter();
$result=$db->find(1);
I get :
Fatal error: Call to undefined method Zend_Db_Adapter_Pdo_Mysql::find()
Lee Saferite wrote:
>
> If I'm not mistaken, you need to call the parent constructor inside your
> POCIns
ttached the full code :
- index.php - bootstrap
- IndexController.php
- POCInstance.php - the class POCInstance
Lee Saferite wrote:
>
> Matthew,
>
>In the first message from wimg, it says that
> Zend_Db_Table::setDefaultAdapter($db)
> is being called.
> However, even if
Gunar,
I'm confused. Using ZF 0.2.0 and wimg's code, calling
Zend_Db_Table::getAdapter() would return a Zend_Db_Adapter_Pdo_Mysql object
wouldn't it? Calling quoteInto on this would use
Zend_Db_Adapter_Abstract::quoteInto(), who in turn calls
Zend_Db_Adapter_Abstract::quote(), who calls _conn
Matthew,
In the first message from wimg, it says that
Zend_Db_Table::setDefaultAdapter($db)
is being called.
However, even if that were not the case, you should not be able to get the
reported error, at least as far as I can tell from the code in question.
If the default adapter was never set t
Hello all,
I recently ran across an issue where Zend_Json is different than
json_decode/json_encode and thought I'd ask what you guys thought.
With ZendJSON::encode, you can turn a string variable "thestring" into
""thestring"", and the use Zend_Json::decode to turn that back into
"thestring".
I actually put a patch on the bug tracker for this very issue. I also made mention of the fact that we should, IMHO, make Zend_View implement the ArrayAccess interface.On 11/1/06,
Allard Buijze <[EMAIL PROTECTED]> wrote:
A while ago, I suggested using adding Container classes (such asCollection,
Trust me, the ONLY difference in software between my development server and demo laptop is Zend Platform. We have the same OS, the same packages, even the same release of the package, on all the laptops and development servers.
We've had issues with different software versions in the past and ou
of PHP, it could be
fixed in that version?
Keith
From: Lee Saferite
[mailto:[EMAIL PROTECTED]] Sent: 25 October 2006
16:01To: Zend Framework GeneralSubject: Re: [fw-general]
Weird Issue (Slightly OT)
Wow, I'm not a master PHP programmer, so this
confuses me.This fails: public func
ing. Is this a bug or user error? Also, seems to me that Zend Platform changes the behavior of the laguage in an undocumented way, isn't this a bad thing?
I would appreciate any comments on this.LeeOn 10/25/06, Lee Saferite <[EMAIL PROTECTED]
> wrote:Wow,
I'm not a master PHP
{
return null;
} }
}On 10/25/06, Lee Saferite <[EMAIL PROTECTED]> wrote:
Ok, so I tried changing the __get method of the Zend_View_Abstract class to one I found here:
http://framework.zend.com/issues/browse/ZF-298And not it works.
So, could someone ex
without it?Lee.On 10/25/06,
Lee Saferite <[EMAIL PROTECTED]> wrote:
=) Good call. Too much Cut and Paste. we DO use ZF on the laptops.And as an update, I have further isolated it to the __get/__set functions having the issue.Lee.
On 10/25/06, Christopher Östlund <[EMAIL PROTECTED]
>
ork on the demo laptops running the Zend Framework application?On 10/25/06,
Lee Saferite
<[EMAIL PROTECTED]> wrote:
Software details:Apache 2.0.52PHP
5.0.4Zend Framework 0.1.5 (not on demo laptops)
Hi all, I just ran into a strange problem and since the project uses ZF and you guys are the only PHP community I am part of, I thought I'd present it to you all.We currently run with Zend Platform on our testing and live servers without any problems. We also have a series of laptops running lin
I had the same issue a few days ago. Anyone know what was up?On 10/22/06, Charles <[EMAIL PROTECTED]> wrote:
Weird.Along with the list post, here's the email I received from Amazon (!):
> Greetings from Amazon.com.>> We're sorry. You've written to an address that cannot accept incoming> e-mail. Bu
In regards to Zend_Json, why was it designed to support only one
encoder/decoder? If the encoder/decoder was specified as an interface
we could easily swap out the backends for this task. The reason I ask
it that from a performance point of view (No I have not run an actual
test) it seems like t
In regards to Zend_Json, why was it designed to support only one
encoder/decoder? If the encoder/decoder was specified as an interface
we could easily swap out the backends for this task. The reason I ask
it that from a performance point of view (No I have not run an actual
test) it seems like t
.>> And now, How I can get additionals param ?>> I.E: /controllerName/actionName/addtionalvalue1/addtionalvalue2>>>>>> Thanks for all.
>> (Please, give me a good website with Zend Framework Tutorial's)>>>> 2006/10/11, Lee Saferite <[EM
I currently use:$this->_action->getControllerName()$this->_action->getActionName()Not sure if this is the best way.LeeOn 10/11/06,
Matthias Zitzmann <[EMAIL PROTECTED]> wrote:
Try to use $this->_getParam('controller') and $this->_getParam('action')for that.MatthiasRenan Gonçalves wrote:> How I ca
34 matches
Mail list logo