Jump to content

Recommended Posts

Hi guys,

 

i m a newbie for symfony framework,

 

i have done the Jobeet Job Demo Project as given in the symfony guide book.

 

i used WAMP Server 2.0i and symfony Framework 1.4, Doctrine ORM

 

now, i want to host this demo project in a domain..

 

i have a free domain from the 0fees.net,

 

my domain address is http://lathifmca.0fees.net/

 

my domain's PHP INFO is http://lathifmca.0fees.net/phpinfo.php

 

i already created the database using cPanel and upload the Project using FTP software..

 

but the project not working in my domain..

 

pls help me to run the project..

 

Its better to list the steps to follow for hosting the symfony web application..

 

pls help me guys..

 

Thanks in Advance Guys..

   

Link to comment
https://forums.phpfreaks.com/topic/197314-symfony-web-application-hosting/
Share on other sites

Dear Guys,

 

I m a newbie to symfony,

 

I have already developed the Symfony Demo Jobeet Job Project, this is really cool..

 

I have developed this project in NetBeans 6.8 IDE,

symfony framework 1.4.1 and

Doctrine ORM.

 

Now I tried to upload this project on my free domain..

 

http://lathifmca.ofees.net/

 

This is the free hosting domain, I upload the files using FTP,

 

and I follow the steps as given in

 

http://trac.symfony-project.org/wiki/InstallingSymfonyOnSharedHostNoSsh

 

Please check my PHP INFO file and symfony prerequisite Configuration File:

 

http://lathifmca.0fees.net/phpinfo.php

http://lathifmca.0fees.net/check_configuration.php

 

Guys, when i try to run the index.php, it shows only the blank page..

 

And i also create the Database and the neccessary tables and its data too..

 

now my problem is, it shows only the blank page, when try to run the index.php, frontend_dev.php or backend_dev.php.

 

Guys, Please help me as soon as possible, This is the demo projec, after this successful launch, we will do the real time projects in symfony.. so please help me about this problem..

 

And guys, pls give the .htaccess file data also,

 

what i need to change this .htaccess ?

 

my .htaccess data is as follows..

 

Options +FollowSymLinks +ExecCGI

<IfModule mod_rewrite.c>
  RewriteEngine On

  # uncomment the following line, if you are having trouble
  # getting no_script_name to work
  #RewriteBase /

  # we skip all files with .something
  #RewriteCond %{REQUEST_URI} \..+$
  #RewriteCond %{REQUEST_URI} !\.html$
  #RewriteRule .* - [L]

  # we check if the .html version is here (caching)
  RewriteRule ^$ index.html [QSA]
  RewriteRule ^([^.]+)$ $1.html [QSA]
  RewriteCond %{REQUEST_FILENAME} !-f

  # no, so we redirect to our front web controller
  RewriteRule ^(.*)$ index.php [QSA,L]
</IfModule>

 

and this is my index.php, I altered as given in that guide,

 

http://trac.symfony-project.org/wiki/InstallingSymfonyOnSharedHostNoSsh

 

<?php
$vhost_root_dir = realpath(dirname(__FILE__).'/..');
$project_dir = $vhost_root_dir.'/projects/DCPLD';
//define('SF_ROOT_DIR',    realpath(dirname(__FILE__).'/..'));
define('SF_ROOT_DIR',    $project_dir);
define('SF_APP',         'frontend');
define('SF_ENVIRONMENT', 'prod'); // for myapp_dev.php 'prod' should be 'dev'
define('SF_DEBUG',       false);  // for myapp_dev.php this should be true

// include path
set_include_path(
  $vhost_root_dir.'/pear_libs'.PATH_SEPARATOR.
  get_include_path()
);

unset($vhost_root_dir, $project_dir);

require_once(SF_ROOT_DIR.DIRECTORY_SEPARATOR.'config'.DIRECTORY_SEPARATOR.'ProjectConfiguration.class.php');
sfContext::getInstance()->getController()->dispatch();
?>

 

Please guide me Guys..  :-[

 

What are the steps i need to follow, and what changes i need to do in .htaccess ?

 

this is my site link : http://lathifmca.0fees.net/

 

Thanks in Advance Guys...  ;D

 

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.