[symfony-users] Re: I18n not works, extract delete previous translations

2010-10-14 Thread martin_bg
Have you adjusted the database schema file (for the translations to
work)? (config/doctrine/schema.yml for doctrine)

And do you always do `php symfony i18n:extract --auto-save frontend
en` (in order to just append the changes to xml files)?

On Oct 13, 3:55 pm, Jaime  wrote:
> Hi,
>
> I'm developing an application with symfony 1.4, and it needs to be
> translated in three languages. But the translations doen't works.
>
> I set frontend/config/settings.yml
>
> all:
>   .settings.
>     # I18n activado
>     i18n: true
>
>     # cultura predeterminada
>     default_culture: es
>
>     # caracteres a utf-8
>     charset: utf-8
>
>     standard_helpers: [Partial, Cache, I18N]
>
> On the frontend layout:
>
>  
>
> And generate the xml files with symfony i18n:extract frontend en --
> auto-save
> But the translation not works, and every time i change something in te
> generated xml, and run again i18n:extract, the translations on
>  tag are deleted.
>
> Any reason?

-- 
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 group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


[symfony-users] Symfony2 UnitTest error in Sandbox app

2010-10-14 Thread iMatt
Hello,

I am working my way through the sandbox tutorial - confusing in parts
but getting there.

One issue I am having is in running the unit tests. At the cli I go
into the app/ directory and run "phpunit". I get the following output:

/home/www/sandbox/app# phpunit
PHPUnit 3.5.0 by Sebastian Bergmann.

E

Time: 0 seconds, Memory: 5.75Mb

There was 1 error:

1) Application\HelloBundle\Tests\Controller
\HelloControllerTest::testIndex
RuntimeException: Unable to guess the Kernel directory.

/mnt/hgfs/Apache/symfony-sandbox/src/vendor/symfony/src/Symfony/Bundle/
FrameworkBundle/Test/WebTestCase.php:78
/mnt/hgfs/Apache/symfony-sandbox/src/vendor/symfony/src/Symfony/Bundle/
FrameworkBundle/Test/WebTestCase.php:39
/mnt/hgfs/Apache/symfony-sandbox/src/Application/HelloBundle/Tests/
Controller/HelloControllerTest.php:11

FAILURES!
Tests: 1, Assertions: 0, Errors: 1.



I have not changed the test controller in any way. Any clues as to why
I am getting the error about guessing the Kernal directory?

Thanks for your help.

Matthew

-- 
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 group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


Re: [symfony-users] Re: I18n not works, extract delete previous translations

2010-10-14 Thread Jérémie
Did you clear the cache?
And do you change the culture somewhere in the application?

> On Oct 13, 3:55 pm, Jaime  wrote:
> > Hi,
> >
> > I'm developing an application with symfony 1.4, and it needs to be
> > translated in three languages. But the translations doen't works.
> >
> > I set frontend/config/settings.yml
> >
> > all:
> >   .settings.
> > # I18n activado
> > i18n: true
> >
> > # cultura predeterminada
> > default_culture: es
> >
> > # caracteres a utf-8
> > charset: utf-8
> >
> > standard_helpers: [Partial, Cache, I18N]
> >
> > On the frontend layout:
> >
> >  
> >
> > And generate the xml files with symfony i18n:extract frontend en --
> > auto-save
> > But the translation not works, and every time i change something in te
> > generated xml, and run again i18n:extract, the translations on
> >  tag are deleted.
> >
> > Any reason?
> 


-- 
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 group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


Re: [symfony-users] Problem with fixtures and nested set behaviour schema

2010-10-14 Thread Sela Yair
i would assume it's the database relations, do you use the same database on
windows and ubuntu?

On 13 October 2010 15:34, Benjamin  wrote:

> Hello,
> I have a schema with a nested set behaviour likes this:
>
> MName:
>  columns:
>name: { type: string(45)}
>
> MValue:
>  actAs:
>NestedSet:
>  hasManyRoots: true
>  rootColumnName: root_id
>  columns:
>value: { type: string(45) }
>mname_id: { type: integer }
>  relations:
>MName: { local: mname_id, foreign: id }
>
> Now I wrote a fixture yaml file:
>
> MName:
>  damages: { name: Damages }
>
> MValue:
>  NestedSet: true
>  damageslv1_1:
>value: plane
>MName: damages
>children:
>  damageslv2_1_1:
>value: fire damage
>MName: damages
>children:
>  damageslv3_1_1:
>value: engine
>MName: damages
>  damageslv3_1_2:
>value: wing
>MasterdataName: damages
>
> When I call doctrine::data-load, I get the following error message:
> Catchable fatal error: Argument 2 passed to
> Doctrine_Data_Import::_hasNaturalNestedSetFormat() must be an array,
> null given, called in ...symfony\lib\plugins\sfDoctrinePlugin\lib
> \vendor\doctrine\Doctrine\Data\Import.php on line 307 and defined
> in ...symfony\lib\plugins\sfDoctrinePlugin\lib\vendor\doctrine\Doctrine
> \Data\Import.php on line 272
>
> I have two development system, one on windows and one on ubuntu, both
> with symfony 1.4.8. The messages are on both systems the same, but on
> ubuntu the data is load into my mysql database despite this fatal
> error. So I guess my fixture.yml file is valid. What else can be the
> problem?
>
> --
> 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 group, send email to symfony-users@googlegroups.com
> To unsubscribe from this group, send email to
> symfony-users+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/symfony-users?hl=en
>

-- 
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 group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


[symfony-users] Re: Multiple submit buttons/Multiple forms

2010-10-14 Thread Raphael Schumacher
Provided that I haven't misunderstood your problem, I think that you
can add multiple submit buttons to one form, and that you can
differentiate them in the action through their name attributes. So
there would be no need to have multiple instances of the (same) form.

E.g. in the template for your form, thw two submit button tags look
like something:



Then your action can differentiate the chosen submit item as follows:
if ($request->hasParameter('_dothis')) {
// do this
} elseif ($request->hasParameter('_dothat')) {
// do that
}
OF course the detailed flow depends on your exact workflow. E.g. one
may offer two submit buttons "_doThis" and "_doThisAndThat", i.e. the
latter to perform something in addition what to happen by the first
submit. Then the code in the action could be like:
if ($request->hasParameter('_dothis')) {
// do this
if ($request->hasParameter('_doThisAndThat')) {
// additionally do that
}
}

That's how I saw it in the symfony code (namely in the admin
generator).

Hope that helps, RAPHAEL



On 13 Okt., 23:32, Parijat Kalia  wrote:
> tHANKS Gareth!!!
>
> On Wed, Oct 13, 2010 at 12:08 AM, Gareth McCumskey 
> wrote:
>
>
>
> > In each forms class that you define set the name format for each form
> > differently. For example in a forms configure() method:
>
> > $this->widgetSchema->setNameFormat('form1[%s]');
>
> > The second form give it a different name format. Then in the action that
> > recieves the post:
>
> > if ($request->isMethod('post'))
> > {
> >   if ($request->hasParameter('form1')) //NOTE: without the [%s] portion
> >   {
> >     $form1 = new Form1();
> >     $form1->bind($request->getParameter('form1'));
> >     //All the other code here to process form1
> >   }
> >   else if ($request->hasParameter('form2'))
> >   {
> >     $form2 = new Form2();
> >     $form2->bind($request->getParameter('form2'));
> >     //All the other code here to process form2
> >   }
> > }
>
> > Hope that helps :)
>
> > On Wed, Oct 13, 2010 at 8:37 AM, Parijat Kalia 
> > wrote:
>
> >> Hi everyone,
>
> >> I have a page with a form  [?], and this page actually has 2 operations
> >> possible in it. So essentially multiple buttons are required, submit button
> >> 1 carries out function 1 of the form, submit button 2 carries out some 
> >> other
> >> task. So essentially I think the answer is 2 forms, the way I think this 
> >> can
> >> be made possible is that each button has an onsubmit javascript that causes
> >> form.submit that causes that particular form to be posted. But how do I
> >> retrieve this information in the actions view It is easy to tell in the
> >> template what form is being posted. But in the action, I am not sure how I
> >> can go about differentiating.
>
> >> Any clues fellow human beings?
>
> >> Regards,
>
> >> Parijat
>
> >> --
> >> 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 group, send email to symfony-users@googlegroups.com
> >> To unsubscribe from this group, send email to
> >> symfony-users+unsubscr...@googlegroups.com >>  legroups.com>
> >> For more options, visit this group at
> >>http://groups.google.com/group/symfony-users?hl=en
>
> > --
> > Gareth McCumskey
> >http://garethmccumskey.blogspot.com
> > twitter: @garethmcc
>
> > --
> > 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 group, send email to symfony-users@googlegroups.com
> > To unsubscribe from this group, send email to
> > symfony-users+unsubscr...@googlegroups.com > legroups.com>
> > For more options, visit this group at
> >http://groups.google.com/group/symfony-users?hl=en
>
>
>
>  328.png
> < 1 KBAnzeigenHerunterladen

-- 
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 group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


[symfony-users] Re: Symfony2 UnitTest error in Sandbox app

2010-10-14 Thread gordonslondon
Hi,

for this error you have to specify the configuration file.

Normally you have a phpunit.xml or phpunit.xml.dist or something like
this.
Do this: phpunit --configuration=phpunit.xml.

For me it's work, hope for you.

-- 
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 group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


[symfony-users] Looking for free hosting with ssh access for symfony project

2010-10-14 Thread JoJo
Hello guys,


I developed a site web by symfony and I want to deploy it to a production
environment (not for commercial purpose).

As it is a simple site web, I look for a free hosting with ssh access but I
found nothing (Although they said free but in fact always should be paying).

I would like to know if someone knows any free host:

Espace about 100 Mo
MySQL
PHP
SSH

Many Many thanks.

Regards,

JoJo

-- 
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 group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


Re: [symfony-users] Looking for free hosting with ssh access for symfony project

2010-10-14 Thread Gareth McCumskey
Most "free" providers only give you basic file upload access (not SSH) and
will automatically insert advertising as well. They need to make money
somehow.

Cheap hosting though is very widely available and a lot of cheap hosting
providers will even give you ssh access for no extra cost on request.

On Thu, Oct 14, 2010 at 2:14 PM, JoJo  wrote:

> Hello guys,
>
>
> I developed a site web by symfony and I want to deploy it to a production
> environment (not for commercial purpose).
>
> As it is a simple site web, I look for a free hosting with ssh access but I
> found nothing (Although they said free but in fact always should be paying).
>
> I would like to know if someone knows any free host:
>
> Espace about 100 Mo
> MySQL
> PHP
> SSH
>
> Many Many thanks.
>
> Regards,
>
> JoJo
>
>
>
>
>
>  --
> 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 group, send email to symfony-users@googlegroups.com
> To unsubscribe from this group, send email to
> symfony-users+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/symfony-users?hl=en
>



-- 
Gareth McCumskey
http://garethmccumskey.blogspot.com
twitter: @garethmcc

-- 
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 group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


Re: [symfony-users] Looking for free hosting with ssh access for symfony project

2010-10-14 Thread JoJo
Hi Gareth,


Thanks for your reply.

I agree with you, with the 'free' hosting, there are lots of constraints.

As for the cheap hosting, do you know any good providers?

Thanks and Regards,


JoJo

2010/10/14 Gareth McCumskey 

> Most "free" providers only give you basic file upload access (not SSH) and
> will automatically insert advertising as well. They need to make money
> somehow.
>
> Cheap hosting though is very widely available and a lot of cheap hosting
> providers will even give you ssh access for no extra cost on request.
>
> On Thu, Oct 14, 2010 at 2:14 PM, JoJo  wrote:
>
>> Hello guys,
>>
>>
>> I developed a site web by symfony and I want to deploy it to a production
>> environment (not for commercial purpose).
>>
>> As it is a simple site web, I look for a free hosting with ssh access but
>> I found nothing (Although they said free but in fact always should be 
>> paying).
>>
>> I would like to know if someone knows any free host:
>>
>> Espace about 100 Mo
>> MySQL
>> PHP
>> SSH
>>
>> Many Many thanks.
>>
>> Regards,
>>
>> JoJo
>>
>>
>>
>>
>>
>>  --
>> 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 group, send email to symfony-users@googlegroups.com
>> To unsubscribe from this group, send email to
>> symfony-users+unsubscr...@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/symfony-users?hl=en
>>
>
>
>
> --
> Gareth McCumskey
> http://garethmccumskey.blogspot.com
> twitter: @garethmcc
>
> --
> 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 group, send email to symfony-users@googlegroups.com
> To unsubscribe from this group, send email to
> symfony-users+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/symfony-users?hl=en
>

-- 
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 group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


[symfony-users] autoloading

2010-10-14 Thread KrosseKrabbe
Hi,

i tried to reproduce the form example from the docs:

$form = new Form('customer', $customer, $this->container-
>getValidatorService());
$form->add(new TextField('name'));
$form->add(new IntegerField('age'));

The classes are found if i add the "use" instructions, but further
used classes (like NumberFormatter, which is not explicitly used by
me) are not getting found:

use Symfony\Component\Form\Form;
use Symfony\Component\Form\TextField;
use Symfony\Component\Form\IntegerField;

Exception:

Fatal error: Class 'NumberFormatter' not found in /var/www/vhost/
sandbox.local/src/vendor/symfony/src/Symfony/Component/Form/
IntegerField.php on line 39

autoload.php:

$loader->registerNamespaces(array(
'Symfony'=> $vendorDir.'/symfony/src',
...

Any advices? :)

Thanks

-- 
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 group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


[symfony-users] Re: I18n not works, extract delete previous translations

2010-10-14 Thread Jaime
Hi,

thanks for the answer.
The database translation works well, no problems with that.

yes, when i run 'php symfony i18n:extract --auto-save frontend en' not
appends changes to xml file, delete de previous translations:
An example

First extract returns
   18 new
   0 old

Second returns
  0 new
  0 old

Then i write some translations on the xml file then i run again
extract and returns
  18 new
  0 old
And delete the translations i made.

I dont know what i do wrong

On 14 oct, 09:55, martin_bg  wrote:
> Have you adjusted the database schema file (for the translations to
> work)? (config/doctrine/schema.yml for doctrine)
>
> And do you always do `php symfony i18n:extract --auto-save frontend
> en` (in order to just append the changes to xml files)?
>
> On Oct 13, 3:55 pm, Jaime  wrote:
>
> > Hi,
>
> > I'm developing an application with symfony 1.4, and it needs to be
> > translated in three languages. But the translations doen't works.
>
> > I set frontend/config/settings.yml
>
> > all:
> >   .settings.
> >     # I18n activado
> >     i18n: true
>
> >     # cultura predeterminada
> >     default_culture: es
>
> >     # caracteres a utf-8
> >     charset: utf-8
>
> >     standard_helpers: [Partial, Cache, I18N]
>
> > On the frontend layout:
>
> >  
>
> > And generate the xml files with symfony i18n:extract frontend en --
> > auto-save
> > But the translation not works, and every time i change something in te
> > generated xml, and run again i18n:extract, the translations on
> >  tag are deleted.
>
> > Any reason?

-- 
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 group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


[symfony-users] Re: I18n not works, extract delete previous translations

2010-10-14 Thread Jaime
Hi,

yes, I use symfony cc every time i change somthing in te xml or the
settings.yml file

And I use de sfDoctrineCultureFlagsPlugin with sfDoctrineRecord with
I18n behavoir to change the culture by :sf_culture parameter on
routing.yml
Looking at the _dev config, sf_culture and variable culture of User
Object changes correctly, but the translation of __() doesn't changes.


On 14 oct, 11:14, Jérémie  wrote:
> Did you clear the cache?
> And do you change the culture somewhere in the application?
>
> > On Oct 13, 3:55 pm, Jaime  wrote:
> > > Hi,
>
> > > I'm developing an application with symfony 1.4, and it needs to be
> > > translated in three languages. But the translations doen't works.
>
> > > I set frontend/config/settings.yml
>
> > > all:
> > >   .settings.
> > >     # I18n activado
> > >     i18n: true
>
> > >     # cultura predeterminada
> > >     default_culture: es
>
> > >     # caracteres a utf-8
> > >     charset: utf-8
>
> > >     standard_helpers: [Partial, Cache, I18N]
>
> > > On the frontend layout:
>
> > >  
>
> > > And generate the xml files with symfony i18n:extract frontend en --
> > > auto-save
> > > But the translation not works, and every time i change something in te
> > > generated xml, and run again i18n:extract, the translations on
> > >  tag are deleted.
>
> > > Any reason?

-- 
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 group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


[symfony-users] Re: Problem with fixtures and nested set behaviour schema

2010-10-14 Thread Benjamin
Hello,

On 14 Okt., 11:37, Sela Yair  wrote:
> i would assume it's the database relations, do you use the same database on
> windows and ubuntu?

The Webserver environments are the same on both machines:
Apache 2.2.14 + PHP 5.3.1 + MySQL 5.1.41

And sorry for the mistake in the fixture example. I cut the long
variable names in my example for a better overview.

Could this be a bug of symfony? Should I report it to the bug database
on symfony-project.org? I already found a similiar unreviewed bug
report here:
http://trac.symfony-project.org/ticket/8707

-- 
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 group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


[symfony-users] Re: autoloading

2010-10-14 Thread KrosseKrabbe
Sorry, my first message has been chopped. Btw, i should mention i'm
talking about Symfony 2 :)

The issue is, that even if i add the "use"-instructions for the
classes i'm explicitly using (Form, TextField, IntegerField), further
used classes will be also not found.
In the example code the next class which is not getting found is
"NumberFormatter", required by IntegerField:

Fatal error: Class 'NumberFormatter' not found in /var/www/vhost/
sandbox.local/src/vendor/symfony/src/Symfony/Component/Form/
IntegerField.php

The namespace "Symfony" is registered in autoload.php
registerNamespaces():

$loader = new UniversalClassLoader();
$loader->registerNamespaces(array(
'Symfony'=> $vendorDir.'/symfony/src',
...

Any hints what else to do to set up autoloading correctly? :)

Thanks

-- 
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 group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


Re: [symfony-users] Looking for free hosting with ssh access for symfony project

2010-10-14 Thread Macvek
You should look for university projects where they give free accounts
for testing.

But I've never heard of the professional hosting company with free ssh
access. There are many security issues with shell access and
administrators don't give such a service for free.

AFTER GOOGLE SEARCH:

I've found a few sites which offer ssh access, but never tested.
http://shells.red-pill.eu/
http://www.elitter.net/ -> it look serious, Your account is enabled
after administrator approveal.

Regards,
Maciej Aleksandrowicz

2010/10/14 JoJo :
> Hello guys,
>
>
> I developed a site web by symfony and I want to deploy it to a production
> environment (not for commercial purpose).
>
> As it is a simple site web, I look for a free hosting with ssh access but I
> found nothing (Although they said free but in fact always should be paying
> ).
>
> I would like to know if someone knows any free host:
>
> Espace about 100 Mo
> MySQL
> PHP
> SSH
>
> Many Many thanks.
>
> Regards,
>
> JoJo
>
>
>
>
>
> --
> 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 group, send email to symfony-users@googlegroups.com
> To unsubscribe from this group, send email to
> symfony-users+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/symfony-users?hl=en
>

-- 
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 group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


Re: [symfony-users] Looking for free hosting with ssh access for symfony project

2010-10-14 Thread Jessé Alves Galdino

Try this one: http://www.freewebhostingarea.com/

On 14-10-2010 10:34, JoJo wrote:

Hi Gareth,


Thanks for your reply.

I agree with you, with the 'free' hosting, there are lots of constraints.

As for the cheap hosting, do you know any good providers?

Thanks and Regards,


JoJo

2010/10/14 Gareth McCumskey >


Most "free" providers only give you basic file upload access (not
SSH) and will automatically insert advertising as well. They need
to make money somehow.

Cheap hosting though is very widely available and a lot of cheap
hosting providers will even give you ssh access for no extra cost
on request.

On Thu, Oct 14, 2010 at 2:14 PM, JoJo mailto:jojoyangd...@gmail.com>> wrote:

Hello guys,


I developed a site web by symfony and I want to deploy it to a
production environment (not for commercial purpose).

As it is a simple site web, I look for a free hosting with ssh
access but I found nothing (Although they said free but in
fact always should be paying ).

I would like to know if someone knows any free host:

Espace about 100 Mo
MySQL
PHP
SSH

Many Many thanks.

Regards,

JoJo





-- 
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 group, send email to
symfony-users@googlegroups.com

To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com

For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en




-- 
Gareth McCumskey

http://garethmccumskey.blogspot.com
twitter: @garethmcc
-- 
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 group, send email to
symfony-users@googlegroups.com 
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com

For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


--
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 group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en



--

Jessé Alves Galdino
Desenvolvedor Web

--
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 group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


Re: [symfony-users] Re: I18n not works, extract delete previous translations

2010-10-14 Thread Jérémie
Check you .xml file, I had problems 2 days ago because of bad tags
(Blablabl/).

Maybe it's something like this?

Could you post it? Or the beginning of it, if it's too big :)

Jérémie

Le jeudi 14 octobre 2010 à 02:39 -0700, Jaime a écrit :
> Hi,
> 
> yes, I use symfony cc every time i change somthing in te xml or the
> settings.yml file
> 
> And I use de sfDoctrineCultureFlagsPlugin with sfDoctrineRecord with
> I18n behavoir to change the culture by :sf_culture parameter on
> routing.yml
> Looking at the _dev config, sf_culture and variable culture of User
> Object changes correctly, but the translation of __() doesn't changes.
> 
> 
> On 14 oct, 11:14, Jérémie  wrote:
> > Did you clear the cache?
> > And do you change the culture somewhere in the application?
> >
> > > On Oct 13, 3:55 pm, Jaime  wrote:
> > > > Hi,
> >
> > > > I'm developing an application with symfony 1.4, and it needs to be
> > > > translated in three languages. But the translations doen't works.
> >
> > > > I set frontend/config/settings.yml
> >
> > > > all:
> > > >   .settings.
> > > > # I18n activado
> > > > i18n: true
> >
> > > > # cultura predeterminada
> > > > default_culture: es
> >
> > > > # caracteres a utf-8
> > > > charset: utf-8
> >
> > > > standard_helpers: [Partial, Cache, I18N]
> >
> > > > On the frontend layout:
> >
> > > >  
> >
> > > > And generate the xml files with symfony i18n:extract frontend en --
> > > > auto-save
> > > > But the translation not works, and every time i change something in te
> > > > generated xml, and run again i18n:extract, the translations on
> > > >  tag are deleted.
> >
> > > > Any reason?
> 


-- 
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 group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


[symfony-users] Re: I18n not works, extract delete previous translations

2010-10-14 Thread Jaime
i can't believe i don't see it...

Thanks jérémie!

On 14 oct, 16:06, Jérémie  wrote:
> Check you .xml file, I had problems 2 days ago because of bad tags
> (Blablabl/).
>
> Maybe it's something like this?
>
> Could you post it? Or the beginning of it, if it's too big :)
>
> Jérémie
>
> Le jeudi 14 octobre 2010 à 02:39 -0700, Jaime a écrit :
>
> > Hi,
>
> > yes, I use symfony cc every time i change somthing in te xml or the
> > settings.yml file
>
> > And I use de sfDoctrineCultureFlagsPlugin with sfDoctrineRecord with
> > I18n behavoir to change the culture by :sf_culture parameter on
> > routing.yml
> > Looking at the _dev config, sf_culture and variable culture of User
> > Object changes correctly, but the translation of __() doesn't changes.
>
> > On 14 oct, 11:14, Jérémie  wrote:
> > > Did you clear the cache?
> > > And do you change the culture somewhere in the application?
>
> > > > On Oct 13, 3:55 pm, Jaime  wrote:
> > > > > Hi,
>
> > > > > I'm developing an application with symfony 1.4, and it needs to be
> > > > > translated in three languages. But the translations doen't works.
>
> > > > > I set frontend/config/settings.yml
>
> > > > > all:
> > > > >   .settings.
> > > > >     # I18n activado
> > > > >     i18n: true
>
> > > > >     # cultura predeterminada
> > > > >     default_culture: es
>
> > > > >     # caracteres a utf-8
> > > > >     charset: utf-8
>
> > > > >     standard_helpers: [Partial, Cache, I18N]
>
> > > > > On the frontend layout:
>
> > > > >  
>
> > > > > And generate the xml files with symfony i18n:extract frontend en --
> > > > > auto-save
> > > > > But the translation not works, and every time i change something in te
> > > > > generated xml, and run again i18n:extract, the translations on
> > > > >  tag are deleted.
>
> > > > > Any reason?

-- 
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 group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


[symfony-users] Re: Problem with fixtures and nested set behaviour schema

2010-10-14 Thread Benjamin
Ok, I found the problem. In my first attempt, I forgot the "NestedSet:
true" command in the nested-set part of the fixture. To see what is
going wrong, I commented out another fixture where I refer to the
Mname dataset. But in that fixture I forgot to uncomment also the
class name in the first line of the fixture file.

-- 
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 group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


[symfony-users] Application Configuration

2010-10-14 Thread eliana m.
hello
I need to install different plugins for each application.

The following is the code for the appconfiguration:

enablePlugins(array('sfCmsPlugin',));
}
}

and I get the following error

Fatal error: Class 'sfDoctrineDatabase' not found in C:\wamp\www\cms-
utp\data\bin\UTP\cache\ingeind\dev\config\config_databases.yml.php on
line 6

Have I forgotten any step in this installation?

thanks for your help

-- 
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 group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


Re: [symfony-users] Application Configuration

2010-10-14 Thread khalid
Hi,
ur
yes because you must enabled sfDoctrinePlugin

2010/10/14 eliana m. 

> hello
> I need to install different plugins for each application.
>
> The following is the code for the appconfiguration:
>
> 
> class ingeindConfiguration extends sfApplicationConfiguration
> {
>  public function configure()
>  {
>  }
>
>  public function setup()
>{
>$this->enablePlugins(array('sfCmsPlugin',));
>}
> }
>
> and I get the following error
>
> Fatal error: Class 'sfDoctrineDatabase' not found in C:\wamp\www\cms-
> utp\data\bin\UTP\cache\ingeind\dev\config\config_databases.yml.php on
> line 6
>
> Have I forgotten any step in this installation?
>
> thanks for your help
>
> --
> 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 group, send email to symfony-users@googlegroups.com
> To unsubscribe from this group, send email to
> symfony-users+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/symfony-users?hl=en
>

-- 
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 group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


Re: [symfony-users] Application Configuration

2010-10-14 Thread Eliana Montoya
hi khalid!!!
you are right.. thanks for your help.
Best regards.

-- 
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 group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en