Re: [symfony-users] Error Message

2010-05-20 Thread Gareth McCumskey
You seem to have totally ignored the advice you were given. You really should spend more time learning how permissions work on a *nix machine before you make applications publicly available. Its not hard but its not the same as Windows (if thats what you are used to) because *nix machines have d

Re: [symfony-users] Error Message

2010-05-20 Thread DEEPAK BHATIA
Thanks for the inputs. We have installed symfony 1.4.1 on /root directory and /home directory. I was creating the project using symfony on /root directory so I was getting the problem. Then I created the project using symfony on /home directory which worked. Thanks once again for your support.

Re: [symfony-users] Error Message

2010-05-19 Thread Eno
On Wed, 19 May 2010, DEEPAK BHATIA wrote: > How do I resolve this ? I am root to the linux while creating everything. As a web developer, you ought to be aware of how permissions work on web servers, this is pretty basic stuff. On Linux/UNIX machines all processes run under their own user IDs g

Re: [symfony-users] Error Message

2010-05-19 Thread abbbassi abidi
i will give you solution but you must resolved this correctly , go web/application_dev.php and commemnt the clause if like this /*if (!in_array(@$_SERVER['REMOTE_ADDR'], array('127.0.0.1', '::1'))) { die('You are not allowed to access this file. Check '.basename(__FILE__).' for more informatio

Re: [symfony-users] Error Message

2010-05-19 Thread Gábor Fási
That's probably the problem. Make sure the user your httpd runs as has read access to your project, and write access to the cache and log folders. Run a project:permissions task, that should fix these errors. On Wed, May 19, 2010 at 15:22, DEEPAK BHATIA wrote: > How do I resolve this ? I am root

Re: [symfony-users] Error Message

2010-05-19 Thread DEEPAK BHATIA
How do I resolve this ? I am root to the linux while creating everything. On Wed, May 19, 2010 at 6:05 PM, Gábor Fási wrote: > It's pretty clear that you have a permission problem. > > On Wed, May 19, 2010 at 13:27, DEEPAK BHATIA > wrote: > > Hi, > > > > I installed a project using symfony 1.4.

Re: [symfony-users] Error Message

2010-05-19 Thread Gábor Fási
It's pretty clear that you have a permission problem. On Wed, May 19, 2010 at 13:27, DEEPAK BHATIA wrote: > Hi, > > I installed a project using symfony 1.4.1 but when I type the URL to access > my application I get the below error. > > == > Warning: > requi

[symfony-users] Error Message

2010-05-19 Thread DEEPAK BHATIA
*Hi,* ** *I installed a project using symfony 1.4.1 but when I type the URL to access my application I get the below error.* ** *==* *Warning*: require_once(/root/sfproject/lib/vendor/symfony/lib/autoload/sfCoreAutoload.class.php) [function.require-once

Re: [symfony-users] Error message "No description for object of class..."

2010-02-23 Thread ReynierPM
On 2/23/2010 4:35 PM, Adrien Mogenet wrote: Well, if I print $extraValue. no problem. But in ->setValue, it tries to set "No description for object of class MyClass". WTF ?? If I set directly a value, it works. This error happens when you don't have created __toString() method in some classes.

[symfony-users] Error message "No description for object of class..."

2010-02-23 Thread Adrien Mogenet
Hi all, let's consider these simple lines : foreach ($extraRows as $rowId => $extraValue) { var_dump($extraValue); $extraValue = new MemberExtraValue(); $extraValue->setValue($extraValue); //... } Well, if I print $extraValue. no problem. But in ->setValue, it tries to set "No descriptio

Re: [symfony-users] Error message format

2009-12-30 Thread Sid Bachtiar
I just tried it and it works really well! Thank you! :) On Wed, Dec 30, 2009 at 10:35 PM, Alexandru-Emil Lupu wrote: > in my Form class object i ave added : > > > >  public function getErrors($v = '') >  { >    foreach ($this->getErrorSchema() as $field=>$error ) >    { >      foreach ($error->ge

Re: [symfony-users] Error message format

2009-12-30 Thread Alexandru-Emil Lupu
in my Form class object i ave added : public function getErrors($v = '') { foreach ($this->getErrorSchema() as $field=>$error ) { foreach ($error->getErrors() as $currentError) { $v .= ''.sprintf("In the "%s" tab you have an error: %s", $field , $currentError->getMessage

Re: [symfony-users] Error message format

2009-12-30 Thread Alexandru-Emil Lupu
I have done something like that. I will post my solution later today, as i haven't yet start my computer Alecs sent via htc magic On Dec 30, 2009 1:37 AM, "Sid Bachtiar" wrote: Hi all, I embedded a form inside another form, and I try to print errors (of all the forms combined) like this in the

[symfony-users] Error message format

2009-12-29 Thread Sid Bachtiar
Hi all, I embedded a form inside another form, and I try to print errors (of all the forms combined) like this in the template: getErrorSchema()->getErrors() as $error): ?> *getMessage(); ?> It is able to print all the errors as expected