RE: [fw-general] 1.7.1 Zend_Controller_Request_Http Error

2008-12-08 Thread Marco Kaiser
Hi Steven, you change a super global variable From any value to '' (empty String) so this warning is correct. Change your Code ! -- Marco -Original Message- From: Steven Brown [mailto:[EMAIL PROTECTED] Sent: Monday, December 08, 2008 12:42 PM To: fw-general@lists.zend.com Subject:

[fw-general] Include directive..

2008-12-08 Thread dele454
Hi, I am modifying the apache config file on my domain to include the path to the Zend Framework on a specified location outside the public folder. So in my http.conf file i simply include the path to where the includes file is to customise the virtual host: [CODE] # To customize this

Re: [fw-general] Zend Lucene don't work with 64bit and Zend Optimizer. Zend or Zend Framework, take responsibility!

2008-12-08 Thread till
On Mon, Dec 8, 2008 at 12:50 PM, Joe Kramer [EMAIL PROTECTED] wrote: Hello, We're having this problem for almost a year soon. Zend Search Lucene uses large integer for index file offset. It was fixed so it works on 64bit system. But only on non-encoded files. If you're using Zend Optimizer

Re: [fw-general] unable to disable Dojo

2008-12-08 Thread Guillaume Oriol
Thank you Matthew. Once again you've found the answer AND the solution. -- Best regards Matthew Weier O'Phinney-3 wrote: -- Guillaume Oriol [EMAIL PROTECTED] 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,

[fw-general] 1.7.1 Zend_Controller_Request_Http Error

2008-12-08 Thread Steven Brown
Hi guys, I am getting the following in ZF 1.7.1: Error Number: 2 Error Type: PHP WARNING Error String: strstr(): Empty delimiter. Error File: /path/to/my/site/library/Zend/Controller/Request/Http.php Error Line: 393 The line is: if (isset($_SERVER['HTTP_HOST']) strstr($requestUri,

[fw-general] Zend Lucene don't work with 64bit and Zend Optimizer. Zend or Zend Framework, take responsibility!

2008-12-08 Thread Joe Kramer
Hello, We're having this problem for almost a year soon. Zend Search Lucene uses large integer for index file offset. It was fixed so it works on 64bit system. But only on non-encoded files. If you're using Zend Optimizer it will not work. Why? We have Zend Search Lucene file with instruction

Re: [fw-general] Zend Lucene don't work with 64bit and Zend Optimizer. Zend or Zend Framework, take responsibility!

2008-12-08 Thread Ralph Schindler
Hey Joe, Why? We have Zend Search Lucene file with instruction if ($docStoreOffset != (int)0x) If you run this on 32bit or 64bit system it will work just fine. Then you encode it with 32bit Zend Encoder (64bit Zend Encoder does not exist) When you run this encoded file on 64bit

Re: [fw-general] Include directive..

2008-12-08 Thread Ralph Schindler
Hmm, I think you are confusing the apache config files with php files. [CODE] # To customize this VirtualHost use an include file at the following location Include /usr/local/apache/conf/userdata/std/2/domains/mydomain.co.za/me.conf [/CODE] And then me.conf looks like this:

[fw-general] RE: Getting Zend_(Dojo)_Form to output variable forms

2008-12-08 Thread Jeremy Brown
Any ideas? Jeremy Brown, ZCE Senior Web Developer Spear One 972.661.6038 www.spearone.comhttp://www.spearone.com From: Jeremy Brown [mailto:[EMAIL PROTECTED] Sent: Monday, December 01, 2008 3:12 PM To: fw-general@lists.zend.com Subject: [fw-general] Getting Zend_(Dojo)_Form to output

Re: [fw-general] generic view for Json contextSwitch

2008-12-08 Thread Ralikwen
Seems like this is an issue that has been unresolved for quite some time now - I found here a similar topic from August http://www.nabble.com/contextSwitch---AjaxContent-td18866597.html -- View this message in context:

Re: [fw-general] generic view for Json contextSwitch

2008-12-08 Thread Ben Scholzen 'DASPRiD'
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 When you just want to send JSON, and not render a view, why don't you simply use $this-_helper-json(); ? Ben ... : ___ _ ___ ___ ___ _ ___: : | \ /_\ / __| _ \ _ (_) \ : : | |) / _ \\__ \ _/ / | |) |

[fw-general] Newbie question regarding parameters in the url

2008-12-08 Thread Julian102
Hello, Im new to zend framework and i am having difficulty understanding how parameters are used in the url. Currently I am making urls using the following code - $this-url(array('controller'='controllername','action'='actionname','paramname'='paramvalue')) The problem is the parameter is

Re: [fw-general] display images

2008-12-08 Thread Michael Crumm
Ankur, If by 'path ambiguity' you mean that your image files are stored outside your webroot, then i think i can at least lead you in the right direction. I use a controller action to output an image from the file system. The easiest way to do this is to grab ahold of the response object from

[fw-general] How to add a comment into the Issue Tracker

2008-12-08 Thread Sebastian Hopfe
Hi, i think it's a little problem. I want to add a comment into a issue as the Issue Tracker. http://framework.zend.com/issues/browse/ZF-5091 How - i can add a comment to this issue? I registered a account at the Issue Tracker - but there is no button available. The left administration

Re: [fw-general] How to add a comment into the Issue Tracker

2008-12-08 Thread Bart McLeod
You have to wait for the CLA to be passed... -Bart Sebastian Hopfe schreef: Hi, i think its a little problem. I want to add a comment into a issue as the Issue Tracker. http://framework.zend.com/issues/browse/ZF-5091 How i can add a comment to this issue? I

[fw-general] PHP version requirement

2008-12-08 Thread Jack Sleight
Hi Everyone, Just a quick question. I noticed the required version of PHP has now gone up to 5.2.4 (last time I checked it was 5.1.4). This isn't a problem, but I'd just be interested to know which which components actually require 5.2.4 to function correctly rather than 5.1.4? Obviously 5.2.4 is

Re: [fw-general] PHP version requirement

2008-12-08 Thread Matthew Weier O'Phinney
-- Jack Sleight [EMAIL PROTECTED] wrote (on Monday, 08 December 2008, 09:37 PM +): Just a quick question. I noticed the required version of PHP has now gone up to 5.2.4 (last time I checked it was 5.1.4). This isn't a problem, but I'd just be interested to know which which components

AW: [fw-general] PHP version requirement

2008-12-08 Thread Sebastian Hopfe
Hi, i know that the php_ini_loaded_file() is supported since 5.2.4. This function is used in Zend_Session (imho a core Class). But I think the Zend Framework should be downwardly compatible to 5.2.0 Because in the most production server - this should be the latest version. I think at debian you

[fw-general] How to test downwardly compatible Methodes with PHPUnit

2008-12-08 Thread Sebastian Hopfe
Hi, i want to open a discussion about PHPUnit. First of all - I love PHPUnit - but i see some problems by testing methodes which providing downwardly compatible. The function file_gets_content is in old php versions not available. We should check this with function_exists() - if these is

Re: [fw-general] How to test downwardly compatible Methodes with PHPUnit

2008-12-08 Thread till
On Mon, Dec 8, 2008 at 11:24 PM, Sebastian Hopfe [EMAIL PROTECTED] wrote: Hi, i want to open a discussion about PHPUnit. First of all – I love PHPUnit – but i see some problems by testing methodes which providing downwardly compatible. The function „file_gets_content is in old php

Re: [fw-general] Newbie question regarding parameters in the url

2008-12-08 Thread Michael Crumm
Julian, I'm going to try and provide some help, please let me know if you need further explanation. First, from the API Docs: Zend_View_Helper_Url url (line 46) Generates an url given the name of a route. - return: Url for the link href attribute. - access:

Re: [fw-general] PHP version requirement

2008-12-08 Thread Jack Sleight
OK, thanks everyone. 2008/12/8 Thomas Weidner [EMAIL PROTECTED]: 5.1.4 1.7 5.2.4 = 1.7 All other things are not supported. For example IPv6 support and file progress need 5.2.4. But there is no collection of components as it would not be maintainable. Therefor when using 5.2.4 stay with

Re: [fw-general] PHP version requirement

2008-12-08 Thread till
Zend_File seems to lead the list, but only with 5.2.1, not 5.2.4. And if anyone cares, here are the version requirements per component (tests not included): Zend_Acl: 5.0.0 Zend_Amf: 5.0.0 Zend_Auth: 5.0.0 Zend_Cache: 5.0.0 Zend_Captcha: 5.1.0 Zend_Config: 5.0.0 Zend_Console: 5.0.0

AW: [fw-general] How to test downwardly compatible Methodes with PHPUnit

2008-12-08 Thread Sebastian Hopfe
Hi till, i know that this function is added since a long time. This was only an example. But how i could write a PHPUnit test - so that i get a CodeCoverage by 100% and the test is solved complete? I mean - the ZF is solicited with a 100% Code Coverage. How this should work at following issue?

[fw-general] 'Normalising' of Controller and Action names

2008-12-08 Thread Tim Nagel
I am trying to create a basic content serving controller where user created data is served using the action name as a name specified by the user. (Overridden __call in the controller). I have hit a bit of a snag in that it looks like Zend is normalising (lowercasing and doing funky stuff with

[fw-general] How to set up dependant dropdowns in form

2008-12-08 Thread Ace Paul
I have a form, which I would like to use dependent drop downs in. I can't seem to find anything about it hear, after looking all morning trying to work it out. I have one field race_country when an option is selected I would like to show the cities in that country. The following is what I have

Re: [fw-general] How to set up dependant dropdowns in form

2008-12-08 Thread Cameron
I have spent WAY too much time getting this exact scenario working using Zend Dojo forms and an MVC environment, and I plan on building an extensive article explaining it all soon, but for now, here's the really quick and dirty version. I haven't gotten my version perfect yet, I'm still not happy

Re: [fw-general] How to test downwardly compatible Methodes with PHPUnit

2008-12-08 Thread Matthew Weier O'Phinney
-- Sebastian Hopfe [EMAIL PROTECTED] wrote (on Tuesday, 09 December 2008, 01:07 AM +0100): i know that this function is added since a long time. This was only an example. But how i could write a PHPUnit test - so that i get a CodeCoverage by 100% and the test is solved complete? I mean -

Re: [fw-general] 'Normalising' of Controller and Action names

2008-12-08 Thread Matthew Weier O'Phinney
-- Tim Nagel [EMAIL PROTECTED] wrote (on Tuesday, 09 December 2008, 11:19 AM +1100): I am trying to create a basic content serving controller where user created data is served using the action name as a name specified by the user. (Overridden __call in the controller). I have hit a bit of a

[fw-general] Routing: actions as first element of path

2008-12-08 Thread rutt
This seems like something that should be easy to do, but I can't figure it out, and I haven't had any luck with forum searches. I want to set up the following routing structure: / : controller = RootController, action = index /about : controller = RootController, action = about /contact :

Re: [fw-general] ZF 1.7 and getParam charset problem

2008-12-08 Thread Kononov Ruslan
Matthew Weier O'Phinney-3 wrote: Can you create an issue in the tracker for this? I had another report while at php|works this week of a location where htmlentities() is called without the encoding argument, and these all need to be fixed. I'm post issue to Zend Jira

Re: [fw-general] display images

2008-12-08 Thread ankuraeran
Dear Mike, First of all thanks for your reply. Actually, the code you mentioned works well for setting http headers but I do not want to set header. I just want to browse the image from a location out side of Apache's Document root. In my case I put all user uploaded images in