Rangka Kacang Posted August 3, 2018 Share Posted August 3, 2018 I've just upgraded from WHMCS 7.5.2 to 7.6.0 today, everything was smooth but when I tried to login, it showed me the "End User License Agreement" page. When I clicked on the "I Agree" button, it sent me to 404 page not found error. For your information, I'm currently using a custom whmcs admin directory so the link end up like this www.something.gov/customadmindir/eula-accept I can't proceed to the dashboard for now. Help me, its urgent! 0 Quote Link to comment Share on other sites More sharing options...
Rangka Kacang Posted August 3, 2018 Author Share Posted August 3, 2018 I've just read this thread: and I copied the .htaccess and replaced my old one and I can get it work. My previous htaccess was: # https://stackoverflow.com/questions/38983034/force-https-and-www-in-htaccess RewriteCond %{HTTP_HOST} !^www\. [NC,OR] RewriteCond %{HTTPS} off RewriteCond %{HTTP_HOST} ^(?:www\.)?(.+)$ [NC] RewriteRule ^ https://www.%1%{REQUEST_URI} [R=301,L,NE] Maybe that's why I can't get the eula-accept link to work. I've append my custom rule below the one provided from the thread below. 0 Quote Link to comment Share on other sites More sharing options...
markc Posted August 8, 2018 Share Posted August 8, 2018 I'd like to see a some rules for nginx but in the mean time I got around this by logging in as a normal user then using the "back to admin" link to get to the admin user. Once there I could set Setup > General Settings > Friendly URLs back to Basic URLs and use another browser to go to the admin/ area to get past the EULA agreement. After that I set Friendly URLs back to Full Friendly Rewrite and all seems well, until the next upgrade but by then I hope to find the correct rewrite rule for nginx. 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted August 8, 2018 Share Posted August 8, 2018 9 hours ago, markc said: I'd like to see a some rules for nginx there are some in the link below for 7.2, but whether they work i've no idea (don't use nginx) - though it's also possible Support may have some appropriate rules... https://www.lowendtalk.com/discussion/138620/whmcs-nginx-rules-works-from-7-2 https://gist.github.com/Bharat-B/62205bfd1dbe6d7ac9e24973c2bfd47e 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.