Hi, thanks all,

On 02/24/2010 09:33 PM, Alexandru-Emil Lupu wrote:
I could suggest you to comment out the security things in your _dev file and try see what that file sais ...
You might get the answer there ..


This is my frontend_dev.php file. I don't see any "security thing" commented:

<?php

// this check prevents access to debug front controllers that are deployed by accident to production servers.
// feel free to remove this, extend it or make something more sophisticated.
//if (!in_array(@$_SERVER['REMOTE_ADDR'], array('127.0.0.1', '::1')))
//{
// die('You are not allowed to access this file. Check '.basename(__FILE__).' for more information.');
//}

require_once(dirname(__FILE__).'/../config/ProjectConfiguration.class.php');

$configuration = ProjectConfiguration::getApplicationConfiguration('frontend', 'dev', true);
sfContext::createInstance($configuration)->dispatch();


if still can't see a bit, then check your projectConfiguration file and see if the "autoloader" is loaded via an absolute path or not.

And this is my ProjectConfiguration.class.php file (i have tried with both (commented and uncommented one) sfCoreAutoload path):

<?php

# FROZEN_SF_LIB_DIR: /opt/lampp/htdocs/rs/lib/vendor/symfony/lib

//require_once dirname(__FILE__).'/../lib/symfony/autoload/sfCoreAutoload.class.php'; require_once dirname(__FILE__).'/../lib/vendor/symfony/lib/autoload/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('sfPropelPlugin', 'sfCompat10Plugin'));
  }
}


A motive of why you can't see your app might be the permissions on log & cache folders. butt mostly the _dev would give you the answer


The permissions in both folders are 777.


Javi

--
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

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

Reply via email to