バージョン選択

フォーラム

メニュー

オンライン状況

67 人のユーザが現在オンラインです。 (57 人のユーザが フォーラム を参照しています。)
登録ユーザ: 0
ゲスト: 67
もっと...

サイト内検索

機能要望 > その他 > 【Windows上での開発環境】XAMPPでApacheが落ちます

その他

新規スレッドを追加する

フラット表示 前のトピック | 次のトピック
投稿者 スレッド
ECCUORE
投稿日時: 2010/8/5 15:29
対応状況: −−−
長老
登録日: 2009/10/22
居住地: 東京
投稿: 248
Re: 【Windows上での開発環境】XAMPPでApacheが落ちます
返信ありがとうございます。

getOneの箇所でPEAR::Errorが発生していないようです。
(前述のログが出力されませんでした)
html/require.phpのコメントアウトも事前に行ってみたのですが、結果は同じでした。

管理者TOP画面で落ちている原因を探ってみましたが、画面自体は表示されますので強制終了の場所はわかりませんでした。
原因と思しき箇所としては、data/class/pages/admin/LC_Page_Admin_Home.phpの64行目付近がエラーが発生してるようです。

<エラー発生するケース>

        // DBバージョンの取得
        $objDb = new SC_Helper_DB_Ex();
        $this->db_version = $objDb->sfGetDBVersion();


下記のように変更した場合、エラーが発生しなくなりました。

<エラー発生しないケース>

        // DBバージョンの取得
        $this->db_version = $objQuery->getOne("select version()");


2つのケースを比べると、行ってる事にそう大差ないので
特定のSQLを発行したらエラーとなるようなケースや、特定のメソッドを読んで起こる問題では無く、実装の仕方によるものではないかと思われます。。

エラー発生ケースのみに出力されるエラーログが下記です。handle_errorでSTRICTも出力するようにしたものです。

 [error] [client 127.0.0.1] handle_error Error(2048) \\xampp\\htdocs\\version-2_5-dev\\data\\class\\helper\\SC_Helper_DB.php:57 Non-static method SC_DB_DBFactory_Ex::getInstance() should not be called statically, assuming $this from incompatible context
 [error] [client 127.0.0.1] handle_error Error(2048) \\xampp\\htdocs\\version-2_5-dev\\data\\class\\SC_Query.php:61 Non-static method MDB2::connect() should not be called statically, assuming $this from incompatible context
 [error] [client 127.0.0.1] handle_error Error(2048) \\xampp\\htdocs\\version-2_5-dev\\data\\module\\MDB2.php:436 Non-static method MDB2::factory() should not be called statically, assuming $this from incompatible context
 [error] [client 127.0.0.1] handle_error Error(2048) \\xampp\\htdocs\\version-2_5-dev\\data\\module\\MDB2.php:379 Non-static method MDB2::parseDSN() should not be called statically, assuming $this from incompatible context
 [error] [client 127.0.0.1] handle_error Error(2048) \\xampp\\htdocs\\version-2_5-dev\\data\\module\\MDB2.php:388 Non-static method MDB2::loadClass() should not be called statically, assuming $this from incompatible context
 [error] [client 127.0.0.1] handle_error Error(2048) \\xampp\\htdocs\\version-2_5-dev\\data\\module\\MDB2.php:330 Non-static method MDB2::classExists() should not be called statically, assuming $this from incompatible context
 [error] [client 127.0.0.1] handle_error Error(2048) \\xampp\\htdocs\\version-2_5-dev\\data\\module\\MDB2.php:389 Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context
 [error] [client 127.0.0.1] handle_error Error(2048) \\xampp\\htdocs\\version-2_5-dev\\data\\module\\PEAR.php:269 is_a(): Deprecated. Please use the instanceof operator
 [error] [client 127.0.0.1] handle_error Error(2048) \\xampp\\htdocs\\version-2_5-dev\\data\\module\\MDB2.php:2353 Non-static method MDB2::parseDSN() should not be called statically, assuming $this from incompatible context
 [error] [client 127.0.0.1] handle_error Error(2048) \\xampp\\htdocs\\version-2_5-dev\\data\\module\\MDB2.php:395 Non-static method MDB2::setOptions() should not be called statically, assuming $this from incompatible context
 [error] [client 127.0.0.1] handle_error Error(2048) \\xampp\\htdocs\\version-2_5-dev\\data\\module\\MDB2.php:287 Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context
 [error] [client 127.0.0.1] handle_error Error(2048) \\xampp\\htdocs\\version-2_5-dev\\data\\module\\PEAR.php:269 is_a(): Deprecated. Please use the instanceof operator
 [error] [client 127.0.0.1] handle_error Error(2048) \\xampp\\htdocs\\version-2_5-dev\\data\\module\\MDB2.php:287 Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context
 [error] [client 127.0.0.1] handle_error Error(2048) \\xampp\\htdocs\\version-2_5-dev\\data\\module\\PEAR.php:269 is_a(): Deprecated. Please use the instanceof operator
 [error] [client 127.0.0.1] handle_error Error(2048) \\xampp\\htdocs\\version-2_5-dev\\data\\module\\MDB2.php:396 Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context
 [error] [client 127.0.0.1] handle_error Error(2048) \\xampp\\htdocs\\version-2_5-dev\\data\\module\\PEAR.php:269 is_a(): Deprecated. Please use the instanceof operator
 [error] [client 127.0.0.1] handle_error Error(2048) \\xampp\\htdocs\\version-2_5-dev\\data\\module\\MDB2.php:437 Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context
 [error] [client 127.0.0.1] handle_error Error(2048) \\xampp\\htdocs\\version-2_5-dev\\data\\module\\PEAR.php:269 is_a(): Deprecated. Please use the instanceof operator
 [error] [client 127.0.0.1] handle_error Error(2048) \\xampp\\htdocs\\version-2_5-dev\\data\\module\\PEAR.php:269 is_a(): Deprecated. Please use the instanceof operator
 [error] [client 127.0.0.1] handle_error Error(2048) \\xampp\\htdocs\\version-2_5-dev\\data\\module\\MDB2\\Driver\\mysql.php:563 Non-static method MDB2::areEquals() should not be called statically, assuming $this from incompatible context
 [error] [client 127.0.0.1] handle_error Error(2048) \\xampp\\htdocs\\version-2_5-dev\\data\\module\\PEAR.php:269 is_a(): Deprecated. Please use the instanceof operator
 [error] [client 127.0.0.1] handle_error Error(2048) \\xampp\\htdocs\\version-2_5-dev\\data\\module\\PEAR.php:269 is_a(): Deprecated. Please use the instanceof operator
 [error] [client 127.0.0.1] handle_error Error(2048) \\xampp\\htdocs\\version-2_5-dev\\data\\module\\MDB2.php:442 Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context
 [error] [client 127.0.0.1] handle_error Error(2048) \\xampp\\htdocs\\version-2_5-dev\\data\\module\\PEAR.php:269 is_a(): Deprecated. Please use the instanceof operator
 [error] [client 127.0.0.1] handle_error Error(2048) \\xampp\\htdocs\\version-2_5-dev\\data\\class\\SC_Query.php:80 Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context
 [error] [client 127.0.0.1] handle_error Error(2048) \\xampp\\htdocs\\version-2_5-dev\\data\\module\\MDB2.php:1008 Non-static method MDB2::errorMessage() should not be called statically, assuming $this from incompatible context
 [error] [client 127.0.0.1] handle_error Error(2048) \\xampp\\htdocs\\version-2_5-dev\\data\\module\\MDB2.php:779 Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context
 [error] [client 127.0.0.1] handle_error Error(2048) \\xampp\\htdocs\\version-2_5-dev\\data\\module\\PEAR.php:269 is_a(): Deprecated. Please use the instanceof operator
 [error] [client 127.0.0.1] handle_error Error(2048) \\xampp\\htdocs\\version-2_5-dev\\data\\module\\PEAR.php:856 Non-static method PEAR::getStaticProperty() should not be called statically, assuming $this from incompatible context
 [error] [client 127.0.0.1] handle_error Error(2048) \\xampp\\htdocs\\version-2_5-dev\\data\\class\\SC_Query.php:70 Non-static method SC_DB_DBFactory_Ex::getInstance() should not be called statically, assuming $this from incompatible context
 [error] [client 127.0.0.1] handle_error Error(2048) \\xampp\\htdocs\\version-2_5-dev\\data\\module\\PEAR.php:269 is_a(): Deprecated. Please use the instanceof operator
 [error] [client 127.0.0.1] handle_error Error(2048) \\xampp\\htdocs\\version-2_5-dev\\data\\module\\MDB2\\Driver\\mysql.php:563 Non-static method MDB2::areEquals() should not be called statically, assuming $this from incompatible context
 [error] [client 127.0.0.1] handle_error Error(2048) \\xampp\\htdocs\\version-2_5-dev\\data\\module\\PEAR.php:269 is_a(): Deprecated. Please use the instanceof operator
 [error] [client 127.0.0.1] handle_error Error(2048) \\xampp\\htdocs\\version-2_5-dev\\data\\module\\PEAR.php:269 is_a(): Deprecated. Please use the instanceof operator
 [error] [client 127.0.0.1] handle_error Error(2048) \\xampp\\htdocs\\version-2_5-dev\\data\\module\\MDB2.php:1911 Non-static method MDB2::classExists() should not be called statically, assuming $this from incompatible context
 [error] [client 127.0.0.1] handle_error Error(2048) \\xampp\\htdocs\\version-2_5-dev\\data\\module\\MDB2.php:1918 Non-static method MDB2::loadClass() should not be called statically, assuming $this from incompatible context
 [error] [client 127.0.0.1] handle_error Error(2048) \\xampp\\htdocs\\version-2_5-dev\\data\\module\\MDB2.php:330 Non-static method MDB2::classExists() should not be called statically, assuming $this from incompatible context
 [error] [client 127.0.0.1] handle_error Error(2048) \\xampp\\htdocs\\version-2_5-dev\\data\\module\\PEAR.php:269 is_a(): Deprecated. Please use the instanceof operator
 [error] [client 127.0.0.1] handle_error Error(2048) \\xampp\\htdocs\\version-2_5-dev\\data\\module\\MDB2.php:1937 Non-static method MDB2::classExists() should not be called statically, assuming $this from incompatible context
 [error] [client 127.0.0.1] handle_error Error(2048) \\xampp\\htdocs\\version-2_5-dev\\data\\module\\PEAR.php:269 is_a(): Deprecated. Please use the instanceof operator


----------------
EC CUORE 株式会社クオーレ
カスタマイズ御相談下さい。

フラット表示 前のトピック | 次のトピック


題名 投稿者 日時
   【Windows上での開発環境】XAMPPでApacheが落ちます ECCUORE 2010/8/5 12:48
     Re: 【Windows上での開発環境】XAMPPでApacheが落ちます ECCUORE 2010/8/5 13:10
       Re: 【Windows上での開発環境】XAMPPでApacheが落ちます nanasess 2010/8/5 14:18
         Re: 【Windows上での開発環境】XAMPPでApacheが落ちます nanasess 2010/8/5 14:41
       » Re: 【Windows上での開発環境】XAMPPでApacheが落ちます ECCUORE 2010/8/5 15:29
           Re: 【Windows上での開発環境】XAMPPでApacheが落ちます nanasess 2010/8/6 15:31
             Re: 【Windows上での開発環境】XAMPPでApacheが落ちます seasoft 2010/8/8 14:01
             Re: 【Windows上での開発環境】XAMPPでApacheが落ちます ECCUORE 2010/8/9 11:29
               Re: 【Windows上での開発環境】XAMPPでApacheが落ちます nanasess 2010/8/9 13:34
               Re: 【Windows上での開発環境】XAMPPでApacheが落ちます nanasess 2010/8/9 17:26
                 Re: 【Windows上での開発環境】XAMPPでApacheが落ちます ECCUORE 2010/8/10 11:02
                   Re: 【Windows上での開発環境】XAMPPでApacheが落ちます nanasess 2010/8/10 16:49
                     Re: 【Windows上での開発環境】XAMPPでApacheが落ちます nanasess 2010/8/12 19:58

 



ログイン


EC-CUBE公式 Amazon Payプラグイン

統計情報

総メンバー数は88,997名です
総投稿数は110,020件です

投稿数ランキング

1
seasoft
7367
2
468
3217
3
AMUAMU
2712
4
nanasess
2314
5
umebius
2085
6
yuh
1819
7
h_tanaka
1646
8
red
1570
9
mcontact
1296
10
tsuji
958
11
fukap
907
12
shutta
835
13
tao_s
799
14 ramrun 789
15 karin 689
16 sumida 641
17
homan
633
18 DELIGHT 572
19
patapata
502
20
flealog
485


ネットショップの壺

EC-CUBEインテグレートパートナー

Copyright© EC-CUBE CO.,LTD. All Rights Reserved.