Page Blank Solution:
---------------------------------------------------------------------------------------------
1. Open the error report to php.ini and post the message.
How to open an error report: Set error_reporting to E_all, set Display_errors to On
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
2, I put the temp in the folder set 777 will be able to ....
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
3,PHP,MYSQL,HTTPD version Issue
++++++++++++++++++++
HTTPD version:
[Email protected] jitong360temp]# httpd-v
Server version:apache/2.2.15 (Unix)
Server Built:dec 8 2011 18:07:26
++++++++++++++++++++
PHP Version:
[Email protected] jitong360temp]# php-v
PHP warning:php startup:unable to load Dynamic Library '/usr/lib/php/modules/sqlite3.so '-/usr/lib/php/modules/sqlite3 . so:undefined symbol:sqlite3_stmt_readonly in Unknown on line 0
PHP 5.3.14 (CLI) (Built:jun 14 2012 18:25:17)
Copyright (c) 1997-2012 the PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2012 Zend Technologies
With Zend Guard Loader v3.3, Copyright (c) 1998-2010, by Zend Technologies
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Www.it165.net
4, in fact, there is one that may cause the page blank ... is to fill in the account or password to avoid:/@ this keyword! This will cause the database link to fail.
Look data/config.inc.php can see
' Db_config ' = ' mysql://username:[email protected]:3306/databasename ',
He was separated by/@: So if you use the keyword, it will go wrong.
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
5, the original based on the Ecmall 2.2 system, migrating to the latest PHP 5.3.3, the first page and other pages are blank pages, debugging several times, no results. After looking at the log file under its temp/logs/, I found the eccore/model/mysql.php file, reported the time zone error, and adopted the method of adding time zone setting in php.ini.
Specify in php.ini:
Date.timezone = Asia/shanghai
Then, restart the PHP-FPM and solve the problem.
Ecmall page Blank Solution (GO)