CMSMS 2.2.9.1. - PhP 7.4 -all of a sudden: Error 500 on uploading teaser_image to news entry Topic is solved

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
User avatar
map_1961
Power Poster
Power Poster
Posts: 406
Joined: Fri Apr 20, 2007 7:26 pm
Location: Ruhrstadt

CMSMS 2.2.9.1. - PhP 7.4 -all of a sudden: Error 500 on uploading teaser_image to news entry

Post by map_1961 »

Hi Dev team.

In a CMSMS 2.2.9.1 install (i still have some of this versions running) i get all of a sudden Error 500 on uploading teaser_image to news entry.
Also: no picture upload by file manager ist pssible.

PhP Errore log gives me :
[15-May-2025 17:17:37 Europe/Berlin] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /homepages/16/d184975754/htdocs/papageienpark/modules/LISE/LISE.module.php on line 751

LISE version is 1.3.1. - Uploads folder chmpd uploads folder: 705.

Same web server - similar install - same core and module version - same PhP version: no issue like this.

Any idea what the issue can be??

Thx MAP
User avatar
map_1961
Power Poster
Power Poster
Posts: 406
Joined: Fri Apr 20, 2007 7:26 pm
Location: Ruhrstadt

Re: CMSMS 2.2.9.1. - PhP 7.4 -all of a sudden: Error 500 on uploading teaser_image to news entry

Post by map_1961 »

Current error log:
[16-May-2025 13:32:39 Europe/Berlin] PHP Fatal error: Uncaught LogicException: /homepages/16/d184975754/htdocs/papageienpark2/php.ini is not relative to /homepages/xx/xxxxxxx/htdocs/papageienpark/uploads in /homepages/xx/xxxxxxxxxx/htdocs/papageienpark/modules/FilePicker/lib/class.PathAssistant.php:43
Stack trace:
#0 /homepages/16/d184975754/htdocs/papageienpark/modules/FilePicker/lib/class.PathAssistant.php(71): FilePicker\PathAssistant->to_relative_sub()
#1 /homepages/16/d184975754/htdocs/papageienpark/modules/FilePicker/action.filepicker.php(176): FilePicker\PathAssistant->to_relative()
#2 /homepages/16/d184975754/htdocs/papageienpark/lib/classes/class.CMSModule.php(1403): include('/homepages/16/d...')
#3 /homepages/16/d184975754/htdocs/papageienpark/lib/classes/class.CMSModule.php(1479): CMSModule->DoAction()
#4 /homepages/16/d184975754/htdocs/papageienpark/nimda/moduleinterface.php(106): CMSModule->DoActionBase()
#5 {main}
thrown in /homepages/16/d184975754/htdocs/papageienpark/modules/FilePicker/lib/class.PathAssistant.php on line 43
[16-May-2025 13:32:55 Europe/Berlin] PHP Deprecated: Directive 'allow_url_include' is deprecated in Unknown on line 0
[16-May-2025 13:32:55 Europe/Berlin] PHP Notice: Unknown: file created in the system's temporary directory in Unknown on line 0
[16-May-2025 13:32:57 Europe/Berlin] PHP Deprecated: Directive 'allow_url_include' is deprecated in Unknown on line 0


Thx MAP
User avatar
map_1961
Power Poster
Power Poster
Posts: 406
Joined: Fri Apr 20, 2007 7:26 pm
Location: Ruhrstadt

[solved] CMSMS 2.2.9.1. - PhP 7.4 -all of a sudden: Error 500 on uploading teaser_image to news entry

Post by map_1961 »

[solved] - The issue was caused by a pho.ini that contains a wrong path.
I have no idea why this suddenly caused the issue as the php.ini was present for years.

So when someone has issue like this also check subfolders in uploads directory - in our case it was a referenced php.ini that ponted to a php.ini in another install folder with reference to tmp folders that did not exist any more.

Thx

MAP
Locked

Return to “CMSMS Core”