Re: [fw-general] Best way to have custom URL's for each web page ?

2009-08-09 Thread debussy007
For example if I use a plugin, I guess I will look for the url in the database and from there I will have the appopriate action/module/controller. How should I then set the correct action/controller/module in this plugin ? Also I am not sure how to handle the URL's which have *not* been changed,

[fw-general] ZF, phpMyAdmin and Unicode [SOLVED]

2009-08-09 Thread Ross
Concerning the problem with phpMyAdmin unable to read (and export correctly) Unicode text stored by Zend_Db_Table. In case you are searching the archives here is the solution. First of all, I upload the test project to my hoster and wasn't able to reproduce the problem. So it is environment-relate

Re: [fw-general] ZF, phpMyAdmin and Unicode [SOLVED]

2009-08-09 Thread mikaelkael
Seems to be the same as http://framework.zend.com/issues/browse/ZF-7428 Mickael Ross a écrit : Concerning the problem with phpMyAdmin unable to read (and export correctly) Unicode text stored by Zend_Db_Table. In case you are searching the archives here is the solution. First of all, I upload

Re: [fw-general] ZF, phpMyAdmin and Unicode [SOLVED]

2009-08-09 Thread Ross
Indeed. Could have saved me a day of debugging if I searched better... On Sun, Aug 9, 2009 at 1:38 PM, mikaelkael wrote: > Seems to be the same as http://framework.zend.com/issues/browse/ZF-7428 > > Mickael > > Ross a écrit : >> >> Concerning the problem with phpMyAdmin unable to read (and export

Re: [fw-general] Zend/Application.php failing to open Bootstrap.php

2009-08-09 Thread Steven Szymczak
The full path is correct, and the file/class name is "Bootstrap" with an upper case "B". Ruslan Zavackiy wrote: Check for Bootstrap.php to be exactly with uppercase, not bootstrap.php and check full path for this also Best regards, Ruslan zavackiy. On 2009.9.8, at 02:04, Steven Szymczak wro

[fw-general] Offline version of the documentation

2009-08-09 Thread admirau
Is there any up to date offline version of the documentation to the ZF? How to obtain one? -- ragards takeshin -- View this message in context: http://www.nabble.com/Offline-version-of-the-documentation-tp24887234p24887234.html Sent from the Zend Framework mailing list archive at Nabble.com.

[fw-general] Zend Framework 2.0

2009-08-09 Thread admirau
Are there any known plans for ZF 2.0? It will be an 'regular' release? Are planned any 'breaktrough' features (e.g. application backend like in Symfony, ORM)? I'm sure, it will be backwards compatilble, but what can we expect? I've found only this roadmap for Zend_Controller: http://framework.ze

Re: [fw-general] Zend Framework 2.0

2009-08-09 Thread Pádraic Brady
According to Matthew planning is underway. Backwards compatibility will be retained, I'm sure, for many components but many others will break compatibility since this is a major revision giving everyone the opportunity to replace/fix components, APIs, and other behaviour. Pádraic Brady http:/

Re: [fw-general] Zend/Application.php failing to open Bootstrap.php

2009-08-09 Thread Pádraic Brady
I can't see from the error message, but is the /application directory added to the include_path? Shouldn't this be done in index.php before the Bootstrap class is needed. I'm not sure, but I don't think you can add this path using the Zend_Application configuration file. It's also very hard to s

Re: [fw-general] Zend/Application.php failing to open Bootstrap.php

2009-08-09 Thread Steven Szymczak
The /application directory is not on the include path, but it shouldn't need to be as Application.php is trying to include Bootstrap.php with the full path (i.e. /Users/Steven/Sites/farstrider.eu/application/Bootstrap.php). My config file is as follows: application.xml htt

Re: [fw-general] Zend/Application.php failing to open Bootstrap.php

2009-08-09 Thread Pádraic Brady
It must be something obvious - this isn't a Zend_Application error. It's PHP itself telling you it can't find the file - so it's not something framework related. The error clearly states this file could not be found: /Users/Steven/Sites/farstrider.eu/application/Bootstrap.php Either it's there,

[fw-general] Session save path causes exception

2009-08-09 Thread Joó Ádám
Hi, I have an action and a view helper both checking Zend_Auth::getInstance()->hasIdentity() and if it’s true, then setting $this->session to / returning the object with user data, respectively. After setting session.save_path to /data/sessions though (be it in application.ini, Bootstrap.php or e

Re: [fw-general] Zend/Application.php failing to open Bootstrap.php

2009-08-09 Thread Steven Szymczak
I echoed the contents of $path (from Application.php:290), and created a test script using the output. test.php require_once '/Users/Steven/Sites/farstrider.eu/application/Bootstrap.php'; Running test.php produced the following error: Fatal error: Class 'Zend_Application_Bootstrap_Bo

RE: [fw-general] Zend Framework 2.0

2009-08-09 Thread Vincent de Lau
I think it is saver to assume that 2.0 will break existing stuff. There are some major changes planned, like renaming classes. I wouldn’t be surprised if ZF 2.0 is PHP 5.3 only (namespaces). There used to be a roadmap on the website (page still exists but doesn’t seem to be linked to). Maybe it

Re: [fw-general] Zend/Application.php failing to open Bootstrap.php

2009-08-09 Thread Martin Martinov
2009/8/9 Steven Szymczak : > I echoed the contents of $path (from Application.php:290), and created a > test script using the output. > > test.php > > > require_once '/Users/Steven/Sites/farstrider.eu/application/Bootstrap.php'; > > Running test.php produced the following error: > > Fatal

Re: [fw-general] Zend/Application.php failing to open Bootstrap.php

2009-08-09 Thread Steven Szymczak
Taking out the new lines works. I figured it had to be something to do with XML config. Cheers, -- Steven Martin Martinov wrote: 2009/8/9 Steven Szymczak : I echoed the contents of $path (from Application.php:290), and created a test script using the output. test.php require_once

[fw-general] Select with Join gives null values

2009-08-09 Thread yundidma
Hi all, This is my first post and I'm new to Zend Framework. I'm using 1.9.0. I'm doing this: --- $db = Zend_Registry::get('dbAdapter'); $db->setFetchMode(Zend_Db::FETCH_OBJ); $select = new Zend_Db_Select($db); $select->from(array('p' => 'jos_vm_product'),array( 'product_sku'))

[fw-general] Zend Tool errors on Windows after upgrading to 1.9

2009-08-09 Thread admirau
After upgrading to 1.9, zf.bat show version works fine, but all commands with 'create' throws errors like this: >zf create action test An Error Has Occurred A project profile was not found. Zend Framework Command Line Console Tool v1.9.0 Details for action "Create" and pro

Re: [fw-general] Zend Tool errors on Windows after upgrading to 1.9

2009-08-09 Thread admirau
forgot to mention, that the project is created, and the profile exists. -- regards takeshin -- View this message in context: http://www.nabble.com/Zend-Tool-errors-on-Windows-after-upgrading-to-1.9-tp24889972p24889977.html Sent from the Zend Framework mailing list archive at Nabble.com.

RE: [fw-general] Zend Framework 2.0

2009-08-09 Thread admirau
There's a lot of questions… Will it be 5.3 only? Now PHP 5.3 is still unstable, there is no hostings for 5.3, so… when? I do not want to throw away my libraries which I will write till 2.0 since now, so it would be nice to know what is planned, e.g. previously mentioned stripping require_once's

Re: [fw-general] Zend Framework 2.0

2009-08-09 Thread Victor Farazdagi
Well, I must agree. how much BC is valued is to be decided by component maintainers, but we would certainly benefit from knowing what changes are expected to the client code (at least roughly). admirau wrote: There's a lot of questions… Will it be 5.3 only? Now PHP 5.3 is still unstable, the

[fw-general] Problem with zend_form file element name using subform

2009-08-09 Thread Vladas Diržys
Hi, I have a form with 3 subforms. All the subforms have same elements. And one of the elements is file input. But I noticed that element name of the file input element has no array notation. Now I have following element names: id - element belongs to form subform1[catId] subform1[name] *image

[fw-general] Re: Problem with zend_form file element name using subform

2009-08-09 Thread Vladas Diržys
I can see that Issue Tracker has an issue for this bug: http://framework.zend.com/issues/browse/ZF-5835Are there plans to solve it? :-) -- Regards, Vladas Diržys 2009/8/9 Vladas Diržys > Hi, > > I have a form with 3 subforms. All the subforms ha

Re: [fw-general] Problem with zend_form file element name using subform

2009-08-09 Thread Thomas Weidner
Vladas, sometimes reading the manual helps: " File elements in Subforms When you use file elements in subforms you must set unique names. For example, if you name a file element in subform1 "file", you must give any file element in subform2 a different name. If there are 2 file ele

Re: [fw-general] Zend Framework 2.0

2009-08-09 Thread mbneto
Hi Vincent, I think it is too speculative to talk about a 5.3 only. A few days ago Mathew mentioned that no major distro (at least the 'enterprise') are using the 5.3 version so I think that this will be a bad move, unless they do not plan to release the new version (ZF 2.0) for a year or so. O

Re: [fw-general] Best way to have custom URL's for each web page ?

2009-08-09 Thread debussy007
Thanks for your help, I got it working by adding some routes in the bootstrap and retrieve the params from the routes in a plugin and set the appropriate module/controller/action according to those params. I'll post a new question though cause I have an unexpected result for a specific URL. Than

[fw-general] Route question

2009-08-09 Thread debussy007
Hello, In my CMS users may, for a specific page, optionally specify a custom URL. The problem is that I may have pages like: example.com/en/hello-world (a custom URL has been set: will need to match the route "pageWithLocale", ':lang/:page/*') and example.com/en/services/list (will need to mat

Re: [fw-general] ZF, phpMyAdmin and Unicode [SOLVED]

2009-08-09 Thread holografix .
Hi Did you try resources.db.params.driver_options.1002 = "SET NAMES utf8" ? I have this working with php 5.3.0 and didn't need to change zf code. Cheers holo 'driver_options' => array(1002 => "SET NAMES UTF8") 2009/8/9 Ross > Concerning the problem with phpMyAdmin unable to read (and expor

RE: [fw-general] Zend_Validate_Regex issue

2009-08-09 Thread Terre Porter
I'm happy you posted this as I didn't find any reference to INVALID in Zend_Validate_Regex. I've been using the preset const values in the Zend_Validate(functions) as reference for custom error messages. Like this : $fname = new Zend_Form_Element_Text('first_name'); $fname->setLabel('First Name

RE: [fw-general] Zend_Validate_Regex issue

2009-08-09 Thread Terre Porter
Nevermind, I figured out that my the Zend Studio's framework reference file is out of sync with the 1.9 release code , because it thinks its still 1.8 - grrr. So the INVALID didn't exist in the project reference but did exists on the devel box. Terre -Original Message- From: Terre Por

Re: [fw-general] ZF, phpMyAdmin and Unicode [SOLVED]

2009-08-09 Thread Ross
Yes, I did. Didn't work in my setup. I'd say it's not related to php 5.3.0. More likely it's related to a particular version of PDO MySQL driver or MySQL itself... Another solution seems to be to avoid developing under WAMP 2.0. On Mon, Aug 10, 2009 at 1:31 AM, holografix . wrote: > Hi > > Did you

Re: [fw-general] Problem with zend_form file element name using subform

2009-08-09 Thread Vladas Diržys
Ok, thanks Thomas. I have overlooked this notice. My fault ;-) -- Regards, Vladas Diržys On Sun, Aug 9, 2009 at 23:47, Thomas Weidner wrote: > Vladas, > > sometimes reading the manual helps: > > " File elements in Subforms > When you use file elements in subforms you must set unique names.

Re: [fw-general] Zend Tool errors on Windows after upgrading to 1.9

2009-08-09 Thread admirau
Fix for this bug is described here: http://forums.zend.com/viewtopic.php?f=69&t=1778 -- regards takeshin -- View this message in context: http://www.nabble.com/Zend-Tool-errors-on-Windows-after-upgrading-to-1.9-tp24889972p24895133.html Sent from the Zend Framework mailing list archive at Nabbl