Fatal error: Uncaught Error: Call to undefined function ctype_alpha() Fatal error: Uncaught Error: Call to undefined function ctype_alpha()
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Fatal error: Uncaught Error: Call to undefined function ctype_alpha()

Started by bermisch, April 24, 2024, 06:32:46 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

bermisch

Hello,
I just upgraded my coppermine  gallery from 1.5.48 to 1.6.26 . This was necessary after an upgrade of sql to 8.2. So I kept the data tables in the database and did ../update.php after copying the files of 1.6.26 to the previous coppermine web server hierarchy.
There seem to be compatibility since tables were managed by a previous version of he error message :
Fatal error: Uncaught Error: Call to undefined function ctype_alpha() in /var/www/html/magallerie/include/inspekt.php:475 Stack trace: #0 /var/www/html/magallerie/include/inspekt/cage.php(287): Inspekt::isAlpha() #1 /var/www/html/magallerie/thumbnails.php(60): Inspekt_Cage->testAlpha() #2 {main} thrown in /var/www/html/magallerie/include/inspekt.php on line 475
There seem to miss some generic file : is ctype_alpha() a generic function......
Maybe I missed some information on upgrading ?
Thanks for your ideas.
BM

bermisch

Just solved. A research on  "Call to undefined function ctype_alpha()" indicates that  "php-ctype" extension for PHP  is missing. This extension is not installed by default. when installing PHP8.2. Sorry for "Dérangement".  Maybe this can nevertheless be useful to know when using php8.2.
Regards