| Error on symfony freeze when custom web dir name [message #20969] |
Sun, 04 February 2007 17:15  |
qube Messages: 88 Registered: August 2006 Location: Czech republic |
Member |
|
|
Hi,
I have customized web directory name and during symfony freeze command (Symfony 1.0.0rc2), I get following error at the end:
...
>> file+ data/symfony\web\sf\sf_web_debug\js\main.js
>> rename data/symfony/web/sf > web/sf
PHP Warning: rename(): Unable to access web/sf in c:\php51\PEAR\symfony\vendor\pake\pakeFunction.php on line 153
Warning: rename(): Unable to access web/sf in c:\php51\PEAR\symfony\vendor\pake\pakeFunction.php on line 153
>> file+ symfony.php
I tried specifying $sf_root_dir, $sf_web_dir, $sf_upload_dir in config/config.php, but it does not helped.
When I rename customized web directory to standard 'web' name, it works fine.
Can I somehow set web directory name for freeze command? Or is it a bug?
|
|
|
|
|
|
|
| Re: Error on symfony freeze when custom web dir name [message #61206 is a reply to message #52283 ] |
Wed, 17 September 2008 19:47  |
simongl Messages: 20 Registered: July 2008 Location: QC |
Junior Member |
|
|
Freezing a symfony 1.0.11 project, I have the same error ('web' has been renamed to 'public_html') :
PHP Warning: rename(/home/sglessard/CLH/site/data/symfony/web/sf,/home/sglessard/CLH/site/web/sf): No such file or directory in /usr/share/pear/symfony/vendor/pake/pakeFunction.php on line 153
Warning: rename(/home/sglessard/CLH/site/data/symfony/web/sf,/home/sglessard/CLH/site/web/sf): No such file or directory in /usr/share/pear/symfony/vendor/pake/pakeFunction.php on line 153
While this is not a major issue, is there anything new about it?
|
|
|