Yii Framework Forum: Blank Page On Freebsd With Nginx + Php-Fpm - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Blank Page On Freebsd With Nginx + Php-Fpm Rate Topic: -----

#1 User is offline   MadTiago 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 6
  • Joined: 03-November 13

Posted 10 November 2013 - 04:10 AM

Hello,

I'm new to Yii, and I am developing my first app with it.
I have been developing it on my laptop running Win 7 + XAMPP and it works perfectly.

But when I tried to move it to my dedicated server running FreeBSD with nginx + php-fpm it just shows a blank page.
There are no php errors, so I don't know what is causing it.

The remote host has everything to run the app, since it has more php-extensions than it needs (it works with less on my laptop).

And yes, I've uploaded both folders (Yii Core + My App) to the remote host.

Remote files:
/usr/local/www/<project>/yii-1.1.14.f0fee9
/usr/local/www/<project>/public_html/<my app here>


Edit: I also tested it on a shared host running apache+php and it also works :|

Does anyone know what is the problem?
Thanks in advance.

This post has been edited by MadTiago: 10 November 2013 - 04:54 AM

0

#2 User is offline   nineinchnick 

  • Master Member
  • PipPipPipPip
  • Yii
  • Group: Members
  • Posts: 622
  • Joined: 12-September 11
  • Location:Bialystok, Poland

Posted 10 November 2013 - 10:06 AM

First, check the file permissions on the assets and protected/runtime directories.

If there is a blank page there should be a PHP fatal error logged in your http server's error log file.
Don't be a dick.
0

#3 User is offline   MadTiago 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 6
  • Joined: 03-November 13

Posted 12 November 2013 - 04:14 AM

Hey! Thanks for your answer. But it didn't work.
The page doesn't load at all, it just gives me a blank page without any error.
I also checked the logs. :s
0

#4 User is offline   nineinchnick 

  • Master Member
  • PipPipPipPip
  • Yii
  • Group: Members
  • Posts: 622
  • Joined: 12-September 11
  • Location:Bialystok, Poland

Posted 12 November 2013 - 12:28 PM

The last time it happened to me was when I had a file not found error supressed by a @ operator. If you are 100% sure error logging is enabled your last resort is to debug step by step.
Don't be a dick.
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

2 User(s) are reading this topic
0 members, 2 guests, 0 anonymous users