frankyou Posted March 3, 2010 Share Posted March 3, 2010 Hi All, I am new in OSC and have installed contrib: easy advanced specials admin (v1.3.2) in below link easy advanced specials admin when I apply discount value in term of %,i got below error message,anyone know what is the problem,thx all! Frank Wong 406 Not Acceptable An appropriate representation of the requested resource /catalog/admin/specials.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. Link to comment Share on other sites More sharing options...
MrPhil Posted March 3, 2010 Share Posted March 3, 2010 Did you enter a percentage value somewhere with an explicit % character? That may have confused the server when it was passed in a URL Query String from one page to another. A "%" is used to introduce two hexadecimal digits to form a certain character. That's the most common reason for a '406' error that I can think of. You should make yourself a collection of "error documents" (error pages/error handlers): http://www.oscommerce.com/forums/topic/352209-can-anyone-help-me/page__view__findpost__p__1475062 . With a 406 handler, it might even show you the offending URL and give you a hint as to what bad input you gave. Link to comment Share on other sites More sharing options...
frankyou Posted March 3, 2010 Author Share Posted March 3, 2010 HI MrPhil, Thanks for your advise of having custom error page. For the input data problem,that's mean I can't use % to set discount?Or there are other method that's working? Since no member raises this question! Did you enter a percentage value somewhere with an explicit % character? That may have confused the server when it was passed in a URL Query String from one page to another. A "%" is used to introduce two hexadecimal digits to form a certain character. That's the most common reason for a '406' error that I can think of. You should make yourself a collection of "error documents" (error pages/error handlers): http://www.oscommerce.com/forums/topic/352209-can-anyone-help-me/page__view__findpost__p__1475062 . With a 406 handler, it might even show you the offending URL and give you a hint as to what bad input you gave. Link to comment Share on other sites More sharing options...
♥bruyndoncx Posted March 3, 2010 Share Posted March 3, 2010 not sure if this is going to help, but I have contributed a similar contribution where I do use % sign which does work on my server, you might want to try that one too to figure out where things are going wrong. KEEP CALM AND CARRY ON I do not use the responsive bootstrap version since i coded my responsive version earlier, but i have bought every 28d of code package to support burts effort and keep this forum alive (albeit more like on life support). So if you are still here ? What are you waiting for ?! Find the most frequent unique errors to fix: grep "PHP" php_error_log.txt | sed "s/^.* PHP/PHP/g" |grep "line" |sort | uniq -c | sort -r > counterrors.txt Link to comment Share on other sites More sharing options...
MrPhil Posted March 3, 2010 Share Posted March 3, 2010 For the input data problem,that's mean I can't use % to set discount? I had surmised that you were giving a 25% discount as "25%", rather than 25 or maybe .25. If so, try "25" or ".25". If you're already doing that, someone more familiar with this add-on will have to speak about it. Link to comment Share on other sites More sharing options...
frankyou Posted March 4, 2010 Author Share Posted March 4, 2010 Hi MrPhil, I tried your suggestion,it doesn't work,anyway thx for your adivse! Hi Bruyndoncx, what is your contribution called? Link to comment Share on other sites More sharing options...
♥bruyndoncx Posted March 4, 2010 Share Posted March 4, 2010 this one http://addons.oscommerce.com/info/3142 KEEP CALM AND CARRY ON I do not use the responsive bootstrap version since i coded my responsive version earlier, but i have bought every 28d of code package to support burts effort and keep this forum alive (albeit more like on life support). So if you are still here ? What are you waiting for ?! Find the most frequent unique errors to fix: grep "PHP" php_error_log.txt | sed "s/^.* PHP/PHP/g" |grep "line" |sort | uniq -c | sort -r > counterrors.txt Link to comment Share on other sites More sharing options...
frankyou Posted March 5, 2010 Author Share Posted March 5, 2010 Hi Bruyndoncx, I will try it out,did your contribution support OSC2.2-rc2a? Thanks! Link to comment Share on other sites More sharing options...
♥bruyndoncx Posted March 5, 2010 Share Posted March 5, 2010 I don't know, i don't see why it wouldn't as all it does is adding this admin page, don't see where it would be subject to any difference in MS2.2 vs RC2a - you tell me ;) KEEP CALM AND CARRY ON I do not use the responsive bootstrap version since i coded my responsive version earlier, but i have bought every 28d of code package to support burts effort and keep this forum alive (albeit more like on life support). So if you are still here ? What are you waiting for ?! Find the most frequent unique errors to fix: grep "PHP" php_error_log.txt | sed "s/^.* PHP/PHP/g" |grep "line" |sort | uniq -c | sort -r > counterrors.txt Link to comment Share on other sites More sharing options...
frankyou Posted March 5, 2010 Author Share Posted March 5, 2010 Hi Bruyndoncx, I attempt to install this contribution,after few trial.....succeed.Yeah! It work perfect on RC2A ,thx! Frank Link to comment Share on other sites More sharing options...
mondobongo3 Posted April 30, 2010 Share Posted April 30, 2010 Was the problem with "%" resolved? I installed the contribution too, but I can't use percent, only new price value. Link to comment Share on other sites More sharing options...
parasit55 Posted February 15, 2011 Share Posted February 15, 2011 In my store I have a special field in the base purchase price. How would I do that would be updated in the same way from the purchase price represents a purchase price + discount. If the purchase price of 0 and no action Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.