Results 1 to 7 of 7
  1. #1
    Join Date
    Mar 2014
    Posts
    32
    Plugin Contributions
    0

    Default Contact Us form with Call for Price not working

    When I fill Full Name, Email Address, Message, and click Send button, I get a blank page with following on the browser bar: http://MySite.com/index.php?main_pag...us&action=send. Help will be highly appreciated.

  2. #2
    Join Date
    Dec 2010
    Location
    UK
    Posts
    1,771
    Plugin Contributions
    3

    Default Re: Contact Us form with Call for Price not working

    Quote Originally Posted by Sachin1008 View Post
    When I fill Full Name, Email Address, Message, and click Send button, I get a blank page with following on the browser bar: http://MySite.com/index.php?main_pag...us&action=send. Help will be highly appreciated.
    Have a look in your logs folder via ftp/cpanel and post the content of the file created when the error occurs.

  3. #3
    Join Date
    Mar 2014
    Posts
    32
    Plugin Contributions
    0

    Default Re: Contact Us form with Call for Price not working

    Thanks for the reply.

    [08-Apr-2014 05:20:37 America/Phoenix] PHP Warning: reset() expects parameter 1 to be array, null given in /home/content/99/10511299/html/MyShoppingHomePage/MyAdmin/includes/classes/object_info.php on line 29
    [08-Apr-2014 05:20:37 America/Phoenix] PHP Warning: Variable passed to each() is not an array or object in /home/content/99/10511299/html/MyShoppingHomePage/MyAdmin/includes/classes/object_info.php on line 30

  4. #4
    Join Date
    Mar 2014
    Posts
    32
    Plugin Contributions
    0

    Default Re: Contact Us form with Call for Price not working

    There are files like .htaccess, index.html, index.php, and no. of myDebu file which I guess you are requiring output of. Here is the output:
    [09-Apr-2014 05:37:50 America/Phoenix] PHP Parse error: syntax error, unexpected '<' in /home/content/99/10511299/html/contentshopping/includes/languages/english/classic/header.php on line 22

  5. #5
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,492
    Plugin Contributions
    88

    Default Re: Contact Us form with Call for Price not working

    Quote Originally Posted by Sachin1008 View Post
    There are files like .htaccess, index.html, index.php, and no. of myDebu file which I guess you are requiring output of. Here is the output:
    [09-Apr-2014 05:37:50 America/Phoenix] PHP Parse error: syntax error, unexpected '<' in /home/content/99/10511299/html/contentshopping/includes/languages/english/classic/header.php on line 22
    The error, as the log indicates, is in the file /includes/languages/english/classic/header.php on line 22. If you post the contents of that file (using the code tags, the # in the formatting bar when you create a posting) lines 15 to 25 it would help.

  6. #6
    Join Date
    Mar 2014
    Posts
    32
    Plugin Contributions
    0

    Default Re: Contact Us form with Call for Price not working

    Thanks for the reply. Here is the output:

    // header text in includes/header.php

    define('HEADER_TITLE_CREATE_ACCOUNT', 'Create Account');

    define('HEADER_TITLE_MY_ACCOUNT', 'My Account');

    define('HEADER_TITLE_CART_CONTENTS', 'Shopping Cart');

    define('HEADER_TITLE_CHECKOUT', 'Checkout');

    define('HEADER_TITLE_TOP', 'Top');

    define('HEADER_TITLE_CATALOG', 'Home');

    define('HEADER_TITLE_LOGOFF', 'Log Out');

    define('HEADER_TITLE_LOGIN', 'Log In');



    // added defines for header alt and text

    define('HEADER_ALT_TEXT', 'Splendid Digital Solutions [home link]');

    define('HEADER_SALES_TEXT', '<h1>Splendid Digital Solutions</h1>');

    define('HEADER_LOGO_WIDTH', '200px');

    define('HEADER_LOGO_HEIGHT', '70px');

    define('HEADER_LOGO_IMAGE', 'SDSlogo.jpg');



    // header Search Button/Box Search Button

    define('HEADER_SEARCH_BUTTON','Search');

    define('HEADER_SEARCH_DEFAULT_TEXT','Enter search keywords here');

    ?>

  7. #7
    Join Date
    Jan 2014
    Location
    Ontario, Canada
    Posts
    252
    Plugin Contributions
    3

    Default Re: Contact Us form with Call for Price not working

    Have you modified your admin/includes/classes/object_info.php file? An error suggests a change... it should look something like this:

    Code:
      class objectInfo {
    
    // class constructor
        function objectInfo($object_array) {
    //this line should be added, but should be tested first:
    //      if (!is_array($object_array)) return;
          reset($object_array);
          while (list($key, $value) = each($object_array)) {
            $this->$key = zen_db_prepare_input($value);
          }
        }
      }
    ?>

 

 

Similar Threads

  1. Call for Price form not working
    By Sachin1008 in forum Customization from the Admin
    Replies: 1
    Last Post: 18 Apr 2014, 05:52 PM
  2. Contact Us instead of Call for Price
    By Serious in forum General Questions
    Replies: 0
    Last Post: 4 May 2012, 01:28 PM
  3. Contact Form not working
    By fairy in forum General Questions
    Replies: 6
    Last Post: 26 Aug 2010, 06:51 PM
  4. Replies: 2
    Last Post: 16 Jul 2009, 02:34 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR