prab007 Posted July 24, 2015 Share Posted July 24, 2015 Hello There,As per the cubecart security suite I renamed the admin folder as well as the admin directory. Everything was running fine until i got this message:Not AcceptableAn appropriate representation of the requested resource /98510a.php could not be found on this server.Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. The only thing I was trying to do is to save my work.Every time I go to Store Settings and try to save my work I get this message please help!!!!I tried renaming it back to admin but cubecart wont work then. Is there any other place I need to rename as well. Your help is much appreciated. Regards, @Dirty Butter @bsmither @Al Brookbanks please help urgently!!! Quote Link to comment Share on other sites More sharing options...
Dirty Butter Posted July 24, 2015 Share Posted July 24, 2015 Did you change the names in the includes file, global.inc.php?If you use bookmarks to goto admin, did you change the url? I forgot to my first time logging back in lol. Quote Link to comment Share on other sites More sharing options...
prab007 Posted July 24, 2015 Author Share Posted July 24, 2015 (edited) Thanks for the reply @Dirty Butter yes i did change the names in global.inc.php . I dont have problems logging in Edited July 24, 2015 by prab007 Quote Link to comment Share on other sites More sharing options...
Dirty Butter Posted July 24, 2015 Share Posted July 24, 2015 (edited) Everything worked fine for me once I used my head and fixed my bookmark. Perhaps you should check your phpMyAdmin table and be sure the new table has your info correctly saved. Do you use a prefix? Sometimes that can cause plugin issues.Hmmmm - took a look at the tables for the first time just now, and it doesn't look like anything but my IP address is in the tables - rest of the entries must be for people who subscribe. Edited July 24, 2015 by Dirty Butter Quote Link to comment Share on other sites More sharing options...
prab007 Posted July 24, 2015 Author Share Posted July 24, 2015 @Dirty Butter actually its error 406. I did manage to fix it as I force upgraded the cubecart version. So for the time being it is ok as it has created new admin folder and file. I still would like to know what causes it. Quote Link to comment Share on other sites More sharing options...
bsmither Posted July 24, 2015 Share Posted July 24, 2015 Renaming the /admin.php file to /98510a.php should not really be a problem.The "406: appropriate representation" error may be a 'red herring' in that there may be mod_security rules in place that will catch POST values that contain certain sequences of new lines. It could be CRLFCRLF (two line endings in Windows format), CRCR (two line endings in Mac format, or LFLF (two line endings in Unix format), or something else. The Store Setting's Address text field is one place where multiple lines can be entered.The rules could also be hitting on URLs in the content stream for POSTed values. If CubeCart will accept them, just do not add http::// to any data field that asks for a URL.Please consult your hosting provider who may have a log of mod_security "hits" against your site.Until they respond, you might try adding the following to your .htaccess file:<IfModule mod_security.c> SecFilterEngine Off SecFilterScanPOST Off </IfModule> 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.