Re: [symfony-users] Re: Blank page after uploading my project to a hosting provider

2010-02-25 Thread Javier Garcia

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


Re: [symfony-users] Re: Blank page after uploading my project to a hosting provider

2010-02-24 Thread Alexandru-Emil Lupu
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 ..

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

Alecs

On Wed, Feb 24, 2010 at 10:26 PM, Javier Garcia tirengar...@gmail.comwrote:

 So where do you consider could i find that log? Please, tell me a host
 provider (with free hosting ) where you know i can find it.

 Anyway after clearing the cache the error persists...

 Javi

 On Feb 24, 9:21 pm, Gábor Fási maerl...@gmail.com wrote:
  That thread is about another kind of log. You need your site's error log.
 
  On Wed, Feb 24, 2010 at 21:19, Javier Garcia tirengar...@gmail.com
 wrote:
   On 02/24/2010 09:14 PM, Eno wrote:
 
   Did you clear cache?
 
   I would also question why your provider can't have logs...
 
   Ok, just remove the content of the cache folder...Thanks.
 
   This is what i got about the log:
 
  http://byet.net/showthread.php?15957-Is-there-any-log-file-to-check-t.
 ..
 
   Javi
 
   --
   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.comsymfony-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.comsymfony-users%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/symfony-users?hl=en.




-- 
Have a nice day!

Alecs
Certified ScrumMaster

There are no cannibals alive! I have ate the last one yesterday ...
I am on web:  http://www.alecslupu.ro/
I am on twitter: http://twitter.com/alecslupu
I am on linkedIn: http://www.linkedin.com/in/alecslupu
Tel: (+4)0722 621 280

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



Re: [symfony-users] Re: Blank page after uploading my project to a hosting provider

2010-02-24 Thread Eno
On Wed, 24 Feb 2010, Javier Garcia wrote:

 So where do you consider could i find that log? Please, tell me a host
 provider (with free hosting ) where you know i can find it.

Ah, free hosting, that explains it...

k

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



Re: [symfony-users] Re: Blank page after uploading my project to a hosting provider

2010-02-24 Thread Javier Garcia

On 02/24/2010 09:33 PM, Eno wrote:

Ah, free hosting, that explains it...
   


So... could you tell me a hosting provider with a log where i can see 
the errors?


Javi

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



Re: [symfony-users] Re: Blank page after uploading my project to a hosting provider

2010-02-24 Thread Eno
On Wed, 24 Feb 2010, Javier Garcia wrote:

 So... could you tell me a hosting provider with a log where i can see 
 the errors?

Its pretty much a standard feature from many hosting providers.



--


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