Data at Your Fingertips: Explore Our New Reporting and Statistical Capabilities By Ryan Ashbrook Tuesday at 01:29 PM
eliteone Posted February 24 Share Posted February 24 Hello all in dire need of some assistance. Move my invision board to a new host. The forum seems to be working fine. I am able to log in etc. When I go to log into the admin I get the error below in the console. Any ideas how to fix this? I had posted this here but they suggested I should post here. Link to comment Share on other sites More sharing options...
eliteone Posted February 24 Author Share Posted February 24 Have this in the log (I replace specific name with mysite) [24-Feb-2023 13:22:55 UTC] PHP Fatal error: Uncaught Error: Class "IPS\Http\Url\Friendly" not found in /home/mysite/public_html/mysite/forums/system/Http/Url.php:279 Stack trace: #0 /home/nolfg152/public_html/mysite/forums/system/Request/Request.php(276): IPS\Http\_Url::createFromString() #1 /home/nolfg152/public_html/mysite/forums/system/Log/Log.php(106): IPS\_Request->url() #2 /home/nolfg152/public_html/mysite/forums/init.php(1034): IPS\_Log::log() #3 [internal function]: IPS\IPS::exceptionHandler() #4 {main} thrown in /home/nolfg152/public_html/mysite/forums/system/Http/Url.php on line 279 Link to comment Share on other sites More sharing options...
eliteone Posted February 25 Author Share Posted February 25 Really need some guidance here. Is there a way to reset the admin part? I have verified that all the identical files from the old host are on the new one using the same file path etc. Link to comment Share on other sites More sharing options...
eliteone Posted February 25 Author Share Posted February 25 I ran the compatibility checker while wait for an answer from support. Here's the results: Link to comment Share on other sites More sharing options...
teraßyte Posted February 25 Share Posted February 25 (edited) 2 hours ago, eliteone said: Have this in the log (I replace specific name with mysite) [24-Feb-2023 13:22:55 UTC] PHP Fatal error: Uncaught Error: Class "IPS\Http\Url\Friendly" not found in /home/mysite/public_html/mysite/forums/system/Http/Url.php:279 Stack trace: #0 /home/nolfg152/public_html/mysite/forums/system/Request/Request.php(276): IPS\Http\_Url::createFromString() #1 /home/nolfg152/public_html/mysite/forums/system/Log/Log.php(106): IPS\_Request->url() #2 /home/nolfg152/public_html/mysite/forums/init.php(1034): IPS\_Log::log() #3 [internal function]: IPS\IPS::exceptionHandler() #4 {main} thrown in /home/nolfg152/public_html/mysite/forums/system/Http/Url.php on line 279 This error means you are missing at least 1 file on your new server: /home/mysite/public_html/mysite/forums/system/Http/Url/Friendly.php. Verify the file exists and has the proper permissions, and if it doesn't, copy it from the old server. You might have more missing though, copying over again all the files would be a good idea. Or, if you are on version 4.7.7, download a new zip file with all the suite files from your client area and upload the files directly from it. Edited February 25 by teraßyte Link to comment Share on other sites More sharing options...
eliteone Posted February 25 Author Share Posted February 25 48 minutes ago, teraßyte said: This error means you are missing at least 1 file on your new server: /home/mysite/public_html/mysite/forums/system/Http/Url/Friendly.php. Verify the file exists and has the proper permissions, and if it doesn't, copy it from the old server. You might have more missing though, copying over again all the files would be a good idea. Or, if you are on version 4.7.7, download a new zip file with all the suite files from your client area and upload the files directly from it. The forum was on 4.76 when I moved it. Would copying the files over from 4.77 download still work? Link to comment Share on other sites More sharing options...
Solution Randy Calvert Posted February 25 Solution Share Posted February 25 (edited) You would want to upload ALL 4.7.7 files. Don’t mix/match. After you upload the 4.7.7 files, go to yourdomain.com/admin/upgrade to manually upgrade to the latest version. 🙂 Edited February 25 by Randy Calvert Jim M 1 Link to comment Share on other sites More sharing options...
eliteone Posted February 25 Author Share Posted February 25 (edited) 1 hour ago, Randy Calvert said: You would want to upload ALL 4.7.7 files. Don’t mix/match. After you upload the 4.7.7 files, go to yourdomain.com/admin/upgrade to manually upgrade to the latest version. 🙂 You called it. It worked after running the upgrade per your post. Thanks! 😎 Edited February 25 by eliteone Randy Calvert 1 Link to comment Share on other sites More sharing options...
Gary Posted February 25 Share Posted February 25 Thanks everyone for your help. Glad you're up and running now, @eliteone. If you have any issues with Invision Community, please don't hesitate to get in touch with us again. Link to comment Share on other sites More sharing options...
eliteone Posted February 26 Author Share Posted February 26 On 2/24/2023 at 11:38 PM, Gary said: Thanks everyone for your help. Glad you're up and running now, @eliteone. If you have any issues with Invision Community, please don't hesitate to get in touch with us again. Thank you. One minor thing, maybe you have the easy answer or someone else does. I used to have a .htaccess file for my admin directory. I had to remove it on the new host. How do I go about making a new one in IPB 4.7? Link to comment Share on other sites More sharing options...
ThunderBlue Posted February 26 Share Posted February 26 1 hour ago, eliteone said: How do I go about making a new one in IPB 4.7? Hi. Are you looking for this? Admincp/system/search engine optimizzation/friendly urls/rewrite urls Link to comment Share on other sites More sharing options...
eliteone Posted February 26 Author Share Posted February 26 1 hour ago, ThunderBlue said: Hi. Are you looking for this? Admincp/system/search engine optimizzation/friendly urls/rewrite urls Wasn't that. Before I moved the forum when one went to the admin console you were presented with this. You had to know the username password for this which was stored in a .htaccess file in the admin folder. Afterwards you could log into the admin console. Link to comment Share on other sites More sharing options...
Nathan Explosion Posted February 26 Share Posted February 26 https://www.lcn.com/support/articles/how-to-password-protect-a-folder-on-your-website-with-htaccess/ Link to comment Share on other sites More sharing options...
eliteone Posted February 26 Author Share Posted February 26 11 minutes ago, Nathan Explosion said: https://www.lcn.com/support/articles/how-to-password-protect-a-folder-on-your-website-with-htaccess/ Thanks that was the refresher I needed to get it setup. 😎 Link to comment Share on other sites More sharing options...
Marc Stridgen Posted February 27 Share Posted February 27 It is worth noting, this is an old way of doing things. You are actually better to use the built in 2 factor authentication to secure your admin area. You can read more about this here Link to comment Share on other sites More sharing options...
Recommended Posts