Jump to content

upgraded from 306 - 307 403 error


Guest scubadave

Recommended Posts

Guest sunsetchaser

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.

Link to comment
Share on other sites

Guest alonewolf

:( 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:

Link to comment
Share on other sites

:( 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:

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.

Link to comment
Share on other sites

Guest Marshalls

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 --> :errm: "eye patch"

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

Guest go77306

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

Link to comment
Share on other sites

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.php

if (!ereg("index.php|cart.php|download.php|switch.php|confirmed.php|orderForm.php|print

.php|options.php",$_SERVER['PHP_SELF'])) {
Link to comment
Share on other sites

...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 ???

Link to comment
Share on other sites

...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.

Link to comment
Share on other sites

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!!!!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...