Not sure what you're trying to do - if you want to pass options, use
the $options array in configure().
On Thu, Jun 16, 2011 at 19:24, Mohd Imran wrote:
> Hi folks
>
> Is there any way to get the form reference object in custom post
> validator class?
>
>
> class myPostValidator extends sfValidat
This should help:
http://www.symfony-project.org/more-with-symfony/1_4/en/02-Advanced-Routing
On Thu, Jun 16, 2011 at 10:30, Noussan goumbetti wrote:
> Hi Everybody,
>
> I develop a project on symfony and I need to associate a module :
> "botte"
> to a subdomain adress "botte.domain.com", somebod
Instead of hard-coding, use $form->getName():
http://trac.symfony-project.org/browser/branches/1.4/lib/form/sfForm.class.php#L341
On Thu, Jun 16, 2011 at 19:03, Mohd Imran wrote:
> Hey Gantulga,
>
> Thanks for reply.
>
> I don't want to pass the id value in URL.
>
> I have a form which contains t
$a =new Bank;
> $a->set('bank_name', "'yadav'")
> ->save();
>
> its insert a new record and make its version also, how can i make a
> versional listener for dql.
>
> On Jun 9, 2:53 pm, Gábor Fási wrote:
>> Doctrine's Versiona
Doctrine's Versionable behavior has no dql update listener. Retrieve
the BankUser object first, update and save that and it'll work.
On Thu, Jun 9, 2011 at 06:47, Raju wrote:
> hi ,
>
> versionable not working on this query
>
>
> public function updateUserBankBranch($userid,$bank_branch_id){
>
The following is how I set up a new project. The steps are for linux,
but the same logic was applicable on windows when I last checked.
First, edit /etc/hosts (IIRC it's somewhere under c:\windows with the
same name) to add a new domain:
127.0.0.1 projectname.local
Edit httpd.conf to add a n
Show us your schema.yml.
-- mrl
On Sun, May 29, 2011 at 02:11, Nabil Karous wrote:
> Hi
> I have problem with symfony Doctrine : build-model help please
> -message ERREUR
>>> doctrine generating model classes
>>> file+ C:\Users\Nabil\AppData\Loca
Enable mod_rewrite.
-- mrl
On Sun, May 29, 2011 at 12:11, Michele Pierri
wrote:
> Hi,
> I have this routing file:
> # You can find more information about this file on the symfony website:
> # http://www.symfony-project.org/reference/1_4/en/10-Routing
> # default rules
> homepage:
> url: /
>
Doctrine. It's the default ORM since 1.3, and it's easier for a beginner.
--mrl
On Thu, May 26, 2011 at 11:34, jlassi zied wrote:
> Hi ,
>
> I'am newer in symfony and I want to know with wich ORM to develop ?
> doctine or propel ?
>
> Thanks .
>
> --
> If you want to report a vulnerability issue
Two points:
- you're trying to overwrite the existing validator of the email field
- as the error message says: sfValidatorPropelUnique may only be used
as a post validator. Here's an example:
$this->validatorSchema->setPostValidator(
new sfValidatorPropelUnique(array(
"throw_global_error"
Overwrite the updateDefaultsFromObject function.
http://trac.symfony-project.org/browser/branches/1.4/lib/plugins/sfDoctrinePlugin/lib/form/sfFormDoctrine.class.php#L254
On Tue, May 10, 2011 at 13:46, Vincent B. wrote:
> Hi,
>
> I work with Symfony 1.4.
>
> I try to find a way to overload the met
http://www.doctrine-project.org/projects/orm/1.2/docs/manual/behaviors/en
On Sat, May 7, 2011 at 11:02, salmyke wrote:
> when I red the documentation in symfony day I fin actAs:
> { Timestampable: ~ }
> realy I didn't know what is the rol of this property in symfony 1.4
>
> --
> If you want to re
Not sure what you have in your crontab right now, but in your original
post you have a 'root' between the time and the command, and that's
causing the problem - remove it and you'll be fine.
Keep in mind that the command is run as the user who's crontab it is
in - guess you want to run it as root,
I assume you're using sf1. Use `sfConfig::get("sf_web_dir")` to get
the webroot directory.
On Thu, May 5, 2011 at 20:43, theinterned wrote:
> Hi,
>
> I am trying to read the contents of a public directory from my Model.
>
> Currently I am doing this:
>
> public function getFiles()
> {
> $dir =
By the time your script starts running, the variables are already
escaped, so that ini_set won't help.
On Mon, May 2, 2011 at 16:27, Carl wrote:
> Dang, that's a shame that disabling it in your .htaccess file doesn't do the
> trick. I was hoping it would work since that's the quickest and easiest
You may need root rights to change the permissions. On debian prefix
the command with `sudo`, on gentoo you'll need to `su` first, others I
don't know.
On Wed, Apr 20, 2011 at 16:02, Helloise Smit wrote:
> i run ./symfony project:permissions
>
> then get: Permissions on the following file(s) coul
Make sure you have enabled the xslt php module and restarted apache.
On Apr 19, 2011 11:27 AM, "Kush" wrote:
> Hi,
>
> We have installed apache friends xampp - 1.7.4 but we are getting the
> below error in build-model command
>
> C:\xampp\htdocs\workspace\sms>symfony propel:build-model
>>> propel
It is yet to be released as stable.
On Apr 15, 2011 10:28 PM, "violyn" wrote:
> I am using PR6 now... a thanks I see what you are saying. I thought
> though that Symfony 2 was released -- was that retracted?
>
> --
> If you want to report a vulnerability issue on symfony, please send it to
sec
Starting from 1.3, all content passed from the action to the view gets
automatically escaped - including that field of your. Gets wrapped in
an sfOutputEscaperObjectDecorator instance.
I believe it works just like when doctrine objects get passed to the
view, you can get the unescaped data with `$
That command creates a symfony directory and puts sf1.4.2 there - to
undo, you just need to remove the newly created symfony folder.
On Tue, Apr 12, 2011 at 17:30, Helloise Smit wrote:
> thank you very much but for now i need to undo:
>
> ...webroot/lib/vendor$ svn export
> http://svn.symfony-pr
It's not in the webroot, but in your project's root folder.
On Tue, Apr 12, 2011 at 16:08, Helloise Smit wrote:
> i dont have a lib/vendor so i should first:
> ...webroot$ mkdir /lib/vendor
> cd lib/vendor
> ...webroot/lib/vendor$ svn export
> http://svn.symfony-project.com/tags
Go to projectroot/lib/vendor, remove your current symfony directory
(which is most probably a symlink), then do
svn export http://svn.symfony-project.com/tags/RELEASE_1_4_2/ symfony
On Tue, Apr 12, 2011 at 15:56, Helloise Smit wrote:
> i managed to revert back to symfony 1.4.2 in traffic/phoenix
If you install symfony via pear it's system-global. If you want to
keep different version for each project, do an svn checkout in the
projectroot/lib/vendor/symfony folder. Each release can be found in
/tags on svn.
On Tue, Apr 12, 2011 at 13:41, Helloise Smit wrote:
> I have a project directory:
By default sfPropelRoute is only accessible by get. Add this after param:
requirements:
sf_method: [get, post]
and it shall work.
On Tue, Apr 12, 2011 at 13:25, coviex wrote:
> Hi,
>
> How could this route
> ---
> profile:
> url: /profile/:login/*
> class: sfPropelRoute
> options: { model:
ootersuccess.php which in home module
>
>
> About
> Contact
> Support
> Terms of Use
> Privacy Policy
> Company
>
>
> Thanks for your reply
>
> On Apr 4, 11:51 pm, Gábor Fási wrote:
>> This shoul
This should be working. Show us the relevant parts of both files.
On Tue, Apr 5, 2011 at 03:34, Laxmi wrote:
> I tried to include footer below using
> include_slot('footer'), Where i defined slot in a module called home/
> indexsuccess.php. but i did not get any out put. please let me know
> wh
Check what mime type is sent by IE. You can use wireshark, or do a quick n'
dirty die(var_dump($_FILE)) in your action.
On Mar 31, 2011 8:35 PM, "_kud" wrote:
> Hello,
>
> I've some troubles with IE6 (oh, really?), I'd like to validate my mp4
> uploaded file but sf 1.4 answers me it's a wrong mime
.@gmail.com> wrote:
> help
>
> 2011/3/31 mohamed sabri ben sassi
>
>> its correct soooo
>>
>>
>> 2011/3/31 Gábor Fási
>>
>>> Var_dump $utilisateur. Judging from the message doctrine doesn't find a
>>> matc
Var_dump $utilisateur. Judging from the message doctrine doesn't find a
matching record, thus returns false. Also check the query that is run.
On Mar 31, 2011 12:20 PM, "mohamed sabri ben sassi" <
mohamedsabri.bensa...@gmail.com> wrote:
> its the same thing i wont work have you an other solution
>
Create the __toString() function in your City class.
On Tue, Mar 29, 2011 at 19:42, -Jab- wrote:
> i have relation set as http://pastebin.com/L9J1z36m
> but on the add page it only shows ids and not names in the drop down
> it shows 1,2 where as i expect the city names
> not sure why
> any idea
>
;
> Javier
>
> On Mar 14, 1:26 pm, Gábor Fási wrote:
>> Do you have include_stylesheets in your layout? Any of your view.ymls
>> contain a [-background] directive?
>>
>> On Mon, Mar 14, 2011 at 12:03, Javier Garcia wrote:
>> > Hi,
>>
>> > I
You sure you meant dmContext, and not sfContext?
2011/3/17 Philippe Mangé :
> Hi all,
>
> I am having the following error:
>
> PHP Catchable fatal error: Argument 1 passed to
> dmContext::createInstance() must be an instance of
> sfApplicationConfiguration, instance of ProjectConfiguration given,
Does the web debug bar show $js as being passed to the view? What does
`var_dump($js)` echo?
On Thu, Mar 17, 2011 at 05:34, Joeline Becker
wrote:
> Hello,
>
>
> I have something like this in my actions.class.php
> public function executeIndex(sfWebRequest $request)
> {
> $foo = new foo("nar")
Do you have include_stylesheets in your layout? Any of your view.ymls
contain a [-background] directive?
On Mon, Mar 14, 2011 at 12:03, Javier Garcia wrote:
> Hi,
>
> I have this file apps/backend/config/view.yml.
>
> default:
> http_metas:
> content-type: text/html
>
> metas:
> #title:
You can add orderBy to your relation definition like this:
Gallery:
columns:
title: string(255)
relations:
Images:
local: id
foreign: gallery_id
foreignAlias: Gallery
type: many
orderBy: position
taken from
http://test.ical.ly/2010/09/30/did-you-know-tha
Symfony's going to interpret it via strtotime[1], so use a format it
understands, like Y-m-d. Alternatively, you can pass a unix timestamp
there.
[1]
http://trac.symfony-project.org/browser/branches/1.4/lib/widget/sfWidgetFormDate.class.php#L73
On Mon, Mar 7, 2011 at 20:00, GaB wrote:
> Hi, can
Just a tip, but won't
`sfValidatorBase::setDefaultMessage("max_length", "whatever")` work?
This is how I set default required and invalid messages in my project
configuration class.
On Tue, Jan 18, 2011 at 18:47, Basil Hussain
wrote:
> I have a couple of forms with many sfValidatorString validato
Remember has nothing to do with it, when you have the documentation.
public function setup()
{
$this->enablePlugins(array('sfDoctrinePlugin'));
$this->disablePlugins(array('sfPropelPlugin'));
}
On Wed, Mar 2, 2011 at 10:29, Javier Garcia wrote:
> Hi,
>
> someone can remember how to create a
That's not the case anymore in 1.3 and 1.4. The default autoloader in
debug mode became sfAutoloadAgain[1], which reloads the class cache if
you're trying to load a nonexistent class.
[1]
http://www.symfony-project.org/tutorial/1_4/en/whats-new#chapter_a2fae23c9403b0e9ec99806fccf6b53e_sub_sfautol
Did you edit the file? The version in svn [1] has __toString at a
different place, and without arguments.
[1]
http://trac.symfony-project.org/browser/plugins/DbFinderPlugin/trunk/lib/sfModelFinder.php
On Wed, Feb 23, 2011 at 19:13, Maryam FATIHI wrote:
> Hi everybody!
> I'm new to Symfony,and I
Public is only usable within class context - you're missing the `class
defaultActions extends sfActions` line and the connecting brackets.
On Wed, Feb 23, 2011 at 17:00, Manu wrote:
> Hi, I've created custom 404 error pages for my symfony application,
> but they don't seem to work. In dev I see :
sfWidgetFormPropelChoice, with multiple=true. That's only what ~Many did anyway.
On Mon, Feb 21, 2011 at 16:46, Javier Garcia wrote:
> Hi,
>
> is sfWidgetFormPropelChoiceMany class deprecated? why? what class
> should i use?
>
> Javier
>
> --
> If you want to report a vulnerability issue on symfo
27;ll
> let you know if I find a solution.
>
> On Feb 14, 3:13 pm, Gábor Fási wrote:
>> This is exactly what the Advanced Routing chapter of the More with
>> symfony book is
>> about:http://www.symfony-project.org/more-with-symfony/1_4/en/02-Advanced-R...
>>
>>
This is exactly what the Advanced Routing chapter of the More with
symfony book is about:
http://www.symfony-project.org/more-with-symfony/1_4/en/02-Advanced-Routing
On Mon, Feb 14, 2011 at 19:12, Nikita Korotaev wrote:
> Hi everyone,
> I would like to to make a some kind of a check before the co
$this->isNew()
On Sat, Feb 12, 2011 at 19:23, introvert wrote:
> Hello,
>
> I want to override save() function for my model.
>
> Is there any way to know if the function being called to INSERT new or
> UPDATE the existing record?
>
> Thanks for help
>
> --
> If you want to report a vulnerability
Try using sfValidatorDate. Here's a working example (you'll need to
adapt the format):
new sfValidatorDate(array("date_format" =>
'~(?P\d{4})\.(?P\d{2})\.(?P\d{2})~')));
On Mon, Feb 7, 2011 at 18:41, StephaneQ wrote:
> Hello,
>
> I have 2 problems with a custom form, which is not based on an ob
It is useful to prevent html injection (and a few similar) attacks.
Imagine the following: someone registers as "username", and
then you create a user list page. If you'd simply output the name, his
name would be quite big, but with symfony's output escaping simply
echoing `$user->username` is safe
Your form is missing the enctype attribute.
On Wed, Feb 2, 2011 at 16:04, stfalcon wrote:
> In my symfony2 sample project https://github.com/stfalcon/portfolio I
> need upload screenshots to projects.
> I try use FileField and debug him. But can't get it to work...
>
> I found no examples or docs
apps//config/security.yml?
On Tue, Feb 1, 2011 at 21:53, matt wrote:
> Writing a lot of security.yml files for each module seems tedious.
> I've got 20 modules and they all need some security settings. Is there
> a way to set all this info at the application level?
>
> --
> If you want to report
Xliff dictionaries are cached as php arrays, pretty hard to beat that.
On Jan 31, 2011 12:23 AM, "Pau Peris" wrote:
> hi, to handle web page text content translation (i18n) on a web page
> is it always recommended to use xliff dictionaries or ddbb storage? To
> handle i18n on a web page i18n table
sion: 5.1.49-community
> * Protokoll-Version: 10
> * Benutzer: root@localhost
> * MySQL-Zeichensatz: UTF-8 Unicode (utf8)
>
> Any idea? Do you know where to set the charset/collation using Symfony
> 2?
>
> regards
> Peter
>
> On 23 Jan., 16:12, Gábor F
How do you insert the data? Do they look correct in phpmyadmin, after
making sure it uses utf8-encoded connection?
On Sun, Jan 23, 2011 at 15:59, pzwosta wrote:
> Hi,
>
> using Doctrine German Umlauts are not retrieved correctly from
> database.
>
> - My database is defined with collation utf8 -
1.4 includes swiftmailer, 1.2 did not, so the programmer most likely
installed it as a plugin. Disable that plugin and update your mail-related
code to use the built-in method. For details, check the mailer chapter of
the book.
On Jan 19, 2011 6:56 PM, "Llew" wrote:
--
If you want to report a vu
Did you set up the remember me filter?
On Tue, Jan 18, 2011 at 13:03, sinu govind wrote:
> Hi,
>
> I am using the sfForkedDoctrineApplyPlugin and in my layout.php I have the
> following to display the sfGuardAuth signin form
>
> echo get_component('sfGuardAuth', 'signin_form');
>
> The register,
In xml you also need to strore it encoded - so when you store "&"
in the xml, it comes out as a simple amperstand on the other end. If
you need an encoded one in your output, you need to double-encode it
in the xml: "&".
On Mon, Jan 17, 2011 at 16:01, chrigu wrote:
> Hi everybody,
>
> I'm usi
You also need to redirect the stderr:
task > foo.txt 2>&1
this redirects it to the stdout, so it gets logged to the same file.
On Tue, Jan 11, 2011 at 15:56, Javier Garcia wrote:
> Hi,
>
> i have a long error message when i execute a task. In order to save
> the output i'm writing "task > f
Be careful, the YAML parser won't like you if you mess up with
Indentation. Keep in mind the following simple tips when adding PHP
code to a YAML file:
* The statements must always start the line or be
embedded in a value.
* If a statement ends a line, you need to explicly output
a new l
Creating your own exception class is the best way, but I'd still like
to add this alternative: using multiple catch bocks after a try:
try {
//your stuff
}
catch (sfStopException $e) {
throw $e; //rethrowing it, nothing else to do
}
catch (Exception $e) {
//handle error
}
On Mon, Jan 10, 20
Implement the __toString() function in the zodiac class.
On Sun, Jan 9, 2011 at 05:11, Nils Abegg wrote:
> Hey Guys,
> i have the following schema.yml and i want to get the zodiac sign ID as a
> selectbox with the zodiac signs in the users language. But i only get the
> primary keys in the Select
This is what components are for.
Here's an example from jobeet:
http://www.symfony-project.org/jobeet/1_4/Doctrine/en/19#chapter_19_language_switching
On Fri, Jan 7, 2011 at 07:33, Eric B wrote:
> Hi,
>
> This may sound like a newbie question, but I just can't figure out the
> "right" way of doin
Try passing the culture parameter.
function format_date($date, $format = 'd', $culture = null, $charset = null)
On Tue, Dec 28, 2010 at 11:20, hribo wrote:
> Hi all,
>
> I want to use cron to send email by using symfony task, in symfony 1.4.9
>
> My email is i18n mail and should be rendered befo
You will need javascript, if you want a confirm box before submitting.
And by the way: submit_tag also used JS.
On Sun, Dec 26, 2010 at 12:58, jimpass wrote:
> Hi,
> I'd like to have a confirm dialog box when i submit my form ,
> something like this : sure?') ?>
>
> it seems that i can't use t
Inject the user in the form's constructor via the $options parameter,
use that in the configure() function.
On Mon, Dec 20, 2010 at 16:27, Stan McFarland wrote:
> Hi,
>
> I guess the subject says it all. :) Looking for suggestions as to
> how best to hide specific form fields (not in the backen
Make sure you have no images with an empty src attribute. In a similar
was also check css and js includes.
On Thu, Dec 16, 2010 at 22:28, Norman wrote:
> Hi,
>
> I have a counter incremented each time an object is printed on a page.
> I realized that this counter is always incremented of 2. In lo
Not that I know of.
Symfony was supposed to run with magic_quotes off anyway.
On Sun, Dec 5, 2010 at 12:55, JohanE wrote:
> Hi!
>
> I'm running symfony 1.2.10 on an Ubuntu server. I upgraded the php
> version recently to 5.3.
>
> The system seems to run ok.. However, do you guys know if there can
You cannot. Doctrine is built on top of PDO.
On Thu, Dec 2, 2010 at 18:08, Vikos wrote:
> Hi Guys!
>
> I need to use Oracel 10g XE in my current project (Symfony 1.4 &
> doctrine 1.2).
>
> I configured it well to use pdo_oci.. but the it has lot bugs...
> especially in CLOB handling [insert, upda
Create a task, and run that from your cronjob.
http://www.symfony-project.org/gentle-introduction/1_4/en/16-Application-Management-Tools#chapter_16_sub_custom_tasks
On Wed, Nov 17, 2010 at 02:32, DrFrow wrote:
> I am wanting to run a daily import script for my symfony site, what I
> want is to s
Provided that he knows the link, yes. Hiding the button does not mean
your action is inaccessible.
On Tue, Nov 23, 2010 at 10:45, Manu wrote:
> Thanks, that was what I was looking for. Why do you need to
> forward404() on new and delete ? Could someone still execute those
> actions even though th
You can check out an svn repository with git, add a new remote (I
believe it has to be git), and then pull the changes from the original
svn, and commit to the new git repo.
On Thu, Nov 11, 2010 at 11:25, klemens_u wrote:
> Hi everyone,
>
> I've got a dev-workflow question for you:
>
> Assume I w
You're looking for `use_stylesheet()`. `include_stylesheets()` outputs
the tags for all the css files in your view.yml and
`use_stylesheet()` calls.
On Tue, Nov 2, 2010 at 23:18, xpanshun wrote:
> Hi all,
>
> It seems that my pages only want to use the main.css stylesheet even
> though I have th
sfSessionStorage has a shutdown() function [1] that calls
session_write_close(), but it does not get called in sfUser's
shutdown(), so as far as I can see, in 1.4 you need to call
session_write_close() manually.
[1]
http://trac.symfony-project.org/browser/branches/1.4/lib/storage/sfSessionStorage
http://trac.symfony-project.org/browser/branches/1.4/lib/user/sfUser.class.php#L285
It does not call session_write_close().
On Mon, Nov 1, 2010 at 12:54, Gareth McCumskey wrote:
> $this->getUser()->shutdown() == session_write_close();
> No need for both :)
>
> On Mon, Nov 1, 2010 at 1:36 PM, axe
This is a session issue.
While a request is being processed, others from the same client (same
sessionid) are held back to prevent simultaneous output to the session
storage.
In php, you can use session_write_close() to tell when you're finished
writing to the session array (and php will start pro
That's because symfony escapes the data you pass to the view. If you
want to display it as it is stored in the DB, use
echo $dias->getDescription(ESC_RAW);
http://www.symfony-project.org/gentle-introduction/1_4/en/07-Inside-the-View-Layer#chapter_07_output_escaping
On Sun, Oct 31, 2010 at 03
Do you mean you wish to change the 'index' and 'show' part, or the
'Success' part?
The first one comes from the action's name, as long as you rename the
function in the actions.class.php file, you can rename the file.
The second part comes from your action's return value, Success is the
default, bu
I am using mPDF to do this.
2010/10/22 José Regalado :
> On 22 oct, 12:36, catchamonkey wrote:
>> Hi,
>>
>> There is a discussion going on
>> currently.http://groups.google.com/group/symfony-users/browse_thread/thread/f73...
>
> yep... This is good, but my hosting service is not able fot this. S
The difference comes when you have multiple credentials:
[c1, c2] means the user must have both c1 and c2
[[c1, c2]] means the user must have at least one of c1 and c2
but there's no diff between [admin] and [[admin]].
On Tue, Oct 19, 2010 at 11:53, Javier Garci wrote:
> Hi,
>
> is there any d
Instead of hardcoding the urls, use the `image_path()` helper,
example: `image_path('icon-home.gif')`.
2010/10/3 ahmed shehata :
> hi all
> i am a new SF student and i am developping a sample app
> there is a problem when i try to to show the page
>
> the problem is that images in html paage not a
if ( $rating =
Doctrine::getTable($tableName)->find($request->getParameter('contentid')))
{
//we have results
} else {
//no results
}
On Sun, Sep 26, 2010 at 09:34, Shihab KB wrote:
> Hi All,
>
> I am writing a code to find records from a table by using the
> following statement.
>
> $rating
The url_for() helper is environment-aware - it means that it will echo
the correct url for your current environment. In your case, you echoed
a link for the 'user' application in the 'dev' environment, that's why
the url included the user_dev.php filename. If that was your first
application in the
http://oldforum.symfony-project.org/index.php/m/83831/
On Thu, Sep 16, 2010 at 16:26, Dirk Conzelmann wrote:
> Ok now I found an explanation - the password is encrypted twice.
> Any idea how to prevent the double encryption?
>
> On 09/16/2010 04:11 PM, Dirk Conzelmann wrote:
>>
>> Hi,
>> i am hav
ed my project based on the .tgz
> installation method.
> is there any way to easily convert it to a PEAR installation?
>
> On Sep 4, 7:07 pm, Gábor Fási wrote:
>> If you check the last mod of that page, you'll see it was 2 years ago.
>> Back then installing via pear
What's the error message? Did you try the "dblib" driver? Quote from
the php manual:
The DSN prefix is sybase: if PDO_DBLIB was linked against the FreeTDS
libraries, mssql: if PDO_DBLIB was linked against the Microsoft SQL
Server libraries, or dblib: if linked against any other variety of
DB-lib.
getName will return the name of the object that belongs to the peer
you called doSelect on.
$articles = ArticlePeer::doSelectJoinCategory(new Criteria());
foreach ($articles as $article) {
echo $article->getName(); //echoes the name of the article
echo $article->getCategory()->getName(); //ech
You can disable CSRF protection on an individual form by passing false
as the constructor's third parameter.
Send.x and send.y are sent by the browser to indicate where the user
clicked the image.
On Thu, Sep 9, 2010 at 21:10, ScherlOMatic
wrote:
> You are right. I'm using an image button. But th
If you check the last mod of that page, you'll see it was 2 years ago.
Back then installing via pear was the recommended way to go.
Since sf1.2 (afaik) the best practise is to include symfony under
lib/vendor for each project.
On Sat, Sep 4, 2010 at 18:39, Martin Henits wrote:
> Hi,
>
> I was wo
Add the Partial helper to the list.
On Thu, Sep 2, 2010 at 12:19, Javier Garcia wrote:
> Hi,
>
> i have added the line below in settings.yml.
>
> standard_helpers: [I18N]
>
> After that, when i load a page i get this message:
>
> Fatal error: Call to undefined function include_partial()
est
> automatically, I don't know if its done using plain javascript.
>
> I once had this issue using mootools but it was a bug in our JS code
> overwriting all http header instead of adding the needed one, and not a
> symfony bug.
>
> Regards
>
> -Original Mess
If you check the code of isXmlHttpRequest, you'll see it is very simple:
return ($this->getHttpHeader('X_REQUESTED_WITH') == 'XMLHttpRequest');
So check if your javascript code sets that header, also check if it
actually gets sent.
On Wed, Sep 1, 2010 at 12:11, HAUSa
wrote:
> Yes, but is th
canUpdate means: if the sluggable field changes, should the slug
change as well, or stay the original? Obviously you can still edit it
manually.
On Fri, Aug 27, 2010 at 16:12, Cyrille37 wrote:
> Hello,
>
> I've just starting to use the Sluggable behavior and set it with
> canUpdate = false.
> The
It means the password you entered is wrong.
On Tue, Aug 24, 2010 at 17:44, Marcio Pozzato wrote:
> Please,
> I can't create database through 'mysqladmin create jobeet -uroot -p',
> included at the Day 3 - Tutorial Symfony.
> MySql returns the following error message: connect to server at
> 'local
mtp.
On Tue, Aug 24, 2010 at 14:48, vero wrote:
> It's impossible. I don't know how send an email at all.
> I have tried everything but no email arrive to inbox.
> I will have to decided what to do in that part of my project.
>
> Thanks to all for trying to help me.
>
That means it is not properly configured - no wonder you cannot send emails.
The message says that your smtp server needs encryption, most probably
the same applies for authentication. Check its manual how to set it
up.
On Tue, Aug 24, 2010 at 09:43, vero wrote:
> And I use a sendmail.exe, that I
Put it in a plugin.
On Mon, Aug 23, 2010 at 16:07, axel at wrote:
> is it possible to use a template in several different applications of
> the same project?
>
> --
> If you want to report a vulnerability issue on symfony, please send it to
> security at symfony-project.com
>
> You received this
You need to enable the pdo and pdo_mysql modules in your php.ini. Keep
in mind that your httpd and cli may use different ini files.
On Fri, Aug 20, 2010 at 11:26, bibob wrote:
> Bonjour,
> au lancement de la commande : php symfony doctrine:insert-sql j'ai un
> message d'erreur : Couldn't locate d
./symfony doctrine:clean-model-files
On Thu, Aug 19, 2010 at 10:34, KEY5 wrote:
> Hello,
>
> I have changed some things in the schema.yml
> and cleared cache ( both symfony cache:clear and symfony cc :-D )
>
> I've rebuilt the model, I've done symfony doctrine:build --sql
>
> yet the same databa
That only applies to stuff like posting to a blog or a forum - when
reloading the page does harm, for example by duplicating content. It
is ok to not redirect in case of a search.
On Thu, Aug 12, 2010 at 22:12, Stef wrote:
>
>
>
>
> On Wed, Aug 11, 2010 at 6:44 PM, Gábor Fási w
They were created with Balsamiq mockups,
http://www.balsamiq.com/products/mockups
On Thu, Aug 12, 2010 at 17:12, Seb wrote:
> Hy everyone,
>
> I have a little question about this tuto :
> http://www.symfony-project.org/jobeet/1_4/Doctrine/en/02
> How do they do to make the Interface's prototype
Why don't you directly post your data to the search action? You can
validate and do the search there.
On Wed, Aug 11, 2010 at 18:06, Stef wrote:
> Hello,
> I have a search form which inherits from sfForm. When the form is "post"
> submitted it is validated then redirected to the action executeSea
You need to enable mod_rewrite in your apache configuration. Besides
enabling the module, you also need to allow using it in your
VirtualHost configuration, with an AllowOverride directive.
On Mon, Aug 9, 2010 at 22:38, el-sid wrote:
> hello,
> i am trying to test out how my app should behave in
1 - 100 of 414 matches
Mail list logo