Problems with REDIRECT & REDIRECT_ERROR in email-form

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
blackhorse
Posts: 13
Joined: Thu 22. Apr 2004, 16:14

Problems with REDIRECT & REDIRECT_ERROR in email-form

Post by blackhorse »

Hello!

got problems with the hidden fields in email form: redirect and redirect_error:

If someone send the form - he always see the main-page as result-page and nothing more. No email, no "thankyou" or "error"-page or something like that.

I´ve insert a hidden structure "forms" with sub-structure error and success (also hidden, but public and visible).

Version 1.1 RC4

this is the form-code:
IT|fname|1|Vorname: |40,100||300
IT|lname|1|Nachname: |40,100||300
IT|company|0|Firma: |40,100||300
IT|address|1|Adresse: |40,100||300
IT|city|0|Stadt: |40,100||300
SC|country|0|Land: |10,100|DE|300
IT|tel|1|Telefon: |40,100||300
IT|fax|0|Fax: |40,100||300
IT|website|0|Website: |40,100||300
IT|email|1|Email: |40,100||300
TA|msg|0|Nachricht: |20,8||300
IH|redirect|0||10,100|http://http://mypage.de/index.php?success|0
IH|redirect_error|0||10,100|http://mypage.de/index.php?error|0
IH|send_copy|0||10,100|1|0
thanks a lot!

best regards
mark
Pappnase

Post by Pappnase »

hello

did you set the article to visible!? :wink:
blackhorse
Posts: 13
Joined: Thu 22. Apr 2004, 16:14

Post by blackhorse »

Hi Pappnase :D

yes ... of course :lol: ... the article is visible and public. It is also possible to access the index.php?success and index.php?error page directly.

Where is the bug :shock: ?

UUUAAAAAAAHHHHHHHHHHHHH :cry:

Best regards
Mark
Pappnase

Post by Pappnase »

hello mark

look at this!!

IH|redirect|0||10,100|http://http://mypage.de/index.php?success|0
IH|redirect_error|0||10,100|http://mypage.de/index.php?error|0

there is one http:// to much!!!

and the way you do is the right way and also direct.*smile*
blackhorse
Posts: 13
Joined: Thu 22. Apr 2004, 16:14

Post by blackhorse »

Hi Pappnase ...

okay ... this was my failure - sorry. but in the original-code there is no "http://" too much. :oops:

It is really quite difficult ... i don't know any answer to this problem. everything works fine ... but the email form doesn't do anything.

If you click on SUBMIT - without filling out anything - the main page is displayed. No ERROR PAGE and no email (to me or user). NOTHING. Just as if you fill out the complete form. NO THANK-YOU page, no email.

I'm getting crazy :lol: :lol:

Mark
Pappnase

Post by Pappnase »

hello

could you send me your domain!? maybe wih an admin login!?
via pm!?
User avatar
DeXXus
Posts: 2168
Joined: Fri 28. Nov 2003, 06:20
Location: USA - Florida

Post by DeXXus »

blackhorse wrote:If you click on SUBMIT - without filling out anything - the main page is displayed. No ERROR PAGE and no email (to me or user). NOTHING. Just as if you fill out the complete form. NO THANK-YOU page, no email.

I'm getting crazy :lol: :lol:

Mark
Have you ~created~ pages with the aliases "success" and "error" ?
IH|redirect|0||10,100|http://http://mypage.de/index.php?success|0
IH|redirect_error|0||10,100|http://mypage.de/index.php?error|0
blackhorse
Posts: 13
Joined: Thu 22. Apr 2004, 16:14

Post by blackhorse »

Hi DeXXus,

yes - i've created this pages ... it is possible to access the pages directly ... :cry:

Best regards
Mark
Pappnase

Post by Pappnase »

hello

i test it on your site!
and i see both redirections the error and the success page!
maybe empty your cache.
User avatar
pSouper
Posts: 1552
Joined: Tue 11. Nov 2003, 15:45
Location: London
Contact:

Post by pSouper »

Pappnase wrote:and i see both redirections the error and the success page!
if this is the case the problem may possibly be a browser issure.
What browser do you use?
blackhorse
Posts: 13
Joined: Thu 22. Apr 2004, 16:14

Post by blackhorse »

Hi @all,

i ve deleted all my cache ... the same procedure as every time :(

I use Internet Explorer 6.0.2800.1106IC and W2K.

this cannot be true!!

I've tried it on Netscape 6.2 -> the same effect.

BUUUUUUUUUUUUUUUUUUUUUUTTTTTT:

I tried it on my laptop (winXP Prof with all updates) .... everything is going! :D :D :D

Now i'm going to the next windows dealer and buy XP-Prof for my PC :)

Okay ... i´m sorry .... it depends on my system .... perhaps Norton Internet Securit???

thank you all!!!!!!!!!!!

Best regards
Mark
Post Reply