Today I was playing around with one of my old websites. Specifically with http and https redirection through cPanel as I parked and redirected a new domain on top of the current one.
I was able to see the home page and the website fully working. I noticed that my current domain wasn't redirected properly as I could see the website as either http or https on all pages. I know I could have added a code to htaccess file to achieve that, I just wasn't sure how was the Processwire initially configured and set up. Last time I did any updates was more than 2 years ago.
So I decided to check the processwire admin setup. Tried to log into my admin panel (using my custom admin login url/page) but nothing happened. Blank page. I simply could not access it.
Then all of sudden I received that scary "Internal Server Error" :
" Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request.
Error has been logged. Administrator has been notified."
Now my first instinct was to check the .htaccess file. But no matter what I did (modifying, restoring from backup, deleting) nothing happened.
Then I went to site/config.php file and updated the $config->debug = true; (instead of false) to see the error messages.
Here we go:
" Fatal error: Class 'ProcessWire\InputfieldText' not found in /home/edwbst/public_html/wire/modules/Inputfield/InputfieldPassword/InputfieldPassword.module on line 17
Warning: class_parents(): Class InputfieldPassword does not exist and could not be loaded in /home/edwbst/public_html/wire/core/Functions.php on line 804
Warning: in_array() expects parameter 2 to be array, boolean given in /home/edwbst/public_html/wire/core/Functions.php on line 805
My web host is using the PHP Version 7.0.26, MariaDB 10.1.28 , and I believe the Processwire version used is from September 2015.
I'd appreciate any insights on this error.