cnishant / sfdc-web2anything

Automatically exported from code.google.com/p/sfdc-web2anything
0 stars 0 forks source link

retURL not redirecting on form submission #8

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What Salesforce.com Edition are you on? Enterprise

What PHP version are you running? 5

What steps will reproduce the problem?
1. Submit form
2.
3.

What is the expected output?
Submitted form should jump to return URL specified if debugging is turned
off in w2x-engine.

What do you see instead?
Record is created in salesforce, but form submission returns a blank
browser page, showing w2x-engine.php in the address bar, and does not go to
return url specified.

Please provide any additional information below.

Original issue reported on code.google.com by tonymin...@gmail.com on 11 Mar 2009 at 3:52

GoogleCodeExporter commented 9 years ago
UPDATE

noticed this when turning error reporting on in w2x-engine.php

Warning: Cannot modify header information - headers already sent by (output 
started
at /mylocation/engine/php_sforce_nusoap/salesforce.php:555) in
/mylocation/engine/w2x-engine.php on line 126

Original comment by tonymin...@gmail.com on 11 Mar 2009 at 6:26

GoogleCodeExporter commented 9 years ago
UPDATE

fixed this by removing whitespace in the salesforce.php file @ lines 554-555.

Original comment by tonymin...@gmail.com on 11 Mar 2009 at 6:29

GoogleCodeExporter commented 9 years ago
Hi, sorry for the late answer, thank you for the updates, will make sure to
double-check the redirect function's whitespaces to prevent the error in the 
future.

Original comment by phofferb...@gmail.com on 29 Apr 2009 at 5:27

GoogleCodeExporter commented 9 years ago

Original comment by phofferb...@gmail.com on 29 Apr 2009 at 5:53

GoogleCodeExporter commented 9 years ago
no worries - thanks for creating this!!

Original comment by tonymin...@gmail.com on 29 Apr 2009 at 7:33

GoogleCodeExporter commented 9 years ago
Confirming (for those who download the current version 1.4 July 2010) that this 
workaround of removing whitespace is still valid, and is required on PHP5.2.9 
if you use UK2.net.

That said, great work and my thanks (and sanity) for writing this.

Original comment by bunro...@gmail.com on 22 Jul 2010 at 10:32

GoogleCodeExporter commented 9 years ago
This is fixed by removing the blank lines at the end of salesforce.php. I had 
downloaded this from some site that still has this bug. Please fix it. I don't 
remember where I downloaded this from. Thanks a lot for the great work.

Original comment by bhush...@covelix.com on 3 Aug 2010 at 11:50

GoogleCodeExporter commented 9 years ago
I am having a similar problems. I tried to remove the blank space but could not 
get the redirect to work. Can someone please attach the working version of 
salesforce.php file.

Original comment by xiu...@gmail.com on 28 Nov 2010 at 4:19