Author Topic: Forward-to URL does not work when signup-xtra.php is invoked  (Read 2846 times)

gluntz

  • Posts: 30
    • View Profile
Dean,

We are using the feature in the Success HTML area where we input a URL for the success page. Aslong as signup-xtra.php is invokded, we get an error message "Headers already sent by ....". We modified the xtra.php file to remove the echo statement, delete an trailing line breaks etc, same problem.  

So we removed the script, and now we get a successful completion.  However, this is not an ideal situation. We would prefer to have the xtra script in place. Any ideas?

George

DW

  • Administrator
  • Posts: 3787
    • View Profile
    • https://legacy.listmailpro.com
Forward-to URL does not work when signup-xtra.php is invoked
« Reply #1 on: May 08, 2007, 01:50:09 pm »
Hi George,

Please double-check that there is no output from the signup-xtra.php file.  The error should show the line number where output starts.  After all of your previous checking could a syntax error still remain?

Regards
Dean Wiebe
ListMailPRO Author & Developer - Help | Support | Hosting

gluntz

  • Posts: 30
    • View Profile
Forward-to URL does not work when signup-xtra.php is invoked
« Reply #2 on: May 09, 2007, 06:53:52 am »
Hi Dean,

We took out the "Output" statement when trying it.  The thing is, when signing up on any other list, where we just displayed a thank you message, the xtra script worked fine. It is ONLY when we choose to link to a another URL as the thank you page that we get the error.

DW

  • Administrator
  • Posts: 3787
    • View Profile
    • https://legacy.listmailpro.com
Forward-to URL does not work when signup-xtra.php is invoked
« Reply #3 on: May 09, 2007, 05:56:12 pm »
So the error does not say "Headers already sent by signup-xtra.php" they say another script name, is that right?

I will do some hands-on testing on this ASAP and let you know.

Regards
Dean Wiebe
ListMailPRO Author & Developer - Help | Support | Hosting

DW

  • Administrator
  • Posts: 3787
    • View Profile
    • https://legacy.listmailpro.com
Forward-to URL does not work when signup-xtra.php is invoked
« Reply #4 on: May 10, 2007, 10:21:13 am »
I apologize for the delay - things have been a bit busy!

I just tested this and was not able to recreate the error.

I created a signup-xtra.php with some simple code:
Code: [Select]
<?php// example?>

...and set the Custom HTML "Signup Sucess" page to forward me to listmailpro.com

and I was successfully subscribed and forwarded to the page.

I also tried setting signup-xtra.php to:
Code: [Select]
<?phpecho "this is a test";exit;?>

I saw the output and then the script exited before forwarding (as expected).  It seems there must be some unexpected output from your signup-xtra.php script.

If you want to email me (dean@...) with a copy of the script you are trying to use and submit your info so I can do some live testing on your installation maybe I can shed some light on this.

Regards
Dean Wiebe
ListMailPRO Author & Developer - Help | Support | Hosting

gluntz

  • Posts: 30
    • View Profile
Forward-to URL does not work when signup-xtra.php is invoked
« Reply #5 on: May 22, 2007, 02:56:47 pm »
Thanks Dean. I will take another look before bothering you again.