msavard Posted April 3, 2021 Share Posted April 3, 2021 My processwire site was working one day and down the next. In the logs, it's giving the error: 2021-04-01 20:21:21 ? http://achev.ipage.com/library/librarytour/ Fatal Error: Uncaught Error: Call to undefined function ProcessWire\ctype_digit() in /hermes/bosnacweb01/bosnacweb01bc/b2628/ipg.achev/library/wire/core/Modules.php:2480 Stack trace: #0 /hermes/bosnacweb01/bosnacweb01bc/b2628/ipg.achev/library/wire/core/Modules.php(2735): ProcessWire\Modules->getModuleClass('AdminThemeDefau...') #1 /hermes/bosnacweb01/bosnacweb01bc/b2628/ipg.achev/library/wire/core/Modules.php(982): ProcessWire\Modules- >getModuleInfo('AdminThemeDefau...') #2 /hermes/bosnacweb01/bosnacweb01bc/b2628/ipg.achev/library/wire/core/Modules.php(853): ProcessWire\Modules->loadModule('/hermes/bosnacw...', '/hermes/bosnacw...', Array, Array) #3 /hermes/bosnacweb01/bosnacweb01bc/b2628/ipg.achev/library/wire/core/Modules.php(374): ProcessWire\Modules->load('/hermes/bosnacw...') #4 /hermes/bosnacweb01/bosnacweb01bc/b2628/ipg.achev/library/wire/core/ProcessWire.php(509): ProcessWire\Modules->init() #5 /hermes/bosnacweb01/bosnacweb01bc/b2628/ipg.achev/library/wire/core/ProcessWire.php(302): ProcessWire\ProcessWire->load( (line 2480 of /hermes/bosnacweb01/bosnacweb01bc/b2628/ipg.achev/library/wire/core/Modules.php) The server also has a WordPress site on it and the user who manages that may have upgraded PHP right before my processwire site stopped working. Would that have caused this type of error? Any ideas? Link to comment Share on other sites More sharing options...
BitPoet Posted April 3, 2021 Share Posted April 3, 2021 3 hours ago, msavard said: The server also has a WordPress site on it and the user who manages that may have upgraded PHP right before my processwire site stopped working. Would that have caused this type of error? Yes, it looks like the new PHP version is missing the Ctype extension. Either the package needs to be installed or the entry in php.ini needs to be added/enabled. Link to comment Share on other sites More sharing options...
msavard Posted April 3, 2021 Author Share Posted April 3, 2021 Well, dang. I checked that this morning and, after enabling the ctype extension, a sample page I created in php that uses those functions work, but Processwire still doesn't work. In fact, nothing is getting written to the error log now either. I'm assuming there is no trouble running it with PHP 7.4. I tried upgrading the site by copying a new wire directory over but the same problem persists. Without any more entries into the error log I'm not sure what else to try. All I get is this: Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. This site has been up since July with no problems and no changes and then bang, out like a light! Link to comment Share on other sites More sharing options...
msavard Posted April 4, 2021 Author Share Posted April 4, 2021 I never figured out the problem. I ended up just installing Processwire again then restoring everything back to where it was. Hopefully it doesn't happen again. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now