Hi,
i have this schema:
shop_products:
_attributes: { phpName: ShopProduct }
products_id: { phpName: Id, type: INTEGER, size: '11', primaryKey:
true, autoIncrement: true, required: true }
products_quantity: { phpName: Quantity, type: INTEGER, size: '4',
required: true }
Hello,
I asked question in irc, but can not get answer.
I'm trying to use Symfony 1.4.8 wih sfPropel15Plugin. When i try to
use methods like findPk it works very well. But when i try to use
select function, it's not working. My Schema is :
http://paste.pocoo.org/show/301282/,
My query code is :
Did you clear cache?
symfony cc
On Thu, Dec 2, 2010 at 12:03 PM, dianacastillo dianahel...@gmail.comwrote:
I have symfony installed in windows and it works fine when I go here
http://localhost:8080//frontend_dev.php/
I generated the data model but when I try to run
On 6 Dic, 13:19, gurkanoluc gurkano...@gmail.com wrote:
I'm trying to use Symfony 1.4.8 wih sfPropel15Plugin. When i try to
use methods like findPk it works very well. But when i try to use
select function, it's not working. My Schema is
:http://paste.pocoo.org/show/301282/,
My query code is
On Mon, Dec 6, 2010 at 9:16 AM, Javier Garcia tirengar...@gmail.com wrote:
Hi,
i have this schema:
shop_products:
_attributes: { phpName: ShopProduct }
products_id: { phpName: Id, type: INTEGER, size: '11', primaryKey:
true, autoIncrement: true, required: true }
Thanks for the advice.
On 4 dec, 13:39, Nicolas Hurman mwk...@gmail.com wrote:
Hi,
Your structure makes sense. The point with Sf2 is that there isn't one
structure you have to follow - just do what you think is best. About the
Doctrine entities, you could store them in a separate bundle, or
Hi,
I added some methods to myUser class, and suddenly I can't access to
them from the action.
$this-getUser()-method returns a Call to undefined method error
message. I really think it was working before... Maybe I modified any
yml file?
My myUser class and one of this methods:
class myUser
I have the following routing.yml:
lead_import_upload:
url: /lead/import.:sf_format
param: { module: lead, action: importUpload, sf_format: html }
requirements: { sf_method: get }
lead_import_config:
url: /lead/import.:sf_format
param: { module: lead, action: importConfig,
As far as I am aware $this-getUser() does not access your own class that
overrides sfBasicSecurityUser but is in fact an instance of
sfBasicSecurityUser. I stand to be corrected however.
On Mon, Dec 6, 2010 at 3:59 PM, Carlos carlosb...@gmail.com wrote:
Hi,
I added some methods to myUser
That should be working.. when you enable sfGuard you change the base class
of the myUser class to gain access to $this-getUser()-getGuardUser().
Can you check the class type of $this-getUser() ? [
get_class($this-getUser()) ]
On Mon, Dec 6, 2010 at 11:56, Gareth McCumskey gmccums...@gmail.com
http://redotheweb.com/2008/08/08/add-request-method-requirement-to-routing-in-symfony-11/
http://redotheweb.com/2008/08/08/add-request-method-requirement-to-routing-in-symfony-11/Does
that shed any light for you?
On Mon, Dec 6, 2010 at 11:52, Michael Smith sitecr...@gmail.com wrote:
I have the
Hi,
i'm trying to use my own method to show a list in the backend:
class ShopOrderPeer extends BaseShopOrderPeer {
public static function getOrdini()
{
$con = Propel::getConnection();
$sql = select customers_name, value, date_purchased,
orders_status from shop_orders
Workaround: instead of select customers_name, value, date_purchased,
orders_status from shop_orders LEFT JOIN ..., select * LEFT
JOIN ...
On 6 Dic, 18:39, Javier Garcia tirengar...@gmail.com wrote:
Hi,
i'm trying to use my own method to show a list in the backend:
class ShopOrderPeer extends
Thanks!
It was a stupid error, the methods I couldn't access are private
method because thy were previously in another class... A copy / paste
error...
Carlos
On 6 dic, 18:12, Alex Pilon alex.pi...@gmail.com wrote:
That should be working.. when you enable sfGuard you change the base class
of
Hi ,
I am working on Operating System : centOs.
And using PHP Version - 5.2.9 , Mysql Version - 5.
Symfony Vertion - 1.4.1
Facing the following Exception :
500 | Internal Server Error | Doctrine_Connection_Mysql_Exception
SQLSTATE[HY000]: General error: 2014 Cannot execute queries while
Hi ,
I am using Operating System : centOs.
And using PHP Version - 5.2.9 , Mysql Version - 5.
Symfony Vertion - 1.4.1
Facing the following Exception in my project :
500 | Internal Server Error | Doctrine_Connection_Mysql_Exception
SQLSTATE[HY000]: General error: 2014 Cannot execute
Can you show us the code that is being called that is generating this
exception?
On Mon, Dec 6, 2010 at 13:01, saichand saichan...@gmail.com wrote:
Hi ,
I am using Operating System : centOs.
And using PHP Version - 5.2.9 , Mysql Version - 5.
Symfony Vertion - 1.4.1
Facing the
This may be a dumb question, but I can't figure out how to prompt for
extended permissions (ex. publish_stream, email, etc.) when a user
connects their Facebook account.
Can anyone point me in the right direction?
--
If you want to report a vulnerability issue on symfony, please send it to
Try this.. http://tinyurl.com/2uhq73m
Thanks!
On Mon, Dec 6, 2010 at 14:49, deadwards traviskrobe...@gmail.com wrote:
This may be a dumb question, but I can't figure out how to prompt for
extended permissions (ex. publish_stream, email, etc.) when a user
connects their Facebook account.
Hi,
simple question:
Is it possible to inject dependency at runtime with SF2 DI container ?
For example, I'm using a Zend\Paginator\Paginator who needs an adapter
as first argument of its constructor.
This adapter needs a Doctrine Query object as first argument of its
constructor too.
Can I
Ok I should have reformulated my question:
I know it's actually impossible to do that, but the goal of my
question is: How to bypass the problem ?
Do I have to modify the lib to work with setters injection ?
On Dec 6, 8:59 pm, Florian sideral.undergro...@gmail.com wrote:
Hi,
simple question:
Hi,
That is the way I was going to recommend. Setting it in your env
variables.
As for the error, it is related to using a date as an id. It is a
DateTime object and is trying to be used as the key of an array in the
UnitOfWork.
Benjamin or Roman will have to comment on this.
- Jon
On Dec 6,
Hi,
I have these models:
user:
name: { type: varchar(255) }
age: { type: integer }
article:
title:{ type: varchar(255) }
content: { type: varchar(255) }
user_id: { type: varchar(255) }
I have this generator.yml
list:
display:
Not really. I am using sf1.4. I have it basically like that post and
similar to the job_create: section in the jobeet tutorial
http://www.symfony-project.org/jobeet/1_4/Doctrine/en/05#chapter_05_collection_route_class
but without using an object route. The lead_import_upload route is
always called
Hi everybody,
I'm trying to write functional test for a form in my symfony (1.4)
application.
...and I am strugling to test the values of forms. :-(
How can I test if the response contains the right values pre-set in
the formfields.
I tried the following, but it doesn't work:
$browser-
I've been doing a lot of fiddling around with Symfony2 (latest PR4
release) and reading a lot of it's documentation (I've read pretty
much all of it)
The problem i'm faced with now, are the best practices.
I've looked at many of the bundles/projects source on
symfony2bundles.org and they all
Hi
I have made a symfony project on my svn server .
When I submit the form which reads user details , I get the following
error message
page not found
Oops an error occured
The server returned a 500 internal server error
Something is broken.
This error message I get 1 out of 5 times. This
27 matches
Mail list logo