Search the Community
Showing results for tags 'admin login'.
Hello, 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. Thank you! Ian
Hey, so now my first PW site is ready to go to the production server, but something's not working. I have set up a new database, dumped my local database and imported it. I then copied all files to the production server, changed the db settings in the config file, made site/assets writable and emptied site/cache. The .htaccess file is in the root folder. The site is running, but: I have a $session->redirect($page->children->first()->url); in the home template, which is not working (displays a 404 error). And, even worse, I can't login to the admin page. I assume that this is somehow connected to a session error... but I can't figure out where to look. I did a fresh install of PW on the same machine and all was good, so it must be an issue related to the transfer. Any hints are welcome... thanks.