logo       

[symfony-users] Re: Freeze Symfony 0.6.3: msg#00818

symfony-users

Subject: [symfony-users] Re: Freeze Symfony 0.6.3

You should upgrade it...

Portuguese:
Cara, a versÃo 0.6 tem mais de 2 anos jÃ!
Se quizer entra em contato comigo ;-)

Sidney G B Ferreira
Desenvolvedor Web



On Tue, Jul 28, 2009 at 22:22, Felipe Luiz Pereira <pereira.univali@xxxxxxxxx> wrote:

Hi,

I'm developing a project with Symfony 0.6.3. I need to freeze this project but this version doesn't support this feature.
I tryed do it manualy:

cp -R /usr/local/php5/lib/php/symfony /var/www/htdocs/project/lib

cp -R /usr/local/php5/lib/php/data/symfony /var/www/htdocs/project/data
cp /usr/local/php5/bin/symfony .

Copying "the freeze version" project to another server, it runs successfully in the browser!

But in command line, running ./symfony cc, I got this error:
"Could not open input file: /usr/local/php5/lib/php/symfony.php"

Searching this path in the project files I founded:

# find . | xargs grep "/usr/local/php5/lib/php"
./lib/symfony/pear.php:$sf_symfony_lib_dir = '/usr/local/php5/lib/php/symfony';
./lib/symfony/pear.php:$sf_symfony_data_dir = '/usr/local/php5/lib/php/data/symfony';
./symfony:Â SYMFONY_HOME="/usr/local/php5/lib/php"

Then I edited them:

# cat ./lib/symfony/pear.php
<?php

$sf_symfony_lib_dir = '/var/www/rgp_freeze/lib/symfony';
$sf_symfony_data_dir = '/var/www/rgp_freeze/data/symfony';
$sf_versionÂÂÂÂÂÂÂÂÂ = '0.6.3';

return 'OK';

And

#cat ./symfony
(...)
SYMFONY_HOME="/var/www/rgp_freeze/lib/symfony"
(...)

Running ./symfony cc again i got this:
# ./symfony cc
Fatal error: Class 'sfConfig' not found in /var/www/rgp_freeze/lib/symfony/symfony.php on line 21

Finally, the project runs perfectly in the browser however i can't run the Symfony command line functions. This project is in development and i need to keep developing it in sandbox.


Any Idea?

Thanks so far.



--
PEREIRA, F.L.
LCA - LaboratÃrio de ComputaÃÃo Aplicada - Coordenador de Projetos
SisNET - Professor de PHP do Curso Superior de Sistemas para Internet
UNIVALI - Universidade do Vale do ItajaÃ




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

<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | Mail Home | sitemap | FAQ | advertise