Is there (/home/xx/public_html/api/lib/vendor/symfony/lib/
plugins/sfDoctrinePlugin/lib/database/) the file
sfDoctrineDatabase.class.php ?
On 27 kvě, 16:45, Ragnis ragnis.ar...@gmail.com wrote:
Nothing changed.
Still theese errors:
Warning:
It has something to do with caching.
In the dev environment is it ok, and in the production work this weird
way?
On 27 kvě, 17:57, Popovich whitedragon...@gmail.com wrote:
Hi have a problem in the application i am creating when putting it in
the server.
Let´s say i have a typical form. I
Changin the label is easy ... setLabel()
http://www.symfony-project.org/forms/1_4/en/01-Form-Creation
For the changing format of the form you have more ways ...
a) form formatters
b) changing template
On 27 kvě, 21:03, Tofuwarrior p...@clearintent.co.uk wrote:
Hi,
I have used embed
So your problem is solved, or do you only make a mistake when
reporting this problem?
BTW those capital letters are not a great idea - nor in the model nor
in the sentences when reporting a problem.
On 27 kvě, 22:24, Andres Villaquiran avqui...@yahoo.com wrote:
sORRY, I had a mistake, when i
If you know all inputs which can be added dynamicaly (and the number
of them isn't infinite) then you can simply create a form with all of
the inputs. Then by javascript hide them, and dynamicaly show them...
On 28 kvě, 21:58, fRAnKEnSTEin shirkav...@gmail.com wrote:
Hi,
Luc thanks for your
I thing the error is clear ... getConnection() isn't a static method,
so you can't call it with ::getConnection(), but with -
getConnection()
you have to do something like
Doctrine::getTable('SEO')-getConnection()
or
SEOTable::getInstance()-getConnection() (only in new version of
Symfony .. look
Hello,
Thanks for your help, I just read the document about caching and it
learnt me a lot. Perharps I don't understand why in the backend the
page is cached, when I see the cache.yml document there is just:
default:
enabled: false
with_layout: false
lifetime:86400
And in the modules
What I tried to do too is clearing the cache of the backend in my
frontend when the user log in. But I didn't achieve this. This was my
code:
class utilisateurActions extends sfActions
{
//...
public function clearBackendCache($uri, $host)
{
The error in this code is that $cache is null so
sfContext::getInstance()-getViewCacheManager(); doesn't return
anything. And I don't know how to fix that.
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received this message
I don't see your method getTotals, so I can't tell you whats wrong.
try var_dump($this-test );
and see if something is even in it...
On 28 kvě, 14:57, safa boubekri boubekri.s...@gmail.com wrote:
sir please
i put in action
public function executeIndex(sfWebRequest $request)
{
You description of the problem is very poor. We can't help you
What means I use ajax
What URL?
Show the exact error.
On 28 kvě, 17:03, yongSymfo abbbassi.recrutemen...@gmail.com wrote:
helle ,
i use ajax in Module form that it work good in create action but
whene i in edit action i have
I created multiple folders with an .htaccess defined for each one
inside my web/ to the many apps i have.
For example.
http://localhost/app1 (access app1)
http://localhost/app2 (access app2)
http://localhost/appx (access appx)
The problem now is that my CSS and JS defined on view.yml try to
Hi,
This is something I quite often miss and therefore I would guess there
is a solution for it. Quite often I want a field from an object shown in
my form in a read only fashion. I.e the user sees the field but cannot
edit it.
Also, has someone created a simple widget for adding HTML elements
Hi there,
I am trying to implement a simple Facebook connect on my website using
sfFacebookConnectPlugin, Symfony 1.4 and Doctrine but I am not sure I
am doing it right...
Everything works fine up to the point where a guardUser is created and
logged in after the user clicks the connect with
i add try var_dump($this-test );
but i have Undefined property: sfPHPView::$test
for getTotals
public function getTotals()
{
return $this-createQuery('c')- SELECT('SUM(c.montant) FROM c')-execute();
}
thank you
--
If you want to report a vulnerability issue on symfony, please send
Here's how I do it:
$task = new sfDoctrineBuildTask(clone $this-dispatcher, clone
$this-formatter);
$task-setCommandApplication($this-commandApplication);
$task-setConfiguration($this-configuration);
$task-run(array(),array('all' = true, 'and-load' = true));
On Jun 1, 10:25 am,
Hi,
http://snippets.symfony-project.org/snippet/387
You're welcome :)
Thibault.
On Jun 1, 11:16 am, Tarjei Huse tar...@scanmine.com wrote:
Hi,
This is something I quite often miss and therefore I would guess there
is a solution for it. Quite often I want a field from an object shown in
my
$this-runTask($name, $arguments, $options)
On Tue, Jun 1, 2010 at 3:52 PM, benlancaster ben.lancas...@holler.co.ukwrote:
Here's how I do it:
$task = new sfDoctrineBuildTask(clone $this-dispatcher, clone
$this-formatter);
$task-setCommandApplication($this-commandApplication);
Hello,
In my database, I've a table *paiement * that contains a foreign key *
id_person * that refers to a table person.
I've created a module with the admin generator for each one. I've modified
the *generator.yml* of my module *phone* to replace the phone type *id_person
* by the nom
On 06/01/2010 02:54 PM, Thibault Jouannic wrote:
Hi,
http://snippets.symfony-project.org/snippet/387
Jolly good!
Have you asked for it's inclusion into sfForm main? IMHO it deserves to
be there :)
Tarjei
You're welcome :)
Thibault.
On Jun 1, 11:16 am, Tarjei Huse tar...@scanmine.com
Hi Raphael,
there must be some cookie issue in your application. Setting the
Facebook cookies can be very tricky, especially when dealing with
iframes inside the Facebook canvasin Safari. Are you sure you have
published the plugin's assets ? You also should not use the outdated
filters which
So at the end I can say the problem was resolved :D:D
The easiest way to do what I want is written on the symfony page:
http://www.symfony-project.org/book/1_2/03-Running-Symfony#chapter_03_sub_configuring_a_shared_host_server
I can just say I didn't use any .htaccess file. I just changed the
So at the end I can say the problem was resolved :D:D
The easiest way to do what I want is written on the symfony page:
http://www.symfony-project.org/book/1_2/03-Running-Symfony#chapter_03_sub_configuring_a_shared_host_server
I can just say I didn't use any .htaccess file. I just changed the
So at the end I can say the problem was resolved :D:D
The easiest way to do what I want is written on the symfony page:
http://www.symfony-project.org/book/1_2/03-Running-Symfony#chapter_03_sub_configuring_a_shared_host_server
I can just say I didn't use any .htaccess file. I just changed the
On Tue, 1 Jun 2010, Tarjei Huse wrote:
Have you asked for it's inclusion into sfForm main? IMHO it deserves to
be there :)
+1
Its a nice clean solution.
--
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received this
On Tue, 1 Jun 2010, Gareth McCumskey wrote:
This is all easily answered by looking at the symfony documentation which has
a helpful section on setting up a symfony application on a shared web hosting
service, i.e. a service where you do not have root access to the machine
hosting the site:
Hi!
Try
RewriteBase /appx
In every .htaccess
On 1 juin, 11:12, wueb webmaster@gmail.com wrote:
I created multiple folders with an .htaccess defined for each one
inside my web/ to the many apps i have.
For example.
http://localhost/app1(access app1)http://localhost/app2(access
Hi everybody,
I am facing a problem for wich I don't manage to find an answer.
There is the situation: I have events and in each event I can have
meetings. I have created a form wich allow my users to modify an
events and its meetings all in once. My problem is: I want to control
that the date
Thanks!!
Too, there are information in Executing a Task inside a Task
http://www.symfony-project.org/more-with-symfony/1_4/en/13-Leveraging-the-Power-of-the-Command-Line#chapter_13_executing_a_task_inside_a_task
On 1 jun, 15:07, Alexandru-Emil Lupu gang.al...@gmail.com wrote:
Hi!
I have 5 different Models that I want to be searchable.
I don't know, how to implement the search right now. First thing I
think of is Zend Lucene, but I read several times, that the
performance is bad (cannot use the java implementation).
No my question is: where is the limit of Zend
Hi,
2010/6/1 comb sa...@gmx.net:
Hi!
I have 5 different Models that I want to be searchable.
I don't know, how to implement the search right now. First thing I
think of is Zend Lucene, but I read several times, that the
performance is bad (cannot use the java implementation).
Performance
I installed the very nice form-extra plugin for the double list
feature. However, I noticed it didn't preselect values properly when
your choices are represented by a multi-dimensional array (for
organization). This is basically because the double list widget does
not recursively read your choices
Lucene is not slow, only the Zend PHP re-implementation of the Lucene
file format + search.
In my opinion it's close to unusable for real life scenarios (large
data set, fast indexing ...).
It probably would work ok for a small dataset such as 1.
I recomend Solr as alternative which is Java
Find the alias that you are using to reference those 2 models, and just do
a plain __toString in your *paiement table
Like
class paiment extends BasePaiment
{
public function __toString()
{
return $this-getPerson()-__toString();
}
}
*
On Tue, Jun 1, 2010 at 4:39 PM, safa boubekri
@Michał Piotrowski: Thanks for the tipp! :-)
@pghoratiu: Yeah I know about Solr, but I cannot use it, like I wrote
in the first post :-(
Is there an alternative PHP-Search-Engine to Zend Lucene?
On 1 Jun., 21:53, pghoratiu pghora...@gmail.com wrote:
Lucene is not slow, only the Zend PHP
On Tue, 1 Jun 2010, Alexandru-Emil Lupu wrote:
Find the alias that you are using to reference those 2 models, and just do
a plain __toString in your *paiement table
Like
class paiment extends BasePaiment
{
public function __toString()
{
return $this-getPerson()-__toString();
}
}
Hi again, after looking further on the issue, I ended up with a widget
that does this.
See:
http://trac.symfony-project.org/attachment/ticket/8726/sfWidgetFormDiv.class.php
On 06/01/2010 03:41 PM, Tarjei Huse wrote:
On 06/01/2010 02:54 PM, Thibault Jouannic wrote:
Hi,
On Tue, 1 Jun 2010, Florian wrote:
Hi!
Try
RewriteBase /appx
In every .htaccess
Probably not for an app who's front controller is in web, maybe only the
web/appsx folders.
Also be aware that htaccess rules in effect in the folder in which they
are defined AND any subfolders - so if
I have written a functional test that tests my site's registration flow. At
the end of the test, I am calling my account peer and using lime to test
that the account that was just registered is all in the database correctly.
The test runs great if I run it by itself (test:functional frontend
Never mind - I think I figured it out.
Instead of creating a new lime test like I was doing:
$t = new lime_test(11, new lime_output_color());
I should continue using the test that the functional test was using:
$t = $browser-test();
Best regards,
Jeremy Thomerson
On Tue, Jun 1, 2010 at 5:18 PM,
Sphinx is the best full text search that I have ever used. You need
to have enough permissions to compile/install a program running as a
daemon though. Sphinx is very fast, not language or database specific
and has flexible configuration options, technically speaking, you
don't even have to use
i modify paiment
*class paiment extends BasePaiment
{
public function __toString()
{
return $this-getPerson()-__toString();
}*
*
*
*but the id_person is style number*
*
*
*thak you*
--
If you want to report a vulnerability issue on symfony, please send it to
security at
42 matches
Mail list logo