Results 1 to 8 of 8

Hybrid View

  1. #1
    Join Date
    Mar 2009
    Posts
    64
    Plugin Contributions
    0

    Default Contact Us Form Question

    I installed the Captcha mod yesterday and it says it also adds to the Contact Us form. I don't have a custom contact us form and wondered if it came with zen cart and the developer who integrated my template got rid of it. I have define_contact_us.php but it has "put text here". Nothing special about it!

    I looked in Admin - Configuration - Define Page Status and saw that the contact us form is set to 1 for on.

    I searched other forums for my answer, but they were all addressing customizing it or something not related. I checked mods, but only find "add subject" or "add captcha" to contact form. FAQs returned nothing!

    What am I missing here? Did my developer write over it with "put text here"? Even if he did, I know other files for posting would have to have the supporting code. Can someone help me here? Thanks in advance!

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Contact Us Form Question

    Where is your site?
    The link should be in your information sidebox
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Mar 2009
    Posts
    64
    Plugin Contributions
    0

    Default Re: Contact Us Form Question

    I'm sorry...Information Sidebar?

    http://animalsuperstore.com/zenpro/index.php

    Thanks!

  4. #4
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Contact Us Form Question

    The link in the footer is to - index.php?main_page=page&id=15
    This looks to be a created ez page - where it could/should be an internal link ez page

    Try this for the default form And the CAPTCHA is present - remove the space

    http ://animalsuperstore.com/zenpro/index.php?main_page=contact_us

    https://www.zen-cart.com/tutorials/i...hp?article=117
    Zen-Venom Get Bitten

  5. #5
    Join Date
    Oct 2007
    Location
    Emporia, Kansas
    Posts
    1,762
    Plugin Contributions
    0

    Default Re: Contact Us Form Question

    I have the captcha mod installed and it works for the right places except the contact us page. I use the header_php.php that comes with it and get a totally blank page. So I ran debuggin tool and got this error message in the cache folder...which I can not seem to find the culprit to adjust anywhere.

    http://www.remembertheoccasons.com/shop

    template is ri-template-07 by rubiks

    errors from debug:

    [16-Dec-2009 03:32:44] PHP Warning: require(includes/modules/
    require_languages.php) [<a href='function.require'>function.require</a>]: failed to open stream: No such file or directory in /home/remember/public_html/shop/includes/modules/pages/contact_us/header_php.php on line 13
    [16-Dec-2009 03:32:44] PHP Warning: require(includes/modules/
    require_languages.php) [<a href='function.require'>function.require</a>]: failed to open stream: No such file or directory in /home/xxx/xxx/shop/includes/modules/pages/contact_us/header_php.php on line 13
    [16-Dec-2009 03:32:44] PHP Fatal error: require() [<a href='function.require'>function.require</a>]: Failed opening required 'includes/modules/
    require_languages.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/xxx/xxx/shop/includes/modules/pages/contact_us/header_php.php on line 13

    code from upper section of the file:

    Code:
    <?php
    /**
     * Contact Us Page
     *
     * @package page
     * @copyright Copyright 2003-2007 Zen Cart Development Team
     * @copyright Portions Copyright 2003 osCommerce
     * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
     * @version $Id: header_php.php 6202 2007-04-12 22:56:10Z drbyte $
     */
    // BOF Captcha
    require(DIR_WS_MODULES . zen_get_module_directory('require_languages.php'));
    
    // BOF Captcha
    if(CAPTCHA_CONTACT_US != 'false') {
        require(DIR_WS_CLASSES . 'captcha.php');
        $captcha = new captcha();
    }
    // EOF Captcha
    
    $error = false;
    if (isset($_GET['action']) && ($_GET['action'] == 'send')) {
      $name = zen_db_prepare_input($_POST['contactname']);
      $email_address = zen_db_prepare_input($_POST['email']);
      $enquiry = zen_db_prepare_input(strip_tags($_POST['enquiry']));
    
      $zc_validate_email = zen_validate_email($email_address);
    
    // BOF Captcha
      if (is_object($captcha) && !$captcha->validateCaptchaCode()) {
        $error = true;
        $messageStack->add('contact', ERROR_CAPTCHA);
      }
    //  if ($zc_validate_email and !empty($enquiry) and !empty($name)) {
      if ($zc_validate_email and !empty($enquiry) and !empty($name) and !$error) {
    // EOF Captcha

    thanks for any ideas

  6. #6
    Join Date
    Mar 2009
    Posts
    64
    Plugin Contributions
    0

    Default Re: Contact Us Form Question

    So there was a contact us form that came with Zen Cart. I added that internal link to my footer and it works. Thanks so much for your help!


 

 

Similar Threads

  1. Question about https in Contact Form
    By Athens Collectibles in forum Basic Configuration
    Replies: 8
    Last Post: 6 Dec 2012, 08:53 PM
  2. Contact Us Form question
    By Designzbylou in forum General Questions
    Replies: 10
    Last Post: 15 Apr 2010, 01:25 PM
  3. This might be a silly question about the contact us form
    By Soul39 in forum General Questions
    Replies: 3
    Last Post: 16 Jan 2009, 08:40 PM
  4. SPAM from ‘Contact Us’ form, even though form is removed
    By Beer_man in forum General Questions
    Replies: 5
    Last Post: 3 Dec 2008, 02:40 AM
  5. Quick question about the contact form
    By doodlebee in forum General Questions
    Replies: 11
    Last Post: 14 Dec 2006, 02:26 AM

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