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

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

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