Sorry if it's obvious, but what do you use for logging in.
sfDoctrineGuardPlugin?
On 23 ún, 12:25, sajt wrote:
> Hello,
>
> I have a web application, where every page is secure. I like to show a
> message when the user is automatically logged out from the site.
>
> I have this in my factory.yml:
So "completly lost" meant that the form in the popup isn't showed
correctly?
On 23 ún, 13:45, Ellishia Owens wrote:
> Hi!
> I'm completely lost about ajax and javascript.
> I have to forms (enterprise and category).
> I want a button in the enterprise form that makes a new window or popup with
On Wed, 24 Feb 2010, Piero Recchia wrote:
> Hi everybody, I write you this message because I was looking for a
> solution to my problem and not found it. I enabled the cache in
> symfony, when the session is lost it save the template of login and
> then re-enter the system when I want to see the l
Javi,
Symfony creates its own log files in $sf_root/log ... if nothing
appears there, you ought to make sure that both cache and log are
writable by the web server.
Best,
jL
On Feb 24, 4:03 pm, Javier Garcia wrote:
> On 02/24/2010 09:33 PM, Eno wrote:
>
> > Ah, free hosting, that explains i
Hi all,
I want to use cron to send email by using symfony task,
My email is i18n mail and should be rendered before sending.
To do the work, I have two thoughts in my mind but still not very
clear. So I need some help from you:
1. Is there a way to get rendered partial content by directly use
s
Dinner:
columns:
date: { type: timestamp, notnull: true }
nb_presents: { type: integer, notnull: true }
relations:
Marks:
class:Criteria
local:dinner_id
foreign: criteria_id
refClass: Mark
type: many
Oh,I should have "run symfony help build"
thanks!
2010/2/25 Gábor Fási
> php symfony doctrine:build --all --and-load
>
> On Wed, Feb 24, 2010 at 16:50, SymfonyNewbie
> wrote:
> > Here is all the commands:
> >
> > Available tasks for the "doctrine" namespace:
> > :build
> > :build-db
> > :bui
Hi everybody, I write you this message because I was looking for a
solution to my problem and not found it. I enabled the cache in
symfony, when the session is lost it save the template of login and
then re-enter the system when I want to see the link, it shows me the
login template.
Then I wanted
2010/2/25 Kris Wallsmith :
> I've committed a fix to Subversion and will be releasing soon. Please
> test the fix in the meantime and report any issues here or on Trac.
Works for me. Thanks for fast response.
>
> http://trac.symfony-project.org/changeset/28260
>
> Thanks,
> Kris
>
Regards,
Micha
I've committed a fix to Subversion and will be releasing soon. Please
test the fix in the meantime and report any issues here or on Trac.
http://trac.symfony-project.org/changeset/28260
Thanks,
Kris
On Feb 24, 1:35 pm, Michał Piotrowski wrote:
> W dniu 24 lutego 2010 22:32 u¿ytkownik Micha³ Pio
Thanks guys, I will try your suggestions tommorrow
Regards,
JoJo
2010/2/24 Gábor Fási
> That would be pretty bad, as it would re-hash the password field at every
> save.
>
> On Wed, Feb 24, 2010 at 21:36, Alexandru-Emil Lupu
> wrote:
> > You can do it like that :
> >
> > public function save(
Got it working just a minute ago! What a newb mistake of me to use the
symfony in the lib/vendor/symfony/data/lib/bin instead of the working
directory.
Pardon me for the newb mistake, it has been 6 years I've done some coding
with PHP. I really love symfony's filosophy and documentation.
On Wed,
Hi,
Verify that php.ini for php cli is activated and is well configurated.
Try to use php ./symfony configure:database in your project,
sometimes, symfony is already installed and another symfony is launch.
On 24 fév, 22:18, Trung Huynh wrote:
> Hi
>
> After setting up the latest 1.4 stable vers
W dniu 24 lutego 2010 22:32 użytkownik Michał Piotrowski
napisał:
> 2010/2/24 roko :
>> I found that on backend admin modules generated with ./symfony
>> doctrine:generate-admin is possible to inject SQL in the url.
>>
>> Example:
>>
>> http://example.com/backend_dev.php/partner?sort=status&sort_t
2010/2/24 roko :
> I found that on backend admin modules generated with ./symfony
> doctrine:generate-admin is possible to inject SQL in the url.
>
> Example:
>
> http://example.com/backend_dev.php/partner?sort=status&sort_type=desc
> LIMIT 1 --
Indeed.
>
>
> This is with symfony 1.4 svn.
>
> Doe
php symfony doctrine:build --all --and-load
On Wed, Feb 24, 2010 at 16:50, SymfonyNewbie wrote:
> Here is all the commands:
>
> Available tasks for the "doctrine" namespace:
> :build
> :build-db
> :build-filters
> :build-forms
> :build-model
> :build-schema
> :build-sql
> :clean-model-fil
Hi
After setting up the latest 1.4 stable version of Symfony according
the official documentation I ran into this error:
executing "php symfony configure:database
"mysql:host=localhost;dbname=dbname" root password"
" Task "configure:database" is not defined. "
symfony -V gives:
symfony version
I found that on backend admin modules generated with ./symfony
doctrine:generate-admin is possible to inject SQL in the url.
Example:
http://example.com/backend_dev.php/partner?sort=status&sort_type=desc
LIMIT 1 --
This is with symfony 1.4 svn.
Does anybody know how to protect against this sec
Here is all the commands:
Available tasks for the "doctrine" namespace:
:build
:build-db
:build-filters
:build-forms
:build-model
:build-schema
:build-sql
:clean-model-files
:create-model-tables
:data-dump
:data-load
:delete-model-files
:dql
:drop-db
:generate-admin
On Wed, 24 Feb 2010, Javier Garcia wrote:
> So... could you tell me a hosting provider with a log where i can see
> the errors?
Its pretty much a standard feature from many hosting providers.
--
--
You received this message because you are subscribed to the Google Groups
"symfony users" g
On 02/24/2010 09:33 PM, Eno wrote:
Ah, free hosting, that explains it...
So... could you tell me a hosting provider with a log where i can see
the errors?
Javi
--
You received this message because you are subscribed to the Google Groups "symfony
users" group.
To post to this group, sen
That would be pretty bad, as it would re-hash the password field at every save.
On Wed, Feb 24, 2010 at 21:36, Alexandru-Emil Lupu wrote:
> You can do it like that :
>
> public function save(PropelPDO $con = null)
> {
> $this->password = md5($this->password);
> parent::save();
> }
>
--
You re
You can do it like that :
public function save(PropelPDO $con = null)
{
$this->password = md5($this->password);
parent::save();
}
but you could do like this as well ...
public function setPassword($v)
{
$v = md5($v);
return parent::setPassword($v);
}
Alecs
On Wed, Feb 24, 2010 at 10:27 PM,
Overwrite the setPassword() function of your object class, something like this:
function setPassword($v)
{
return parent::setPassword(md5($v));
}
On Wed, Feb 24, 2010 at 18:05, Dong YANG wrote:
> Hi JP,
>
> Thanks for your reply.
>
> I use propel 1.5 and I have a form which contains
On Wed, 24 Feb 2010, Javier Garcia wrote:
> So where do you consider could i find that log? Please, tell me a host
> provider (with free hosting ) where you know i can find it.
Ah, free hosting, that explains it...
k
--
You received this message because you are subscribed to the Google Groups
I could suggest you to comment out the security things in your _dev file and
try see what that file sais ...
You might get the answer there ..
if still can't see a bit, then check your projectConfiguration file and see
if the "autoloader" is loaded via an absolute path or not.
A motive of why you
Hum,
Why don't you did it in the save() method ?
public function save(PropelPDO $con = null)
{
$this->password = md5($this->password);
parent::save();
}
I don't really know Propel but I do this with Doctrine.
On 24 fév, 18:05, Dong YANG wrote:
> Hi JP,
>
> Thanks for your reply.
>
>
So where do you consider could i find that log? Please, tell me a host
provider (with free hosting ) where you know i can find it.
Anyway after clearing the cache the error persists...
Javi
On Feb 24, 9:21 pm, Gábor Fási wrote:
> That thread is about another kind of log. You need your site's er
That thread is about another kind of log. You need your site's error log.
On Wed, Feb 24, 2010 at 21:19, Javier Garcia wrote:
> On 02/24/2010 09:14 PM, Eno wrote:
>>
>> Did you clear cache?
>>
>> I would also question why your provider can't have logs...
>>
>
> Ok, just remove the content of the
On 02/24/2010 09:14 PM, Eno wrote:
Did you clear cache?
I would also question why your provider can't have logs...
Ok, just remove the content of the cache folder...Thanks.
This is what i got about the log:
http://byet.net/showthread.php?15957-Is-there-any-log-file-to-check-the-uploading
On Wed, 24 Feb 2010, Javier Garcia wrote:
> i freezed the project and then i have uploaded it.
>
> When i open an URL it shows a blank page.
>
> There isnt any log in my hosting provider...
Did you clear cache?
I would also question why your provider can't have logs...
--
--
You receive
Hi,
i freezed the project and then i have uploaded it.
When i open an URL it shows a blank page.
There isnt any log in my hosting provider...
Javi
--
You received this message because you are subscribed to the Google Groups "symfony
users" group.
To post to this group, send email to symfony
Hi,
read the chapter about the Backend in the symfony manual. It's easy.
Javi
On 02/24/2010 03:45 PM, Bill P. wrote:
Hello,
I have been recently working in Grails (Java's symfony framework) and
there is some weirdness if i want to create columns (properties) but
not have them show up in the
Hey Christian,
it's simpler than that.
Look in your factories.yml at the bottom where the loggers are being
set up.
The main logger is an aggregate logger, and you can add your logger to
this like so:
(under loggers)
my_logger:
class: BlahLogger
param:
level: whateverlevel
file: pat
Hi JP,
Thanks for your reply.
I use propel 1.5 and I have a form which contains the field *password*.
Before do save (create), I would like call md5() to encode it. So I tried to
use preSave() to do this thing. But in this method, I cant get the value
entered by user.
Here is the
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 why?
2010/2/24 Bruno Reis
> Hi,
>
> I´m connecting the "application.throw_exception" event to m
Hi,
I´m connecting the "application.throw_exception" event to my exception
handler class.
public function configure() {
$this->dispatcher->connect(
'application.throw_exception',
array('MyExceptionHandler', 'listenToApplicationException')
);
}
On the e
On 24 fév, 14:52, Dong YANG wrote:
> Hello everyone,
>
> I would like to know if is that possible to get form object in
> preSave() method?
>
> In fact, before save the form value (fill in by user), I want to
> treate the input value in preSave() method. But I don't know how to a
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 fast and huge
Development process in the past.
Thanks to jwage ;-)
Im using Table Inheritance. This is a small portion of my schema.yml:
Articles:
columns:
I have this exact same problem. Did you ever solve the missing id
field problem?
My situation:
When I dynamically embed a form for object A into object B and check
the generated html it looks like this
Note that the Id value is not present. It should be!
Thanks
On Feb 19, 9:29 am, Eno wr
Hello,
I have been recently working in Grails (Java's symfony framework) and there is
some weirdness if i want to create columns (properties) but not have them show
up in the forms or be editable.
So in symfony, how would I create 2 properties such as 'DateInserted' and
'beenProcessed' but hav
Hello everyone,
I would like to know if is that possible to get form object in
preSave() method?
In fact, before save the form value (fill in by user), I want to
treate the input value in preSave() method. But I don't know how to and I
don't know whether I can do so.
Ple
Hi,
I've strange problem with autoloading. I have sfGuardPlugin installed
and sfGuardUser.php class generated in guard plugin directory. I also
have customized sfGuardUser class:
class sfGuardUser extends PluginsfGuardUser
{
.
located in my application directory lib/model/sfGuardPlugin/
sfG
http://www.symfony-project.org/forms/1_4/
On 22 Feb, 20:49, Diego Bello wrote:
> Hi guys,
>
> Is there any documentation about how to use forms in symfony 1.4?.
> What I want to do is to change a field from text input to select.
>
> I tried rewritting the form putting the new content in
> lib/for
Hello
Thanks for this hint!
I could not figure out how to use the factory.yml without interfering
with the standard logger as you apparently can't create arbitrary objects with
it.
But after adding the following function:
class BlahLogger {
public static function getInstance() {
r
hello list,
problem: I have to build a symfony model for an existing database
structure and I'm not allowed to change the existing structure. there
are two m:n related tables using the same m:n table partitioned with a
type attribute:
table1
id
...
table2
id
...
table3
id
...
table1_to_table2_
Thanks Dennis. Now works fine, but I have another problem:
Validation failed in class People
1 field had validation error:
* 1 validator failed on image (type)
why?
thanks
--
You received this message because you are subscribed to the Google Groups
"symfony users" group.
To post to this gro
Put your id (or something else unique) in the url, so you can use that
to retrieve the object.
On Wed, Feb 24, 2010 at 01:04, Roland Cruse wrote:
> Thanks. That did it!
>
> Now I have:
>
> $parameters = $request->getParameter('td_excursion');
> $this->excursion =
> Doctrine::getTable('TdExcursio
48 matches
Mail list logo