I'm moving a couple of websites from 1.12.1 to 2.2.8 to make them PHP7 ready, because my hoster is moving to PHP7.1 shortly. Two websites are fine now, one however gets blank after moving to PHP7.1. The error-log shows this:
Code: Select all
[Fri Oct 12 00:04:01.056851 2018] [php7:emerg] [pid 4737] [client 2a02:a446:7c20:1:59e6:41c0:f79b:e0a:32802] PHP Parse error: syntax error, unexpected end of file in /home/public/sites/www.mywebsite.nl/lib/classes/class.usertagoperations.inc.php(305) : eval()'d code on line 40.
I have cleared the cache, through the CMS as well as by emptying the tmp/cache and tmp/templates_c directories. That does not make any change.
Any ideas?
Thanks
Hans
Below is the system info
Code: Select all
----------------------------------------------
Cms Version: 2.2.8
Installed Modules:
AdminSearch: 1.0.4
CGExtensions: 1.61.2
CMSContentManager: 1.1.6
CMSMailer: 6.2.14
CmsJobManager: 0.1.3
DesignManager: 1.1.4
FileManager: 1.6.7
FilePicker: 1.0.3
FormBuilder: 0.8.1.6
MenuManager: 1.50.3
MicroTiny: 2.2.2
ModuleManager: 2.1.4
Navigator: 1.0.9
News: 2.51.4
Search: 1.51.5
ThemeManager: 1.1.8
Config Information:
php_memory_limit:
max_upload_size: 32000000
url_rewriting: mod_rewrite
page_extension:
query_var: page
auto_alias_content: true
locale:
set_names: true
timezone: Europe/Amsterdam
permissive_smarty: false
Php Information:
phpversion: 5.6.37-1+0~20180725093819.2+stretch~1.gbp606419
md5_function: Aan (Waar)
json_function: Aan (Waar)
gd_version: 2
tempnam_function: Aan (Waar)
magic_quotes_runtime: Uit (Onwaar)
E_ALL: 22527
E_STRICT: 0
E_DEPRECATED: 0
test_file_timedifference: Geen tijdsverschillen gevonden
test_db_timedifference: Geen tijdsverschillen gevonden
create_dir_and_file: 1
memory_limit: 128M
max_execution_time: 30
register_globals: Uit (Onwaar)
output_buffering: 4096
disable_functions: pcntl_alarm, pcntl_fork, pcntl_waitpid, pcntl_wait, pcntl_wifexited, pcntl_wifstopped, pcntl_wifsignaled, pcntl_wexitstatus, pcntl_wtermsig, pcntl_wstopsig, pcntl_signal, pcntl_signal_dispatch, pcntl_get_last_error, pcntl_strerror, pcntl_sigprocmask, pcntl_sigwaitinfo, pcntl_sigtimedwait, pcntl_exec, pcntl_getpriority, pcntl_setpriority,
open_basedir:
test_remote_url: Succes
file_uploads: Aan (Waar)
post_max_size: 32M
upload_max_filesize: 32M
session_save_path: /home/public/tmp (0755)
session_use_cookies: Aan (Waar)
xml_function: Aan (Waar)
xmlreader_class: Aan (Waar)
check_ini_set: Aan (Waar)
curl: Aan
Performance Information:
allow_browser_cache: Uit (Onwaar)
browser_cache_expiry: 60
php_opcache: Aan (Waar)
smarty_cache: Uit (Onwaar)
smarty_compilecheck: Uit (Onwaar)
auto_clear_cache_age: Uit (Onwaar)
Server Information:
Server Software: Apache
Server Api: apache2handler
Server Os: Linux 4.9.0-6-amd64 Aan x86_64
Server Db Type: MySQL (mysqli)
Server Db Version: 10.2.12
Server Db Grants: Kan geen geldige "GRAND ALL" permissie vinden. Dit kan problemen opleveren bij het installeren of verwijderen van modules. Of zelfs bij het toevoegen of verwijderen van items, zoals pagina's.
Permission Information:
tmp: /public/sites/www.mywebsite.nl/tmp (0755)
tmp_cache: /public/sites/www.mywebsite.nl/tmp/cache (0755)
templates_c: /public/sites/www.mywebsite.nl/tmp/templates_c (0755)
modules: /public/sites/www.mywebsite.nl/modules (0755)
uploads: /public/sites/www.mywebsite.nl/uploads (0755)
Bestandscreatiemasker (umask): /public/sites/www.mywebsite.nl/tmp/cache (0755)
config_file: 0444
----------------------------------------------