Re: [fw-general] Zend\Sql\TableGateway|Where|Predicate bug?

2013-09-16 Thread András Csányi
On 16 September 2013 01:55, David Muir davidkm...@gmail.com wrote: Looks correct to me. The statement will be prepared with the :where1 and :where2 placeholders, then executed with the values %dess% and %ks%. Hi David, I downgraded the php to 5.3.13 from 5.4.12 but the result is the same.

[fw-general] Re: TableGateway and multiple where conditions in a select

2013-09-15 Thread András Csányi
/AbstractTableGateway.php (skip down to select() function signature). Any questions - will be happy to help... Best regards, Konstantin Best regards, Konstantin On 14 September 2013 19:40, András Csányi sayusi.a...@sayusi.hu wrote: Hi All, I implemented the TableGateway pattern based

[fw-general] Zend\Sql\TableGateway|Where|Predicate bug?

2013-09-15 Thread András Csányi
Hi All, I put together my application and I use TableGateway pattern based on the tutorial. I got some help how to select data from the database if there are multiple where conditions. It is quite good and easy when you got the way how it works. Unfortunately, I found something interesting: I

[fw-general] TableGateway and multiple where conditions in a select

2013-09-14 Thread András Csányi
Hi All, I implemented the TableGateway pattern based-on the tutorial, but I don't know how to select data from the database when the where is complicated. I went through the reference but I did not found anything useful. On the other hand, I did not find any help in the documentation about how is

[fw-general] Re: Call return only that html content which is placed in the phtml file

2013-09-04 Thread András Csányi
On 3 September 2013 15:29, András Csányi sayusi.a...@sayusi.hu wrote: Hi All, I would like to ask some help. I call my controller via Ajax (I'm using jQuery) and I would like to insert the html content into a particular part of the page. But the result always contains further html content

[fw-general] Call return only that html content which is placed in the phtml file

2013-09-03 Thread András Csányi
Hi All, I would like to ask some help. I call my controller via Ajax (I'm using jQuery) and I would like to insert the html content into a particular part of the page. But the result always contains further html content, I mean html open and close tags, page title tag, etc, and other stuff which

[fw-general] TableGateway query without result however the table contains data

2013-08-16 Thread András Csányi
Hi All, I implement the TableGateway pattern following the ZF2 tutorial and it is working fine, but the query does not give back any result despite the fact the table contains data. Matthew mentioned that in his email in another thread it could be due to not proper permissions. So, I have double

[fw-general] Controllers, views, library... where to manipulate data?

2013-08-14 Thread András Csányi
Hi All, The concern I have is related rather programming style than the framework itself. On the other hand, I'm not a programmer, I'm just spending my time writing programs in different languages. I want to display a menubar where a menu belongs to a category. I have a menu table and a category

[fw-general] Service Manager issue in the Getting started tutorial

2013-08-10 Thread András Csányi
Hi All, I'm going through the Getting started Zend Framework 2 tutorial and I got the error message below at this [1] part of the material: Zend\ServiceManager\ServiceManager::get was unable to fetch or create an instance for Zend\Db\Adapter\Adapter [1] -

[fw-general] Zend_Date get('Y-m-d') bug?

2010-04-17 Thread András Csányi
Hi all! I want to know what is the date of the first day of the week. I did this: $currDate = new Zend_Date(); $currDate-sub($currDate-get(Zend_Date::WEEKDAY_DIGIT)- 1,Zend_Date::DAY); var_dump($currDate-get('Y-m-d')); But, the result is not so good. The year and the day is good. The

Re: [fw-general] Zend_Date get('Y-m-d') bug?

2010-04-17 Thread András Csányi
On 17 April 2010 14:03, till klimp...@gmail.com wrote: The easiest way is still to do the following: Zend_Date::setOptions(array('format_type' = 'php')); ... and then use PHP-like identifiers to do your date juggling. It sounds like a title of a motivation picture. :) -- - - -- Csanyi

[fw-general] [Zend_Applicaton] I can't make module

2009-09-18 Thread András Csányi
Hi all! I need some help because I can' t figure out what could be the problem. I decided I see what is this Zend_Application and its looks like it will be part of my life if I want to work with ZF in further time. I'm using Windows XP with wampserver (php-5.2.6). php.exe's path is in among the

[fw-general] routing based on hostname

2009-08-18 Thread András Csányi
Hi! I need some help. In last 6 hours I tried to setup my application based on this: subdomains: games.sayusi.hu library.sayusi.hu blog.sayusi.hu Every subdomains point the public/ directory. directory structure: app/ app/modules/ app/modules/games/ app/modules/games/controllers

Re: [fw-general] Chain default route

2009-08-14 Thread András Csányi
2009/8/14 Sergio Rinaudo kaiohken1...@hotmail.com: Hi, it is possible to do an hostname route chain with the default module route? If yes, how? I want to do this in the bootstrap. Thanks May I ask what do you want exactly? With an example would be better. András -- - - -- Csanyi Andras

[fw-general] exception message long and/or format

2009-08-08 Thread András Csányi
Hi! I have a little problem with exception message. For example I got this: exception 'Zend_Db_Statement_Exception' with message 'SQLSTATE[22P02]: Invalid text representation: 7 ERROR: invalid input syntax for integer: ' in /mnt/ware/PRIVAT/PROJECTS/sa Stack trace: #0

[fw-general] Re: exception message long and/or format

2009-08-08 Thread András Csányi
2009/8/8 András Csányi sayusi.a...@gmail.com: I1m debating myself because this line is helpfully: #5 /mnt/ware/PRIVAT/PROJECTS/saycms_on_php/app/controllers/MovieslibraryController.php(247): But the question is stay alive. -- - - -- Csanyi Andras -- http://sayusi.hu -- Sayusi Ando -- Bízzál

Re: [fw-general] Zend_Loader_PluginLoader::require_once() couldn't resolve host name in /.../Zend/Loader/PluginLoader.php on line 389

2009-06-21 Thread András Csányi
2009/4/8 hglattergotz henn...@glatter-gotz.com: The described problems have been resolved by moving the account to a different server. This was necessary for other reasons and at the same time took care of this problem. Okay, but I can't move the application to another server because this is

Re: [fw-general] Zend_Loader_PluginLoader::require_once() couldn't resolve host name in /.../Zend/Loader/PluginLoader.php on line 389

2009-06-21 Thread András Csányi
2009/6/21 András Csányi sayusi.a...@gmail.com: 2009/4/8 hglattergotz henn...@glatter-gotz.com: The described problems have been resolved by moving the account to a different server. This was necessary for other reasons and at the same time took care of this problem. Okay, but I can't move

Re: [fw-general] Zend_Loader_PluginLoader::require_once() couldn't resolve host name in /.../Zend/Loader/PluginLoader.php on line 389

2009-06-21 Thread András Csányi
2009/6/21 András Csányi sayusi.a...@gmail.com: 2009/6/21 András Csányi sayusi.a...@gmail.com: 2009/4/8 hglattergotz henn...@glatter-gotz.com: The described problems have been resolved by moving the account to a different server. This was necessary for other reasons and at the same time took

[fw-general] Zend_Log tutorial

2009-05-25 Thread András Csányi
Dear All, I'm looking for a good tutorial for Zend_Log. I found some tutorials here [1] but the most interest isn't reachable (404). My purpose is that I want to make an application level logging module. Important for me I want to logging special information (for example classname, filename, line

[fw-general] lame question

2009-04-16 Thread András Csányi
Hi all! I would like do an application what is call url like this http://localhost/module/action/variable1/variable1_value/variable2/variable2_value I did use zend framework almoust one year ago because I worked on another - non web-based - projects. I remember I could do this (upper) but I have

[fw-general] Re: lame question

2009-04-16 Thread András Csányi
2009/4/16 András Csányi sayusi.a...@gmail.com: Hi all! I would like do an application what is call url like this http://localhost/module/action/variable1/variable1_value/variable2/variable2_value Sorry! The point is missing! :$ So, if I call this url (upper) in the actionAction() method

Re: [fw-general] Re: lame question

2009-04-16 Thread András Csányi
2009/4/16 Matthew Weier O'Phinney matt...@zend.com: -- till klimp...@gmail.com wrote (on Thursday, 16 April 2009, 05:55 PM +0200): On Thu, Apr 16, 2009 at 5:54 PM, András Csányi sayusi.a...@gmail.com wrote: 2009/4/16 András Csányi sayusi.a...@gmail.com: Hi all! I would like do

Re: [fw-general] Netbeans IDE with PHP

2008-11-25 Thread András Csányi
2008/11/25 Michael Tramontano [EMAIL PROTECTED]: How's the css support ? Does it allow you to write custom file extension configurations ? Bet it doesn't compare to Zend studio though ! =P I won't argue with you, but NetBeans it's free. Zend Studio isn't. I think this is big difference. I