Jump to content

get error for print order form in new version 3.0.13


oldman79

Recommended Posts

I got this message for the print order form. Can someone here help me to correct it. Thank You!

Forbidden

You don't have permission to access /modules/gateway/Print_Order_Form/orderForm.php 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

I got this message for the print order form. Can someone here help me to correct it. Thank You!

Forbidden

You don't have permission to access /modules/gateway/Print_Order_Form/orderForm.php on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

I have the same problem also, looking for solutions

Link to comment
Share on other sites

Are you getting this as a customer or when you try and modify the module via Admin?

I'm getting this as a customer.

you need to change the code in the transfer.inc.php. remove the / from the beginning of the of the modules in fhe following folder modules/gateway/Print_Order_Form/transfer.inc.php

Original Code:-

$formAction = $GLOBALS['rootRel']."/modules/gateway/Print_Order_Form/orderForm.php";

Change To:-

$formAction = $GLOBALS['rootRel']."modules/gateway/Print_Order_Form/orderForm.php";

Link to comment
Share on other sites

you need to change the code in the transfer.inc.php. remove the / from the beginning of the of the modules in fhe following folder modules/gateway/Print_Order_Form/transfer.inc.php

Original Code:-

$formAction = $GLOBALS['rootRel']."/modules/gateway/Print_Order_Form/orderForm.php";

Change To:-

$formAction = $GLOBALS['rootRel']."modules/gateway/Print_Order_Form/orderForm.php";

Thanks for replaying

My transfer.inc.php below, looks correct to me

<?php

function repeatVars(){

return FALSE;

}

function fixedVars(){

return FALSE;

}

function success(){

return FALSE;

}

///////////////////////////

// Other Vars

////////

$formAction = "modules/gateway/Print_Order_Form/orderForm.php";

$formMethod = "post";

$formTarget = "_self";

$transfer = "auto";

?>

-----------

Link to comment
Share on other sites

Have you checked the file and folder rights??

Use an ftp program (like filezilla, etc) right click the folder and check the file/folder properties.

Should be set to 755 for the folder modules/gateway/Print_Order_Form and 644 for the file transfer.inc.php

Link to comment
Share on other sites

  • 2 weeks later...

Have you checked the file and folder rights??

Use an ftp program (like filezilla, etc) right click the folder and check the file/folder properties.

Should be set to 755 for the folder modules/gateway/Print_Order_Form and 644 for the file transfer.inc.php

I'm having the same problem when I try to run a test order.

All the permissions are set appropriately.

In addtiiton, the checkout is giving me two separate options (radio buttons) that both say "Postal Order Form".

Any help would be appreciated.

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