Re: [fw-general] Zend_Db_Mapper Proposal - Ready for Review

2009-01-28 Thread Benjamin Eberlei
Hello, i don't have any source code to look at currently. Since this is still a proposal and final features can have a huge impact on how the query select and persist engine will look like. I am trying to get a prototype and an example running for this proposal though to add some more

RE: [fw-general] JotBug - A Project Management Issue Tracker written 100% with Z F :-)

2009-01-28 Thread Jamie Sutherland
Hi Robert, Projects looking good so far! Just a few notes for the installation on Ubuntu 8.10 from a standard LAMP installation you'll also require. sudo apt-get install php5-sqlite Also you need to use the sqlite3 binary to create the database rather than sqlite. sqlite3

[fw-general] Re: Zend_Captcha custom error message question

2009-01-28 Thread Deepak Shrestha
On Wed, Jan 28, 2009 at 3:23 PM, Deepak Shrestha d88...@gmail.com wrote: Ok, I found a Warning displayed at top of my form after validation. The Message: = Warning: htmlspecialchars() expects parameter 1 to be string, array given in C:\WEB\myweb\library\Zend\View\Abstract.php

[fw-general] Zend_amf and boolean values

2009-01-28 Thread Mark Hage
Hi, I am trying to send a boolean from PHP to Flex. In PHP I query a MySQL database which in a column returns a boolean. In PHP I have class parameter where this boolean is saved. I use Zend_AMF to communicate with my Flex app. In Flex the PHP class is mapped to a AS class, which has the type

[fw-general] build 3 sites on same codabase

2009-01-28 Thread johannesf
Hi I plan to build 3 sites, based on the same controllers/models but different views for the sites. Like this: /application /controllers /models /view /site1 /site2 /site3 Is there anyone that have experiance in using ZF like this? Is it a good idea or will it lead me in

[fw-general] DictionaryLoader.php - Uninitialized string offset: 17

2009-01-28 Thread Patrik Henningsson
Hi folks, See task: http://framework.zend.com/issues/browse/ZF-5647 I have struggled with this one for 2 days now. Someone got an idea about what's going on? -- /Patrik

Re: [fw-general] build 3 sites on same codabase

2009-01-28 Thread Eugen_cro
does it have to be layout/views? i would rather use some template engine in your case (smarty, dwoo.) johannesf wrote: Hi I plan to build 3 sites, based on the same controllers/models but different views for the sites. Like this: /application /controllers /models /view

Re: [fw-general] build 3 sites on same codabase

2009-01-28 Thread Marko Korhonen
Hello, I have following setup in my Linux server: /home /_applications /MyApplication /MyAnotherApplication /_library /Zend /ZendX /PHPExcel /MyZend /_sites /site1 /layouts /cache /logs /user_data /etc

Re: [fw-general] build 3 sites on same codabase

2009-01-28 Thread Michel Morelli
johannesf ha scritto: Hi I plan to build 3 sites, based on the same controllers/models but different views for the sites. Like this: /application /controllers /models /view /site1 /site2 /site3 Views per single controller or for view you intend layout of the site

Re: [fw-general] build 3 sites on same codabase

2009-01-28 Thread Daniel Latter
appologies If I mis-understood the context in which views was initially used, Marko's setup looks v.good! Thank You Daniel Latter 2009/1/28 Marko Korhonen marko.korho...@datafisher.com Hello, I have following setup in my Linux server: /home /_applications /MyApplication

Re: [fw-general] Some widget issues

2009-01-28 Thread Daniel Latter
Hi, Second thoughts I dont think you need that If your .htaccess file is as Matthew stated initially, can you post your directory structure? maybe that may shed some light. Thank You Daniel Latter 2009/1/28 Dele d...@killerinstinct.co.za Thanks Daniel. Do I add it to the .htaccess on my

Re: [fw-general] Some widget issues

2009-01-28 Thread dele454
http://www.nabble.com/file/p21706098/struc.gif - dee -- View this message in context: http://www.nabble.com/Some-widget-issues-tp21686243p21706098.html Sent from the Zend Framework mailing list archive at Nabble.com.

Re: [fw-general] Zend_amf and boolean values

2009-01-28 Thread wadearnold
Questionmark wrote: In PHP I query a MySQL database which in a column returns a boolean. In PHP I have class parameter where this boolean is saved. Now all values are true, but not in my database. can you find out what the variable thinks it is on PHP. echo gettype($boolFromDB); I

Re: [fw-general] Zend_Form / Zend_File Upload to DB not working

2009-01-28 Thread maxarbos
Thank you. I am now able to get the file to upload, but now stuck as to how to get it to display within ZF. When I make the call to the code to show the image, I am just getting the characters of the source of the image and not the image itself. I used to do something like this when I was able

[fw-general] gzip compression for AMF server?

2009-01-28 Thread wadearnold
I was wondering what the best practices where for adding gzip compression support to ZF Servers such as SOAP, XML-RPC and in my case AMF. Right now no headers are sent from the Zend_Amf_Server and the bootstrap just returns a string which is the AMF data and the bootstrap echo's out the data.

[fw-general] setMultiOptions strange behaviour

2009-01-28 Thread PHPScriptor
Hello, searching on this for hours but can't find the problem. code $test[0] = 1; $test[1] = 2; $test[2] = 3; $formElements[] = self::createElement('select', 'test') -setRequired(true) -setLabel('Label') -setMultiOptions($test); output: select name=test id=test

[fw-general] Re: Zend_Captcha custom error message question

2009-01-28 Thread Deepak Shrestha
Hi, me again it is solved now by doing this == $captchaimg-setMessage(My Custom Message, 'badCaptcha'); == This came to my mind only after I did some digging around and had a look at the code 'Zend/captcha/Word.php' (ancestor class) Where the message template

Re: [fw-general] Some widget issues

2009-01-28 Thread Daniel Latter
Thank You Daniel Latter 2009/1/28 Daniel Latter dan.lat...@gmail.com: ok, Ive just put together a quick test and I couldn't replicate the issues you are having, here is what I have, and did: Step 1: my /public/.htaccess file looks like: (yours will be public_html/.htaccess) # Rewrite

Re: [fw-general] gzip compression for AMF server?

2009-01-28 Thread Matthew Weier O'Phinney
-- wadearnold wade.arn...@t8design.com wrote (on Wednesday, 28 January 2009, 07:22 AM -0800): I was wondering what the best practices where for adding gzip compression support to ZF Servers such as SOAP, XML-RPC and in my case AMF. Right now no headers are sent from the Zend_Amf_Server and

Re: [fw-general] mod_rewrite and SSL

2009-01-28 Thread Chris Weldon
Your rewrite rule is a bit long, but there is a way to do what you are wanting: RewriteEngine On RewriteCond %{HTTPS} off RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} RewriteRule ^.*/css/(.*)$ css/$1 RewriteRule ^.*/images/(.*)$ images/$1 RewriteRule ^.*/js/(.*)$ js/$1 RewriteCond

[fw-general] Zend_Db_Select::union() behaving

2009-01-28 Thread kirpit
Hi, I'm using ZF 1.7.3 and first time tried to union with ZF. In phpDoc section it says; /* The first parameter $select can be a string, an existing Zend_Db_Select object or an array of either of these types. */ And what it does on the first a few lines of function is; if (!is_array($select)) {

Re: [fw-general] Zend_Form / Zend_File Upload to DB not working

2009-01-28 Thread Michael Crumm
Make sure you are setting headers that match the type of image data being stored. Here's a controller i've used in the past for displaying image data. This particular example gets its data from a file on the filesystem, but the same would hold true for data from the database. One thing to note:

[fw-general] hashed_directory_level problem.. help me~

2009-01-28 Thread song7749
I'm English not well. I not understand hashed_directory_level problem. code : $frontendOptions = array( 'lifetime' = 60, 'automatic_serialization' = true, 'write_control' = true );

Re: [fw-general] hashed_directory_level problem.. help me~

2009-01-28 Thread Brenton Alker
song7749 wrote: ... I think this problem permission. error message : Fatal error: Call to undefined function hash() in /ZendFramework/library/Zend/Cache/Backend/File.php on line 884 set 'hashed_directory_level' = 0 , no problem.. please help me ~ think you. It sounds like