By tansely on Monday, 18 March 2019
Replies 2
Likes 0
Views 1.5K
Votes 0
Hello

After I have upgraded to PHP 7.2. I have 500 errors. After debugging I have noticed that caused by "JEvents - File and Image uploads for Event Descriptions". and it gives :
Refused to apply style from 'https://smartsailing.org/templates/rt_oculus/css/error.css' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.


I have disabled it, but naturally web site looks broken without pictures


PHP Version : 7.2.16
MySQL Version : 5.5.60-MariaDB
Server Information : Linux mail.smartsailing.org 3.10.0-957.5.1.el7.x86_64 #1 SMP Fri Feb 1 14:54:57 UTC 2019 x86_64
Fix jQuery? : Yes
Load JEvents Bootstrap CSS? : No
Max Input Vars ? : 2048
Club code set? : Yes
User Agent : Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36
Joomla : 3.9.4
component_com_jevents : 3.4.50
component_com_jevpeople : 3.0.38
component_com_rsvppro : 3.4.19
component_com_jce : 2.6.7.1
module_mod_jevents_cal : 3.4.50
module_mod_jevents_calendarplus : 3.3.4
module_mod_jevents_custom : 3.4.50
module_mod_jevents_filter : 3.4.50
module_mod_jevents_latest : 3.4.50
module_mod_jevents_legend : 3.4.50
module_mod_jevents_switchview : 3.4.50
module_mod_remoteloader : 1.1.7
layout_JEventsFlatplusLayout : 3.4.13
layout_JEventsIconicLayout : 3.5.6
layout_JEventsMapLayout : 3.4.1
layout_JEventsRuthinLayout : 3.4.6
layout_extplus : 3.1.7
layout_iconic : 3.5.3
plugin_content_jevents : 3.4.50
plugin_content_jevpeople : 3.0.38 (not enabled)
plugin_finder_jevents : 3.4.50 (not enabled)
plugin_installer_jeventsinstaller : 3.4.50 (not enabled)
plugin_jevents_jevcalendar : 3.4.1 (not enabled)
plugin_jevents_jevfiles : 3.7.14 (not enabled)
plugin_jevents_jevpeople : 3.0.38
plugin_jevents_jevrsvppro : 3.4.19
plugin_rsvppro_authorizenet : 3.4.19
plugin_rsvppro_manual : 3.4.19
plugin_rsvppro_paypalipn : 3.4.19 (not enabled)
plugin_search_eventsearch : 3.4.50
plugin_search_jevpeoplesearch : 3.0.38
plugin_system_gwejson : 3.4.50
plugin_system_hika_rsvp_redirect : 3.4.19 (not enabled)
Hello,

Great detective work but that file isn't like that for us. I would suggest updating club addons too if updating the core.

Many thanks
Tony
·
5 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
Here is the solution but it is mistery also:

The stack trace is this: http://screenshot.myjoom.la/83e998a52755

Looking at the source code of /plugins/jevents/jevfiles/jevfiles.php the problem is CLEAR AS DAY!

See: http://screenshot.myjoom.la/20158c3c1d45

See that extra bit at the end of the line starting and ending with a *000000000000256+ ??? That should not be there!

I have manually removed that and - surprise - the site now works with this plugin enabled.
·
5 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post