Jump to content

noppie

Members
  • Content count

    306
  • Joined

  • Last visited

Posts posted by noppie


  1. Hello

    I load this and on my login page I get this instead of a facebook button

     

    function logout(){ document.location.href = "logoff.php"; }

     

    Login with Facebook

     

    below is my login.php

    thank you

    Noppie

    <?php

    /*

    $Id: login.php 1739 2007-12-20 00:52:16Z hpdl $

     

    osCommerce, Open Source E-Commerce Solutions

    http://www.oscommerce.com

     

    Copyright © 2003 osCommerce

     

    Released under the GNU General Public License

    */

    //Facebook Connect

     

    include 'includes/classes/facebook.php';

     

    include_once "fbconnect.php";

     

     

     

    //if user is logged in and session is valid.

     

    if ($fbme){

     

    //collect some data using legacy api

     

    $param = array(

     

    'method' => 'users.getinfo',

     

    'uids' => $fbme['id'],

     

    'fields' => 'birthday_date, locale',

     

    'callback' => ''

     

    );

     

     

     

    try{

     

    $info = $facebook->api($param);

     

    }

     

    catch(Exception $o){

     

    error_log("Legacy Api Calling Error!");

     

    }

     

    }

     

    //end of Facebook Connect

    require('includes/application_top.php');

     

    // redirect the customer to a friendly cookie-must-be-enabled page if cookies are disabled (or the session has not started)

    if ($session_started == false) {

    tep_redirect(tep_href_link(FILENAME_COOKIE_USAGE));

    }

     

    require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_LOGIN);

     

    $error = false;

    if (isset($HTTP_GET_VARS['action']) && ($HTTP_GET_VARS['action'] == 'process')) {

    $email_address = tep_db_prepare_input($HTTP_POST_VARS['email_address']);

    $password = tep_db_prepare_input($HTTP_POST_VARS['password']);

     

    // Check if email exists

    $check_customer_query = tep_db_query("select customers_id, customers_firstname, customers_password, customers_email_address, customers_default_address_id from " . TABLE_CUSTOMERS . " where customers_email_address = '" . tep_db_input($email_address) . "'");

    if (!tep_db_num_rows($check_customer_query)) {

    $error = true;

    } else {

    $check_customer = tep_db_fetch_array($check_customer_query);

    // Check that password is good

    if (!tep_validate_password($password, $check_customer['customers_password'])) {

    $error = true;

    } else {

    if (SESSION_RECREATE == 'True') {

    tep_session_recreate();

    }

     

    $check_country_query = tep_db_query("select entry_country_id, entry_zone_id from " . TABLE_ADDRESS_BOOK . " where customers_id = '" . (int)$check_customer['customers_id'] . "' and address_book_id = '" . (int)$check_customer['customers_default_address_id'] . "'");

    $check_country = tep_db_fetch_array($check_country_query);

     

    $customer_id = $check_customer['customers_id'];

    $customer_default_address_id = $check_customer['customers_default_address_id'];

    $customer_first_name = $check_customer['customers_firstname'];

    $customer_country_id = $check_country['entry_country_id'];

    $customer_zone_id = $check_country['entry_zone_id'];

    tep_session_register('customer_id');

    tep_session_register('customer_default_address_id');

    tep_session_register('customer_first_name');

    tep_session_register('customer_country_id');

    tep_session_register('customer_zone_id');

     

    tep_db_query("update " . TABLE_CUSTOMERS_INFO . " set customers_info_date_of_last_logon = now(), customers_info_number_of_logons = customers_info_number_of_logons+1 where customers_info_id = '" . (int)$customer_id . "'");

     

    // restore cart contents

    $cart->restore_contents();

     

    if (sizeof($navigation->snapshot) > 0) {

    $origin_href = tep_href_link($navigation->snapshot['page'], tep_array_to_string($navigation->snapshot['get'], array(tep_session_name())), $navigation->snapshot['mode']);

    $navigation->clear_snapshot();

    tep_redirect($origin_href);

    } else {

    tep_redirect(tep_href_link(FILENAME_DEFAULT));

    }

    }

    }

    }

     

    if ($error == true) {

    $messageStack->add('login', TEXT_LOGIN_ERROR);

    }

     

    $breadcrumb->add(NAVBAR_TITLE, tep_href_link(FILENAME_LOGIN, '', 'SSL'));

    ?>

    <!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN">

    <html <?php echo HTML_PARAMS; ?>>

    <head>

    <meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>">

    <title><?php echo TITLE; ?></title>

    <base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>">

    <link rel="stylesheet" type="text/css" href="stylesheet.css">

    <script language="javascript"><!--

    function session_win() {

    window.open("<?php echo tep_href_link(FILENAME_INFO_SHOPPING_CART); ?>","info_shopping_cart","height=460,width=430,toolbar=no,statusbar=no,scrollbars=yes").focus();

    }

    //--></script>

    </head>

    <body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0">

    <!-- header //-->

    <?php require(DIR_WS_INCLUDES . 'header.php'); ?>

    <!-- header_eof //-->

     

    <!-- body //-->

    <table border="0" width="100%" cellspacing="3" cellpadding="3">

    <tr>

    <td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2">

    <!-- left_navigation //-->

    <?php require(DIR_WS_INCLUDES . 'column_left.php'); ?>

    <!-- left_navigation_eof //-->

    </table></td>

    <!-- body_text //-->

    <td width="100%" valign="top"><?php echo tep_draw_form('login', tep_href_link(FILENAME_LOGIN, 'action=process', 'SSL')); ?><table border="0" width="100%" cellspacing="0" cellpadding="0">

    <tr>

    <td><table border="0" width="100%" cellspacing="0" cellpadding="0">

    <tr>

    <td class="pageHeading"><?php echo HEADING_TITLE; ?></td>

    <td class="pageHeading" align="right"><?php echo tep_image(DIR_WS_IMAGES . 'table_background_login.gif', HEADING_TITLE, HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td>

    </tr>

    </table></td>

    </tr>

    <tr>

    <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>

    </tr>

    <?php

    if ($messageStack->size('login') > 0) {

    ?>

    <tr>

    <td><?php echo $messageStack->output('login'); ?></td>

    </tr>

    <tr>

    <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>

    </tr>

    <?php

    }

     

    if ($cart->count_contents() > 0) {

    ?>

    <tr>

    <td class="smallText"><?php echo TEXT_VISITORS_CART; ?></td>

    </tr>

    <tr>

    <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>

    </tr>

    <?php

    }

    ?>

    <tr>

    <td><table border="0" width="100%" cellspacing="0" cellpadding="2">

    <tr>

    <td class="main" width="50%" valign="top"><b><?php echo HEADING_NEW_CUSTOMER; ?></b></td>

    <td class="main" width="50%" valign="top"><b><?php echo HEADING_RETURNING_CUSTOMER; ?></b></td>

    </tr>

    <tr>

    <td width="50%" height="100%" valign="top"><table border="0" width="100%" height="100%" cellspacing="1" cellpadding="2" class="infoBox">

    <tr class="infoBoxContents">

    <td><table border="0" width="100%" height="100%" cellspacing="0" cellpadding="2">

    <tr>

    <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>

    </tr>

    <tr>

    <td class="main" valign="top"><?php echo TEXT_NEW_CUSTOMER . '<br><br>' . TEXT_NEW_CUSTOMER_INTRODUCTION; ?></td>

    </tr>

    <tr>

    <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>

    </tr>

    <tr>

    <td><table border="0" width="100%" cellspacing="0" cellpadding="2">

    <tr>

    <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>

    <td align="right"><?php echo '<a href="' . tep_href_link(FILENAME_CREATE_ACCOUNT, '', 'SSL') . '">' . tep_image_button('button_continue.gif', IMAGE_BUTTON_CONTINUE) . '</a>'; ?></td>

    <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>

    </tr>

    </table></td>

    </tr>

    </table></td>

    </tr>

    </table></td>

    <td width="50%" height="100%" valign="top"><table border="0" width="100%" height="100%" cellspacing="1" cellpadding="2" class="infoBox">

    <tr class="infoBoxContents">

    <td><table border="0" width="100%" height="100%" cellspacing="0" cellpadding="2">

    <tr>

    <td colspan="2"><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>

    </tr>

    <tr>

    <td class="main" colspan="2"><?php echo TEXT_RETURNING_CUSTOMER; ?></td>

    </tr>

    <tr>

    <td colspan="2"><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>

    </tr>

    <tr>

    <td class="main"><b><?php echo ENTRY_EMAIL_ADDRESS; ?></b></td>

    <td class="main"><?php echo tep_draw_input_field('email_address'); ?></td>

    </tr>

    <tr>

    <td class="main"><b><?php echo ENTRY_PASSWORD; ?></b></td>

    <td class="main"><?php echo tep_draw_password_field('password'); ?></td>

    </tr>

    <tr>

    <td colspan="2"><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>

    </tr>

    <tr>

    <td class="smallText" colspan="2"><?php echo '<a href="' . tep_href_link(FILENAME_PASSWORD_FORGOTTEN, '', 'SSL') . '">' . TEXT_PASSWORD_FORGOTTEN . '</a>'; ?></td>

    </tr>

    <tr>

    <td colspan="2"><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>

    </tr>

    <tr>

    <td colspan="2"><table border="0" width="100%" cellspacing="0" cellpadding="2">

    <tr>

    <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>

    <td align="right"><?php echo tep_image_submit('button_login.gif', IMAGE_BUTTON_LOGIN); ?></td>

    <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>

    <td width="10"></td> function logout(){

     

    document.location.href = "logoff.php";

     

    }

    </script>

     

    <p>

    <fb:login-button autologoutlink="true" perms="email,offline_access,user_birthday,user_location,user_work_history,user_religion_politics,user_relationships">Login with Facebook</fb:login-button>

     

    </p>

     

    <?php

     

    if($fbme>0){

     

    $fb_customer_query = tep_db_query("select customers_id, customers_firstname, customers_password, customers_email_address, customers_default_address_id from " . TABLE_CUSTOMERS . " where customers_email_address = '" . $fbme['email'] . "'");

     

    $fb_customer_check = tep_db_num_rows($fb_customer_query);

     

     

     

    if($fb_customer_check > 0){

     

    $fb_customer = tep_db_fetch_array($fb_customer_query);

     

    $fb_country_query = tep_db_query("select entry_country_id, entry_zone_id from " . TABLE_ADDRESS_BOOK . " where customers_id = '" . (int)$fb_customer['customers_id'] . "' and address_book_id = '" . (int)$fb_customer['customers_default_address_id'] . "'");

     

    $fb_country = tep_db_fetch_array($fb_country_query);

     

    $customer_id = $fb_customer['customers_id'];

     

    $customer_default_address_id = $fb_customer['customers_default_address_id'];

     

    $customer_first_name = $fb_customer['customers_firstname'];

     

    $customer_country_id = $fb_country['entry_country_id'];

     

    $customer_zone_id = $fb_country['entry_zone_id'];

     

    tep_session_register('customer_id');

     

    tep_session_register('customer_default_address_id');

     

    tep_session_register('customer_first_name');

     

    tep_session_register('customer_country_id');

     

    tep_session_register('customer_zone_id');

     

     

     

    tep_db_query("update " . TABLE_CUSTOMERS . " set fb_user_id = " . $fbme['id'] . " where customers_id = '" . (int)$customer_id . "'");

     

    tep_db_query("update " . TABLE_CUSTOMERS_INFO . " set customers_info_date_of_last_logon = now(), customers_info_number_of_logons = customers_info_number_of_logons+1 where customers_info_id = '" . (int)$customer_id . "'");

     

     

     

     

     

    //restore cart contents

     

    $cart->restore_contents();

     

     

     

    if (sizeof($navigation->snapshot) > 0) {

     

    $origin_href = tep_href_link($navigation->snapshot['page'], tep_array_to_string($navigation->snapshot['get'], array(tep_session_name())), $navigation->snapshot['mode']);

     

    $navigation->clear_snapshot();

     

    tep_redirect($origin_href);

     

    } else {

     

    tep_redirect(tep_href_link(FILENAME_DEFAULT));

     

    }

     

    }else{

     

    tep_redirect(tep_href_link(FILENAME_CREATE_ACCOUNT));

     

    }

     

    }

     

     

     

    ?> </tr>

    </table></td>

    </tr>

    </table></td>

    </tr>

    </table></td>

    </tr>

    </table>

    </form>

    <?php

    // *** BEGIN GOOGLE CHECKOUT ***

    if (defined('MODULE_PAYMENT_GOOGLECHECKOUT_STATUS') && MODULE_PAYMENT_GOOGLECHECKOUT_STATUS == 'True') {

    include_once('googlecheckout/gcheckout.php');

    }

    // *** END GOOGLE CHECKOUT ***

    ?>

    <?php

    // AMAZON CODE -> START

    require_once("checkout_by_amazon/checkout_by_amazon_util_dao.php");

    $utilDao = new UtilDAO();

    $utilDao->printButton();

    // AMAZON CODE -> END

    ?>

     

    </td>

    </tr>

    </table></td>

    <!-- body_text_eof //-->

    <td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2">

    <!-- right_navigation //-->

    <?php require(DIR_WS_INCLUDES . 'column_right.php'); ?>

    <!-- right_navigation_eof //-->

    </table></td>

    </tr>

    </table>

    <!-- body_eof //-->

     

    <!-- footer //-->

    <?php require(DIR_WS_INCLUDES . 'footer.php'); ?>

    <!-- footer_eof //-->

    <br>

    </body>

    </html>

    <?php require(DIR_WS_INCLUDES . 'application_bottom.php'); ?>


  2. Noami,

     

    The current release in the contribution area does not work properly, has not worked since it was updated for use with RC2a. Unfortunately, there is no longer any real support for this contribution. I ended up reworking the code so that it is functional but, I still have to FTP the images to the server as I never did figure out how to get the upload button to work properly.

     

     

    Chris

     

    anyway of sharing what you did,. I really need this bad,.

    Naomi


  3. OK I have been working on this for quite some time and can not for the life of me figure it out.

     

    My banners are not shopping up.

     

    I when to affiliate_configure.php

    turned on the debugging for banners.

     

    and this is what I got

    
    Notice: Undefined variable: prod_banner_id in /home/hera/public_html/shop/affiliate_show_banner.php on line 129
    
    Notice: Undefined variable: banner in /home/hera/public_html/shop/affiliate_show_banner.php on line 142
    
    Notice: Undefined variable: sql in /home/hera/public_html/shop/affiliate_show_banner.php on line 142
    Check the pathes! (catalog/includes/configure.php)
    absolute path to picture:	/home/hera/public_html/shop/images/
    build with:	/home/hera/public_html/shop/images/
    DIR_FS_CATALOG	/home/hera/public_html/shop/
    DIR_WS_CATALOG	
    Notice: Use of undefined constant DIR_WS_CATALOG - assumed 'DIR_WS_CATALOG' in /home/hera/public_html/shop/affiliate_show_banner.php on line 84
    DIR_WS_CATALOG
    DIR_WS_IMAGES	images/
    $banner	
    SQL-Query used:	
    Try to find error:	 
    SQL-Query:	No result
    Locating Pic	images/
    failed
    
    

     

    here is my shop/includes/configure.php looks like.

    // Define the webserver and path parameters
    // * DIR_FS_* = Filesystem directories (local/physical)
    // * DIR_WS_* = Webserver directories (virtual/URL)
     define('HTTP_SERVER', 'http://herasonlinemarket.com'); // eg, http://localhost - should not be empty for productive servers
     define('HTTPS_SERVER', 'https://herasonlinemarket.com'); // eg, https://localhost - should not be empty for productive servers
     define('ENABLE_SSL', true); // secure webserver for checkout procedure?
     define('HTTP_COOKIE_DOMAIN', 'herasonlinemarket.com');
     define('HTTPS_COOKIE_DOMAIN', 'herasonlinemarket.com');
     define('HTTP_COOKIE_PATH', '/shop/');
     define('HTTPS_COOKIE_PATH', '/shop/');
     define('DIR_WS_HTTP_CATALOG', '/shop/');
     define('DIR_WS_HTTPS_CATALOG', '/shop/');
     define('DIR_WS_IMAGES', 'images/');
     define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
     define('DIR_WS_INCLUDES', 'includes/');
     define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');
     define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');
     define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');
     define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');
     define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');
     define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/');
     define('DIR_FS_CATALOG', '/home/hera/public_html/shop/');
     define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
     define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

     

     

    please help.. i am getting a headahe over this.

    thank you the osc guru's

    noppie


  4. I need to have customer send me pictures of what they would like me to make for them.. now the problem I am having is this script below has two uploads but the first one does not work. only the second one.. and I for the life of me can not figure it out.. Can any of you

     

    thank you in advance.

    noppie

     

     

    any help please

    noppie

     

    <?php
    /*
     $Id: contact_us.php,v 1.42 2003/06/12 12:17:07 hpdl Exp $
    
     osCommerce, Open Source E-Commerce Solutions
     http://www.oscommerce.com
    
     Copyright (c) 2003 osCommerce
    
     Released under the GNU General Public License
    
     Upload sample Contribution from Edo Kantor edokantor@yahoo.com
    */
    require('includes/application_top.php');
    require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_SAMPLES);
    $error = false;
          if (isset($HTTP_GET_VARS['action']) && ($HTTP_GET_VARS['action'] == 'send')) {
    //edit the following fields
    require_once('includes/classes/class.phpmailer-lite.php');
    $to      = 'sss@email.com'; //change to your email address
    $email   = tep_db_prepare_input($HTTP_POST_VARS['email']);
    $name    = tep_db_prepare_input($HTTP_POST_VARS['name']);
    $subject = 'Upload Samples'; //change to your subject
    $comment = tep_db_prepare_input($HTTP_POST_VARS['enquiry']);
    $filename1 = basename( $_FILES['upload1']['name']);
    
    
    $mail  = new PHPMailerLite(); // defaults to using php "Sendmail" (or Qmail, depending on availability)
    
    $mail->IsMail(); // telling the class to use native PHP mail()
    
    $body = eregi_replace("[\]",'',$comment); //clean user input
    
    $mail->SetFrom( $email, 'upload sample');
    
    $address = $to;
    
    $mail->AddAddress($address, "Webmaster");
    
    $mail->Subject = $subject;
    
    $mail->AltBody = "To view the message, please use an HTML compatible email viewer!"; // optional, comment out and test
    
    $mail->MsgHTML($body);
    
    $mail->AddAttachment($_FILES['upload1']['tmp_name'], "$filename1"); 
    
    if (is_uploaded_file($_FILES['upload2']['tmp_name'])) {
    $filename2 = basename( $_FILES['upload2']['name']);
    $mail->AddAttachment($_FILES['upload2']['tmp_name'], "$filename2");
    	}
    
    if(!$mail->Send()) {
     $error = true;
    } else {
      tep_redirect(tep_href_link(FILENAME_UPLOAD_SAMPLE, 'action=success'));  
    }
    
     $messageStack->add('contact', ENTRY_EMAIL_ADDRESS_CHECK_ERROR);
    
     		}
    
     $breadcrumb->add(NAVBAR_TITLE, tep_href_link(FILENAME_SAMPLES));
    ?>
    <!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html <?php echo HTML_PARAMS; ?>>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>">
    <title><?php echo TITLE; ?></title>
    <base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>">
    <link rel="stylesheet" type="text/css" href="stylesheet.css">
    </head>
    <body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0">
    <!-- header //-->
    <?php require(DIR_WS_INCLUDES . 'header.php'); ?>
    
    <!-- header_eof //-->
    
    <!-- body //-->
    <table border="0" width="100%" cellspacing="0" cellpadding="3">
     <tr>
     	 <td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2">
    <!-- left_navigation //-->
    <?php require(DIR_WS_INCLUDES . 'column_left.php'); ?>
    <!-- left_navigation_eof //-->
     </table></td>
    <!-- body_text //-->
        <td width="100%" valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="0"><tr>
    
           <form enctype="multipart/form-data" action="upload_sample.php?action=send" method="post">
    
       <!--set file size limit to 2mb-->
    
    
    	<td><table border="0" width="100%" cellspacing="0" cellpadding="0">
    
    	<tr><td class="pageHeading"><?php echo HEADING_TITLE; ?></td>
               <td class="pageHeading" align="right"><?php echo tep_image(DIR_WS_IMAGES . 'table_background_contact_us.gif', HEADING_TITLE, HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td>
              </tr>
           </table></td>
         </tr>
         <tr>
    			<td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
    		  </tr>
    	<?php
    	  if ($messageStack->size('contact') > 0) {
    	?>
    		  <tr>
    			<td><?php echo $messageStack->output('contact'); ?></td>
    		  </tr>
    		  <tr>
    			<td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
    		  </tr>
    	<?php
    	  }
    
    	  if (isset($HTTP_GET_VARS['action']) && ($HTTP_GET_VARS['action'] == 'success')) {
    	?>
    		  <tr>
    			<td class="main" align="center"><?php echo  TEXT_SUCCESS; ?></td>
    		  </tr>
    		  <tr>
    			<td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
    		  </tr>
    		  <tr>
    			<td>
    
    
    
    
                       <table border="0" width="100%" cellspacing="0" cellpadding="2">
    				  <tr>
    					<td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>
    					<td align="right"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image_button('button_continue.gif', IMAGE_BUTTON_CONTINUE) . '</a>'; ?></td>
    					<td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>
    				  </tr>
    				</table>
    
                   </td>
    		  </tr>
    		 </table>
    	<?php
    	  } else {
    	?>
    		<table cellpadding="0" cellspacing="0" border="0" width="100%"> 
    		 <tr>
    			<td>
    
    
                       <table border="0" width="100%" cellspacing="5" cellpadding="2">
    				  <tr>
    					<td class="main"><?php echo ENTRY_NAME; ?></td>
    				  </tr>
    				  <tr>
    					<td class="main"><?php echo tep_draw_input_field('name'); ?></td>
    				  </tr>
    				  <tr>
    					<td class="main"><?php echo ENTRY_EMAIL; ?></td>
    				  </tr>
    				  <tr>
    					<td class="main"><?php echo tep_draw_input_field('email'); ?></td>
    				  </tr>
    
                         <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '10'); ?></td>
    
    				  <tr>
    					<td class="main"><?php echo ENTRY_ENQUIRY; ?></td>
    				  </tr>
    				  <tr>
    					<td><?php echo tep_draw_textarea_field('enquiry', 'soft', 5, 5); ?></td>
    				  </tr>
    
                         <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>
    
                          <tr>
    					<td class="main"><?php echo ENTRY_UPLOAD; ?></td>
    				  </tr>
    
    				  <tr>
    					<td class="main">
                           <!--limit file size upload to 2mb-->
    					  <input type="hidden" name="MAX_FILE_SIZE" value="2000000" />
    				<?php echo tep_draw_file_field('upload1' , 'file'); ?></td>
    				  </tr>
    
                         <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>
                          <tr>
    					<td class="main"><?php echo ENTRY_UPLOAD; ?></td>
    				  </tr>
    
                         <tr>
    					<td class="main">
    				<?php echo tep_draw_file_field('upload2' , 'file'); ?></td>
    				  </tr>
    
    				  <tr>
    				</table>
    				<table cellpadding="0" cellspacing="0" border="0" width="100%">
    					<tr><td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td></tr>
    				</table>
    				<table border="0" width="100%" cellspacing="0" cellpadding="2">
    					  <tr>
    						<td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>
    						<td align="right"><?php echo tep_image_submit('button_continue.gif', IMAGE_BUTTON_CONTINUE); ?></td>
    						<td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>
    					  </tr>
    				</table>
    				<table cellpadding="0" cellspacing="0" border="0" width="100%">
    					<tr><td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td></tr>
    				</table>
    
    
                    </td>
    		  </tr>
    	</table>
    
    
    <?php
     }
    ?>
    
    
    
    
    		</td></tr>
    	</table>
    </form></td>
    
    <!-- body_text_eof //-->
       <td class="col_right">
    <!-- right_navigation //-->
    <?php require(DIR_WS_INCLUDES . 'column_right.php'); ?>
    <!-- right_navigation_eof //-->
       </td>
     </tr>
    </table>
    <!-- body_eof //-->
    
    <!-- footer //-->
    <?php require(DIR_WS_INCLUDES . 'footer.php'); ?>
    <!-- footer_eof //--></body>
    </html>
    <?php require(DIR_WS_INCLUDES . 'application_bottom.php'); ?>
    


  5. I need to have customer send me pictures of what they would like me to make for them.. now the problem I am having is this script below has two uploads but the first one does not work. only the second one.. and I for the life of me can not figure it out.. Can any of you

     

    thank you in advance.

    noppie

     

     

     

     

    <?php
    /*
     $Id: contact_us.php,v 1.42 2003/06/12 12:17:07 hpdl Exp $
    
     osCommerce, Open Source E-Commerce Solutions
     http://www.oscommerce.com
    
     Copyright (c) 2003 osCommerce
    
     Released under the GNU General Public License
    
     Upload sample Contribution from Edo Kantor edokantor@yahoo.com
    */
    require('includes/application_top.php');
    require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_SAMPLES);
    $error = false;
          if (isset($HTTP_GET_VARS['action']) && ($HTTP_GET_VARS['action'] == 'send')) {
    //edit the following fields
    require_once('includes/classes/class.phpmailer-lite.php');
    $to      = 'sss@email.com'; //change to your email address
    $email   = tep_db_prepare_input($HTTP_POST_VARS['email']);
    $name    = tep_db_prepare_input($HTTP_POST_VARS['name']);
    $subject = 'Upload Samples'; //change to your subject
    $comment = tep_db_prepare_input($HTTP_POST_VARS['enquiry']);
    $filename1 = basename( $_FILES['upload1']['name']);
    
    
    $mail  = new PHPMailerLite(); // defaults to using php "Sendmail" (or Qmail, depending on availability)
    
    $mail->IsMail(); // telling the class to use native PHP mail()
    
    $body = eregi_replace("[\]",'',$comment); //clean user input
    
    $mail->SetFrom( $email, 'upload sample');
    
    $address = $to;
    
    $mail->AddAddress($address, "Webmaster");
    
    $mail->Subject = $subject;
    
    $mail->AltBody = "To view the message, please use an HTML compatible email viewer!"; // optional, comment out and test
    
    $mail->MsgHTML($body);
    
    $mail->AddAttachment($_FILES['upload1']['tmp_name'], "$filename1"); 
    
    if (is_uploaded_file($_FILES['upload2']['tmp_name'])) {
    $filename2 = basename( $_FILES['upload2']['name']);
    $mail->AddAttachment($_FILES['upload2']['tmp_name'], "$filename2");
    	}
    
    if(!$mail->Send()) {
     $error = true;
    } else {
      tep_redirect(tep_href_link(FILENAME_UPLOAD_SAMPLE, 'action=success'));  
    }
    
     $messageStack->add('contact', ENTRY_EMAIL_ADDRESS_CHECK_ERROR);
    
     		}
    
     $breadcrumb->add(NAVBAR_TITLE, tep_href_link(FILENAME_SAMPLES));
    ?>
    <!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html <?php echo HTML_PARAMS; ?>>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>">
    <title><?php echo TITLE; ?></title>
    <base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>">
    <link rel="stylesheet" type="text/css" href="stylesheet.css">
    </head>
    <body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0">
    <!-- header //-->
    <?php require(DIR_WS_INCLUDES . 'header.php'); ?>
    
    <!-- header_eof //-->
    
    <!-- body //-->
    <table border="0" width="100%" cellspacing="0" cellpadding="3">
     <tr>
     	 <td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2">
    <!-- left_navigation //-->
    <?php require(DIR_WS_INCLUDES . 'column_left.php'); ?>
    <!-- left_navigation_eof //-->
     </table></td>
    <!-- body_text //-->
        <td width="100%" valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="0"><tr>
    
           <form enctype="multipart/form-data" action="upload_sample.php?action=send" method="post">
    
       <!--set file size limit to 2mb-->
    
    
    	<td><table border="0" width="100%" cellspacing="0" cellpadding="0">
    
    	<tr><td class="pageHeading"><?php echo HEADING_TITLE; ?></td>
               <td class="pageHeading" align="right"><?php echo tep_image(DIR_WS_IMAGES . 'table_background_contact_us.gif', HEADING_TITLE, HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td>
              </tr>
           </table></td>
         </tr>
         <tr>
    			<td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
    		  </tr>
    	<?php
    	  if ($messageStack->size('contact') > 0) {
    	?>
    		  <tr>
    			<td><?php echo $messageStack->output('contact'); ?></td>
    		  </tr>
    		  <tr>
    			<td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
    		  </tr>
    	<?php
    	  }
    
    	  if (isset($HTTP_GET_VARS['action']) && ($HTTP_GET_VARS['action'] == 'success')) {
    	?>
    		  <tr>
    			<td class="main" align="center"><?php echo  TEXT_SUCCESS; ?></td>
    		  </tr>
    		  <tr>
    			<td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
    		  </tr>
    		  <tr>
    			<td>
    
    
    
    
                       <table border="0" width="100%" cellspacing="0" cellpadding="2">
    				  <tr>
    					<td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>
    					<td align="right"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image_button('button_continue.gif', IMAGE_BUTTON_CONTINUE) . '</a>'; ?></td>
    					<td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>
    				  </tr>
    				</table>
    
                   </td>
    		  </tr>
    		 </table>
    	<?php
    	  } else {
    	?>
    		<table cellpadding="0" cellspacing="0" border="0" width="100%"> 
    		 <tr>
    			<td>
    
    
                       <table border="0" width="100%" cellspacing="5" cellpadding="2">
    				  <tr>
    					<td class="main"><?php echo ENTRY_NAME; ?></td>
    				  </tr>
    				  <tr>
    					<td class="main"><?php echo tep_draw_input_field('name'); ?></td>
    				  </tr>
    				  <tr>
    					<td class="main"><?php echo ENTRY_EMAIL; ?></td>
    				  </tr>
    				  <tr>
    					<td class="main"><?php echo tep_draw_input_field('email'); ?></td>
    				  </tr>
    
                         <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '10'); ?></td>
    
    				  <tr>
    					<td class="main"><?php echo ENTRY_ENQUIRY; ?></td>
    				  </tr>
    				  <tr>
    					<td><?php echo tep_draw_textarea_field('enquiry', 'soft', 5, 5); ?></td>
    				  </tr>
    
                         <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>
    
                          <tr>
    					<td class="main"><?php echo ENTRY_UPLOAD; ?></td>
    				  </tr>
    
    				  <tr>
    					<td class="main">
                           <!--limit file size upload to 2mb-->
    					  <input type="hidden" name="MAX_FILE_SIZE" value="2000000" />
    				<?php echo tep_draw_file_field('upload1' , 'file'); ?></td>
    				  </tr>
    
                         <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>
                          <tr>
    					<td class="main"><?php echo ENTRY_UPLOAD; ?></td>
    				  </tr>
    
                         <tr>
    					<td class="main">
    				<?php echo tep_draw_file_field('upload2' , 'file'); ?></td>
    				  </tr>
    
    				  <tr>
    				</table>
    				<table cellpadding="0" cellspacing="0" border="0" width="100%">
    					<tr><td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td></tr>
    				</table>
    				<table border="0" width="100%" cellspacing="0" cellpadding="2">
    					  <tr>
    						<td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>
    						<td align="right"><?php echo tep_image_submit('button_continue.gif', IMAGE_BUTTON_CONTINUE); ?></td>
    						<td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>
    					  </tr>
    				</table>
    				<table cellpadding="0" cellspacing="0" border="0" width="100%">
    					<tr><td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td></tr>
    				</table>
    
    
                    </td>
    		  </tr>
    	</table>
    
    
    <?php
     }
    ?>
    
    
    
    
    		</td></tr>
    	</table>
    </form></td>
    
    <!-- body_text_eof //-->
       <td class="col_right">
    <!-- right_navigation //-->
    <?php require(DIR_WS_INCLUDES . 'column_right.php'); ?>
    <!-- right_navigation_eof //-->
       </td>
     </tr>
    </table>
    <!-- body_eof //-->
    
    <!-- footer //-->
    <?php require(DIR_WS_INCLUDES . 'footer.php'); ?>
    <!-- footer_eof //--></body>
    </html>
    <?php require(DIR_WS_INCLUDES . 'application_bottom.php'); ?>
    


  6. I try to get to my site and I am getting

     

    Warning: require_once(IDS/Init.php) [function.require-once]: failed to open stream: No such file or directory in /home/hera/public_html/shop/includes/modules/osc_phpids.php on line 90

     

    Fatal error: require_once() [function.require]: Failed opening required 'IDS/Init.php' (include_path='.:/usr/lib/php:/usr/local/lib/php:includes/phpids/lib/') in /home/hera/public_html/shop/includes/modules/osc_phpids.php on line 90

     

    what did I fortget


  7. Hello

    First off thank you for making this mod.. i know I couldn't do it..

    the problem i am having is I sell multi items at one time and they weight between 1 oz to 1 lb.

     

    I have read through this forum..and can't find the answer..

    when there are more than one item I don't think the weights are adding up.

     

    and I am not sure if I am adding the oz correctly

    do I add 0.01 for one oz or .10 would that be 10 oz..

     

    thank you

    Noppie


  8. I think what this person is saying

    what is confusing Screenshot-1.png

     

    How would the customer know what the choices are to choose from

    they need to know what A would be and what b would be and c would be.

    I hope me and the picture explain it well.

    thank you

    Naomi

     

     

     

    You shouldnt see the answers, but you should see:

     

    Please answer the following qualification question

    is it red // this was the question

    Please indicate A, B, or C *

     

    They have to search site for answer, as read at top of install.txt

    They enter the answer in the box.


  9. Please anyone on the shipping.. I really want to use this checkout

    thankl you

    noppie

     

     

    I need first class also..

    this shipping on this has been a nightmare for me.. I am missing something

    I have table.php for shipping a

    and I did the shipping generator

    and got this code

    and when you go to the Advanced Configuration Dashboard this option does not show up..

    as Merchant Calculated Shipping Configuration

    I would use the carrier shipping one but there is no first class and most of my items are first class

    so please what am I missing.

    thank you for your quick response.

    Noppie :blink:


  10. I have a fix that will work until the shipping is fixed or I am explained how to use the merchant_calculated_methods----- I have a message at the google button for my customer to use the media price and I send out first class. I don't know any other way around until someone explains like I am a 5 year on how to setup the merchant calculated methods

     

    I hope to have it explained to me soon.'

     

    thank you

    noppie ;)


  11. I see now Carrier Calculated Shipping does not include First-Class USPS. I traced the missing code down in carrier_calculated_methods.php, there is a comment line in the array where first class should be. I was going to add it to the array, but the documentation lists the valid methods and it is missing there as well, with a warning not to create others. I could find no mention, even in these forums, of anyone even mentioning that you can't use USPS First class with Carrier Calculated Shipping.

     

    Seems odd.

    I need first class also..

    this shipping on this has been a nightmare for me.. I am missing something

    I have table.php for shipping a

    and I did the shipping generator

    and got this code

    <?php

    /**

    * File: googlecheckout/library/shipping/merchant_calculated_methods.php file

    */

    $mc_shipping_methods = array(

    'table' => array(

    'domestic_types' =>

    array(

    'table' => 'MODULE_SHIPPING_TABLE_TEXT_WAY',

     

    ),

     

    'international_types' =>

    array(

    'table' => 'MODULE_SHIPPING_TABLE_TEXT_WAY_1',

     

    ),

    ),

    );

     

    $mc_shipping_methods_names = array(

    'table' => 'Table Rate',

    );

    ?>

    and when you go to the Advanced Configuration Dashboard this option does not show up..

    as Merchant Calculated Shipping Configuration

    I would use the carrier shipping one but there is no first class and most of my items are first class

    so please what am I missing.

    thank you for your quick response.

    Noppie :blink:


  12. I am having the same problem..

     

    I get this when I go to update the Google Checkout Module Dashboard

    Warning: Cannot modify header information - headers already sent by (output started at /homeXXX/public_html/shop/googlecheckout/library/shipping/merchant_calculated_methods.php:37) in /home/hera/public_html/shop/admin/gc_dashboard.php on line 61

    and on line 61 in the gc_dashboard.php is

     

    // Redirect to this page via GET.

    header('Location: ' . $_SERVER['PHP_SELF']);

     

    thank you for any help.

    below or above

    noppie

     

     

    Ok I now got it working sort of.. I am having the same problem with this mod and I did with the last one..

     

    the shipping.. for example I want the first shipping to be 2.00 and anything added will go up .50 untill 5.00 is reach..

    and I set up the table

    and when I go to use the sand box only a dollar shows up.. what am I doing wrong.

    now I used table or zone based rates same result.

     

    Remove the Canadian Post "CA" and try it again, there was a problem with it.


  13. Ok I now got it working sort of.. I am having the same problem with this mod and I did with the last one..

     

    the shipping.. for example I want the first shipping to be 2.00 and anything added will go up .50 untill 5.00 is reach..

    and I set up the table

    and when I go to use the sand box only a dollar shows up.. what am I doing wrong.

    now I used table or zone based rates same result.

     

    Zone Based Rates

     

    Enable Zones Method

    True

     

    Tax Class

    --none--

     

    Sort Order

    0

     

    Zone 1 Countries

    US,CA

     

    Zone 1 Shipping Table

    1:2.50,3:2.3.00,4:3.50,5:5.00

     

    this is what i got from the shipping generator.

    please

     

    <?php
    /**
     * File: googlecheckout/library/shipping/merchant_calculated_methods.php file
     */ 
    $mc_shipping_methods = array(
    					'zones' => array(
    								'domestic_types' =>
    								  array(
    									  'zones' => 'Shipping to US : 0 lb(s)',
    
    									   ),
    
    								'international_types' =>
    								  array(
    
    									   ),
    									),
    							  );
    
    $mc_shipping_methods_names = array(
    									 'zones' => 'Zone Rates',
    									);
    ?>

     

    noppie


  14. I just spent the last two days updating to v2.2.rc2a.

    That pink BG looks like an error css.style? Any error messages? Is this before you try to install or after? If there is an open tag I would check admin/modules.php near google inserts and any require/includes on that page, and admin/configure.php.

    I have the backgournd that color because I like it and the gray bluish color is so boring..

     

    v 1.5 works best with PHP5 with cURL (libcurl) installed and enabled..I have all that.. double checked.

     

    Google says: earlier PHP 4.3.0 with libcurl v7.9.0 or newer, and libxml-2.4.14 or newer for xml is ok, but I expect it could be problematic?

     

    not sure about mySQL db changes, I never installed v1.45, but v1.5 does not use googlecheck_out_logs B table? Configurations changes should be updated when you install. There are some db config alterations in code at: catalog/includes/modules/payment/googlecheckout.php near line #263, #280... should I remove the older database file for the google.. so it can use the new ones? I don't think that would be the problem.

     

    also I noticed some changes in variable names when I compared 1.5 to 1.45. So I guess the answer wouold be yes. remove the database files.

     

    Did you install a clean osC v2.2, RC 2a and v1.5 for testing? This would probably be a good idea? You should be able to install a test version on the same domain if you can use additional db's. You should also create new merchant and user Google checkout accounts for testing. Yes I did and you where right.. it looked correct.. I didn't do the testing but from everything I read I am sure it will work.. so. back to the drawing board so to speak. I am going to start adding the mods that I am using into the new cart and see what happens.. boy from everything I read googlecheck is a real plus-- thank you for your help.

    I will let you know my progress if you want to know.

    noppie


  15. oops...There is some additional google code in admin/modules.php near line #50 I missed in last post, see below:

     

    admin/modules line #15

    require('includes/application_top.php');
    
     // *** BEGIN GOOGLE CHECKOUT ***
     require_once(DIR_FS_CATALOG . 'googlecheckout/inserts/admin/modules1.php');
     // *** END GOOGLE CHECKOUT ***

     

    Also in :

    admin/modules near line #50

    	  case 'save':
    	// *** BEGIN GOOGLE CHECKOUT ***
    	require(DIR_FS_CATALOG . 'googlecheckout/inserts/admin/modules2.php');
    	// *** END GOOGLE CHECKOUT ***
    	tep_redirect(tep_href_link(FILENAME_MODULES, 'set=' . $set . '&module=' . $HTTP_GET_VARS['module']));

     

    I did option B install on a clean test osC catalog because there are no deployment app. instructions for linux

     

    google v1.5 is for osCommerce v2.2, RC 2a only, is this your version? I just spent the last two days updating to v2.2.rc2a.. and i still get the weird underline like it is suppose to be a link to somewhere. like there is a tag that isn;t closed

     

    If you are upgrading from a previous version of this module, google read me says be sure to uninstall and reinstall the module in the osCommerce admin console after you deploy the source code (by clicking "uninstall" and then "install"). I removed the verison.. deleted my cookies and clear the cache. and then install the module. This ensures that the database tables are adjusted appropriately. So there must be changes to the db tables, configuration where would I find these changes..

     

     

    my v1.5 db tables are:

     

    google_checkout google_checkout

    googlecheck_out_logs B

    google_configuration

    google_orders

    google_configuration

    google_orders

     

    Are you getting an install button in admin > modules > payment > for the google checkout module? see this picture --this is what I see before install. any Ideasnormal_Screenshot-8.png


  16. My guess is you missed something in your install...or something in php syntax got mixed... my code ...

     

    near admin/modules line #15

    require('includes/application_top.php');
    
     // *** BEGIN GOOGLE CHECKOUT ***
     require_once(DIR_FS_CATALOG . 'googlecheckout/inserts/admin/modules1.php');
     // *** END GOOGLE CHECKOUT ***

     

    On catalog/includes/modules/payment/googlecheckout.php near line #263 is

    function install() {
    global $language;
    require_once(DIR_FS_CATALOG . 'includes/languages/' . $language . '/modules/payment/googlecheckout.php');
    tep_db_query(
    	"ALTER TABLE ". TABLE_CONFIGURATION 
    	. " CHANGE `configuration_value` `configuration_value` TEXT NOT NULL");
    
    // Options will appear in the same order as we insert them in the code
    // if we increment this variable each time.
    $sort_order = 0;

    and near line #280 is

    	$this->insertConfiguration(
    	"For more options, see the " . $this->getOscLink("Advanced Configuration Dashboard", "gc_dashboard.php"),
    	'MODULE_PAYMENT_GOOGLECHECKOUT_LINK',
    	'',
    	'',		
    	$sort_order++,
    	'tep_cfg_select_option(array(),');

     

    Also check/make sure you've got v1.5 versions

     

    catalog/admin/gc_dashboard.php

    catalog/googlecheckout folder installed

     

    Not sure but hope this may help?

     

    thank you so much for your relpy,.

    No that didn't help I have a lot mods on my store..but I uploaded your version of the admin/modules.php

    I deleted and reloaded the catalog/googlecheckout.

     

    I did everything I can think of.. I when through all the files and reloaded.. I didn't see where there is a new database files.. did any of that changed..

    I am going to load in a different domain. a osc cart and load te googlecheckout there to see what happens and compare the two.

     

    Now I didn't use the installer because I use linux ubuntu.

    I hope that didn't effect anything..

    again thank you for the quick reply

    noppie


  17. I got the below fixed now I have a really strange problem

     

    I reloaded all the files and got rid the of the error below.. that was because I didn't have the correct file in modules/payments.

    and now I get this when I go to add merchant keys and suchnormal_Screenshot-7.png

    you can see in this picture there is a link that is not closed off.. and I have looked in the module/payments/googlecheckout.php

    at no avail. I am not a php programmer so I could have missed something.

    all I know is it should look like this; edit_options.png

     

    and anyone give me a hit where to look.. I am baffled.

    noppie

     

     

     

     

     

     

     

     

     

     

     

    Ok I updated the files from google1.4 to goolgecheck out to 1.5 hoping to fix the shipping problem I have been having.

    I had google shipping was working but it only would charge one price I couldn't figure out how to charge different prices for different items.. anyway so Ithought I would upgrade to the lasted one. and now I can't do anything because I get this error.

     

    Fatal error: Call to undefined function gc_cfg_select_shipping() in /home/hera/public_html/shop/admin/modules.php(217) : eval()'d code on line 1

     

    I hope someone can help.

    thankyou

    Noppie


  18. Ok I updated the files from google1.4 to goolgecheck out to 1.5 hoping to fix the shipping problem I have been having.

    I had google shipping was working but it only would charge one price I couldn't figure out how to charge different prices for different items.. anyway so Ithought I would upgrade to the lasted one. and now I can't do anything because I get this error.

     

    Fatal error: Call to undefined function gc_cfg_select_shipping() in /home/hera/public_html/shop/admin/modules.php(217) : eval()'d code on line 1

     

    I hope someone can help.

    thankyou

    Noppie


  19. I did this and it worked for one item.. googlecheck out isn't charging only a $1.00

     

    It is charging 3.50 for one book or tow books..

    now All I need how to charge the extra 1.45 for the extra books..

    and how to deal with free shipping.. thank you

    Noppie

    2) Apply the include_once fix i.e. in includes/classes/shipping:

     

    Find:

     

    for ($i=0, $n=sizeof($include_modules); $i<$n; $i++) {

    include(DIR_WS_LANGUAGES . $language . '/modules/shipping/' . $include_modules[$i]['file']);

    include(DIR_WS_MODULES . 'shipping/' . $include_modules[$i]['file']);

     

    $GLOBALS[$include_modules[$i]['class']] = new $include_modules[$i]['class'];

    }

     

    And replace with:

     

    for ($i=0, $n=sizeof($include_modules); $i<$n; $i++) {

    include_once(DIR_WS_LANGUAGES . $language . '/modules/shipping/' . $include_modules[$i]['file']);

    include_once(DIR_WS_MODULES . 'shipping/' . $include_modules[$i]['file']);

     

    $GLOBALS[$include_modules[$i]['class']] = new $include_modules[$i]['class'];

    }

     

     

     

     

    Help

     

    Can anyone help me with the shipping on the google checkout.

     

    I am just completely lost.. I sell used books and what I want the price to be is 3.50 for the first and 4.95 for all the rest of the books ordered.. plus I am selling some jewerly that i want to offer free shipping..

    and I am at a lost for what to do..

    I am using the shipping table where I can use quanilty to price the items.. but that doesn't translate back to the google checkout .. the price for shipping in only $1.00.

     

    I know people say don't use this but that is the only sales I am getting right now are google.. lucky the books being bought are real small..

    anyway please help.. if you can.. I just feel so dumb.

    nppie ;)

×