Allright I have a few question about symfony on shared hosting (have been following this topic and came up with a bit of questions)
- What is the project freeze ? Why can't you just upload the env to ftp ? what does the freeze exactly do? - I have setup dev/prod env. on shared hosting without shell. I now program directly via ftp on the shared hosting (not a good idea?) - Somebody knows what the build:propel command does exactly ?? Maybe we can write something around it so that there is better support for shared hosting (like admin panel for generating model, clear cache etc, .. ) Greets, Ward Pablo Godel schreef: > Johannes, > > Safe mode really limits the features of PHP. Many things stop working. > I would strongly recommend to look for a more robust solution, like a > VPS. There are many companies that offer affordable basic VPS which > will solve all your problems. Stop wasting your time with this. > > Regards, > Pablo > > > On Mon, Jan 5, 2009 at 4:00 PM, Johannes Frandsen <j...@imento.dk> wrote: > >> I have tried to freeze my project several times with different >> versions of symfony.... but I have never gotten it to work. >> It always ends of with the script crashing... >> >> >> if i run it with my current version (1.1.6) it crashes with this error: >> >> symfony project:freeze /usr/share/php >> >> ... >> ... >> ... >> >> Warning: >> rename(/var/www/www.site.dev/htdocs/src/data/symfony/web/sf,/var/www/www.site.dev/htdocs/src/demo/sf) >> : No such file or directory in /usr/share/php/symfony/task/ >> sfFilesystem.class.php on line 189 >> >> Call Stack: >> 0.0003 61944 1. {main}() /usr/bin/symfony:0 >> 0.0005 72860 2. include('/usr/share/php/symfony/command/ >> cli.php') /usr/bin/symfony:37 >> 0.0555 3022360 3. sfSymfonyCommandApplication->run() /usr/ >> share/php/symfony/command/cli.php:20 >> 0.0601 3203696 4. sfTask->runFromCLI() /usr/share/php/ >> symfony/command/sfSymfonyCommandApplication.class.php:72 >> 0.0602 3203696 5. sfBaseTask->doRun() /usr/share/php/symfony/ >> task/sfTask.class.php:75 >> 0.0610 3225748 6. sfProjectFreezeTask->execute() /usr/share/ >> php/symfony/task/sfBaseTask.class.php:77 >> 21.6509 3319448 7. sfFilesystem->rename() /usr/share/php/ >> symfony/task/project/sfProjectFreezeTask.class.php:89 >> 21.6514 3319448 8. rename() /usr/share/php/symfony/task/ >> sfFilesystem.class.php:189 >> >> Dump $_SERVER >> Dump $_GET >> Dump $_POST >> Dump $_COOKIE >> Dump $_FILES >> Dump $_ENV >> Dump $_SESSION >> Dump $_REQUEST >> >> >> somewhat expectable unfreeze crashes as well >> >> symfony project:unfreeze >> >> ... >> ... >> ... >> >> Warning: unlink(/var/www/www.site.dev/htdocs/src/demo/sf): No such >> file or directory in /usr/share/php/symfony/task/ >> sfFilesystem.class.php on line 143 >> >> Call Stack: >> 0.0003 61808 1. {main}() /usr/bin/symfony:0 >> 0.0005 72724 2. include('/usr/share/php/symfony/command/ >> cli.php') /usr/bin/symfony:37 >> 0.0544 3022072 3. sfSymfonyCommandApplication->run() /usr/ >> share/php/symfony/command/cli.php:20 >> 0.0592 3202928 4. sfTask->runFromCLI() /usr/share/php/ >> symfony/command/sfSymfonyCommandApplication.class.php:72 >> 0.0592 3202928 5. sfBaseTask->doRun() /usr/share/php/symfony/ >> task/sfTask.class.php:75 >> 0.0600 3225116 6. sfProjectUnfreezeTask->execute() /usr/ >> share/php/symfony/task/sfBaseTask.class.php:77 >> 4.0684 3318816 7. sfFilesystem->remove() /usr/share/php/ >> symfony/task/project/sfProjectUnfreezeTask.class.php:71 >> 4.0687 3319020 8. unlink() /usr/share/php/symfony/task/ >> sfFilesystem.class.php:143 >> >> Dump $_SERVER >> Dump $_GET >> Dump $_POST >> Dump $_COOKIE >> Dump $_FILES >> Dump $_ENV >> Dump $_SESSION >> Dump $_REQUEST >> >> So I wrote ant ant script to do what freeze dos when I publich my site. >> >> which leads us back yo my initial problem..... >> >> Why can't I get my symfony site to run on a shared host with safemode >> enable when I use local files and not pear files. >> >> >> >> >> >> On 05/01/2009, at 21.17, Lee Bolding wrote: >> >> >>> You can freeze your project then upload it. >>> >>> The problem is that you can't build your database from your models, or >>> insert your fixtures without the cli. >>> >>> On 5 Jan 2009, at 20:15, Brandon Olivares wrote: >>> >>> >>>> Hi, >>>> >>>> How could you have dev on shared hosting without shell? It's not >>>> possible. >>>> >>>> I don't even know how you could set up symfony on your domain >>>> without shell. >>>> Usually you either have to create a symbolic link to web from the >>>> document >>>> root, or else modify the vhost to change the document root. You >>>> can't do >>>> either of those on a shared host without shell. >>>> >>>> Brandon >>>> >>>> >>>>> -----Original Message----- >>>>> From: symfony-users@googlegroups.com [mailto:symfony- >>>>> us...@googlegroups.com] On Behalf Of Ward Loockx >>>>> Sent: Monday, January 05, 2009 3:02 PM >>>>> To: symfony-users@googlegroups.com >>>>> Subject: [symfony-users] Re: Symfony on shared host >>>>> >>>>> Isn't there any way to build-propel when having prod/dev env. on >>>>> same >>>>> shared hosting ? >>>>> >>>>> Eno schreef: >>>>> >>>>> On Jan 5, 1:24 pm, Ward Loockx <w...@loockx.be> >>>>> <mailto:w...@loockx.be> wrote: >>>>> >>>>> >>>>> >>>>> I think it must be possible to build:propel on shared >>>>> hosting.... the >>>>> cmd line tool just calls a script I think? And isn't it >>>>> possible to >>>>> execute something over ftp ?? Just guessing but in theory >>>>> I think it's >>>>> possible... >>>>> >>>>> >>>>> >>>>> Actually, you can build-propel and freeze on your dev machine >>>>> before >>>>> uploading to your servers - works fine for me. >>>>> >>>>> >>>>> -- >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>> >>>> >>>> >>> >> >> > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---