さくらインターネット(スタンダード)を使用中、PHPのバージョンが自動的に7.1→7.2になった際、下記のエラーがトップページに表示されるようになりました。
下層ページは正常に表示されていますし、concrete5の操作も正常に動作できます。
(トップページは、編集ボタン等も表示されません。)
------------------------------------------------------------------------------------------------------------------------
予期せぬエラーが発生しました。
Use of undefined constant php - assumed 'php' (this will throw an Error in a future version of PHP)
-----------------------------------------------------------------------------------------------------------------------
ちなみに、サーバー会社へ確認したら7.1には戻せないそうです。
環境は以下になっています。
使用テーマは、「HEY DJ バージョン 2.0.8」
------------------------------------------------------------------------------------------------------------------------
# concrete5 Version
Core Version - 8.4.4
Version Installed - 8.4.4
Database Version - 20180717000000
# concrete5 Packages
ABC Auto Reply forms (1.0.4), Dynamic Images (1.1), Editor Comment (7.0.1), hey_dj (2.0.8), Pure Accordion (0.9.2), Spacer (0.9.3)
# concrete5 Overrides
None
# concrete5 Cache Settings
Block Cache - Off
Overrides Cache - Off
Full Page Caching - Off
Full Page Cache Lifetime - Every 6 hours (default setting).
# Server Software
Apache
# Server API
apache2handler
# PHP Version
7.2.13
# PHP Extensions
apache2handler, apcu, Core, ctype, curl, date, dom, exif, fileinfo, filter, gd, gettext, gmp, hash, iconv, intl, json, libxml, mbstring, mcrypt, mysqli, mysqlnd, openssl, pcre, PDO, pdo_mysql, pdo_sqlite, Phar, posix, Reflection, session, SimpleXML, snmp, soap, SPL, sqlite3, standard, tokenizer, xml, xmlreader, xmlwriter, xsl, Zend OPcache, zip, zlib
# PHP Settings
max_execution_time - 30
log_errors_max_len - 1024
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - -1
max_input_vars - 1000
memory_limit - 128M
post_max_size - 8M
upload_max_filesize - 2M
mysqli.max_links - Unlimited
mysqli.max_persistent - Unlimited
pcre.backtrack_limit - 1000000
pcre.recursion_limit - 100000
session.cache_limiter - no value
session.gc_maxlifetime - 7200
soap.wsdl_cache_limit - 5
opcache.max_accelerated_files - 10000
opcache.max_file_size - 0
opcache.max_wasted_percentage - 5
------------------------------------------------------------------------------------------------------------------------
解決方法を大至急ご教示ください。
Posted on 1月 25, 2019 at 4:05 午後
|