Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted February 24, 20232 yr 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.
February 24, 20232 yr Author 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
February 25, 20232 yr Author 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.
February 25, 20232 yr Author I ran the compatibility checker while wait for an answer from support. Here's the results:
February 25, 20232 yr 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, 20232 yr by teraßyte
February 25, 20232 yr Author 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?
February 25, 20232 yr Solution 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, 20232 yr by Randy Calvert
February 25, 20232 yr Author 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, 20232 yr by eliteone
February 25, 20232 yr 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.
February 26, 20232 yr Author 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?
February 26, 20232 yr 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
February 26, 20232 yr Author 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.
February 26, 20232 yr https://www.lcn.com/support/articles/how-to-password-protect-a-folder-on-your-website-with-htaccess/
February 26, 20232 yr Author 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. 😎
February 27, 20232 yr 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