Hi,
i've installed sfDoctrineGuardExtraPlugin.
I don't know what i touched exactly but now when i ask for sfGuardRegister/register this is showed:
The route "sf_guard_register" does not exist.
To debug my problem I have installed sfDGEP in another project, and i found out that if i remove the line below in plugins/sfDoctrineGuardExtr...
I am using sfPDOSessionStorage with symfony. I need to destroy and regenerate a user's session. Is there any function that allows me to do this?
Using session_destroy(); session_regenerate_id(); session_start(); obviously doesn't work because it would bypass the database storage.
I've tried directly calling:
getContext()->getStorage()...
Hi,
I'm wondering if someone knows how to store an array into a user session?
This is the method to store a single attribute:
$this->getUser()->setAttribute('something', $something);
And the documentation says:
"User attributes can store any type of data (strings, arrays, and associative arrays)"
... but doesn't say anything more....
Hi,
any time i write this:
$this->setTemplate('module/action');
I'm getting this error:
The template
"module/actionSuccess.php" does not
exist or is unreadable in "".
So.. how to set a template from another module ?
Javi
...
Hi,
i have just this line in a template:
<?php include_component('sfGuardRegister', 'register') ?>
when it's executed i get a blank page. I have debugged include_component() and the flow processing is not entering inside of it, i mean:
function include_component($moduleName, $componentName, $vars = array())
{
die("enter");
echo...
been working with symfony for a while. most tutorials describe having multiple actions in a single php file. however, i find having 1 action per php file easier to maintain.
what's the pro/con of both?
is this purely a developer preference in code organisation?
any performance impact on either approach?
what's common practice for reaso...
I am using Symfony 1.3.2 and I have a page that uses a partial from another module.
I have two modules: 'foo' and 'foobar'. In module 'foo', I have an 'index' action, which uses a partial from the 'foobar' module.
so foo/indexSuccess.php looks something like this:
Some data here
?>
I want to cache 'part2' of my foo/indexS...
Hi,
I was writing a simple login form, everything works fine (validation etc.) but I can't get the values, there's my code:
public function executeIndex(sfWebRequest $request)
{
$this->getUser()->clearCredentials();
$this->getUser()->setAuthenticated(false);
$this->form = new LoginForm();
if ($request->isMet...
Hi,
somehow sfMail doesn't want to send emails and I can't find the reaseon why. send() simply returns 0, here is my code:
$message = $this->getMailer()->compose("[email protected]", "[email protected]", "test", "testing");
echo $this->getMailer()->send($message);
factories.yml:
all:
mailer:
class: sfMailer
param:
logging: ...
I'm looking for a good solution to integrate a forum into a symfony application.
Something like phpBB would be excellent. I've seen phpBB plugins to integrate with symfony but that's not enough for my purposes, also, mapping database tables is a lame approach in my opinion.
If anybody knows a good working forum component for Symfony t...
I have a symfony project with symfony V1.4.2 and doctrine 1.2.2. I have installed sfDoctrineGuardPlugin-4.0.1 and used to authenticate user from external method. Everything going fine, the authentication is perfect on windows machine but whenever I take this to linux machine, the login does not work. It keeps sayting "Invalid username or...
Hey folks. I'm looking for the best way to do something simple in symfony.
Basically, I have a module in which all the pages will contain the same header and footer. That module also shares the same general layout as the other modules.
I'm just wondering, should I create one file and have my content pages called up as partials or shoul...
Hi!
I have a database schema in Symfony like this:
Persona:
actAs: { Timestampable: ~ }
columns:
primer_nombre: { type: string(255), notnull: true }
segundo_nombre: { type: string(255) }
apellido: { type: string(255), notnull: true }
rut: { type: string(255) }
email: { type: string...
My app has a 'Photo' field to store URL. It uses sfWidgetFormInputFileEditable for the widget schema. To delete the old image when a new image is uploaded, I use unlink before setting the value in the over-ridden setter and it works!!!
if (file_exists($this->_get('photo')))
unlink($this->_get('photo'));
Photos are stored in uploa...
I'm using the sfGuardDoctrine plugin, and I would like to customize the form validation messages.
How could I acomplish this? I can't find anything in the documentation.
The only way I have found is to copy sfGuardValidatorUser.class into /apps/frontend/lib/validator, but I would like to know if there is some way to just override the e...
Put simply: it causes a massive memory leak within an hour if I work on a Symfony project, and I don't use any of the features that it provides. I've looked through all of the menus and can't seem to see an option to disable support for it.
Has anyone attempted or managed to remove this module from the IDE? I quite like NetBeans, but on...
Everyday is a new day with Symfony, but I'm loving it!
This morning I installed the sfJQueryUIPlugin. It has very little dependencies & accepts themeRoller styles. However, it has 2 issues:
[Feature_Request] There is no way to specify the year range. By default, it shows a 20 year range around the year in the field value. eg. if field v...
Hi,
how can I modify admin generated modules (acions and templates)? They are stored in cache but I need to modify them (templates!). Is it possible at all?
Greetings
...
Hi, Im trying to create a custom formatter in Symfony 1.4.
I have embedded form via
$this->embedRelation('User','BasesfGuardUserAdminForm');
Is there a way to format the name of the embedded form 'User'?
...
Does the symfony cache system handle ext2 32000 files in the same directory limitation ?
I have 80000 users and i want to cache their profiles but do symfony cache system handle the ext2 limitation ?
i'm also posting for the others who will face the same problem.
...