The problem was eventually identified to where a type cast was being
made. The PreProduction server did not have an issue with this but the
Live server failed when converting the object to a string with
(string). Solved when __toString() was used instead.
Before:
$replaceVariables = array('var1'
hi chris,
I would suggest to not reinvent the wheel and look for a solution that
uses sfguard on the inside and oauth to the outside.
I haven't tested them myself yet but there are some plugins in that
area already.
cheers
/christian
On Aug 16, 5:31 pm, catchamonkey ch...@sedlmayr.co.uk wrote:
It seems that you forgot the relations indentation.
It must be:
RankDomain:
columns:
name: { type: string(255), notnull: true, unique: true }
user_id: { type: integer, notnull:true }
relations:
sfGuardUser: { local: user_id, foreign: id }
On Aug 17, 7:33 am, RusAlex
Can you explain please:
I've tried to add relation to schema.yml
RankDomain:
columns:
name: { type: string(255), notnull: true, unique: true }
user_id: { type: integer, notnull:true }
relations:
sfGuardUser: { local: user_id, foreign: id }
But when i type command:
php symfony
I've installed sfGuard plugin and now most of old tests didn't work
well. They need to be authenticated to the frontend system. Is there
any official decision ?
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received this
We actually implemented our own ACL system. We used symfony's builtin user
session management features (i.e. $this0getUser()-setAuthenticated(true)
etc) but not any of sfGuards special functionality because our needs were
too complex.
We also send an authentication request to our ACL server to
Hi all,
currently, I am facing a strange problem. My created_at and updated_at values
get deleted when editing an object via its form.
Everything should be straightforward, both fields are in my schema.yml. I
customize the corresponding Form class via $this-useFields(array(...)), so
that
We encountered something similar with OS version 32 bit vs. 64 bit,
having the same PHP version 5.2.4.
The dev machines use 32 bit OS but staging/prod run on 64 bit and the
problem happened only on the 64 bit machines.
gabriel
On Aug 17, 10:18 am, El Duderino tleftw...@gmail.com wrote:
The
No im sorry i have mistake in pasting. I have a correct relations
RankDomain:
columns:
name: { type: string(255), notnull: true, unique: true }
user_id: { type: integer, notnull:true }
relations:
sfGuardUser: { local: user_id, foreign: id }
but error still exist
On Aug 17, 11:44
You can add the order type as another parameter to the link (ASC or DESC)
too. Then, at the moment of link generation, you check for the column that
is being used for ordering. In that link you then just change the order type
to the opposite of the actual one (so, if the user is looking at a user
In your fixtures check if you are indeed assigning a valid sfGuardUser to
the user_id field of rank_domain objects
On Tue, Aug 17, 2010 at 2:12 AM, RusAlex interpret...@gmail.com wrote:
Can you explain please:
I've tried to add relation to schema.yml
RankDomain:
columns:
name: { type:
Could paste the fixture?
On 08/17/2010 12:50 PM, RusAlex wrote:
No im sorry i have mistake in pasting. I have a correct relations
RankDomain:
columns:
name: { type: string(255), notnull: true, unique: true }
user_id: { type: integer, notnull:true }
relations:
sfGuardUser:
On 17 Ago, 05:32, RusAlex interpret...@gmail.com wrote:
I've installed sfGuard plugin and now most of old tests didn't work
well. They need to be authenticated to the frontend system. Is there
any official decision ?
Just create your own test class, like explained in
On 17 Ago, 06:43, Abraham amontil...@gmail.com wrote:
any ideas to overcome my problem?
What is your problem? It's not really clear in your message.
cheers
Massimiliano
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received
Daniel, this almost works and I got pretty excited thinking about
it... but there's a tragic flaw.
On the first page access you slurp up all the CSS files, minify them,
md5 that and create a cache file. Fine.
On the second page access you... can't point to the cache file without
first doing all
I didn't took a look at the implementation yet.
PHP is caching filesystem infos AFAIK.
Can't we use these file informations as part of the key cache to compute md5
? So their will be no more need to invalidate, it will invalidate by itself,
or by calling (for hard-writting apps) clearstatcache()
try changing the type attribute of the foreignKey user_id under
RankDomain to type: integer(4)
i.e
RankDomain:
columns:
name: { type: string(255), notnull: true, unique: true }
user_id: { type: integer(4), notnull:true }
relations:
sfGuardUser: { local: user_id, foreign: id }
Mhm, I somehow I knew that this would have been t easy. (:
But okay, so we do need to cache these relations array(bundle = sha1sum.ccsgz)
somewhere it gets loaded on every request and I'd guess the app.yml.php file is
a good place. Still, using this approach does not necessitate – or even
+1 for the specific task !
Before Printing, Think about Your Environmental Responsibility!
Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale!
On Tue, Aug 17, 2010 at 3:52 PM, Daniel Lohse
annismcken...@googlemail.comwrote:
Mhm, I somehow I knew that this would have been
Hi,
Is it possible to create a plugin which overrides various settings / classes
from other symfony plugins (routing, schema, model classes)?
If so, does the order how plugins are loaded (in the project configuration)
matter?
Kind regards,
Daniel
--
If you want to report
Daniel,
Thanks for that. I was browsing the link_to_function, what it states is that
this tag is useful for triggering javascript functions, essentially what I
have looks like this:
link_to_function('Click here' , 'javascript:function()');
This renders itself in HTML format as:
a onclick=
A picture is worth a thousand words, so I attached one.
My idea is to create an Ajax form. As you can see from the image this
is a very basic form. The one I will make would be slightly more
complex. The code is all in the filter forms. What I am wanting to do
with this is each group, users will
Mhm, I meant the link_to function – damnit (sorry), I should have read your
post better, because now I see that you do want to use link_to_function.
Maybe you could send a parameter through the JavaScript (just a string like
'do_x' or 'do_y') and then decide in the symfony action what to
My problem is that i'm getting this
404 | Not Found | sfError404Exception
Action poa_propuesto/action does not exist.
stack trace
when I click trasladar action in the list view of poa_propuesto
module. I have the executeListTrasladar action defined, so i don't
know what is the problem. The
Hi, I am seeking opinions.
We have a group of about 5 developers and we are engaging in a
discussion about how to structure a project. In the past, each
developer has made a separate configuration system for various
websites. One is reporting, one is configurations and settings, etc.
Now, we are
25 matches
Mail list logo