I have the same problem, my Doctrine Configuration for sqlite is as
follows (in config/config.php):
$rootDir = dirname(dirname(__DIR__));
$container-loadFromExtension('doctrine', 'dbal', array(
'driver' = 'PDOSqlite',
'path' = $rootDir . '\db.sqlite',
'user' = '',
http://www.i-marco.nl/weblog/images/breakdown.png
http://www.i-marco.nl/weblog/images/breakdown.pngNotice the nice big
Orange pie slice ;)
On Thu, Sep 2, 2010 at 8:27 PM, HAUSa
jeroen_heeft_behoefte_aan_r...@hotmail.com wrote:
Damn... it indeed was a cache problem.
God I hate IE
Thank you!
Hmm, Alfonso you posted this on both the developers and users list! I answered
your question there:
It looks like this is a bug in Doctrine2, or at least a lack of
support for the newer driverClass option in the SqliteSchemaManager
class. I believe Doctrine2 expects the driver parameter to be
Hi,
I am trying to learn symfony. Upon reaching the day 3 of the document
http://www.symfony-project.org/jobeet/1_4/Propel/en/03
On the part of the document where it tells me to run php symfony
propel:data-load,
I get this error
propelload data from /home/leaf/jobeet/data/fixtures
Call
The site needs to work with javascript disabled so unfortunately
that's not an option at present.
Adding a delay seems a bit of an unreliable way to work around the
problem due to not being able to guarantee how long A1 will take to
finish sending content.
Is there definitely no way to force a
Hi,
On Wed, Sep 8, 2010 at 2:01 PM, Jochen Daum jdau...@gmail.com wrote:
Hi all,
I have a backend application with various access cerdentials for a
variety of modules.
I'd like to build a navigation list, which should obviously be
adjusted depending on what access rights you have. Is
Hey there,
you'll need to set the displayEmptyRelations option to true as described in
the README. That way, even if there are no embedded relations yet (as in the
edit view or the add view), the widget Documents exists in the form.
Cheers, Daniel
On 07.09.2010, at 18:44, John Kary wrote:
The answer is: yes - $this-getUser()-shutdown() seems to work.
If anyone knows of a particular reason why this might be a bad idea,
please let me know.
On 8 Sep, 09:10, Phil Moorhouse moorhouse.p...@gmail.com wrote:
The site needs to work with javascript disabled so unfortunately
that's not an
This is not a bad idea and in fact we have used to prevent session write
locking as we would have multiple ajax requests running on a page load each
with semi-lengthy processes running that would force the ajax requests to
queue instead of run asynchronously because of session write locking. By
Why do things outside of symfony and the databases.yml?
http://www.lampjunkie.com/2008/04/using-multiple-databases-in-symfony-with-propel/
On Tue, Sep 7, 2010 at 7:52 AM, DEEPAK BHATIA toreachdee...@gmail.comwrote:
Hi,
I tried accessing some other database than specified in databases.yml.
Hi,
I have four databases by the name
1. rtdb
2. crb
3. pist
The rtdb and pist has emp_table but the same is given employee_table in crb.
This link shows that if two tables names are same in two different databases
then the connection can be switched.
pist1 database - databases.yml
Beste,
Tot en met vrijdag 10 september ben ik niet aanwezig op kantoor.
U kunt voor dringende zaken contact opnemen met mijn collega Dimitri van Hees:
dimi...@freshheads.com of 013 5448761.
Met vriendelijke groet,
Joost Farla
joost.fa...@freshheads.com
- -
freshheads grafisch ontwerp en
'displayEmptyRelations' = true fixed my problem. Thanks Daniel!
On Sep 8, 3:58 am, Daniel Lohse annismcken...@googlemail.com wrote:
Hey there,
you'll need to set the displayEmptyRelations option to true as described in
the README. That way, even if there are no embedded relations yet (as in
Hi,
I want to use 2 MySQL databases with my Symfony2 project. I want to have my
code stay Doctrine-free or Propel-free because I'm ok at manually building
SQL queries and I want minimal DB overhead (major scaling requirements).
Is this a bad idea? It seems like I can just write the controllers
Thanks Gareth,
Please see if you can answer my question.
Regards
Deepak Bhatia
On Wed, Sep 8, 2010 at 5:28 PM, DEEPAK BHATIA toreachdee...@gmail.comwrote:
Hi,
I have four databases by the name
1. rtdb
2. crb
3. pist
The rtdb and pist has emp_table but the same is given employee_table
I solved this. Maybe the solution can be of use to someone else.
Il 06/09/2010 9.27, Marco Rocci ha scritto:
Symfony 1.4
Doctrine
admin backend application
With this simplified schema:
Product:
columns:
code: { type: string(10) }
name: { type: string(100) }
Hi,
This is not a Symfony / Doctrine specific question but well.. I'm sure you
can help me with this.
I have to instantiate a doctrine table dynamically:
*$table = 'MyDoctrineTable';
$instance= $table::getInstance();*
In my dev server (PHP v5.3.2) it works fine. In my production
Hi every body,
I made an app following the Jobeet tutorial and I packaged in a plugin
without I10N and I18N, currently I need to get this app translated but
the command symfony i18n:extract... doesn't work. It returns 0
strings to translate. Is posible to translate an application that is
already
Hi,
I have a form to select some search options. I have a field that I
wanto to show only if the user is logged in. I want to do something
like this:
if(!$this-getUser()-hasAttribute('user'))
unset($this-form-widgetSchema['mine']);
that doesn't work because widgetSchema is protected.
Hi
I have a little problem in implementing a form filter using doctrine.
The problem is that I need to filter fields belonging to an related
table. So I create cutom addXColumnQuery methods:
public function addPnombreColumnQuery(Doctrine_Query $query, $field,
$value) {
I think you could pass the user as an option in the constructor, and
than unset it in the configure method.
Hope it helps
On Sep 8, 4:31 pm, torok84 toro...@gmail.com wrote:
Hi,
I have a form to select some search options. I have a field that I
wanto to show only if the user is logged in. I
How can I test with SQLite In-Memory databases in Symfony2+Doctrine2?
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received this message because you are subscribed to the Google
Groups symfony users group.
To post to this
hi,
you could do something nasty like
if(!$this-getUser()-hasAttribute('user'))
$tempSchema=$this-form-getWidgetSchema();
unset($tempSchema ['mine'];
$this-form-setWidgetSchema($tempSchema);
}
but this wouldn't be testable.
better solution is
I think you could pass the user as an option in the constructor, and
than unset it in the configure method.
Hope it helps
On Sep 8, 4:31 pm, torok84 toro...@gmail.com wrote:
Hi,
I have a form to select some search options. I have a field that I
wanto to show only if the user is logged in. I
How do you get it to work for layouts?
On Sep 7, 8:40 am, Kevin kevinb...@gmail.com wrote:
Thanks, this stuff is great. Never thought of that.
On Sep 7, 3:49 am, klemens_u klem...@ull.at wrote:
Hi,
it's basically really just a question of view.
Here's an old blog post about creating
You could create a custom layout for mobile sites. Then, in the action:
$this-setLayout( 'myMobileLayout' );
You could create a custom base action that extends from sfActions, where
you check for the sf_format value for the request in the preExecute
method. Then, based on that value, set the
I found also you can add .sf_format to a layout: layout.mobile.php to
automatically use that layout when sf_format is not html
(this was mentioned above my klemens_u)
On Sep 8, 1:48 pm, Gustavo Adrian comfortablynum...@gmail.com wrote:
You could create a custom layout for mobile sites. Then, in
That's a nice tip that I didn't know. Thanks for mention it!
On Wed, Sep 8, 2010 at 2:57 PM, Kevin kevinb...@gmail.com wrote:
I found also you can add .sf_format to a layout: layout.mobile.php to
automatically use that layout when sf_format is not html
(this was mentioned above my klemens_u)
Hi Jeff,
(Symfony Users Group)
I did it with success, but on Windows and using the XAMPP Package
(PHP, MySQL and Apache). For Linux, it is LAMPP.
It needs so much patience. Now, I'm in Day 5.
I can't find your problem, then I'm giving you below some tips.
In my case, all commands were typing
It's not a bad idea, and can be justified in some cases.
Doctrine was separated in 2 parts in the version 2 : ORM and DBAL.
ORM provides mapping Object - Database.
DBAL provides abstraction for SQL querying.
Have a look at Doctrine project website.
The service is named doctrine.dbal in
If you aren't wanting to use Doctrine at all, its possible, but never
put your sql in the controller. The idea behind the MVC Pattern is to
separate the business from the control, and of course, the display
from both of those. Put your sql in your model and put your model in
the Entity
31 matches
Mail list logo