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...