先日『PHP5.3.28から5.3.3への変更につきまして』という内容で質問させて頂いた者です。
レンタルサーバーの基盤システムバージョンアップに伴い、ショッピングサイトのPHPプログラムの動作確認を行っております。
(セキュリティ上の問題から、PHPのバージョンを現在の5.3.28から、信頼性の高い5.3.3にバージョンダウンする事になりました。)
当方全くの初心者でただいま手探り状態で進めております…。
開発環境として『XAMPP1.7.5』をインストールし、PHPのバージョンを5.3.8から5.3.3に変更しました。
現在の環境は
=======
Apache 2.2.21
MySQL 5.5.15
PHP 5.3.3
OS:WIN7
ブラウザ:IE11でテスト
=======
になっています。
PHPプログラムはCakePHPを利用しておりまして、CakePHPのバージョンの記載は1.2.3.8166です。
※レンタルサーバーのMySQLのバージョンは現在とバージョンUP後も5.1.73なのですがトラブルが続出してしまい、XAMPPの色々なバージョンを試しましたが一番エラーの少ない1.7.5で現在試しております。
データベースを利用しているPHPのページが現在真っ白で何も表示されない状態です。ソースを見ると<body>タグの中身は何も無く、
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv="Content-Type" content="text/html; charset=shift_jis"></HEAD> <BODY></BODY></HTML>となっているだけです。php.iniとmy.iniの文字コード設定はWEBの情報を参考に設定したのですが、charsetが本来ならutf-8にならなければならない所、shift_jisになっているので文字コードの設定がすでにどこかでおかしいのですが…
文字コードが間違っていても文字化けしたページも表示されないのでこれもおかしいのでは?と、行き詰っております…。
※Google Chromeバージョン 46.0.2490.71 mでも試しましたが、こちらはソースには何も表示されない状態です。
大変初歩的な質問ばかりで恐縮なのですが、ご助言頂けると大変助かります。何卒宜しくお願い致します。
下記にエラーログの内容を掲載致します。
apache error.jog=====
[Mon Oct 26 23:30:30 2015] [notice] Digest: done
[Mon Oct 26 23:30:31 2015] [notice] Apache/2.2.21 (Win32) mod_ssl/2.2.21 OpenSSL/1.0.0e PHP/5.3.3 mod_perl/2.0.4 Perl/v5.10.1 configured -- resuming normal operations
[Mon Oct 26 23:30:31 2015] [notice] Server built: Sep 10 2011 11:34:11
[Mon Oct 26 23:30:32 2015] [notice] Parent: Created child process 6500
[Mon Oct 26 23:30:33 2015] [notice] Digest: generating secret for digest authentication ...
[Mon Oct 26 23:30:33 2015] [notice] Digest: done
[Mon Oct 26 23:30:34 2015] [notice] Child 6500: Child process is running
[Mon Oct 26 23:30:34 2015] [notice] Child 6500: Acquired the start mutex.
[Mon Oct 26 23:30:34 2015] [notice] Child 6500: Starting 150 worker threads.
[Mon Oct 26 23:30:34 2015] [notice] Child 6500: Starting thread to listen on port 443.
[Mon Oct 26 23:30:34 2015] [notice] Child 6500: Starting thread to listen on port 443.
[Mon Oct 26 23:30:34 2015] [notice] Child 6500: Starting thread to listen on port 80.
[Mon Oct 26 23:30:34 2015] [notice] Child 6500: Starting thread to listen on port 80.
(本日のエラーログです)
[Tue Oct 27 21:23:14 2015] [warn] pid file C:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Tue Oct 27 21:23:14 2015] [notice] Digest: generating secret for digest authentication ...
[Tue Oct 27 21:23:14 2015] [notice] Digest: done
[Tue Oct 27 21:23:15 2015] [notice] Apache/2.2.21 (Win32) mod_ssl/2.2.21 OpenSSL/1.0.0e PHP/5.3.3 mod_perl/2.0.4 Perl/v5.10.1 configured -- resuming normal operations
[Tue Oct 27 21:23:15 2015] [notice] Server built: Sep 10 2011 11:34:11
[Tue Oct 27 21:23:15 2015] [notice] Parent: Created child process 7164
[Tue Oct 27 21:23:16 2015] [notice] Digest: generating secret for digest authentication ...
[Tue Oct 27 21:23:16 2015] [notice] Digest: done
[Tue Oct 27 21:23:17 2015] [notice] Child 7164: Child process is running
[Tue Oct 27 21:23:17 2015] [notice] Child 7164: Acquired the start mutex.
[Tue Oct 27 21:23:17 2015] [notice] Child 7164: Starting 150 worker threads.
[Tue Oct 27 21:23:17 2015] [notice] Child 7164: Starting thread to listen on port 443.
[Tue Oct 27 21:23:17 2015] [notice] Child 7164: Starting thread to listen on port 443.
[Tue Oct 27 21:23:17 2015] [notice] Child 7164: Starting thread to listen on port 80.
[Tue Oct 27 21:23:17 2015] [notice] Child 7164: Starting thread to listen on port 80.
================
mysql_error.log======
151026 23:30:33 [Note] Plugin 'FEDERATED' is disabled.
151026 23:30:33 InnoDB: The InnoDB memory heap is disabled
151026 23:30:33 InnoDB: Mutexes and rw_locks use Windows interlocked functions
151026 23:30:33 InnoDB: Compressed tables use zlib 1.2.3
151026 23:30:33 InnoDB: Initializing buffer pool, size = 16.0M
151026 23:30:33 InnoDB: Completed initialization of buffer pool
151026 23:30:33 InnoDB: highest supported file format is Barracuda.
151026 23:30:33 InnoDB: Waiting for the background threads to start
151026 23:30:34 InnoDB: 1.1.8 started; log sequence number 1595675
151026 23:30:34 [Note] Event Scheduler: Loaded 0 events
151026 23:30:34 [Note] mysql\bin\mysqld.exe: ready for connections.
Version: '5.5.15' socket: '' port: 3306 MySQL Community Server (GPL)
(本日のエラーログです)
151027 21:36:53 [Note] Plugin 'FEDERATED' is disabled.
151027 21:36:53 InnoDB: The InnoDB memory heap is disabled
151027 21:36:53 InnoDB: Mutexes and rw_locks use Windows interlocked functions
151027 21:36:53 InnoDB: Compressed tables use zlib 1.2.3
151027 21:36:53 InnoDB: Initializing buffer pool, size = 16.0M
151027 21:36:53 InnoDB: Completed initialization of buffer pool
151027 21:36:53 InnoDB: highest supported file format is Barracuda.
151027 21:36:54 InnoDB: Waiting for the background threads to start
151027 21:36:55 InnoDB: 1.1.8 started; log sequence number 1595675
151027 21:36:55 [ERROR] Missing system table mysql.proxies_priv; please run mysql_upgrade to create it
151027 21:36:55 [Note] Event Scheduler: Loaded 0 events
151027 21:36:55 [Note] mysql\bin\mysqld.exe: ready for connections.
Version: '5.5.15' socket: '' port: 3306 MySQL Community Server (GPL)
データベースは再度インポートしなおしてみましたが、やはりページは真っ白のままです…
php_error_jog=============
[27-Oct-2015 13:22:58] PHP Strict Standards: Redefining already defined constructor for class Object in C:\xampp\htdocs\shop\cake\libs\object.php on line 74
[27-Oct-2015 13:22:58] PHP Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\htdocs\shop\cake\libs\inflector.php on line 131
[27-Oct-2015 13:22:58] PHP Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\htdocs\shop\cake\libs\configure.php on line 136
[27-Oct-2015 13:22:58] PHP Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\htdocs\shop\cake\libs\configure.php on line 226
[27-Oct-2015 13:22:58] PHP Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\htdocs\shop\cake\libs\configure.php on line 909
[27-Oct-2015 13:22:58] PHP Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\htdocs\shop\cake\libs\configure.php on line 949
[27-Oct-2015 13:22:58] PHP Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\htdocs\shop\cake\libs\cache.php on line 71
[27-Oct-2015 13:22:58] PHP Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\htdocs\shop\cake\libs\cache.php on line 151
タイムゾーンの設定をしてなかったため時間がおかしいのですが…
上記は先日の質問でご助言頂きました内容と一緒のエラー内容と思います。
初歩的な質問でお手数をお掛けしますが、原因が思い当たる方いらっしゃいましたらご助言いただけると大変助かります。よろしくお願い致します。
回答3件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2015/10/28 00:30
2015/10/28 13:04