ecmall頁面空白解決方案(轉)

來源:互聯網
上載者:User

標籤:

頁面空白解決方案:
 ---------------------------------------------------------------------------------------------
 
1,到php.ini中開啟錯誤報表,將報錯資訊貼出來
 開啟錯誤報表的方法:將error_reporting 設定為  E_ALL,將display_errors 設定為 On
 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 2,我把temp入面的folder再set 777就可以了....
 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 3,php,mysql,httpd版本問題
 ++++++++++++++++++++
 httpd版本:
 [[email protected] jitong360temp]# httpd -v
 Server version: Apache/2.2.15 (Unix)
 Server built:   Dec  8 2011 18:07:26
 ++++++++++++++++++++
 php版本:
 [[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,其實還有一個可能會造成網頁空白… 就是填寫帳號或密碼的時候 要避免:/@這關鍵詞!否則會導致資料庫連結失敗
 看data/config.inc.php可以看到
 ‘DB_CONFIG’ => ‘mysql://username:[email protected]:3306/databasename’,
 他是以/@:作分隔!所以只要用到關鍵詞就會出錯
 
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 5,將原有基於 ECMall 2.2 的系統,遷徙到最新的 php 5.3.3 時,出現首頁和其它頁面都為空白頁的情況,調試多次,無果。後查看其 temp/logs/ 下的記錄檔,發現是 eccore/model/mysql.php 檔案,報時區錯誤,採用了在 php.ini 中添加時區設定的辦法。
 
在 php.ini 中指定:
 
date.timezone = Asia/Shanghai
 
然後,重啟 php-fpm ,問題解決。

ecmall頁面空白解決方案(轉)

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.