CMS MADE SIMPLE FORGE

TinyMCE

 

[#11863] Warnings using php 7.2

avatar
Created By: Kim Birkeland Skorgenes (master3395)
Date Submitted: Thu Jul 19 10:53:57 -0400 2018

Assigned To: Mathieu Muths (airelibre) (airelibre)
Version: 3.2-beta6
CMSMS Version: 2.2.10
Severity: Minor
Resolution: Invalid
State: Closed
Summary:
Warnings using php 7.2
Detailed Description:
Warning: include(../lang/en.php): failed to open stream: No such file or
directory in
/home/username/public_html/cmstest/modules/TinyMCE/responsive_filemanager/filemanager/include/utils.php
on line 88

Warning: include(../lang/en.php): failed to open stream: No such file or
directory in
/home/username/public_html/cmstest/modules/TinyMCE/responsive_filemanager/filemanager/include/utils.php
on line 88

Warning: include(): Failed opening '../lang/en.php' for inclusion
(include_path='.:/opt/alt/php72/usr/share/pear') in
/home/username/public_html/cmstest/modules/TinyMCE/responsive_filemanager/filemanager/include/utils.php
on line 88


History

Comments
avatar
Date: 2019-09-03 06:19
Posted By: Mathieu Muths (airelibre) (airelibre)

Please test TinyMCE 3.3, should work in php 7.0 > 7.3
      
avatar
Date: 2019-09-03 15:03
Posted By: Kim Birkeland Skorgenes (master3395)

Error on installing 3.3


Call to undefined function CMSMS\Database\split()

A problem occurred communicating with the module server

ERROR: Call to undefined function CMSMS\Database\split() at
/home/username/public_html/cmstest5/lib/classes/Database/class.DataDictionary.php::Call
to undefined function CMSMS\Database\split()

Cannot load module TinyMCE in a regular request,it needs an upgrade at
/home/username/public_html/cmstest5/lib/classes/class.moduleoperations.inc.php::438
      
avatar
Date: 2019-09-04 02:36
Posted By: Mathieu Muths (airelibre) (airelibre)

This should have been solved with CMSMS 2.2.11 which is the minimum version for
TinyMCE 3.3

Can you please check the line 506 of the file :
/home/username/public_html/cmstest5/lib/classes/Database/class.DataDictionary.php

And see it this one is using split() or preg_split() (this one should be used in
cmsms 2.2.11)
      
avatar
Date: 2019-09-04 10:44
Posted By: Kim Birkeland Skorgenes (master3395)

On line 506, this is the output (cmsms 2.2.11)

list(,$column_def) = split("[\t ]+",$first,2);
      
avatar
Date: 2019-09-04 10:49
Posted By: Mathieu Muths (airelibre) (airelibre)

Strange as the 2.2.11 file has that line:
list(,$column_def) = preg_split("/[\t ]+/",$first,2);

Can you refresh you CMSMS install?
      
avatar
Date: 2019-09-04 14:58
Posted By: Kim Birkeland Skorgenes (master3395)

I had to uninstall version 2.3-beta6, in order to upgrade to 3.3.
      
avatar
Date: 2019-09-04 14:59
Posted By: Kim Birkeland Skorgenes (master3395)

Everything works after reinstalling the module.
      
avatar
Date: 2019-09-04 15:47
Posted By: Mathieu Muths (airelibre) (airelibre)

Great - Something may have gone wrong somewhere during your CMSMS upgrade
      
Updates

Updated: 2019-09-04 15:47
resolution_id: 7 => 9

Updated: 2019-09-04 14:59
resolution_id: 10 => 7

Updated: 2019-09-04 14:59
state: Open => Closed

Updated: 2019-09-04 14:58
description: Warning: include(../lang/en.php): failed to open stream: No such file or directory in /home/u889915015/public_html/cmstest/modules/TinyMCE/responsive_filemanager/filemanager/include/utils.php on line 88 Warning: include(../lang/en.php): failed to open => Warning: include(../lang/en.php): failed to open stream: No such file or directory in /home/username/public_html/cmstest/modules/TinyMCE/responsive_filemanager/filemanager/include/utils.php on line 88 Warning: include(../lang/en.php): failed to open st
cmsms_version_id: 31369 => 31482
assigned_to_id: 100 => 13536

Updated: 2019-09-03 06:19
resolution_id: => 10