Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1

    Default Email thankyou and redirect script wanted

    Hi, does anyone know the script and where to put it so that as soon as someone has sent an e-mail it says 'Thank you' and redirects back to contact page.

    Thanks in advance
    Wild Fashions (Alternative)
    Using Zen Cart 1.38 and Purple Lily Template

  2. #2
    Join Date
    Jun 2003
    Posts
    33,721
    Plugin Contributions
    0

    Default Re: Email thankyou and redirect script wanted

    If you are talking about your Zen Cart - it should do that automatically - BTW- the shop you have in your signature is broken - sending a contact_us goes to a blank page.
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

  3. #3

    Default Re: Email thankyou and redirect script wanted

    Hi and thanks for the reply, The Contact Us page does send you to a blank page after sending an e-mail, but it does send. How do I fix the blank page problem?
    Wild Fashions (Alternative)
    Using Zen Cart 1.38 and Purple Lily Template

  4. #4
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,571
    Plugin Contributions
    1

    Default Re: Email thankyou and redirect script wanted

    After submission a person should be redirected to: contact_us.html?action=success

    If you are using a Custom Template, what happens when you switch to Classic Template and try it?

  5. #5

    Default Re: Email thankyou and redirect script wanted

    Hi, exactly the same happens when I switch to Classic! A blank page!
    Wild Fashions (Alternative)
    Using Zen Cart 1.38 and Purple Lily Template

  6. #6
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Email thankyou and redirect script wanted

    Troubleshooting tool posted in your duplicate post on another thread: http://www.zen-cart.com/forum/showth...800#post579800
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  7. #7

    Default Re: Email thankyou and redirect script wanted

    Quote Originally Posted by DrByte View Post
    Troubleshooting tool posted in your duplicate post on another thread: http://www.zen-cart.com/forum/showth...800#post579800
    That just brings up masses of text so...................plan B

    How do I remove the Contact Us form so I can insert my own?

    Many thanks in advance

    PS: Sorry I found that thread after posting a thread here.
    Wild Fashions (Alternative)
    Using Zen Cart 1.38 and Purple Lily Template

  8. #8
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Email thankyou and redirect script wanted

    If your contact-us page is broken, you probably have incorrectly altered one or more files, including but not limited to:
    /includes/modules/pages/contact_us/header_php.php
    /includes/languages/english/contact_us.php
    /includes/templates/your_template/templates/tpl_contact_us_default.php

    Maybe you need to replace those files with the originals?
    Maybe turning on the debug-logging tool mentioned in my previous post might shed some light on the specific PHP errors you've got which are causing the problem.
    Maybe comparing those files with the originals that come with Zen Cart might identify causes.

    Granted, there's not much more we can do to help you without knowing what version of Zen Cart you're using, whether it's been upgraded, from what version, a list of all addons you've added, your PHP version, and even what you're using for your email settings.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  9. #9

    Default Re: Email thankyou and redirect script wanted

    Hi ran debugging tool and it produced the following error (generated 3 reports)

    [05-Jul-2008 04:46:38] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/wildfash/public_html/catalogue/includes/languages/english.php:1401) in /home/wildfash/public_html/catalogue/includes/init_includes/init_templates.php on line 78

    Your help is appreciated and hopefully I will be a quick learner
    Wild Fashions (Alternative)
    Using Zen Cart 1.38 and Purple Lily Template

  10. #10
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Email thankyou and redirect script wanted

    Quote Originally Posted by glamour1artworks View Post
    [05-Jul-2008 04:46:38] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/wildfash/public_html/catalogue/includes/languages/english.php:1401) in
    Another FAQ found by looking up that message:
    https://www.zen-cart.com/tutorials/index.php?article=87
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v136 Redirect script to My shop
    By IDW in forum General Questions
    Replies: 7
    Last Post: 24 Feb 2012, 06:14 PM
  2. World pay thankyou message and card details
    By snow-man in forum Built-in Shipping and Payment Modules
    Replies: 0
    Last Post: 16 Sep 2008, 10:47 PM
  3. php script to redirect to different folder
    By tony_sar in forum General Questions
    Replies: 1
    Last Post: 5 Oct 2006, 10:06 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg