[fw-general] Showing related items in a form with annotations

2013-11-10 Thread Jigal sanders
86/showing-related-items-in-a-form-with-annotations Thanks very much. Jigal Sanders

[fw-general] PHPUnit Routing Error

2013-09-15 Thread Jigal sanders
tp\TreeRouteStack.php:65 C:\wamp\www\MyApp\module\MyApp\test\MyAppTest\Controller\OverviewContro llerTest.php:45 C:\wamp\bin\php\php5.3.9\pear\PHPUnit\TextUI\Command.php:176 C:\wamp\bin\php\php5.3.9\pear\PHPUnit\TextUI\Command.php:129 The error says that i Miss the type option. But if you look at the route you see there is a type option. What could be wrong? Thanks -- Jigal Sanders

[fw-general] Problem with radio buttons in form annotations

2013-07-11 Thread Jigal sanders
Hi I am trying to create radio buttons based on a boolean in my entities like this: /** * * visible -> default false * @ORM\Column(type="boolean") * @Annotation\Type("Zend\Form\Element\Radio"); * @Annotation\Options({ * "label":"Here are your choices:",

Re: [fw-general] Problems with testing my entity repository

2013-06-30 Thread Jigal sanders
services in my code. You can fetch your > repository with something like: > > > ServiceManagerFactory::getServiceManager()->get('Doctrine\ORM\EntityManager')->getRepository('My\Entity\Name'); > > Marco Pivetta > > http://twitter.com/Ocramius > > http:/

Re: [fw-general] Problems with testing my entity repository

2013-06-28 Thread Jigal sanders
> > http://ocramius.github.com/ > > > On 28 June 2013 18:47, Jigal sanders wrote: > >> Hello, >> >> I am keeping to get the following error: >> >> 1) MyTest\Controller\OverviewControllerTest::testEditActionAcceptsId >> Zend\ServiceManager\Ex

[fw-general] Problems with testing my entity repository

2013-06-28 Thread Jigal sanders
Hello, I am keeping to get the following error: 1) MyTest\Controller\OverviewControllerTest::testEditActionAcceptsId Zend\ServiceManager\Exception\ServiceNotFoundException: Zend\ServiceManager\Serv iceManager::get was unable to fetch or create an instance for myt\EntityRepository\Product this i

[fw-general] unit testing zend framework and doctrine

2013-06-25 Thread Jigal sanders
Hello, I am new to unit testing. Trying my very best to learn it. Now I am trying to build a web application with Doctrine. In my controller i have the Entitymanager In order to test some of my controller actions I am in need of the entity manager. My question is how to mock my entity manager

[fw-general] Re: Zend Form and composd objects

2013-05-19 Thread Jigal sanders
*bump* On Mon, May 13, 2013 at 9:47 PM, Jigal sanders wrote: > Hello Everyone, > > I am working on two entities: a product and a product group. In my > Entities I have also put form annotations. > > But now I want to make sure that if I show my Product form, i will be &g

[fw-general] Zend Form and composd objects

2013-05-13 Thread Jigal sanders
/** * @ORM\ManyToMany(targetEntity="productGroup") * @Annotation\ComposedObject("MyModule\Entity\ProductGroup") */ protected $productGroup; Now how can i get this to work in my view? That it shows checkboxes with the items in my related entity? Thanks very much -- Jigal Sanders

[fw-general] Right to left Charachter support in Zend PDF

2012-07-22 Thread Jigal sanders
Hello, I am in desperate need of RTL language support for Zend PDF. Does anyone have any suggestions how to implement this? As I have never don something like this. Maybe someone has already played with this. Thanks very much -- Jigal Sanders

Re: [fw-general] How to unit test ZF2/ZendSkeletonApplication

2012-04-29 Thread Jigal sanders
ius > > http://marco-pivetta.com > > > > > On 29 April 2012 08:17, ' Rafael . wrote: > > Hi, > > I am starting one app using zf2/zendskeletonapplication( > https://github.com/zendframework/ZendSkeletonApplication), I am wondering > how can I u

Re: [fw-general] Re: Running the zend unit tests with the phpunit 3.6 (PHP_CodeCoverage_Filter::getInstance() problem)

2012-02-15 Thread Jigal sanders
: http://framework.zend.com/archives > Unsubscribe: fw-general-unsubscr...@lists.zend.com > > > -- Met vriendelijke groet, Jigal Sanders A.J. Ernststraat 739 1082 LK Amsterdam Mobiel: 06-42111489

[fw-general] Wondering how to use assertQueryContentContains in my tests

2011-08-03 Thread Jigal sanders
Good night everyone, I am trying to figure out some stuff in PHPUnit with Zend Framework. Off course I am using the default configuration which comes with an out of the box ZF new project. Now i want to test my function which will dynamically load a css file. So to test if a certain css was load

Re: [fw-general] Re: Allowed memory size exhausted

2011-07-28 Thread Jigal sanders
end/Db/Table/Abstract.php:973, referer: > > > http://somedomain.nl/en/contact_info > > > [Thu Jul 28 16:13:16 2011] [error] [client someip] PHP 17. > > > Zend_Db_Table_Abstract->_getCols() > > > /home/somedomain/www/library/Zend/Db/Table/Abstract.php:889, referer: > > > http://somedomain.nl/en/contact_info > > > [Thu Jul 28 16:13:16 2011] [error] [client someip] PHP 18. > > > Zend_Db_Table_Abstract->_setupMetadata() > > > /home/somedomain/www/library/Zend/Db/Table/Abstract.php:849, referer: > > > http://somedomain.nl/en/contact_info > > > [Thu Jul 28 16:13:16 2011] [error] [client someip] PHP 19. > > > Zend_Db_Adapter_Pdo_Mysql->describeTable($tableName = 'pages_en', > > > $schemaName = NULL) > > > /home/somedomain/www/library/Zend/Db/Table/Abstract.php:823, referer: > > > http://somedomain.nl/en/contact_info > > > > > > > > > -- > > > View this message in context: > > > > > > http://zend-framework-community.634137.n4.nabble.com/Allowed-memory-size-exhausted-tp3701480p3701480.html > > > Sent from the Zend Framework mailing list archive at Nabble.com. > > > > > > -- > > > List: [hidden email]< > http://user/SendEmail.jtp?type=node&node=3701594&i=1> > > > Info: http://framework.zend.com/archives > > > Unsubscribe: [hidden email]< > http://user/SendEmail.jtp?type=node&node=3701594&i=2> > > > > > > > > > > > > > > > -- > > If you reply to this email, your message will be added to the discussion > > below: > > > > > http://zend-framework-community.634137.n4.nabble.com/Allowed-memory-size-exhausted-tp3701480p3701594.html > > To unsubscribe from Allowed memory size exhausted, click here< > http://zend-framework-community.634137.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=3701480&code=bWV0YWxtaW5pQGdtYWlsLmNvbXwzNzAxNDgwfC03MTY3NjEyNjc= > >. > > > > > > > > -- > Afstudeerproject: #LiveArtz > http://www.LiveArtz.nl > > http://portfolio.schouman.info > My digital portfolio/CV > > <http://blog.schouman.info> > --- > Deze email is verstuurd door Michael > Disclaimer: http://blog.schouman.info/index.php/e-mail-disclaimer/ > > > -- > View this message in context: > http://zend-framework-community.634137.n4.nabble.com/Allowed-memory-size-exhausted-tp3701480p3701886.html > Sent from the Zend Framework mailing list archive at Nabble.com. > -- Met vriendelijke groet, Jigal Sanders A.J. Ernststraat 739 1082 LK Amsterdam Mobiel: 06-42111489

Re: [fw-general] Re: Error message on a create form

2011-03-16 Thread Jigal sanders
'\'%value%\' does not match > international number format > +XXYY', >Zend_Validate_Regex::NOT_MATCH => >'\'%value%\' does not match international number

Re: [fw-general] Re: Newbie : Message: Invalid controller specified

2011-03-06 Thread Jigal sanders
Hello Mark, I would recheck your .htaccess file and your site configuration. Regards. On Sun, Mar 6, 2011 at 12:23 PM, mich wrote: > Hi Mark & all , > > Many thanks for your suggestion. I changed the name andstarted the > tutorial > zf-tutorial in the hope of getting a project going. > > It s

[fw-general] Mocking away zend_captcha

2011-01-28 Thread Jigal sanders
Hello, I am struggeling already a few days to unit test a form which has in it zend Captcha. I was told to mock away the validator of zend_Captcha but i have no idea how. This is my test function: public function testCanSubmitContactForm(){ $mock = $this->getMock('Zend_Form_Element_Capt

Re: [fw-general] Re: [zf-contributors] Re: [fw-general] Re: [zf-contributors] Discontinuing Maintenance of ZendX JQuery - Suggest drop for 2.0

2011-01-19 Thread Jigal sanders
> mod_deflate and others) > > > The first approach is what ZendX jQuery plugin currently does and there > is > > just no way to go from that approach to a javascript based file approach > > without starting from the beginning. > > > If jQuery remains as a pa

Re: [fw-general] Re: [zf-contributors] Re: [fw-general] Re: [zf-contributors] Discontinuing Maintenance of ZendX JQuery - Suggest drop for 2.0

2011-01-19 Thread Jigal sanders
he beginning. > > > If jQuery remains as a part of ZF, it should be a (sorry for the buzzword) > "state-of-the-art" > implementation and provide options, other (PHP) frameworks doesn't deliver. > > -- Met vriendelijke groet, Jigal Sanders A.J. Ernststraat 739 1082 LK Amsterdam Mobiel: 06-42111489

Re: [fw-general] Re: [zf-contributors] Discontinuing Maintenance of ZendX JQuery - Suggest drop for 2.0

2011-01-17 Thread Jigal sanders
this > extension (in the short run) I suggest to drop it not to encourage people to > run into the wrong direction by using it (they will thank us later). > > > > I won't attempt to rewrite ZendX jQuery for 2.0 and i understand that > this means it will be dropped automati

Re: [fw-general] How do you distinguish between modules and controllers in Zend Framework

2011-01-11 Thread Jigal sanders
57.html > Sent from the Zend Framework mailing list archive at Nabble.com. > -- Met vriendelijke groet, Jigal Sanders A.J. Ernststraat 739 1082 LK Amsterdam Mobiel: 06-42111489

Re: [fw-general] Parse error: syntax error, unexpected $end

2010-08-23 Thread Jigal sanders
Hey Mark, These can be annoying bugs. I have had loads of them. Is there more info in your error log? Just remove all the end tags in your files. Hope it helps! On Mon, Aug 23, 2010 at 8:36 PM, Mark Steudel wrote: > Hi All, > > We have a ZF project which we have developed locally on our machi

Re: [fw-general] [Zend_Date] Sunday weekday 0 / 7

2010-08-21 Thread Jigal sanders
Hi, I don't know if it is an elegant option but what you could do is $zfDate->setWeekday($weekday+1); On Sun, Aug 22, 2010 at 1:31 AM, debussy007 wrote: > > Hi, > > I have stored a schedule in database, which contains weekdays and time > slots. > > I want to create a date and set the weekday :

Re: [fw-general] Weird bug in ZF?

2010-08-12 Thread Jigal sanders
t; You could alternatively enable the Zend_Db_Profiler so it records the SQL > statements it executes. Then run your insert and see what's in the profiler. > See documentation for example code. > > Regards, > Bill Karwin > > On Aug 12, 2010, at 2:11 PM, Jigal sanders wrote: > &

Re: [fw-general] Weird bug in ZF?

2010-08-12 Thread Jigal sanders
Bill Thanks for your time. Do you suggest that i paste the code below in an controllerAction and then execute it? On Thu, Aug 12, 2010 at 10:20 PM, Bill Karwin wrote: > On Aug 12, 2010, at 9:41 AM, Jigal sanders wrote: > > Hi, >> >> I realized that. I was just blind

Re: [fw-general] Weird bug in ZF?

2010-08-12 Thread Jigal sanders
Bill please dont look at that query i typed it over in stead of copy paste it from firebug db profiler. So it cant be that. On Thu, Aug 12, 2010 at 6:59 PM, Bill Karwin wrote: > > On Aug 12, 2010, at 9:41 AM, Jigal sanders wrote: > > 2.Select `user`.* FROM `user` WHERE( usr

Re: [fw-general] Weird bug in ZF?

2010-08-12 Thread Jigal sanders
kipedia.org/wiki/Prepared_statements#Parameterized_statements > > with regards, > Jan Pieper > > Original-Nachricht > > Datum: Thu, 12 Aug 2010 10:13:24 +0200 > > Von: Jigal sanders > > An: fw-general > > Betreff: [fw-general] Weird bug in ZF? > > >

[fw-general] Weird bug in ZF?

2010-08-12 Thread Jigal sanders
hello i have a very weird bug. I have pasted all code here: http://pastebin.com/K5riS3ng its in the zend framework. In the beginning of the function all my values are there. But when creating the sql statement all the values are gone. Any Idea's? J. Sanders

Re: [fw-general] Can't get my environment working again

2010-07-25 Thread Jigal sanders
strapper you have seems liek Acl resource > is loaded later. Put $this->bootstrap('Acl'); prior accessing $this->_acl > within > $view->navigation($navContainer)... > > > 2010/7/25 Jigal sanders : > > Hello Everyone, > > When i tried to upgrade my ubuntu

[fw-general] Can't get my environment working again

2010-07-25 Thread Jigal sanders
Hello Everyone, When i tried to upgrade my ubuntu system it didn't go as I wanted. Now I had to reinstall everyting. I am already busy to get my ZF project working again but unsucsesfull. Every time when i try to save something to the database or read data from the db it goes wong. I don't see a c

Re: [fw-general] Re: The proper/current way to initialize View in the bootstrap?

2010-05-05 Thread Jigal sanders
Thanks i can't get the plugin working. I have this: bootstrap] ... pluginPaths.resource_ = APPLICATION_PATH"/resources" resource.view.title = 'my application' ... and int my : application/resources/view.php the code like in your script. I placed an exit; in the first line of the getView() fun

Re: [fw-general] Re: The proper/current way to initialize View in the bootstrap?

2010-05-05 Thread Jigal sanders
-community.634137.n4.nabble.com/The-proper-current-way-to-initialize-View-in-the-bootstrap-tp2075965p2125996.html > Sent from the Zend Framework mailing list archive at Nabble.com. > -- Met vriendelijke groet, Jigal Sanders A.J. Ernststraat 739 1082 LK Amsterdam Mobiel: 06-42111489

Re: [fw-general] The proper/current way to initialize View in the bootstrap?

2010-05-02 Thread Jigal sanders
sed? >> >> Thanks >> Greg >> -- >> View this message in context: >> http://zend-framework-community.634137.n4.nabble.com/The-proper-current-way-to-initialize-View-in-the-bootstrap-tp2075965p2075965.html >> Sent from the Zend Framework mailing list archive at Nabble.com. >> > > -- Met vriendelijke groet, Jigal Sanders A.J. Ernststraat 739 1082 LK Amsterdam Mobiel: 06-42111489

Re: [fw-general] Re: problem wiht "php scripts/load.sqlite.php "

2010-04-26 Thread Jigal sanders
n4.nabble.com/problem-wiht-php-scripts-load-sqlite-php-tp2063411p2064734.html > Sent from the Zend Framework mailing list archive at Nabble.com. > -- Met vriendelijke groet, Jigal Sanders A.J. Ernststraat 739 1082 LK Amsterdam Mobiel: 06-42111489

[fw-general] Zend_Form composite time element

2010-04-25 Thread Jigal sanders
Hello everyone, I have been busy implementing my own custom time form element. And I asume that I am not doing anything which is rocket science. Namely I am trying to create a custom form element which I can use to enter times. It shoul look like two dropdown boxes of which i can select the hours

Re: [fw-general] Static Method in Bootstrap File

2010-03-23 Thread Jigal Sanders
I am wondering why you want to do that. On 23 mrt 2010, at 18:58, Joseph Crawford wrote: Hello Everyone, I am just wondering and would like to get the insight from people who use ZF all day long. I am wondering if this is a good solution or a bad solution and "why". So the question

[fw-general] Conditional links in Zend_Navigation

2010-03-21 Thread Jigal sanders
Hello, I use Zend_Navigation and an xml file to build up my navigation. Is it possible to show only a link on a certain condition? For example when a user is logged in i want to show the logout link but when no one is logged in i don't want to show the logout link. Any idea's? Thanks. J. Sander

Re: [fw-general] Validator not working

2010-03-09 Thread Jigal sanders
thanks all for helping. There were just a view typo's. tnx On Tue, Mar 9, 2010 at 4:21 PM, Ever Daniel Barreto Rojas < everdan...@gmail.com> wrote: > Hey Jigal, > > 2010/3/9 Jigal sanders : > > I am trying to get my UniqueEmail validator working but it seems that

[fw-general] Problem with accessing the dependend row in my View

2010-03-05 Thread Jigal sanders
Hello everyone, I am currently reading Keith Pope's book about the zf 1.8 and trying to implement some of the techniques and patterns into my own case. / project. For the past few days I have been trying to get my relationships working. I have an parent table events and each event can have an add

[fw-general] change the class = navigation

2010-02-28 Thread Jigal sanders
Hello, When I create a navigation through zend navigation it outputs an with class = "navigation". Is there a wauy to change this class name to anything i want? Thanks J.Sanders

Re: [fw-general] RE: [unsure] [fw-general] Zf.bat behaves weird

2010-02-21 Thread Jigal sanders
believe zf.bat is a windows batch file, not meant to be run on linux >> >> >> >> *From:* Jigal sanders [mailto:jigalroe...@gmail.com] >> *Sent:* Monday, 22 February 2010 7:02 AM >> *To:* fw-general >> *Subject:* [unsure] [fw-general] Zf.bat behaves weird >>

[fw-general] Zf.bat behaves weird

2010-02-21 Thread Jigal sanders
Hello everyone. I installend 1.10.1 but when I do on my linux machine: /var/www/nrka2/bin/zf.bat show version I get this error: var/www/nrka2/bin/zf.bat: line 1: @ECHO: command not found /var/www/nrka2/bin/zf.bat: line 2: REM: command not found /var/www/nrka2/bin/zf.bat: line 3: REM: command n

Re: [fw-general] Problem with custom validator

2009-12-30 Thread Jigal sanders
terReturnsBoolean() > { > $date1 = new Zend_Date(); > $date2 = new Zend_Date(); > $result = $date1->isLater($date2); > $this->assertTrue(is_bool($result)); > } > > Is that maybe a var_dump of something else? Looks like a dump of $context. > > -- > Hector >

Re: [fw-general] Problem with custom validator

2009-12-30 Thread Jigal sanders
in the field name (as a string) that you > want to compare to: > > $evtEndDate->addValidator('CompareDates',false,array<http://www.php.net/array> > ('evt_enddate')); > > Then, in your validator class, you can easily extract the comparison date > from the $

Re: [fw-general] Problem with custom validator

2009-12-30 Thread Jigal sanders
#x27;CompareDates',false,array<http://www.php.net/array> ($evtStartDate)); and then convert it to a date object in order to be able to compate dates with the isEarlier function. How can i do this? On Wed, Dec 30, 2009 at 10:04 PM, Jigal sanders wrote: > figured it out , i think. >

Re: [fw-general] Problem with custom validator

2009-12-30 Thread Jigal sanders
:02 PM, Hector Virgen wrote: > What is the value of $evtStartDate before calling addValidator()? > > -- > Hector > > > > On Wed, Dec 30, 2009 at 12:48 PM, Jigal sanders wrote: > >> sorry to disturb but i really don't get it working. >> It starts already t

Re: [fw-general] Problem with custom validator

2009-12-30 Thread Jigal sanders
son > > > <http://framework.zend.com/manual/en/zend.date.overview.html#zend.date.others.comparison>You > can hint to your validator (perhaps with another constructor argument) as to > how to compare the dates... should A be before B, or after B, or equal to B? > > -- &

Re: [fw-general] Problem with custom validator

2009-12-30 Thread Jigal sanders
that $b > $a. > > Also, in the $evtStartDate element, you are setting the field to compare to > $evtEndDate, which hasn't been created yet. Instead of passing in the > element, try passing in the element's field name "evt_enddate" (as a > string). > > I hop

[fw-general] Problem with custom validator

2009-12-30 Thread Jigal sanders
Hello everyone, I have a form with two date fields. One startdate and one enddate. I want to make sure, the end date is not before the startdate. I am trying to create my own validator. Now i based my validator on this tutorial: http://cogo.wordpress.com/2008/04/16/custom-validators-for-zend_form

[fw-general] Problem with validating time

2009-12-29 Thread Jigal sanders
Hello everyone, I want to check my form input field if it contains a time. I do it like this: $evtStartTime->addValidator(new Zend_Validate_Date('hh:mm',new Zend_Locale('auto'))); but when i enter 111 I don't get any error messages. What goes wrong? Thanks, J. Sanders

[fw-general] Problem with zend tool

2009-12-12 Thread Jigal sanders
On my ubuntu machine when i try to create a controller: zf create action edit events I get the error: Fatal error: Cannot redeclare class Zend_Tool_Project_Provider_Manifest in /usr/share/php/libzend-framework-php/Zend/Tool/Project/Provider/Manifest.php on line 69 I have created a symlink to z

Re: [fw-general] empty baseurl

2009-12-08 Thread Jigal sanders
ght way to solve it. Can't i change it in my app.ini file? If so, how? On Tue, Dec 8, 2009 at 3:26 PM, Matthew Weier O'Phinney wrote: > -- Jigal sanders wrote > (on Tuesday, 08 December 2009, 11:36 AM +0100): > > For some reason my baseUrl stays empty. > > > > When i d

[fw-general] empty baseurl

2009-12-08 Thread Jigal sanders
Hello everyone, For some reason my baseUrl stays empty. When i do $this->jQuery()->setLocalPath($this->baseUrl().'js/jquery/js/jquery-1.3.2.min.js') Then my baseurl stays empty any idea's?

Re: [fw-general] problem with headers already sent

2009-12-06 Thread Jigal Sanders
I am using geany. How can i check it? On 6 dec 2009, at 21:13, Vladas Diržys wrote: Hi, Are you sure there is no BOM at the beginning of EventController.php? Which editor are you using? -- Regards, Vladas Diržys On Fri, Dec 4, 2009 at 14:09, Jigal sanders wrote: Hello I have a

Re: [fw-general] problem with headers already sent

2009-12-06 Thread Jigal sanders
Dec 4, 2009 at 4:06 PM, Bart McLeod wrote: > Now we're at it, you'd better not override the constructor, but the init() > method instead > That might even help... > And also, to focus on the problem, create a test page, that echoes your > form and nothing else and se

Re: [fw-general] problem with headers already sent

2009-12-04 Thread Jigal sanders
EndTime,$amountPersons,$elem,$save)); $this->setMethod('post'); $this->setAction(Zend_Controller_Front::getInstance()->getBaseUrl().'/events/add'); } } but still the same error. On Fri, Dec 4, 2009 at 3:07 PM, Bart McLeod wrote: > I would l

Re: [fw-general] problem with headers already sent

2009-12-04 Thread Jigal sanders
Yes I thought so. But i checked all files and using bluefish but i cant find the space. On Fri, Dec 4, 2009 at 2:22 PM, Matthew Weier O'Phinney wrote: > -- Jigal sanders wrote > (on Friday, 04 December 2009, 01:09 PM +0100): > > Hello I have a strange problem. > > &g

[fw-general] problem with headers already sent

2009-12-04 Thread Jigal sanders
Hello I have a strange problem. I am trying to enable Zendx_JQuery_Form So I have created a class as you can see here: http://pastebin.com/m2a43e1c2 The problem is that my jquery datepicker fields don't work. I only get the following error in firebug: Fatal error: Uncaught exception 'Zend_Con

Re: [fw-general] ZendX_JQuery_Form discussion

2009-12-03 Thread Jigal sanders
Hello everyone, Since I want to use some JQuery in my form I installed ZendX_JQuery. But can anyone give example's or tutorials to learn how to use Zend_JQuery_Form? How does it go together wit zend_form? Thanks On Thu, Dec 3, 2009 at 11:32 AM, Саша Стаменковић wrote: > I'm trying now to make ta

Re: [fw-general] Has anyone ported ZF project from Windows to Linux before?

2009-11-29 Thread Jigal sanders
is sudo-ed it and it works now thanks all for the greathelp On Sun, Nov 29, 2009 at 11:03 PM, Jigal sanders wrote: > where and how should i do this? > > > On Sun, Nov 29, 2009 at 11:02 PM, Jurian Sluiman < > subscr...@juriansluiman.nl> wrote: > >> You don't h

Re: [fw-general] Has anyone ported ZF project from Windows to Linux before?

2009-11-29 Thread Jigal sanders
t; -- > Jurian Sluiman > CTO Soflomo V.O.F. > http://soflomo.com > > On Sunday 29 Nov 2009 23:00:29 Jigal sanders wrote: > > [Sun Nov 29 22:37:37 2009] [alert] [client 127.0.0.1] > > /var/www/nrka/public/.htaccess: Invalid command 'RewriteEngine', perhaps > &g

Re: [fw-general] Has anyone ported ZF project from Windows to Linux before?

2009-11-29 Thread Jigal sanders
misspelled or defined by a module not included in the server configuration On Sun, Nov 29, 2009 at 10:58 PM, Bradley Holt wrote: > Can you look at your web server logs and see what the error is? If > it's giving a 500 error, it should be logged. > > On Sun, Nov 29, 2009 at 4:52 PM, J

Re: [fw-general] Has anyone ported ZF project from Windows to Linux before?

2009-11-29 Thread Jigal sanders
gt; you prefer) and all the other directories (application, library, etc.) > should all be at the same level as your document root. See: > > http://framework.zend.com/manual/en/project-structure.project.html > > On Sun, Nov 29, 2009 at 4:43 PM, Jigal sanders > wrote: > >

Re: [fw-general] Has anyone ported ZF project from Windows to Linux before?

2009-11-29 Thread Jigal sanders
sn't in a subdirectory of your document root): > > RewriteBase / > > On Sun, Nov 29, 2009 at 4:37 PM, Jigal sanders > wrote: > > yes i have restarted. > > now i get a apache 500 > > > > On Sun, Nov 29, 2009 at 10:36 PM, Bradley Holt < > bradley.

Re: [fw-general] Has anyone ported ZF project from Windows to Linux before?

2009-11-29 Thread Jigal sanders
well it's in the sites enabled list On Sun, Nov 29, 2009 at 10:37 PM, Daniel Latter wrote: > Do you need to add your vhost to a hosts file for linux, like windows? > > > On 29 Nov 2009, at 21:34, Jigal sanders wrote: > > this is what i have in my .htaccess file

Re: [fw-general] Has anyone ported ZF project from Windows to Linux before?

2009-11-29 Thread Jigal sanders
yes i have restarted. now i get a apache 500 On Sun, Nov 29, 2009 at 10:36 PM, Bradley Holt wrote: > Have you restarted Apache since changing your virtual host > configuration? Are you still getting a 404 or a different error now? > > On Sun, Nov 29, 2009 at 4:34 PM, Jigal sand

Re: [fw-general] Has anyone ported ZF project from Windows to Linux before?

2009-11-29 Thread Jigal sanders
Sun, Nov 29, 2009 at 10:32 PM, Bradley Holt wrote: > What do your rewrite rules look like? > > On Sun, Nov 29, 2009 at 4:29 PM, Jigal sanders > wrote: > > No I have this: > > > > > > ServerAdmin jigalroe...@gmail.com > > > > DocumentRo

Re: [fw-general] Has anyone ported ZF project from Windows to Linux before?

2009-11-29 Thread Jigal sanders
esn't work. I have the idea that there is too much in this file. On Sun, Nov 29, 2009 at 10:25 PM, Sudheer Satyanarayana < sudhee...@sudheer.net> wrote: > On Monday 30 November 2009 02:40 AM, Jigal sanders wrote: > >> Well, >> >> my first problem is that it

Re: [fw-general] Has anyone ported ZF project from Windows to Linux before?

2009-11-29 Thread Jigal sanders
e? > > The ZF project which I worked on was fully functional on Vista but > > when I moved it to my Debian machine then nothing works anymore. > > > > Can you tell me what the most common things I should take care is > > about in general, when porting ZF code from one p

Re: [fw-general] Has anyone ported ZF project from Windows to Linux before?

2009-11-29 Thread Jigal sanders
Hello, I am about to port all my stuff from win xp to ubuntu. So I am also interested in info about this. On Sun, Nov 29, 2009 at 5:50 PM, W Itch < im.allergic.2.mailing.li...@gmail.com> wrote: > Hi, has anyone ported ZF project from Windows Vista to Linux Debian before? > The ZF project which

Re: [fw-general] Autoloader doesn't work properly

2009-11-26 Thread Jigal sanders
1 which is usual for protected methods is it? I know that > Zend_Application looks for functions named initSomething but I don't know > the expression it uses to identify them. > > On 25 Nov 2009, at 17:24, Jigal Sanders wrote: > > Thats exactly how i have it in zf version

Re: [fw-general] ZF Open Source Project: Example of Best Practices?

2009-11-26 Thread Jigal sanders
unning in production on a cloud > platform like EC2 > > Any recommendations? > > - Steve W. > -- > View this message in context: > http://n4.nabble.com/ZF-Open-Source-Project-Example-of-Best-Practices-tp787830p787830.html > Sent from the Zend Framework mailing list archive at Na

Re: [fw-general] Zend_Form initial values

2009-11-26 Thread Jigal sanders
Zend-Form-initial-values-tp788087p788087.html > Sent from the Zend Framework mailing list archive at Nabble.com. > -- Met vriendelijke groet, Jigal Sanders A.J. Ernststraat 739 1082 LK Amsterdam Mobiel: 06-42111489

Re: [fw-general] Autoloader doesn't work properly

2009-11-25 Thread Jigal Sanders
Thats exactly how i have it in zf version 1.9.5 On 25 nov 2009, at 18:18, Matthew Weier O'Phinney wrote: -- Jigal sanders wrote (on Wednesday, 25 November 2009, 05:56 PM +0100): Just created a project with zend tool. In my bootstrap file I have : protected function __initAut

Re: [fw-general] ZF - Where to begin?

2009-11-25 Thread Jigal sanders
ozzy > -- > View this message in context: > http://n4.nabble.com/ZF-Where-to-begin-tp787666p787666.html > Sent from the Zend Framework mailing list archive at Nabble.com. > -- Met vriendelijke groet, Jigal Sanders A.J. Ernststraat 739 1082 LK Amsterdam Mobiel: 06-42111489

[fw-general] Autoloader doesn't work properly

2009-11-25 Thread Jigal sanders
Hello, Just created a project with zend tool. In my bootstrap file I have : protected function __initAutoload(){ $autoloader = new Zend_Application_Module_Autoloader(array( 'namespace' => '', 'basePath' => APPLICATION_PATH, )); return $autoloader

Re: [fw-general] Overriding Zend_Form_Element methods

2009-11-25 Thread Jigal sanders
I suppose something like: Class myElement extends Zend_Form_Element{ protected function getFullyQualifiedName(){ // your code here } } On Wed, Nov 25, 2009 at 9:34 AM, Саша Стаменковић wrote: > How? :) > > Regards, > Saša Stamenković > > > > On Wed, Nov 25, 2009 a

Re: [fw-general] Overriding Zend_Form_Element methods

2009-11-25 Thread Jigal sanders
> need to extend all Zend_Form_Element_* classes? > > Regards, > Saša Stamenković. > -- > View this message in context: > http://n4.nabble.com/Overriding-Zend-Form-Element-methods-tp787370p787370.html > Sent from the Zend Framework mailing list archive at Nabble.com. >

Re: [fw-general] Session problem

2009-11-24 Thread Jigal sanders
> Not sure what means 'to set a session', but it is probably something else >> than 'to start one'. >> add session_start(); somewhere in the top of your index.php. >> >> 2. Change your book! :) >> >> >> On Tue, Nov 24, 2009 at 10:19 PM, Jigal

Re: [fw-general] Session problem

2009-11-24 Thread Jigal sanders
8:16 PM, Alexander Steshenko wrote: > 1. Do you start your session anywhere? > 2. You better use Zend_Session instead > 3. The rest should be also refactored I guess > > > On Tue, Nov 24, 2009 at 10:09 PM, Jigal sanders wrote: > >> Hello everyone. >> I am trying som

[fw-general] Session problem

2009-11-24 Thread Jigal sanders
Hello everyone. I am trying something in the zend Framework I have create a project with zend_tool. I have 2 controllers 1. artist controler 2. account controler Within the accountcontroller whenever the user login the $_SESSION['id'] is set to the user id. But as soon as I leave the accou