Hello there,
As I'm working on migrating my projects into 1.10.0 I found a breaking
feature in Zend_Filter_StringToUpper (and probably in some others
filters / validators working with mbstring functions) in the setEncoding
method.
Here is the problem :
$encoding = (string) $encoding;
if
Also, as far as I can remember, mb_list_encodings() is an horrible
performance clogger. On my last project, it was accounted for more than
75% of the pages loading time. It might not have been used in the same
context, though, but I sure hope you know what you're doing when
implementing things
'Twas brillig, and Nicolas Grevet at 01/02/10 16:52 did gyre and gimble:
This is already covered here:
http://framework.zend.com/manual/1.10/en/migration.110.html
Ahh yeah. I probably should have read that first really :p
Thanks.
Col
--
Colin Guthrie
gmane(at)colin.guthr.ie
Looks like a subtle bug in that we are throwing an Exception for valid data -
the check should be made case insensitive. Can you file an issue? I'm sure the
lead dev would also appreciate it if you note any other classes likewise
impacted.
Paddy
Pádraic Brady
http://blog.astrumfutura.com
No.
From Zend_Session.php
/**
* setId() - set an id to a user specified id
*
* @throws Zend_Session_Exception
* @param string $id
* @return void
*/
public static function setId($id)
{
if (!self::$_unitTestEnabled defined('SID')) {
/**
hey
What I'm trying to do is to set autoloaderZfPath and autoloaderZfVersion in
application.ini to set the version for my application using ZF. I decided to
use one copy for ZF library (or libraries - one to each version) for
applications. The problem is when one application will be using ZF
Hi,
Саша Стаменковић wrote:
No.
From Zend_Session.php
[snip]
Always throw exception if SID is defined.
PHP manual is also clear about this
(http://www.php.net/manual/en/function.session-id.php):
[snip]
Setting a session id and regenerating it are two distinct things, see
I only know that:
Zend_Session::setId('13123');
fails with
Zend_Session_Exception: The session has already been started. The session
id must be set first.
if session is already started.
Please correct me if I'm doing it wrong.
Regards,
Saša Stamenković
On Tue, Feb 2, 2010 at 2:14 PM, drm
Thanks for your answers,
I just create the issue on the tracker :
http://framework.zend.com/issues/browse/ZF-9058
After a quick search with Zend Studio's search engine, I only find this
behavior on both filters Zend_Filter_StringToUpper and
Zend_Filter_StringToLower.
Hope this helps,
Lucas
Le
-- sk0rp sk0rp1...@gmail.com wrote
(on Tuesday, 02 February 2010, 04:14 AM -0800):
What I'm trying to do is to set autoloaderZfPath and autoloaderZfVersion in
application.ini to set the version for my application using ZF. I decided to
use one copy for ZF library (or libraries - one to each
Hi All,
I'm getting an error I can't find any documentation on:
Fatal error: Uncaught exception 'Zend_Search_Lucene_Exception' with message
'Unrecognized query syntax lexeme: ''' in
/var/www/vhosts/xxx.net.au/httpdocs/Zend/Search/Lucene/Search/QueryToken.php:212
Stack trace: #0
I believe the Zend_Application_Resource_Multidb should have a param to
register the dbname in the registry so that setting up classes like
Zend_Session_SaveHandler_DbTable can select what db to use.
Right now if you use multidb and use Zend_Application_Resource_Session with
Hi,
Саша Стаменковић wrote:
I only know that:
Zend_Session::setId('13123');
fails with
Zend_Session_Exception: The session has already been started. The
session id must be set first.
if session is already started.
Well, I think we had established already that that makes perfect sense
I'm sure someone in charge of the servers knows, but just in case, I can't
get to the framework download page (
http://framework.zend.com/download/overview)...
Unable to connect
Firefox can't establish a connection to the server at framework.zend.com.
--
You're not the only one!
Mark Steudel wrote:
I'm sure someone in charge of the servers knows, but just in case, I
can't get to the framework download page
(http://framework.zend.com/download/overview)...
Unable to connect
Firefox can't establish a connection to the server at
The server went down due to high load, and took a while to failover to
the backup server. However, all is now working.
-- Nick Pack n...@nickpack.com wrote
(on Tuesday, 02 February 2010, 05:23 PM +):
You're not the only one!
Mark Steudel wrote:
I'm sure someone in charge of the servers
I like this idea, ..., but have you thought if there is a backward
compatible way of adding this behavior to the existing Db resource?
like
resources.db.multidb = 1
resources.db.multidb.default = db1
resources.db.db1.dbname =
resources.db.db1.params.xxx =
resources.db.db2.dbname =
I don't see the solution,
Zend_Session::regenerateId();
Zend_Session::setId('13123');
fails with same error.
i need to set exact session ID in order to regenerate specific session.
Please provide code snippet if you see the way to achieve this.
Regards,
Saša Stamenković
On Tue, Feb 2,
Looking more into the code maybe the right place to add this would be to the
Zend_Db::factory and and passing a param that would register the created db in
the registry wether it be assigned to the name passed in or some sort of
database registry.
Being able yo pass in the registry entry to
I wan to override the just the render function in Zend_Layout so I can add
multiple scriptpaths instead of just the one made via the inflector
I have tried just extending Zend_Layout but this is not working.
Can someone advise me the best way to extend Zend_Layout without having to
copy the
Sorry to bring up an old topic but I'm running into an issue trying to
accomplish this.
I have a module bootstrap that is throwing an exception when I try to access
the view resource. Any idea what I might be doing wrong?
http://pastie.org/807111
--
Hector
On Sun, Dec 20, 2009 at 1:34 PM,
try $this-getApplication()-getResource('view'). getApplication() in the
module bootstrap returns the main application bootstrap.
$this-getResource('frontController') works because the module bootstraps
register their own frontController plugin. since there's only one front
controller anyway, they
I accessed the view object like this in a resource plugin, might work in the
bootstrap also.
$viewRenderer =
Zend_Controller_Action_HelperBroker::getStaticHelper('viewRenderer');
$viewRenderer-init();
$this-_view = $viewRenderer-view;
Take a look at
Thanks, that explains why my front controller worked.
After re-reading the documentation a bit, I found I can also register my
script/helper paths using application.ini:
blog.resources.view.scriptPath.scripts = APPLICATION_PATH
/modules/blog/views/scripts
24 matches
Mail list logo