Hi , thanks alot for your help , this time i m not getting any 500 error but , it show me a blank screen :(
On Jan 13, 12:29 am, Frank He <hexuf...@gmail.com> wrote: > You can add multiple symfony projects in just one account, like what I did > with hostmonster > structure can be like this: > > public_html > --web(all your web assets including index.php) > --symfony-clb(all symfony files, apps, configue...) > > And then in your webroot, modify your controller like this: > > require_once(dirname(__FILE__).DIRECTORY_SEPARATOR.'..'.DIRECTORY_SEPARATOR.'symfony-clb'.DIRECTORY_SEPARATOR.'config'.DIRECTORY_SEPARATOR.'ProjectConfiguration.class.php'); > > for symfony-clb/config/projectconfiguration.class.php, update like this: > > require_once > dirname(__FILE__).DIRECTORY_SEPARATOR.'..'.DIRECTORY_SEPARATOR.'lib'. > DIRECTORY_SEPARATOR.'vendor'.DIRECTORY_SEPARATOR.'symfony'. > DIRECTORY_SEPARATOR.'lib'.DIRECTORY_SEPARATOR.'autoload'. > DIRECTORY_SEPARATOR.'sfCoreAutoload.class.php'; > > sfCoreAutoload::register(); > > class ProjectConfiguration extends sfProjectConfiguration > { > public function setup() > { > // for compatibility / remove and enable only the plugins you want > $this->enableAllPluginsExcept(array('sfDoctrinePlugin', > 'sfCompat10Plugin')); > > $this->setWebDir($this->getRootDir().DIRECTORY_SEPARATOR.'..'.DIRECTORY_SEPARATOR.'web'); > > } > > public function configure() > { > > $this->setWebDir($this->getRootDir().DIRECTORY_SEPARATOR.'..'.DIRECTORY_SEPARATOR.'web'); > > } > > } > > This is what I did, hope it is helpful > > On Tue, Jan 12, 2010 at 2:16 PM, Darren884 <darren...@gmail.com> wrote: > > You should have at least one directory above the public_html. What you > > will have to do is install it there and then set the web directory to > > the public_html. You might come into some problems with opeb_base_dir. > > If that is the case you will need to modify your PHP security > > settings. > > > On Jan 12, 10:59 am, Ali <aalish...@gmail.com> wrote: > > > Hi Symfony users and Developers, > > > i am new in php and > > > symfony development so far symfony has done wel for me , but its > > > really hard for me to get the thing done right on deployment side , > > > its my 10th hour and i am unable to deploy the project on shared > > > hosting. > > > > here are some of the facts about my problem > > > 1 : i am using blue host shared hosting > > > 2 : i want to deploy the project in sub directory the root is > > > public_html , but i want my project to be deployed in public_html/ > > > myproject > > > 3 : i have done most of the development on my ubuntu machine and want > > > this project to be deployed > > > > if any one can share how to get the things done > > > > Best Regards > > > -- > > You received this message because you are subscribed to the Google Groups > > "symfony users" group. > > To post to this group, send email to symfony-us...@googlegroups.com. > > To unsubscribe from this group, send email to > > symfony-users+unsubscr...@googlegroups.com<symfony-users%2bunsubscr...@googlegroups.com> > > . > > For more options, visit this group at > >http://groups.google.com/group/symfony-users?hl=en.
-- You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-us...@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.