Hey guys,
while traversing to one of the pages on my website, the frontend_dev.php
seems to disappear. It does exist when I traverse other pages, but the
moment I traverse to this specific page, it disappears, and from thereon, if
I traverse to any other page, it will not come back.
Off course,
Hi All,
To display the template in one frame I have following line of code:
frame src=?php echo $sf_content ?/
But while accessing the page following error occurs:
Action StackWorkorder/h1NewStackworkorder does not exist.
My layout.php code is given below:
Hi,
On 02/26/2010 10:23 AM, Sameer Bhavsar wrote:
Hi All,
To display the template in one frame I have following line of code:
frame src=?php echo $sf_content ?/
See:
http://www.w3.org/TR/REC-html40/present/frames.html#h-16.2.2
The src attribute of a frame element should be a
Hello
So instead of $logger-info() I should write something like this?
$this-getEventDispatcher()-notify(new sfEvent($this, 'blah.log',
array('loglevel'='info', 'msg'='hello world'));
Well, that would not exactly be more elegant than:
$logger = BlahLogger::getInstance()-info(hello world);
It's longer perhaps but more elegant? You betcha! It doesn't create a new
dependency in your code because your logger could also *not* be there and the
code would still work.
Cheers, Daniel
On 26.02.2010, at 12:57, Christian Hammers wrote:
Hello
So instead of $logger-info() I should write
view.yml is deprecated in favors of helpers used directly in the
templates or methods called from actions.
You can use a conditional helper that checks for sf_debug config
variable (that's even better than rely on environments)
cheers
Massimiliano
On 26 Feb, 00:43, Bruno Reis
Oh, if the logging does not work because classes go lost, I'd rather want the
programm to terminate :)
But thanks anyway, the event handling does not sound uninteresting, maybe I can
use it for something else somewhen.
bye,
-christian-
On Fri, 26 Feb 2010 13:42:08 +0100
Daniel Lohse
Anybody?
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received this message because you are subscribed to the Google
Groups symfony users group.
To post to this group, send email to symfony-users@googlegroups.com
To
Hello,
I like to log every user activity to log database table. Is there any
solution for it? Or how can I make it?
Thanks
--
Ámon Tamás
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received this message because you are
He is extending sfAction, no sfActionS - so this is (was?) correct.
Âû ïèñàëè 25 ??? 2010 ?., 23:08:36:
Function name should be like executeIndex, but not just execute.
On Feb 25, 7:07 pm, Darren884 darren...@gmail.com wrote:
I get this error:
Fatal error: Declaration of
I finally get it works with this:
$this-filter = new
BirthdayFormFilter(array('name'=array('text'='Peter')));
Javi
On 02/16/2010 05:35 PM, Javier Garcia wrote:
I give you more code: I have this code below in the index template.
The filter form (without Peter as default value, of course..)
You probably want to extends sfActions (not sfAction)
On 25 ún, 19:07, Darren884 darren...@gmail.com wrote:
I get this error:
Fatal error: Declaration of homeAction::execute() must be compatible
with that of sfComponent::execute() in /var/www/vhosts/blackhawk.biz/
Are you trying to do this while creating a new object, or editing an
object? or both?
In which method do you have this code?
On 25 ún, 11:22, verox pawel.rz...@gmail.com wrote:
Hello,
Got some problem,
Have name and letter in table, both string.
I've generate admin page, now I'm trying to
Try to read this:
- http://php.net/manual/en/language.oop5.autoload.php
-
http://www.symfony-project.org/book/1_2/19-Mastering-Symfony-s-Configuration-Files
(Extending the Autoloading Feature)
and after that it should be more clear, hope this help (hope I'm
right :)
On 25 ún, 15:16, samuel
Do you want to use this plugin in one application for backend and
frontend?, with different tables, or the same tables for both?
On 26 ún, 06:27, Javier Garcia tirengar...@gmail.com wrote:
On 02/25/2010 11:45 AM, ram wrote:
Hi Fabien,
I'm Ram from India. I'm using sfGuardPlugin in one of
disappearing and appearing of the frontend_dev.php? must be magic ;)
No, serriously where it dissapears? is it not on the disk?
On 26 ún, 09:34, Parijat Kalia kaliapari...@gmail.com wrote:
Hey guys,
while traversing to one of the pages on my website, the frontend_dev.php
seems to disappear.
What Daniel said..
Plus, for convenience you can always create a local log method on
whatever object you're logging from that wraps the calls to the event-
dispatcher. Then you have elegant and short.
Daniel
On Feb 26, 5:34 am, Christian Hammers c...@lathspell.de wrote:
Oh, if the logging
Thanks a Lot Massimiliano,
Can you send me a link to where I can read more informations about it?
2010/2/26 Massimiliano Arione garak...@gmail.com
view.yml is deprecated in favors of helpers used directly in the
templates or methods called from actions.
You can use a conditional helper that
I'm not sure, but I think you'll have to make a list of inherited/
child classes by yourself.
On 24 ún, 11:11, m.s. marco.schierh...@googlemail.com wrote:
I just started to use symfony 1.4 and Doctrine. (Used 1.0 - 1.2 +
Propel a lot before).
I thought to give Doctrine a try, because of the
Try to show us the exception..
On 24 ún, 17:59, Bruno Reis bruno.p.r...@gmail.com wrote:
I figured out it has nothing to do with the event handler.
I´s happening on every page.
On my error_404_action, I redirect to the homepage and it shows the
uncaught exception message.
Anybody knows
I found some threads saying it´s related to a bug on a windows component.
Since we only use windows on dev environments, I´ve tested on other envs and
it worked. So it´s ok now. Thanks.
2010/2/26 Tom Ptacnik to...@tomor.cz
Try to show us the exception..
On 24 ún, 17:59, Bruno Reis
I don't know how do you understand, but this schema isn't correct at
all.
If you have some relation with local .( local: dinner_id ), you have
to have a dinner_id in this table where the relation is specified
Dinner:
columns:
dinner_id
date: { type: timestamp, notnull:
This is the header of sfComponent's execute():
abstract function execute($request);
So drop the sfWebRequest, and it'll be fine. And by the way: it did
not change, it is the exact same in 1.2.
On Thu, Feb 25, 2010 at 19:07, Darren884 darren...@gmail.com wrote:
I get this error:
Fatal
Check the referer, you probably have an incorrect url echoed there.
On Fri, Feb 26, 2010 at 09:34, Parijat Kalia kaliapari...@gmail.com wrote:
Hey guys,
while traversing to one of the pages on my website, the frontend_dev.php
seems to disappear. It does exist when I traverse other pages, but
maybe in the url ...
check the no_script_name and see if is set true / on / 1
On Fri, Feb 26, 2010 at 8:42 PM, Gábor Fási maerl...@gmail.com wrote:
Check the referer, you probably have an incorrect url echoed there.
On Fri, Feb 26, 2010 at 09:34, Parijat Kalia kaliapari...@gmail.com
wrote:
I'm not sure if Lime 2 develop[ment will continue. Fabien just
announced on Twitter that Symfony 2 will no longer use Lime but PHP
Unit instead.
On Fri, Feb 26, 2010 at 4:35 AM, Brandon Turner btur...@bltweb.net wrote:
Bernhard (or anyone else),
I have been playing around with Lime 2 Alpha and
It's quoted from here(an accepted answer):
http://stackoverflow.com/questions/1603252/many-to-many-relation-with-attributes-in-refclass/1610399#1610399
2010/2/27 Tom Ptacnik to...@tomor.cz
I don't know how do you understand, but this schema isn't correct at
all.
If you have some relation
Hi,
To display the template in one frame I have following line of code:
frame src=?php echo $sf_content ?/
But while accessing the page following error occurs:
Action StackWorkorder/h1NewStackworkorder does not exist.
My layout.php
On Thu, Feb 25, 2010 at 12:50 PM, DEEPAK BHATIA toreachdee...@gmail.com wrote:
Hi Fabien,
I am using Symfony 1.1 in which we are to create a session timeout of 4
hours but it is not working by changing in factories.yml.
Regards
Deepak Bhatia
On Thu, Feb 25, 2010 at 3:58 PM, Fabien
SANParks needs experienced Symfony PHP developer, based in
Johannesburg or Pretoria, available to start immediately on mobile
project. Email mi...@sanparks.org if you qualify.
Thanks
Midiane.
--
If you want to report a vulnerability issue on symfony, please send it to
security at
Hello,
I have an sfWidgetDoctrineChoice() form that I am trying to set the
default value for. The value I have is the id (primary key) of the row
I want to set to the default. It's being passed in as an option to the
form.
Here is my code:
public function configure()
{
Just update to the latest symfony version, which is 1.2.12 in your case, and
clear your cache. That's all. :)
Daniel
On 26.02.2010, at 15:37, Peter Peltonen wrote:
On Thu, Feb 25, 2010 at 12:50 PM, DEEPAK BHATIA toreachdee...@gmail.com
wrote:
Hi Fabien,
I am using Symfony 1.1 in which
Hi
symfony doctrine-generate-crud seems to build a module for each model
(database table) with actions edit, delete, create etc.Using this task
you can not add another model to the same module. The task will over
write the edit, delete etc. actions. I see no options in the task for
prefixing
33 matches
Mail list logo