Jump to content

megbr

Members
  • Content count

    25
  • Joined

  • Last visited

Posts posted by megbr


  1. Hmmm .. I've "doctored" a catalog/includes/classes/seo.class.php attached below .. please feed back.

     

     

    Hi Robert,

     

    I've installed Independent SEO URL Validation 1.0.2 according to the instructions and my categories are reported as http://mysite/-c-nn.html (n=number) and selecting any category redirects me to the index exactly as reported by charlie (post 82) and psq (post 91). I think you sent the fix to psq from post 91 but it's not clear for me which was. Could you please help me?


  2. Hi,

     

    I hope someone can help me to solve my problem. I've installed the seo validation without any problem or error message. In my website almost all categories have two sub-categories inside, so now after the contribution I can't open any category but if I disable the validation in my Admin then the categories work again.

     

    Please let me know how I could fix this. Thank you so much.

     

    Meg


  3. Hi Anita,

     

    This is a copy of my catalog/product_info.php before I changed. When I was in the step 9 making the changes for new install I found the code that needed to be changed but it was like unavailable as you can see below, so I added the new code and removed the /* and */. Maybe is here the problem?

     

    Margarete

     

     

    <?php

     

    /*

     

    $Id: product_info.php,v 1.97 2003/07/01 14:34:54 hpdl Exp $

     

     

     

    osCommerce, Open Source E-Commerce Solutions

     

    http://www.oscommerce.com

     

     

     

    Copyright © 2003 osCommerce

     

     

     

    Released under the GNU General Public License

     

    */

     

     

     

    require('includes/application_top.php');

     

     

     

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

     

     

     

    $product_check_query = tep_db_query("select count(*) as total from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd where p.products_status = '1' and p.products_id = '" . (int)$HTTP_GET_VARS['products_id'] . "' and pd.products_id = p.products_id and pd.language_id = '" . (int)$languages_id . "'");

     

    $product_check = tep_db_fetch_array($product_check_query);

     

    ?>

     

    <!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 popupWindow(url) {

     

    window.open(url,'popupWindow','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,re

    sizable=yes,copyhistory=no,width=100,height=100,screenX=150,screenY=150,top=150,l

    eft=150')

     

    }

     

    //--></script>

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

    function MM_swapImgRestore() { //v3.0

    var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a)&&x.oSrc;i++) x.src=x.oSrc;

    }

     

    function MM_findObj(n, d) { //v4.01

    var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {

    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}

    if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[n];

    for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers.document);

    if(!x && d.getElementById) x=d.getElementById(n); return x;

    }

     

    function MM_swapImage() { //v3.0

    var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)

    if ((x=MM_findObj(a))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}

    }

    //--></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="0" cellpadding="0">

     

    <tr>

     

    <!-- body_text //-->

     

    <td width="100%" valign="top"><?php echo tep_draw_form('cart_quantity', tep_href_link(FILENAME_PRODUCT_INFO, tep_get_all_get_params(array('action')) . 'action=add_product')); ?>

     

     

     

    <table cellspacing=0 cellpadding=0 width=100%><tr><td align=left>

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

    <?php

     

    if ($product_check['total'] < 1) {

     

    ?>

     

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

     

    <tr>

     

    <td><?php new infoBox(array(array('text' => TEXT_PRODUCT_NOT_FOUND))); ?></td>

     

    </tr>

     

    <tr>

     

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

     

    </tr>

     

     

     

     

     

    <tr>

     

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

     

    <tr class="infoBoxContents">

     

    <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></td>

     

    </tr>

     

    </table>

     

    <?php

     

    } else {

     

    //BOF UltraPics

    //BOF Original

    /*

    $product_info_query = tep_db_query("select p.products_id, pd.products_name, pd.products_description, p.products_model, p.products_quantity, p.products_image, pd.products_url, p.products_price, p.products_tax_class_id, p.products_date_added, p.products_date_available, p.manufacturers_id from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd where p.products_status = '1' and p.products_id = '" . (int)$HTTP_GET_VARS['products_id'] . "' and pd.products_id = p.products_id and pd.language_id = '" . (int)$languages_id . "'");

    */

    //EOF Original

    $product_info_query = tep_db_query("select p.products_id, pd.products_name, pd.products_description, p.products_model, p.products_quantity, p.products_image, p.products_image_med, p.products_image_lrg, p.products_image_sm_1, p.products_image_xl_1, p.products_image_sm_2, p.products_image_xl_2, p.products_image_sm_3, p.products_image_xl_3, p.products_image_sm_4, p.products_image_xl_4, p.products_image_sm_5, p.products_image_xl_5, p.products_image_sm_6, p.products_image_xl_6, pd.products_url, p.products_price, p.products_tax_class_id, p.products_date_added, p.products_date_available, p.manufacturers_id from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd where p.products_status = '1' and p.products_id = '" . (int)$HTTP_GET_VARS['products_id'] . "' and pd.products_id = p.products_id and pd.language_id = '" . (int)$languages_id . "'");

    //EOF UltraPics

     

    $product_info = tep_db_fetch_array($product_info_query);

     

     

     

    tep_db_query("update " . TABLE_PRODUCTS_DESCRIPTION . " set products_viewed = products_viewed+1 where products_id = '" . (int)$HTTP_GET_VARS['products_id'] . "' and language_id = '" . (int)$languages_id . "'");

     

     

     

    if ($new_price = tep_get_products_special_price($product_info['products_id'])) {

     

    $products_price = '<s pr_price style="color:#777777; font-size:11px">' . $currencies->display_price($product_info['products_price'], tep_get_tax_rate($product_info['products_tax_class_id'])) . '</s> <span class=ch8>' . $currencies->display_price($new_price, tep_get_tax_rate($product_info['products_tax_class_id'])) . '</span>';

     

    } else {

     

    $products_price ='<span pr_price>'. $currencies->display_price($product_info['products_price'], tep_get_tax_rate($product_info['products_tax_class_id']));

     

    }

     

     

     

    if (tep_not_null($product_info['products_model'])) {

     

    $products_name = $product_info['products_name'] . '<br><span class="smallText">[' . $product_info['products_model'] . ']</span>';

     

    } else {

     

    $products_name = $product_info['products_name'];

     

    }

     

    ?>

     

    <table cellspacing=0 cellpadding=0>

     

    <tr><td width=485 valign=top>

     

    <table width="485" cellpadding=0 cellspacing=0>

     

    <tr><td width="490"><img src=images/m27.gif width=490 height=8></td>

    </tr>

     

    <tr><td class=ch8 valign=top>

     

    <table width="485" cellpadding=0 cellspacing=0>

     

    <tr><td height=8></td></tr>

     

    <tr><td class=ml5 style="padding-left: 7px"><?=$products_name?></td></tr>

     

    <tr><td height=8></td></tr>

     

    <tr><td COLSPAN=2 style="padding-left: 5px">

     

    <table width=470 height="1" cellpadding=0 cellspacing=0>

     

    <tr><td bgcolor=#A6C279 height=1></td></tr>

    </table>

     

    </td></tr>

     

    <tr valign="middle"><td width="60%" align="left">

     

     

     

     

     

     

     

     

     

    <!-- display image -->

     

    <?php

     

    if (tep_not_null($product_info['products_image'])) {

     

    ?>

     

    <table cellspacing="0" cellpadding="0" align="left" width="100%">

     

    <tr valign="middle">

     

    <td align="center" class="smallText" width="100%">

     

    <!--BOF UltraPics-->

    <?php

    if ($product_info['products_image_med']!='') {

    $new_image = $product_info['products_image_med'];

    $image_width = MEDIUM_IMAGE_WIDTH;

    $image_height = MEDIUM_IMAGE_HEIGHT;

    } else {

    $new_image = $product_info['products_image'];

    $image_width = LARGE_IMAGE_WIDTH;

    $image_height = LARGE_IMAGE_HEIGHT;

    }

     

    ?>

    <!--EOF UltraPics-->

     

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

     

    //BOF UltraPics

    //BOF Original

    /*

    document.write('<?php echo '<a href="java script:popupWindow(\\\'' . tep_href_link(FILENAME_POPUP_IMAGE, 'pID=' . $product_info['products_id']) . '\\\')">' . tep_image(DIR_WS_IMAGES . $product_info['products_image'], addslashes($product_info['products_name']), LARGE_IMAGE_WIDTH, LARGE_IMAGE_HEIGHT, 'hspace="5" vspace="5" name="Image" align="middle"' ) . '<br>' . TEXT_CLICK_TO_ENLARGE . '</a>'; ?>');

    */

    //EOF Original

    document.write('<?php echo tep_image(DIR_WS_IMAGES . $new_image, addslashes($product_info['products_name']), $image_width, $image_height, 'hspace="5" vspace="5" name="Image" align="left"'); ?>');

    //EOF UltraPics

     

    //--></script>

     

    <noscript>

     

    <!--BOF UltraPics-->

    <!--BOF Original--><!--

    <?php echo '<a href="' . tep_href_link(DIR_WS_IMAGES . $product_info['products_image']) . '" target="_blank">' . tep_image(DIR_WS_IMAGES . $product_info['products_image'], $product_info['products_name'], LARGE_IMAGE_WIDTH, LARGE_IMAGE_HEIGHT, 'hspace="5" vspace="5" name="Image" align="middle"') . '<br>' . TEXT_CLICK_TO_ENLARGE . '</a>'; ?>

    --><!--EOF Original-->

    <?php echo tep_image(DIR_WS_IMAGES . $new_image . 'ℑ=0', addslashes($product_info['products_name']), $image_width, $image_height, 'hspace="5" vspace="5" name="Image" align="left"'); ?>

    <!--EOF UltraPics-->

    </noscript> </td>

    </tr>

    </table>

     

    <?php

     

    }

     

    ?>

     

    <!--end display image -->

     

     

     

    </td>

    <td width="20%" align="left">

    <table width=100% cellspacing="0" cellpadding="0" align="left">

     

    <!--BOF UltraPics-->

    <?php

    if (ULTIMATE_ADDITIONAL_IMAGES == 'enable') {

    include(DIR_WS_MODULES . 'additional_images.php');

    }

    ?>

    <!--EOF UltraPics-->

    </table>

    </td>

     

    </tr>

     

    <tr>

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

    <td width=282 valign=top>

     

    <table width="336" border=0 cellpadding=0 cellspacing=0 style="padding-left:9px">

     

    <!--<tr><td height=6></td></tr>-->

     

    <!--<tr><td height=12></td></tr>-->

     

    <tr><td width=300 valign=top>

     

    <table cellspacing=2 cellpadding=2>

     

    <!--<<tr><td class=ml6>

     

    <?

     

    if ($product_info['products_date_available'] > date('Y-m-d H:i:s'))

     

    echo sprintf(TEXT_DATE_AVAILABLE, tep_date_long($product_info['products_date_available']));

     

    else

     

    //echo sprintf(TEXT_DATE_ADDED, tep_date_long($product_info['products_date_added']));

     

    ?>

     

     

     

    </td></tr>-->

     

    <!--<tr><td height=4></td></tr> -->

     

    <!--<tr><td><a style="text-decoration:underline" class=pr_descr href=<?=tep_href_link(FILENAME_TELL_A_FRIEND, tep_get_all_get_params())?>>Tell a Friend</a></td></tr>-->

     

     

     

    <!--<tr><td height=16></td></tr> -->

     

    <tr><td class=ch10>only: <?=$products_price?></td></tr>

     

    <tr><td height=10></td></tr>

    </table>

     

    </td></tr>

     

    <tr><td colspan=2 style="padding-left: 13px"><a href=<?=tep_href_link(FILENAME_PRODUCT_REVIEWS, tep_get_all_get_params()) . '">' . tep_image_button('button_reviews.gif', IMAGE_BUTTON_REVIEWS)?></a><span style="padding-left: 5px"></span><?php echo tep_draw_hidden_field('products_id', $product_info['products_id']) . tep_image_submit('button_in_cart.gif', IMAGE_BUTTON_BUY_NOW); ?></td></tr>

     

    <tr><td height=8></td></tr>

    </table> </td></tr>

     

    <tr><td height=20></td></tr>

     

    <tr><td colspan=3 align=center>

     

    <table cellspacing=0 cellpadding=0 width=484>

     

    <tr><td style="padding-left:7px">

     

    <?php echo stripslashes($product_info['products_description']); ?>

     

    </td></tr>

     

    <tr><td style="padding-left:7px" height=17></td></tr>

    </table>

     

    </td></tr>

     

    <tr><td height=2></td></tr>

    </table>

     

    </td></tr>

     

    <tr><td><img src=images/m28.gif width=490 height=7></td></tr>

    </table>

     

    </td>

    </tr>

    </table>

     

     

     

     

     

     

     

     

     

    <!----------------------- Not editable part -------------------------------->

     

     

     

    <tr><td>

     

     

     

    <?php

     

    $products_attributes_query = tep_db_query("select count(*) as total from " . TABLE_PRODUCTS_OPTIONS . " popt, " . TABLE_PRODUCTS_ATTRIBUTES . " patrib where patrib.products_id='" . (int)$HTTP_GET_VARS['products_id'] . "' and patrib.options_id = popt.products_options_id and popt.language_id = '" . (int)$languages_id . "'");

     

    $products_attributes = tep_db_fetch_array($products_attributes_query);

     

    if ($products_attributes['total'] > 0) {

     

    ?>

     

    <table border="0" cellspacing="0" cellpadding="2">

     

    <tr>

     

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

     

    </tr>

     

    <?php

     

    $products_options_name_query = tep_db_query("select distinct popt.products_options_id, popt.products_options_name from " . TABLE_PRODUCTS_OPTIONS . " popt, " . TABLE_PRODUCTS_ATTRIBUTES . " patrib where patrib.products_id='" . (int)$HTTP_GET_VARS['products_id'] . "' and patrib.options_id = popt.products_options_id and popt.language_id = '" . (int)$languages_id . "' order by popt.products_options_name");

     

    while ($products_options_name = tep_db_fetch_array($products_options_name_query)) {

     

    $products_options_array = array();

     

    $products_options_query = tep_db_query("select pov.products_options_values_id, pov.products_options_values_name, pa.options_values_price, pa.price_prefix from " . TABLE_PRODUCTS_ATTRIBUTES . " pa, " . TABLE_PRODUCTS_OPTIONS_VALUES . " pov where pa.products_id = '" . (int)$HTTP_GET_VARS['products_id'] . "' and pa.options_id = '" . (int)$products_options_name['products_options_id'] . "' and pa.options_values_id = pov.products_options_values_id and pov.language_id = '" . (int)$languages_id . "'");

     

    while ($products_options = tep_db_fetch_array($products_options_query)) {

     

    $products_options_array[] = array('id' => $products_options['products_options_values_id'], 'text' => $products_options['products_options_values_name']);

     

    if ($products_options['options_values_price'] != '0') {

     

    $products_options_array[sizeof($products_options_array)-1]['text'] .= ' (' . $products_options['price_prefix'] . $currencies->display_price($products_options['options_values_price'], tep_get_tax_rate($product_info['products_tax_class_id'])) .') ';

     

    }

     

    }

     

     

     

    if (isset($cart->contents[$HTTP_GET_VARS['products_id']]['attributes'][$products_options_name['products_options_id']])) {

     

    $selected_attribute = $cart->contents[$HTTP_GET_VARS['products_id']]['attributes'][$products_options_name['products_options_id']];

     

    } else {

     

    $selected_attribute = false;

     

    }

     

    ?>

     

    <tr>

     

    <td class="main"><?php echo $products_options_name['products_options_name'] . ':'; ?></td>

     

    <td class="main"><?php echo tep_draw_pull_down_menu('id[' . $products_options_name['products_options_id'] . ']', $products_options_array, $selected_attribute); ?></td>

     

    </tr>

     

    <?php

     

    }

     

    ?>

     

    </table>

     

    <?php

     

    }

     

    ?>

     

    </td>

     

    </tr>

     

    <tr>

     

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

     

    </tr>

     

    <?php

     

    $reviews_query = tep_db_query("select count(*) as count from " . TABLE_REVIEWS . " where products_id = '" . (int)$HTTP_GET_VARS['products_id'] . "'");

     

    $reviews = tep_db_fetch_array($reviews_query);

     

    if ($reviews['count'] > 0) {

     

    ?>

     

    <tr>

     

    <td class="main"><?php echo TEXT_CURRENT_REVIEWS . ' ' . $reviews['count']; ?></td>

     

    </tr>

     

    <tr>

     

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

     

    </tr>

     

    <?php

     

    }

     

     

     

    if (tep_not_null($product_info['products_url'])) {

     

    ?>

     

    <tr>

     

    <td class="main"><?php echo sprintf(TEXT_MORE_INFORMATION, tep_href_link(FILENAME_REDIRECT, 'action=url&goto=' . urlencode($product_info['products_url']), 'NONSSL', true, false)); ?></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="1" cellpadding="2" class="infoBox">

     

    <tr class="infoBoxContents">

     

    <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 class="main"><?php echo '<a href="' . tep_href_link(FILENAME_PRODUCT_REVIEWS, tep_get_all_get_params()) . '">' . tep_image_button('button_reviews.gif', IMAGE_BUTTON_REVIEWS) . '</a>'; ?></td>

     

    <td class="main" align="right"><?php echo tep_draw_hidden_field('products_id', $product_info['products_id']) . tep_image_submit('button_in_cart.gif', IMAGE_BUTTON_IN_CART); ?></td>

     

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

     

    </tr>

     

    </table></td>

     

    </tr>

     

    </table></td>

     

    </tr>

     

    <tr>

     

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

     

    </tr>

     

    -->

     

    <tr>

     

    <td>

     

    <?php

     

    /*

     

    if ((USE_CACHE == 'true') && empty($SID)) {

     

    echo tep_cache_also_purchased(3600);

     

    } else {

     

    include(DIR_WS_MODULES . FILENAME_ALSO_PURCHASED_PRODUCTS);

     

    }

     

    */

     

    }

     

    ?>

     

     

     

     

     

    </td></tr>

     

     

     

    </table>

     

    </form></td>

     

    <!-- body_text_eof //-->

     

    </tr>

     

    </table>

     

    <!-- body_eof //-->

     

     

     

    <!-- footer //-->

     

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

     

    <!-- footer_eof //-->

     

    </body>

     

    </html>

     

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


  4. Margaret,

     

    I'm stumped.

     

    I don't see how the changes to the database could affect the layout of your page like that. There must be some conflict between this contribution and and one of the other contributions you already have installed. But without access to the files and the database, I can't do any more tonight.

     

    I would be interested in knowing what contributions (and which versions) you have installed, so I can download the files and look for potential conflicts. And if you'd like, I'm willing to look over the files that need to be modified for this mod; look for any places where this contribution and another need to modify the same lines of code.

     

    When you uninstalled this contribution before, did you remove the code from the files, as well as run the sql uninstall? Or just run the uninstall from the sql utility? (The error I was receiving after you uninstalled would suggest the include statement was still in product_info.php)

     

    It may take a couple of days, what with posting back and forth, but I'm willing to help you make this work with your site.

     

    Time to call it a day. Talk to you tomorrow.

    -Anita

     

    I have to check the versions for the contributions that are installed but just to give you an idea: sitemonitor, supertracker, linkpoint api, upsxml, ccgv trad (uninstalled but I still have some stuff of it around) and the one that enables more than one image I have to check the name, because I paid a programmer to install it.

     

    When I uninstalled I just run the sql uninstall from the utility then I checked my website and everything was normal, so I didn't remove the code from the pages.

     

    Today and tomorrow I have to go to work so I just can check back late. I appreciate yr help, thanks a lot.

     

    Margaret


  5. Margaret,

     

     

    The first thing I would do is open the Admin Configuration->Related Products and check for the options. You should see:

    		Display Thumbnail Images<BR>		Display Product Name<BR>		Display Product Model<BR>		Display Price<BR>		Display Quantity Available<BR>		Display Buy Now Button<BR>		Split Display Into Rows<BR>		Define Number of Items Per Row<BR>		Define Number of Items to Display<BR>		Use Random Display Order<BR>		Admin Display: Maximum Rows<BR>		Admin Display: Drop-Down List Maximum Length<BR>		Admin Display: Display List Maximum Length<BR>		Admin Display: Use Product Model<BR>		Admin Display: Use Product Name<BR>		Admin Display: Combine Model and Name separator<BR>		Admin Function: Use Delete Confirmation<BR>		Admin Function: Combine Insert with Inherit

     

    If these are missing, or if you don't see Related Products listed under the Configuration menu in the Admin, the problem is with the configuration_group and configuration table entries.

     

    Check this and get back to me. Then we'll figure out what to do next.

     

    -Anita

     

    P.S. While we're working on this, if you'd like, you can comment out the include statement in product_info.php and your live site won't see the error messages.

     

    I had uninstalled the contribution but I installed again to check this and I can see Related Products under Configuration in my Admin and the options are all there. I also changed the product_info.php as you suggested but if you go to my store (www.allureart.com) you can see that the index page looks normal but if you click in any product then everything changes.

     

    Thanks for your help.

    Margaret


  6. Hi Anita,

     

    Good job, for days I've been searching for a contribution like ORP and everything that I found I didn't have courage to put in my website. I went through the installation with just a few mistakes from my part. Everything looks good until I install the new SQL table, then the page of my products becomes a big mess and I cannot see the suggested products. My website is modified and I can display three different images for my products. I'll try to include here two screenshots that I made (sorry if they don't show up, this is my first time doing this), the regular page and then the page after I applied the SQL table. If you have any clues to give me I really appreciate.

    Thank you very much

    Margaret

     

    shot1.JPG

     

     

    shot2.JPG


  7. I had problems with my Linkpoint too and the guys who developed the module couldn't help me because they were too busy with their business, but they gave me a very good suggestion of look for help in a place where you can hire a freelancer programer. Well, it's 3 months that I'm battling with my oscommerce website trying to install contributions, shipping module, credit card module, etc . Now, this freelancer is going to fix my Linkpoint and install 9 more contributions and I hope I don't have to worry or lose my time with this anymore. If I knew this before I'm sure my website would be live long time ago. I'm not sure if I can post the address here, just in case if you want to know please feel free to ask me.

    Good luck with yr website.

    Meg


  8. I've been looking for help in the forums but I couldn't find anybody with the same problems as I have.

    I've installed Linkpoint API contribution and Linkpoint API patch but when I tried to make a transaction I got this message:

     

    Warning: Variable passed to each() is not an array or object in /home/allurear/public_html/includes/modules/payment/linkpoint_api.php on line 334

     

    Warning: Cannot modify header information - headers already sent by (output started

    at /home/allurear/public_html/includes/modules/payment/linkpoint_api.php:334)

    in /home/allurear/public_html/includes/functions/general.php on line 29

     

    Then I decided to uninstall a module called Fancier Invoice because it wasn’t working properly and I thought that it was messing with the Linkpoint module. After that I’ve installed Linkpoint again and tried another transaction and I got this message:

     

    at curl_process, incoming data:

    host = staging.linkpt.net

    port = 1129

    keyfile = /home/allurear/public_html/includes/modules/payment/linkpoint_api/000000.pem

    configfile = 000000 (my pem #)

    ordertype = PREAUTH

    result = GOOD

    transactionorigin = ECI

    ponumber = 1002

    taxexempt = Y

    terminaltype = UNSPECIFIED

    chargetotal = 154.95

    cardnumber = 4012888888881881

    cardexpmonth = 01

    cardexpyear = 07

    cvmindicator = provided

    cvmvalue = 111

    userid = 5

    name = meh eg

    company =

    address1 = 85 makkrt

    address2 =

    city = boston

    state = MA

    country = US

    phone = 617617167

    addrnum = 85 makkrt

    zip = 02121

    sname = meh eg

    saddress1 = 85 makkrt

    saddress2 =

    scity = boston

    sstate = MA

    szip = 02121

    scountry = US

     

     

    Warning: htmlspecialchars() expects parameter 1 to be string, array given in /home/allurear/public_html/includes/modules/payment/linkpoint_api/lphp.php on line 172

     

    items =

    debugging = true

    sending xml string:

    <order><orderoptions><ordertype>PREAUTH</ordertype><result>GOOD</result></orderoptions><creditcard><cardnumber>4012888888881881</cardnumber><cardexpmonth>01</cardexpmonth><cardexpyear>07</cardexpyear><cvmvalue>111</cvmvalue><cvmindicator>provided</cvmindicator></creditcard><billing><name>meh eg</name><company></company><address1>85 makkrt</address1><address2></address2><city>boston</city><state>MA</state><zip>02121</zip><country>US</country><userid>5</userid><phone>617617167</phone><addrnum>85 makkrt</addrnum></billing><shipping><name>meh eg</name><address1>85 makkrt</address1><address2></address2><city>boston</city><state>MA</state><zip>02121</zip><country>US</country></shipping><transactiondetails><ponumber>1002</ponumber><taxexempt>Y</taxexempt><terminaltype>UNSPECIFIED</terminaltype><ip>24.62.6.235</ip><transactionorigin>ECI</transactionorigin></transactiondetails><merchantinfo><configfile>000000</configfile><keyfile>/home/allurear/public_html/includes/modules/payment/linkpoint_api/000000.pem</keyfile><host>staging.linkpt.net</host><port>1129</port></merchantinfo><payment><chargetotal>154.95</chargetotal></payment> <items> <item> <id>141</id> <description>Tanzanite and Diamond Pendant</description> <quantity>1</quantity> <price>150.00</price> </item> </items> </order>

     

     

     

     

     

    Warning: Variable passed to each() is not an array or object in /home/allurear/public_html/includes/modules/payment/linkpoint_api.php on line 334

     

    at curl_process, incoming data:

    host = staging.linkpt.net

    port = 1129

    keyfile = /home/allurear/public_html/includes/modules/payment/linkpoint_api/000000.pem

    configfile = my pem #

    ordertype = POSTAUTH

    result = GOOD

    transactionorigin = ECI

    ponumber = 1002

    taxexempt = Y

    terminaltype = UNSPECIFIED

    chargetotal = 154.95

    cardnumber = 4012888888881881

    cardexpmonth = 01

    cardexpyear = 07

    cvmindicator = provided

    cvmvalue = 111

    userid = 5

    name = meh eg

    company =

    address1 = 85 makkrt

    address2 =

    city = boston

    state = MA

    country = US

    phone = 617617167

    addrnum = 85 makkrt

    zip = 02121

    sname = meh eg

    saddress1 = 85 makkrt

    saddress2 =

    scity = boston

    sstate = MA

    szip = 02121

    scountry = US

     

     

     

    Warning: htmlspecialchars() expects parameter 1 to be string, array given in /home/allurear/public_html/includes/modules/payment/linkpoint_api/lphp.php on line 172

     

    items =

    debugging = true

    oid = <

     

     

     

    sending xml string:

     

    <order><orderoptions><ordertype>POSTAUTH</ordertype><result>GOOD</result></orderoptions><creditcard><cardnumber>4012888888881881</cardnumber><cardexpmonth>01</cardexpmonth><cardexpyear>07</cardexpyear><cvmvalue>111</cvmvalue><cvmindicator>provided</cvmindicator></creditcard><billing><name>meh eg</name><company></company><address1>85 makkrt</address1><address2></address2><city>boston</city><state>MA</state><zip>02121</zip><country>US</country><userid>5</userid><phone>617617167</phone><addrnum>85 makkrt</addrnum></billing><shipping><name>meh eg</name><address1>85 makkrt</address1><address2></address2><city>boston</city><state>MA</state><zip>02121</zip><country>US</country></shipping><transactiondetails><oid><</oid><ponumber>1002</ponumber><taxexempt>Y</taxexempt><terminaltype>UNSPECIFIED</terminaltype><ip>24.62.6.235</ip><transactionorigin>ECI</transactionorigin></transactiondetails><merchantinfo><configfile>000000</configfile><keyfile>/home/allurear/public_html/includes/modules/payment/linkpoint_api/000000.pem</keyfile><host>staging.linkpt.net</host><port>1129</port></merchantinfo><payment><chargetotal>154.95</chargetotal></payment> <items> <item> <id>141</id> <description>Tanzanite and Diamond Pendant</description> <quantity>1</quantity> <price>150.00</price> </item> </items> </order>


  9. Hi Amanda,

    Good job with easy discount and easy coupon contributions. I've already installed easy discount and it's working well, now I want to install easy coupon, let's see what happens. I would like to ask you a question. I want to sell gift certificates in my website, is there any way to make easy coupon work like a gift certificate generator? Thanks in advance.

    Margarete


  10. Hi everybody

     

    This is a very nice contribution and I would love to keep it in my store but I have a few problems:

     

    1. I've installed twice but I cannot have my logo on invoice/packing slip.

     

    2. When I log in as a customer and I want to see the details of my order I get the following message:

     

    Fatal error: Cannot redeclare tep_show_category() (previously declared in /home/allurear/public_html/includes/header.php:178) in /home/allurear/public_html/includes/boxes/categories.php on line 13

     

    3. When I look in "print preview" the borders of the boxes are completely broken. I read a lot of posts and didn't get a clue on how to fix.

     

    Any ideas?


  11. Hi everybody,

     

    I've just installed this contribution and I'm getting this error message:

     

    Fatal error: Cannot redeclare tep_show_category() (previously declared in /home/allurear/public_html/includes/header.php:178) in /home/allurear/public_html/includes/boxes/categories.php on line 13

     

    I was looking in this forum and I didn't figure out what to do. If someone

    can please help me it would be great.

     

    Thanks

×