Guest scubadave Posted December 29, 2005 Share Posted December 29, 2005 I just upgraded from 306 - 307 now in admin product options I am getting a 403 error permissions are fine thanks for your help Quote Link to comment Share on other sites More sharing options...
Guest sunsetchaser Posted December 29, 2005 Share Posted December 29, 2005 I was getting the same thing, changed everything back and am okay. The one that made a difference was currencyVars.inc.php, but I don't know if that's because it was the last one I had to change or if it was causing the problem. Quote Link to comment Share on other sites More sharing options...
Guest scubadave Posted December 29, 2005 Share Posted December 29, 2005 that did not work :-( Quote Link to comment Share on other sites More sharing options...
Guest alonewolf Posted December 30, 2005 Share Posted December 30, 2005 :( Must be something common, because I have the same problem when I upgraded to the latest vserion too. Not sure where to even start to look for the cause. :errm: Quote Link to comment Share on other sites More sharing options...
Guest ant0 Posted December 30, 2005 Share Posted December 30, 2005 Must be something common, because I have the same problem when I upgraded to the latest vserion too. Not sure where to even start to look for the cause. Don't worry, it's a 'known' problem.... have a look at all the threads on this. Apparently it should be sorted soon via another update/patch - hopefully tomorrow. Quote Link to comment Share on other sites More sharing options...
Guest scubadave Posted December 30, 2005 Share Posted December 30, 2005 I overwrote all the files with the old ones i backed up ..no plans to upgrade till i am sure there are no issues Quote Link to comment Share on other sites More sharing options...
Guest Marshalls Posted December 30, 2005 Share Posted December 30, 2005 I overwrote all the files with the old ones i backed up ..no plans to upgrade till i am sure there are no issues i had the same problums.. this sucks like a $2.00 --> "eye patch" Quote Link to comment Share on other sites More sharing options...
goober999 Posted December 30, 2005 Share Posted December 30, 2005 Hi, To fix this problem you need to add some file names to a security check in session.inc.php and currencyVars.inc.php files fined this line in both files if (!ereg("index.php|cart.php|download.php|switch.php|confirmed.php",$_SERVER['PHP_SELF'])) { and replace it with this line if (!ereg("index.php|cart.php|download.php|switch.php|confirmed.php|order.php|print.php |options.php",$_SERVER['PHP_SELF'])) { It worked for me, Hope it'll work for you. Thanks /Goober Quote Link to comment Share on other sites More sharing options...
Guest hobsdv Posted December 30, 2005 Share Posted December 30, 2005 Hi, To fix this problem you need to add some file names to a security check in session.inc.php and currencyVars.inc.php files fined this line in both files if (!ereg("index.php|cart.php|download.php|switch.php|confirmed.php",$_SERVER['PHP_SELF'])) { and replace it with this line if (!ereg("index.php|cart.php|download.php|switch.php|confirmed.php|order.php|print.php |options.php",$_SERVER['PHP_SELF'])) { It worked for me, Hope it'll work for you. Thanks /Goober Worked for me too Quote Link to comment Share on other sites More sharing options...
Guest go77306 Posted December 30, 2005 Share Posted December 30, 2005 I think two more files: orderSuccess.inc.php sslSwitch.inc.php not sure why sslSwitch is still using the old way. Hi, To fix this problem you need to add some file names to a security check in session.inc.php and currencyVars.inc.php files fined this line in both files if (!ereg("index.php|cart.php|download.php|switch.php|confirmed.php",$_SERVER['PHP_SELF'])) { and replace it with this line if (!ereg("index.php|cart.php|download.php|switch.php|confirmed.php|order.php|print.php |options.php",$_SERVER['PHP_SELF'])) { It worked for me, Hope it'll work for you. Thanks /Goober Quote Link to comment Share on other sites More sharing options...
Guest Posted December 30, 2005 Share Posted December 30, 2005 I think two more files: orderSuccess.inc.php sslSwitch.inc.php not sure why sslSwitch is still using the old way. Hi, To fix this problem you need to add some file names to a security check in session.inc.php and currencyVars.inc.php files fined this line in both files if (!ereg("index.php|cart.php|download.php|switch.php|confirmed.php",$_SERVER['PHP_SELF'])) { and replace it with this line if (!ereg("index.php|cart.php|download.php|switch.php|confirmed.php|order.php|print.php |options.php",$_SERVER['PHP_SELF'])) { It worked for me, Hope it'll work for you. Thanks /Goober for the print order form i have add this line: in currencyVars.php, session.inc.php and orderSuccess.phpif (!ereg("index.php|cart.php|download.php|switch.php|confirmed.php|orderForm.php|print .php|options.php",$_SERVER['PHP_SELF'])) { Quote Link to comment Share on other sites More sharing options...
Guest ant0 Posted December 30, 2005 Share Posted December 30, 2005 ...for the print order form i have add this line: if (!ereg("index.php|cart.php|download.php|switch.php|confirmed.php|orderForm.php|print .php|options.php",$_SERVER['PHP_SELF'])) { in currencyVars.php, session.inc.php and orderSuccess.php Hmmm... after getting everything working again except the Print Order Form page (which was still 403'ing) I had thought of that and added orderForm.php to that line in those files, BUT it's still not working?! Did you get the Print Order Form page to work with that edit ??? Quote Link to comment Share on other sites More sharing options...
Guest Posted December 30, 2005 Share Posted December 30, 2005 ...for the print order form i have add this line: if (!ereg("index.php|cart.php|download.php|switch.php|confirmed.php|orderForm.php|print .php|options.php",$_SERVER['PHP_SELF'])) { in currencyVars.php, session.inc.php and orderSuccess.php Hmmm... after getting everything working again except the Print Order Form page (which was still 403'ing) I had thought of that and added orderForm.php to that line in those files, BUT it's still not working?! Did you get the Print Order Form page to work with that edit ??? wow here run fine, but i have forgot the |order.php| for admin area. I have only trouble with cookies and cache, then the browser go back to step2 and not to the print form. After deleting cache and cookies and go new in shop all run fine. Quote Link to comment Share on other sites More sharing options...
oldman79 Posted December 30, 2005 Share Posted December 30, 2005 Apply this code below in currencyVars.php, session.inc.php if (!ereg("index.php|cart.php|download.php|switch.php|confirmed.php|order.php|orderForm .php|print.php|options.php",$_SERVER['PHP_SELF'])) { Apply this code below in orderSuccess.php if (!ereg("index.php|cart.php|download.php|switch.php|confirmed.php|orderForm.php|print .php|options.php",$_SERVER['PHP_SELF'])) { It will Print Order Form out very well, and it work!!!! Quote Link to comment Share on other sites More sharing options...
Guest Posted December 30, 2005 Share Posted December 30, 2005 Guys, check this out. It may be a more viable option for you all. http://www.cubecart.com/site/forums/index....showtopic=14888 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.