I Receive A Blank Screen When I Upload My Web Application To A Domain
Posted 20 December 2013 - 06:22 PM
Posted 21 December 2013 - 09:37 PM
defined('YII_DEBUG') or define('YII_DEBUG', true); error_reporting(-1); ini_set('display_errors', true);
If index.php string isn't rendered then check your server error logs.
And if you think it's .htaccess problem, comment out all the lines in it for a start.
Posted 23 December 2013 - 11:21 PM
In most of times, that means you do not have index file or your index.php has not a correct permission, change your index.php permission to 644 in other hand you should change the permission of all files in your app to 644 and change the permission of all folders to 755
Mr. Saeed Gholizadeh
Senior PHP Developer
BS of IT
Posted 25 December 2013 - 11:49 PM
start with this: put this line into your index.php file (which is located in the root of your application) right in the beginning:
<?php echo 'Hey'; exit;
Reload index.php page in your browser and check what you see.
2. If you see a blank screen, you need to check error logs of your server -- where to look for them depends on your actual environment.
3. If you see 'Hey' rendered, then the problem is with your application.
Put these lines in the beginning of your index.php file instead of echo 'Hey';exit;
<?php defined('YII_DEBUG') or define('YII_DEBUG', true); error_reporting(-1); ini_set('display_errors', true);
According to these lines any error should become visible to you at a browser page.
P.S. If you will have any further questions, please ask here. Somebody else may also be able to help you with other ideas. Furthermore, this discussion may be helpful someone else in the future.
Posted 27 December 2013 - 01:33 PM
Warning: require_once(/var/www/vsftpd/m.qau/test/../yii/framework/yii.php): failed to open stream: No such file or directory in /var/www/vsftpd/m.qau/test/index.php on line 13 Fatal error: require_once(): Failed opening required '/var/www/vsftpd/m.qau/test/../yii/framework/yii.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/vsftpd/m.qau/test/index.php on line 13
Posted 27 December 2013 - 01:50 PM
Application runtime path "/var/www/vsftpd/m.qau/test/protected/runtime" is not valid. Please make sure it is a directory writable by the Web server process.
Posted 27 December 2013 - 03:16 PM
Yii is a PHP framework, it assumes you have minimal LAMP knowledges in order to use it.
If you don't know, you should switch to a simpler framework, do yourself a favor