FYI, I just upgraded to 1.9.5 and the problem continues. Keep in mind,
despite the exception/error, the form still constructs and renders as
CP_Form_Login just fine.
Zend_Exception: File "CP/Form/Login.php" does not exist or class
"CP_Form_Login" was not found in the file in
/home/ajbrown/Proje
Would be ZendX_Doctrine_AuthAdapter (or something), wouldn't it?
-Matt
On Wed, Nov 4, 2009 at 1:10 PM, A.J. Brown wrote:
> Can we make sure the ZendX_Auth_Adapter_Doctrine gets into the
> standard library whenever the integration happens?
>
>
> http://framework.zend.com/svn/framework/extras/inc
Thanks for advice :)
I want only jpg available.
thomasW wrote:
>
> When you want to limit to *.jpg use the Extension validator.
> When you want to limit to JPEG files (regardless of the extension), then
> you
> must have
> * FileInfo extension or
> * MimeType extension installed
>
> When you w
When you want to limit to *.jpg use the Extension validator.
When you want to limit to JPEG files (regardless of the extension), then you
must have
* FileInfo extension or
* MimeType extension installed
When you want it the unsave way then you can switch on HTTP detection.
Greetings
Thomas Wei
Thanks, Matt - while i (REALLY REALLY) appreciate the help, I do have to ask
-- it seems to me that that sort of delegation would be a great thing to
built into the module bootstrap itself -- as modules are subsets of the app,
I'd kind of expect that they would inherit the resources of their
appli
-- bingomanatee wrote
(on Wednesday, 04 November 2009, 10:02 AM -0800):
> I am attempting to design a "Druplally" framework around ZF and I want to
> allow the module's bootstrap to have access to the View object (for helper
> registration etc.)
>
> When I put the following in the MAIN bootstrap
Can we make sure the ZendX_Auth_Adapter_Doctrine gets into the
standard library whenever the integration happens?
http://framework.zend.com/svn/framework/extras/incubator/library/ZendX/Doctrine/Auth/Adapter.php
On Tue, Nov 3, 2009 at 1:44 PM, Giorgio Sironi
wrote:
> For the Dependency Injection
weierophinney wrote:
>
> -- Guillaume Oriol wrote
> (on Thursday, 04 December 2008, 11:40 PM -0800):
>> Thank you Matthew for your answer
>> but I don't use Zend_Dojo_Form in my form, neither any Dijit.
>> My form extends Zend_Form.
>>
>> Why would ZF enable Dojo in such a case?
>
> I know wh
OK i used
$adapter->addValidator('MimeType', false, array('image/jpeg'));
and now I get:
Array ( [fileMimeTypeNotDetected] => The mimetype of file 'dsc00160e.jpg'
could not been detected )
I want to restrict only .jpg
Is php5.3 or special modules required?
thomasW wrote:
>
> You should not li
You should not limit the IsImage valdator when using it.
When you need this then use the MimeType Validator.
Note that JPEG Pictures can have multiple mime variants and you limited to
only one. The mimetype is "image/jpeg" and not "jpeg"
Greetings
Thomas Weidner, I18N Team Leader, Zend Framewo
OK, that error is repaired, but $adapter->addValidator('IsImage', false,
'jpeg'); gets error: Array ( [fileMimeTypeNotDetected] => )
PHP logs give no errors. What can it be?
thomasW wrote:
>
> Look here for details to the openbase_dir directive:
> http://php.net/manual/en/ini.sect.safe-mode.ph
Look here for details to the openbase_dir directive:
http://php.net/manual/en/ini.sect.safe-mode.php
Greetings
Thomas Weidner, I18N Team Leader, Zend Framework
http://www.thomasweidner.com
- Original Message -
From: "robos85"
To:
Sent: Wednesday, November 04, 2009 6:37 PM
Subject: [f
I am attempting to design a "Druplally" framework around ZF and I want to
allow the module's bootstrap to have access to the View object (for helper
registration etc.)
When I put the following in the MAIN bootstrap file
public function _initHelpers () {
$this->bootstrap('view');
I have that code in my controller:
$destination = PUBLIC_PATH.'/obrazek.jpg';
$adapter = new
Zend_File_Transfer_Adapter_Http();
$adapter->addFilter('Rename',
array('target'=>$destination,
'overwrite'=>true));
On Wed, Nov 4, 2009 at 7:31 AM, Alayn Gortazar wrote:
> Hi Diego,
>
> You can get the Controllers instance with
> Zend_Controller_Front::getInstance(), so:
>
> $controllerName =
> Zend_Controller_Front::getInstance()->getRequest()->getControllerName();
>
>
But whatever the reason for doing this,
Just incase it's useful somehow, here's the full config:
http://www.pastie.org/683340
By the way, I'm aware that I shouldn't be registering Doctrine's
namespace and instead should push the Doctrine autoloader. I'm just
doing this temporarily until we begin actually leveraging doctrine.
Here is
Hey Matthew,
Thanks for the explanation. I assumed since the error had
"Zend_Exception" in it, that it was actually an exception being
thrown.
Zend_Version::VERSION == '1.9.3'
The code in the pastie is literally the only code that ever does
anything with the autoloader. This is a new project,
Forgot to mention, that I'm using this initView method:
protected function _initViewHelpers()
{
$view = new Zend_View();
$view->setEncoding('UTF-8');
$view->doctype('XHTML1_STRICT');
-- Simeon Goranov wrote
(on Wednesday, 04 November 2009, 10:37 AM +0200):
> В 09:57 +1000 на 04.11.2009 (ср), Brenton Alker написа:
> > Simeon Goranov wrote:
> Thanks for the code !
> I'm wondering what to do if I've got code which is specific for one the
> modules. I mean something like checking
-- J DeBord wrote
(on Wednesday, 04 November 2009, 02:10 PM +0100):
> Is there an option to create the default module autoloader when passing the
> config to Zend_Application's constructor as opposed to creating a function in
> the bootstrap?
Not currently. A fix is scheduled for 1.10.
> Instead
-- Stefan Sturm wrote
(on Wednesday, 04 November 2009, 09:23 AM +0100):
> I updated my server to php 5.3 and now my application( using 1.8.4 )
> stop working.
>
> I have this line in one of my ini files( acl.ini ):
> resources.admin:error.resource= admin:error
>
> On this Line I
-- A.J. Brown wrote
(on Tuesday, 03 November 2009, 07:59 PM -0500):
> I'm trying to supress errors with the Zend Autoloader, but it's still
> throwing them. In this specific case, I'm dynamically ceating a class
> if it doesn't already exist. I'm calling suppressNotFoundWarnings(
> true ).
>
>
Hi Jason,
I am intermitently getting the apache "Premature end of script
headers" error. ZF 1.9 PHP 5.2.1 . Refreshing the page causes the site
to function correctly.
This is usually caused by a crash of the PHP module, e.g. a segmentation
fault. In my experience, this is caused by either consu
-- Brenton Alker wrote
(on Wednesday, 04 November 2009, 09:38 AM +1000):
> prodigitalson wrote:
> > Artsemis wrote:
> > > So, why is it that Zend_Application_Module_Autoloader [b]specifically[/b]
> > > checks for DbTable classes in the /models/DbTable/ class? Unless I'm
> > > missing something, t
Is there an option to create the default module autoloader when passing the
config to Zend_Application's constructor as opposed to creating a function
in the bootstrap?
Instead of this:
class Bootstrap extends Zend_Application_Bootstrap_Bootstrap
{
protected function _initAutoloader()
{
Thanks
::: Diego Potapczuk
On Wed, Nov 4, 2009 at 9:31 AM, Alayn Gortazar wrote:
> Hi Diego,
>
> You can get the Controllers instance with
> Zend_Controller_Front::getInstance(), so:
>
> $controllerName =
> Zend_Controller_Front::getInstance()->getRequest()->getControllerName();
>
> --
> Alay
Hi Diego,
You can get the Controllers instance with Zend_Controller_Front::getInstance(),
so:
$controllerName =
Zend_Controller_Front::getInstance()->getRequest()->getControllerName();
--
Alayn Gortazar
- Mensaje original -
De: "Diego Potapczuk"
Para: fw-general@lists.zend.com
Envia
How can i access the controller´s name from layout?
::: Diego Potapczuk
I am intermitently getting the apache "Premature end of script headers"
error. ZF 1.9 PHP 5.2.1 . Refreshing the page causes the site to function
correctly.
I was not familar with this error prior to a couple days ago, but from what
I can understand, my php script is not completing correctly prior
It should be reasonable though it will subtly change the expected behaviour
(might need to wait for a 1.10 release though it can be fixed in trunk now).
Can you create an issue for this? If not - just ping me and I'll add an issue
for you. The next bug hunt is around two weeks away so I'll look
AFAIK all you need is reset your existing password to a new format.
This happened because you upgraded your mysql server to 5.x and passwords
are in 4.x format.
This should be trivial to resolve, unless your database is also accessed by
some outdated clients not supporting the new format.
Cheers
Hi.
I have partialLoop for rendering some table rows and I want to cycle two CSS
classes in each loop. I tried but it looks like cycle is reinitialized and
in each loop I get same value returned from cycle helper.
Later I came up with this code in loop partial phtml:
if ($this->partialCounter%2
В 09:57 +1000 на 04.11.2009 (ср), Brenton Alker написа:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Simeon Goranov wrote:
> > Hello,
> > I've got a module bootstrap file Admin_Bootstrap where the module is
> > "admin". I'm wondering how to change the default layout, which in my
> > case
It doesn't display a list, it is just pre-filled when you enter the page.
I have chosen "save this password" when loggin in,
but when enterning "edit profile" the field for "new password" if filled
with the password I'm using to log in.
I will now try the autocomplete switch.
Hector Virgen
Hello,
I updated my server to php 5.3 and now my application( using 1.8.4 )
stop working.
I have this line in one of my ini files( acl.ini ):
resources.admin:error.resource = admin:error
On this Line I get this error:
Uncaught exception 'Zend_Config_Exception' with message 'syntax erro
35 matches
Mail list logo