var sidebar_align = 'right';
var content_container_margin = parseInt('350px');
var sidebar_width = parseInt('330px');
WHMCS Client area - Single Quote in url makes Problem
i am running whmcs 5.2.12 and one of our client pointed out that after login to his client area > my domains > and when click on the icon next to each domain he gets a 404 not acceptable error.
so when examining the error, i found mode security is preventing that page from opening because the url has a single quote at the end.
my question is, this is this single quote at the end of the url is a mistake or its part of the whmcs coding
other wise i have to exclude this rule from mode sec and its not a good thing to do as security rules are vital
Have you checked your WHMCS template to see if the single quote is being added to the link? It sounds like the link is not correct.
I would also highly recommend against disabling any mod_security rules - they are there for a good reason. Just fix the link and it should work.
Originally Posted by
* pls mouse move over above url to see the single quote
when i open clientarea.php, the code has been ioncubed
You need to look in the 'templates' directory, not the 'clientarea.php' file. I believe the file you want to check is 'clientareadomaindetails.tpl' - you will find the layout for the page in there and can adjust the link as needed.
By iskandarreza in forum Web Hosting
Last Post: 03-20-2013, 07:20 AM
By EntrustHost in forum Web Hosting
Last Post: 06-17-2011, 11:44 PM
By PMichaud in forum Programming Discussion
Last Post: 09-28-2004, 11:49 PM
By mr5 in forum Programming Discussion
Last Post: 03-15-2004, 09:25 AM