nVee Posted July 9, 2015 Share Posted July 9, 2015 Hello, We've upgraded to version 6 and it appears that our base path for CSS, JS and webroot is incorrect. Where do we change this in the configuration? We're running it off localhost for development purposes (by the way, is there no way we can access the admin panel from localhost?) so we're unable to make any changes in the CMS if it's applicable there. Thank you. 0 Quote Link to comment Share on other sites More sharing options...
zomex Posted July 10, 2015 Share Posted July 10, 2015 The system path is set in the admin panel under setup > general settings > system URL You could also edit it directly in the database in the tplconfiguration table I believe the name is systemURL 0 Quote Link to comment Share on other sites More sharing options...
ben! Posted August 2, 2015 Share Posted August 2, 2015 I'm having the same issue with it not getting the $WEB_ROOT/$BASE_PATH_JS and the correct URL is set in the SystemURL field in the tblconfiguration table. In my case WHMCS is installed in a sub-folder, not in a sub-domain so the affect is all the include paths are wrong. An example being <link href="/assets/css/bootstrap.min.css" rel="stylesheet"> <link href="/assets/css/font-awesome.min.css" rel="stylesheet"> whereas in the head.tpl file it is <link href="{$BASE_PATH_CSS}/bootstrap.min.css" rel="stylesheet"> <link href="{$BASE_PATH_CSS}/font-awesome.min.css" rel="stylesheet"> Since WHMCS is setup in the /clients folder it cannot find any of the include paths. I've tried using Aliases in the apache config to resolve this successfully however this breaks my website as it uses some of the same folder names. 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted August 2, 2015 Share Posted August 2, 2015 Since WHMCS is setup in the /clients folder it cannot find any of the include paths. I've tried using Aliases in the apache config to resolve this successfully however this breaks my website as it uses some of the same folder names. is your system URL = http://www.yourdomain.com/clients/ - or something different ? all my dev installations are in subfolders - so as long as the system URL is correct, the base paths should work fine. 0 Quote Link to comment Share on other sites More sharing options...
dotnetguru Posted August 29, 2015 Share Posted August 29, 2015 I seem to have same issue. My system url is set to https://www.yourdomain.com/clients/. My installation worked fine before the upgrade. Any ideas? 0 Quote Link to comment Share on other sites More sharing options...
easyhosting Posted September 3, 2015 Share Posted September 3, 2015 whats happening is the {$WEB_ROOT} variable isnt being populated with the "subroot" part so its trying to load right from the root domain and not the sub folder. this as i said before has been seen on other sites running v6 and its not the module doing it as the module doesnt interact with the {$WEB_ROOT} variable at all. unfortunatley you will need to open a ticket with whmcs to get this resolved. if i remember correctly they did have a patch file for this which i believe they will provide when you open a ticket. 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.