Hi Dan,
looks very much like you are passing the wrong value (ie. NULL) to the
RetrieveByPK() method. Can you check if this might be the case?
Cheers,
Georg
Dan Jipa schrieb:
>
> One of my actions in a module calls the *RetrievebyPK method* and
> generated 0 results.
> I've used the debug mode
Hey Reynier,
the second line in your app.yml should be indented because it is a
subkey of dev, so to say. So it should look like this:
dev:
CantidadCategorias: 2
If this doesn't help, have a look at the cached output of app.yml which
should be at cache/myapps/dev/config/config_app.yml.php to
Hey Sid,
just to get an idea, what's being displayed instead of the login page?
What happens if you directly access the login page (there should be a
special route /login or just use /sfGuardAuth/signin )?
Could you probably upload the symfony log somewhere?
Cheers,
Georg
Sid Bachtiar schrieb:
Hey Pedro,
I can't really help you with the issue itself, but can you check if a
connection to the Oracle DB is actually made when you request your page
by looking at the Oracle logs or something similar? Too bad the error
message isn't printed out correctly by Symfony.
Cheers,
Georg
Pedro Casa
Hi Nicolas,
what's your motivation behind this separation you are trying to achieve?
Anyway, this separation is already built into Symfony, just not across
different files and directories depending on the layer. The URL
myproject/product/listproduct/ for example will actually call the
executeLi
Hey list,
I am currently looking for a way to create a new resource version
without modifying the resource itself. The problem is that in order to
create a new resource version the behavior's preSave() and postSave()
hooks have to be called which is done implicitly by calling the
resource's save(
Hi Daniel,
Richtermeister schrieb:
> Hey guys,
>
> thanks for the responses, but now I'm confused..
> If I call make-root on a new node, and do that with many nodes
> (supposedly my root layer) they all have 1 as left, and thus this
> can't be right. Having a common root works, but semantically
Hi Gergo,
according to the behavior's documentation there really is no
'removeTags' method, just 'removeAllTags' or 'removeTag'. Are you sure
you're using the right method?
Cheers,
Georg
pihentagy schrieb:
> Hi all!
>
> I've tried to implement deleting all tags belonging to an object with
> m
Hi Reynier,
sounds good so far, but it depends on what your action is doing. Just
calling the 'license' module with no action name will call
executeIndex(). From there you can forward() to 'license/editAutor'
which will call executeEditAutor(). Just return sfView::SUCCESS in that
action and you s
Hey Martin,
I'm a little late but this bug report might help:
http://trac.symfony-project.com/ticket/2438
Using this allows me to actually use xdebug as a debugger :)
Cheers,
Georg
Martin Groh schrieb:
> Please stop bothering!! I've got it!
> There seem to be problems with my xdebug configurat
Hey Pierre,
$sf_user->getGuardUser()->getUsername() works for me. Did you do the
whole myUser.class.php thing (
http://trac.symfony-project.com/wiki/sfGuardPluginFor10#Secureyourapplication
) ? Can you check that $sf_user is an object of class myUser and that
myUser.class.php extends sfGuardSecur
Hey Daniel,
This is certainly not the smartest solution but it's probably as good as
the requirements: ... you mentioned as long as they don't really exist
:) Couldn't you check in the executeShowPage action whether the
requested page_name is actually the name of an existing module, and if
so, fo
40 lib/model/UserPeer.php
>>>> Right, I try to rebuild, I execute (again) this command :
>>>> [EMAIL PROTECTED] askeet]$ symfony propel-build-model
>>>> [...]
>>>> BUILD FINISHED
>>>> Total time: 4.6286 seconds
>>>>>> file- /h
Good question, I wonder what other more knowledgeable persons have to
say to that.
Just from the top of my mind, I don't think you can actually divide a
symfony project across multiple servers. However I can see two other
ways to use your three servers and share the load:
1. You can setup some l
For a quicker and of course dirtier way I've been using mysqldiff (
http://www.mysqldiff.org/ ), a little PHP app that is able to generate
diffs between two SQL schemas or DBs. You can for example create a diff
between your development and your production database and then apply
this diff to your
Hi David,
if you just want to load fixtures there is already a task for that, it's
called
php symfony propel-load-data
That's not in accordance with the askeet tutorial but it's the way of
the symfony pro user ;) Have a look at
http://www.symfony-project.org/book/1_0/16-Application-Managemen
Is that really an issue? I mean, in a production environment you would
probably shut down your site and clear all sessions anyway before you
move to the new code.
Cheers,
Georg
Thomas Rabaix schrieb:
> CO2, let's imagine the situation :
> - you store an object in the session
> - then you refa
Hi florynth,
did you create a new admin generator template which should also create
an autoModuleNameComponent? If not, then no such component will be
generated and you should just extend sfComponents like you would with a
normal component in a module.
If you have in fact added a component to th
Hi Mohammad,
do you want to use type-checking for your model depending on the column
type or do you want to get some information about the corresponding
table from your model?
For the first case, Propel should already do that. For the latter case,
you can get all kinds of information about the c
Hey there,
there doesn't really seem to be a clean way with Propel 1.2, but a
possible solution isn't too complex.
CO2 schrieb:
> I have trouble finding a good solution to the following tasks:
>
> Schema 1:
> item:
> id:
> customer:
> item_id:
>
> I need to output a list of customers with
I've run into this problem before on some occasions (not related to
sfGuard) so I guess your solution should help. However, shouldn't
symfony be able to resolve sf_guard_group_id to sf_guard_group:id? Any
idea what's the issue?
Cu,
Georg
Kiril Mitev schrieb:
> By replacing the field
>
> sf_guar
Hey everyone,
actually, according to
http://us3.php.net/manual/en/language.oop5.paamayim-nekudotayim.php
parent::firstDayOfWeek is correct for accessing a non-static method in
the parent class.
The problem might be that 'firstDayOfWeek()' is available as as static
function from sfTime and as a c
); // -> creates version 2
>
> $article->toVersion(1);
> echo $article->getAuthor()->getName(); // john
>
> François
>
>
> 2008/2/13, Georg Sorst <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>:
>
>
> Hey Francois,
>
> Francoi
the revision author.
>
> Or did I miss your point ?
Actually, yes. I want to be able to restore an old version and see to
which foreign objects this object had been linked in the previous
version through the many-to-many relations.
>
> François
>
Best regards,
Georg
>
Hey everyone,
I'm happily using the sfPropelVersionableBehaviorPlugin which just got a
lot better thanks to the recent improvements. However I've run into a
problem or limitation which I'm not sure how to handle.
When using many-to-many relations (say Author-AuthorArticle-Article) the
middle tab
Is this true for all "plain" fields or just "updated/created_at"?
Anyway, shouldn't this bug be filed?
Cheers
Georg
Nathanael D. Noblet schrieb:
> pihentagy wrote:
>> Hi all!
>>
>> I've peeked into the generated auto___Actions class, and especially
>> the update___FromRequest method.
>>
>> Since
Hi Ingmar,
for a quick start this should be quite possible using the admin
generator if I'm not missing something.
Ingmar Heinrich schrieb:
> Hi there,
>
> I will use sfGuardPlugin the first time soon, but I'm having trouble
> designing the logic and the backend.
>
> I'm having a User table wh
Hi pihentagy,
what's wrong with created_at and updated_at? Besides that, just take a
look in your generated model (BaseSomething class, function save() ) how
these two "magic" columns are handled there, and you will see that it's
pretty simple actually.
Cheers,
Georg
pihentagy schrieb:
> Hi all
Hey pihentagy,
by redirecting to the referrer I assume the user will end up at the list
view, right? The reason you are not seeing your flash message there is
that it simply is not displayed in the list view.
Have a look at both _edit_message.php and _list_message.php in your
admin generator tem
Hey everyone,
I am currently looking for a way to keep the passwords and in fact the
entire MySQL URL (propel.database.url / propel.database.createUrl) used
in propel.ini in a separate file.
The main reason behind this is keeping passwords from being committed to
SVN. Furthermore, when the Symfo
or theme..
> _list_actions.php I think ...
>
> Georg Sorst wrote:
>
>> Hey list!
>>
>> I am currently looking for a way make the object_actions of the admin
>> generator conditional so that they are only displayed when the object in
>> that row matches a certain conditi
Hey list!
I am currently looking for a way make the object_actions of the admin
generator conditional so that they are only displayed when the object in
that row matches a certain condition. In my case this condition is a
flag saying whether the user wants to be notified of changes to this
ob
32 matches
Mail list logo