Jump to content

GregZ

Members
  • Content count

    36
  • Joined

  • Last visited

Everything posted by GregZ

  1. GregZ

    FedEx Direct 2.06 Support thread

    I've been having a problem with Fed Ex Direct 2.05 and was asked to post my problem in this thread. About 2 weeks ago a customer let me know he was having problems with my site. He could not complete his order because the shipping module was not working and was stopping him from finishing his order. I had not made any changes to the site in a few months. I tried turning the module off, then back on, double checking all of the settings and account number. Still the same problem. With the module off, the transaction can be completed, but without any shipping cost displayed, of course. I contacted my server, and they checked to see if any changes were made to cURL or to the open ssl . They said nothing has been changed. They recommended to contact Fed Ex. If Fed Ex made a change, I would think it would effect all users of the module ? I have not checked with Fed Ex yet.
  2. GregZ

    Sudden Fed Ex Direct 2.05 problems ?

    Thanks, I was thinking that my host could have changed something that is casuign the problem. I turned it back on today, and turned it back off since it didn't fix it self. I'll have to contact them.
  3. Anyone else suddenly have a problem in the last few day using Fed Ex Direct 2.05 ? I have not altered anything, and my site has been working just fine and suddenly this module won't give any prices. I guess I may need to update to a newer module . :angry:
  4. GregZ

    Sudden Fed Ex Direct 2.05 problems ?

    Ok, I removed and re-installed the module from the control panel- this was not a new upload, just turning the module off, then back on. Filled in all my info and it is still not working. I get a error message when testing : " No response to CURL from Fedex server, check CURL availability, or maybe timeout was set too low, or maybe the Fedex site is down ". My server has curl and has open SSL and there is no timeout set.
  5. GregZ

    Sudden Fed Ex Direct 2.05 problems ?

    ok, if your NOT haveing a problem with your Fed Ex rate quote module, can you please let me know ? I checked with Fed Ex and they said my account is in good standing. I'm going to check my data bases next and then... well.. I don't know what to check.
  6. GregZ

    [Contribution] STS v4

    Tracy, I did upload the catalog/includes/modules/sts folder , both times. The update_header_language is actually not a folder, but an SQL file that is included with the contribution. This is the admin/modules php page: <?php /* $Id: modules.php,v 1.47 2003/06/29 22:50:52 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions [url="http://www.oscommerce.com"]http://www.oscommerce.com[/url] Copyright © 2003 osCommerce Released under the GNU General Public License */ require('includes/application_top.php'); $set = (isset($HTTP_GET_VARS['set']) ? $HTTP_GET_VARS['set'] : ''); if (tep_not_null($set)) { switch ($set) { // START STS 4.1 case 'sts': $module_type = 'sts'; $module_directory = DIR_FS_CATALOG_MODULES . 'sts/'; $module_key = 'MODULE_STS_INSTALLED'; define('HEADING_TITLE', HEADING_TITLE_MODULES_STS); break; // END STS 4.1 case 'shipping': $module_type = 'shipping'; $module_directory = DIR_FS_CATALOG_MODULES . 'shipping/'; $module_key = 'MODULE_SHIPPING_INSTALLED'; define('HEADING_TITLE', HEADING_TITLE_MODULES_SHIPPING); break; case 'ordertotal': $module_type = 'order_total'; $module_directory = DIR_FS_CATALOG_MODULES . 'order_total/'; $module_key = 'MODULE_ORDER_TOTAL_INSTALLED'; define('HEADING_TITLE', HEADING_TITLE_MODULES_ORDER_TOTAL); break; case 'payment': default: $module_type = 'payment'; $module_directory = DIR_FS_CATALOG_MODULES . 'payment/'; $module_key = 'MODULE_PAYMENT_INSTALLED'; define('HEADING_TITLE', HEADING_TITLE_MODULES_PAYMENT); break; } } $action = (isset($HTTP_GET_VARS['action']) ? $HTTP_GET_VARS['action'] : ''); if (tep_not_null($action)) { switch ($action) { case 'save': while (list($key, $value) = each($HTTP_POST_VARS['configuration'])) { tep_db_query("update " . TABLE_CONFIGURATION . " set configuration_value = '" . $value . "' where configuration_key = '" . $key . "'"); } tep_redirect(tep_href_link(FILENAME_MODULES, 'set=' . $set . '&module=' . $HTTP_GET_VARS['module'])); break; case 'install': case 'remove': $file_extension = substr($PHP_SELF, strrpos($PHP_SELF, '.')); $class = basename($HTTP_GET_VARS['module']); if (file_exists($module_directory . $class . $file_extension)) { include($module_directory . $class . $file_extension); $module = new $class; if ($action == 'install') { $module->install(); } elseif ($action == 'remove') { $module->remove(); } } tep_redirect(tep_href_link(FILENAME_MODULES, 'set=' . $set . '&module=' . $class)); break; } } ?> <!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> <link rel="stylesheet" type="text/css" href="includes/stylesheet.css"> <script language="javascript" src="includes/general.js"></script> </head> <body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0" bgcolor="#FFFFFF"> <!-- header //--> <?php require(DIR_WS_INCLUDES . 'header.php'); ?> <!-- header_eof //--> <!-- body //--> <table border="0" width="100%" cellspacing="2" cellpadding="2"> <tr> <td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="1" cellpadding="1" class="columnLeft"> <!-- 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="2"> <tr> <td width="100%"><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_draw_separator('pixel_trans.gif', HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td> </tr> </table></td> </tr> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr class="dataTableHeadingRow"> <td class="dataTableHeadingContent"><?php echo TABLE_HEADING_MODULES; ?></td> <td class="dataTableHeadingContent" align="right"><?php echo TABLE_HEADING_SORT_ORDER; ?></td> <td class="dataTableHeadingContent" align="right"><?php echo TABLE_HEADING_ACTION; ?> </td> </tr> <?php $file_extension = substr($PHP_SELF, strrpos($PHP_SELF, '.')); $directory_array = array(); if ($dir = @dir($module_directory)) { while ($file = $dir->read()) { if (!is_dir($module_directory . $file)) { if (substr($file, strrpos($file, '.')) == $file_extension) { $directory_array[] = $file; } } } sort($directory_array); $dir->close(); } $installed_modules = array(); for ($i=0, $n=sizeof($directory_array); $i<$n; $i++) { $file = $directory_array[$i]; include(DIR_FS_CATALOG_LANGUAGES . $language . '/modules/' . $module_type . '/' . $file); include($module_directory . $file); $class = substr($file, 0, strrpos($file, '.')); if (tep_class_exists($class)) { $module = new $class; if ($module->check() > 0) { if ($module->sort_order > 0) { $installed_modules[$module->sort_order] = $file; } else { $installed_modules[] = $file; } } if ((!isset($HTTP_GET_VARS['module']) || (isset($HTTP_GET_VARS['module']) && ($HTTP_GET_VARS['module'] == $class))) && !isset($mInfo)) { $module_info = array('code' => $module->code, 'title' => $module->title, 'description' => $module->description, 'status' => $module->check()); $module_keys = $module->keys(); $keys_extra = array(); for ($j=0, $k=sizeof($module_keys); $j<$k; $j++) { $key_value_query = tep_db_query("select configuration_title, configuration_value, configuration_description, use_function, set_function from " . TABLE_CONFIGURATION . " where configuration_key = '" . $module_keys[$j] . "'"); $key_value = tep_db_fetch_array($key_value_query); $keys_extra[$module_keys[$j]]['title'] = $key_value['configuration_title']; $keys_extra[$module_keys[$j]]['value'] = $key_value['configuration_value']; $keys_extra[$module_keys[$j]]['description'] = $key_value['configuration_description']; $keys_extra[$module_keys[$j]]['use_function'] = $key_value['use_function']; $keys_extra[$module_keys[$j]]['set_function'] = $key_value['set_function']; } $module_info['keys'] = $keys_extra; $mInfo = new objectInfo($module_info); } if (isset($mInfo) && is_object($mInfo) && ($class == $mInfo->code) ) { if ($module->check() > 0) { echo ' <tr id="defaultSelected" class="dataTableRowSelected" onmouseover="rowOverEffect(this)" onmouseout="rowOutEffect(this)" onclick="document.location.href=\'' . tep_href_link(FILENAME_MODULES, 'set=' . $set . '&module=' . $class . '&action=edit') . '\'">' . "\n"; } else { echo ' <tr id="defaultSelected" class="dataTableRowSelected" onmouseover="rowOverEffect(this)" onmouseout="rowOutEffect(this)">' . "\n"; } } else { echo ' <tr class="dataTableRow" onmouseover="rowOverEffect(this)" onmouseout="rowOutEffect(this)" onclick="document.location.href=\'' . tep_href_link(FILENAME_MODULES, 'set=' . $set . '&module=' . $class) . '\'">' . "\n"; } ?> <td class="dataTableContent"><?php echo $module->title; ?></td> <td class="dataTableContent" align="right"><?php if (is_numeric($module->sort_order)) echo $module->sort_order; ?></td> <td class="dataTableContent" align="right"><?php if (isset($mInfo) && is_object($mInfo) && ($class == $mInfo->code) ) { echo tep_image(DIR_WS_IMAGES . 'icon_arrow_right.gif'); } else { echo '<a href="' . tep_href_link(FILENAME_MODULES, 'set=' . $set . '&module=' . $class) . '">' . tep_image(DIR_WS_IMAGES . 'icon_info.gif', IMAGE_ICON_INFO) . '</a>'; } ?> </td> </tr> <?php } } ksort($installed_modules); $check_query = tep_db_query("select configuration_value from " . TABLE_CONFIGURATION . " where configuration_key = '" . $module_key . "'"); if (tep_db_num_rows($check_query)) { $check = tep_db_fetch_array($check_query); if ($check['configuration_value'] != implode(';', $installed_modules)) { tep_db_query("update " . TABLE_CONFIGURATION . " set configuration_value = '" . implode(';', $installed_modules) . "', last_modified = now() where configuration_key = '" . $module_key . "'"); } } else { tep_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('Installed Modules', '" . $module_key . "', '" . implode(';', $installed_modules) . "', 'This is automatically updated. No need to edit.', '6', '0', now())"); } ?> <tr> <td colspan="3" class="smallText"><?php echo TEXT_MODULE_DIRECTORY . ' ' . $module_directory; ?></td> </tr> </table></td> <?php $heading = array(); $contents = array(); switch ($action) { case 'edit': $keys = ''; reset($mInfo->keys); while (list($key, $value) = each($mInfo->keys)) { $keys .= '<b>' . $value['title'] . '</b><br>' . $value['description'] . '<br>'; if ($value['set_function']) { eval('$keys .= ' . $value['set_function'] . "'" . $value['value'] . "', '" . $key . "');"); } else { $keys .= tep_draw_input_field('configuration[' . $key . ']', $value['value']); } $keys .= '<br><br>'; } $keys = substr($keys, 0, strrpos($keys, '<br><br>')); $heading[] = array('text' => '<b>' . $mInfo->title . '</b>'); $contents = array('form' => tep_draw_form('modules', FILENAME_MODULES, 'set=' . $set . '&module=' . $HTTP_GET_VARS['module'] . '&action=save')); $contents[] = array('text' => $keys); $contents[] = array('align' => 'center', 'text' => '<br>' . tep_image_submit('button_update.gif', IMAGE_UPDATE) . ' <a href="' . tep_href_link(FILENAME_MODULES, 'set=' . $set . '&module=' . $HTTP_GET_VARS['module']) . '">' . tep_image_button('button_cancel.gif', IMAGE_CANCEL) . '</a>'); break; default: $heading[] = array('text' => '<b>' . $mInfo->title . '</b>'); if ($mInfo->status == '1') { $keys = ''; reset($mInfo->keys); while (list(, $value) = each($mInfo->keys)) { $keys .= '<b>' . $value['title'] . '</b><br>'; if ($value['use_function']) { $use_function = $value['use_function']; if (ereg('->', $use_function)) { $class_method = explode('->', $use_function); if (!is_object(${$class_method[0]})) { include(DIR_WS_CLASSES . $class_method[0] . '.php'); ${$class_method[0]} = new $class_method[0](); } $keys .= tep_call_function($class_method[1], $value['value'], ${$class_method[0]}); } else { $keys .= tep_call_function($use_function, $value['value']); } } else { $keys .= $value['value']; } $keys .= '<br><br>'; } $keys = substr($keys, 0, strrpos($keys, '<br><br>')); $contents[] = array('align' => 'center', 'text' => '<a href="' . tep_href_link(FILENAME_MODULES, 'set=' . $set . '&module=' . $mInfo->code . '&action=remove') . '">' . tep_image_button('button_module_remove.gif', IMAGE_MODULE_REMOVE) . '</a> <a href="' . tep_href_link(FILENAME_MODULES, 'set=' . $set . (isset($HTTP_GET_VARS['module']) ? '&module=' . $HTTP_GET_VARS['module'] : '') . '&action=edit') . '">' . tep_image_button('button_edit.gif', IMAGE_EDIT) . '</a>'); $contents[] = array('text' => '<br>' . $mInfo->description); $contents[] = array('text' => '<br>' . $keys); } else { $contents[] = array('align' => 'center', 'text' => '<a href="' . tep_href_link(FILENAME_MODULES, 'set=' . $set . '&module=' . $mInfo->code . '&action=install') . '">' . tep_image_button('button_module_install.gif', IMAGE_MODULE_INSTALL) . '</a>'); $contents[] = array('text' => '<br>' . $mInfo->description); } break; } if ( (tep_not_null($heading)) && (tep_not_null($contents)) ) { echo ' <td width="25%" valign="top">' . "\n"; $box = new box; echo $box->infoBox($heading, $contents); echo ' </td>' . "\n"; } ?> </tr> </table></td> </tr> </table></td> <!-- body_text_eof //--> </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'); ?> I'm begining to think I need to do a new install as suggested, starting by adding STS and HTC first, then add the other contributions I am using.
  7. GregZ

    [Contribution] STS v4

    Tracy, I have Filezilla set for auto detect, but it is set to only upload PHP files in ASCII . The server is running MySQL 4.1.20-max-log I took a look at the SQL tables and also at the SQL folders that are part of the contribution. I noticed something that seems odd to me. the contents of the folder update_header_language appear to be the same as the catagories_description table. Also, should it not be update_header_languages and should the contents be different ? the missing text above the boxes on the admin page is puzzling also.
  8. GregZ

    [Contribution] STS v4

    I now have the catalog/images folder set to 755, and still no change. This is interesting: In my control panel, in the "Default" settings I do not have the text "Base folder" appearing , however there is an empty box for an entry. The same situation exists for "Use template for infoboxes" - no text above an empty entry box. I tried entering "includes/sts_templates/" into the first box and "true" into the second and no change occured. When I tried to edit the settings, those 2 boxes were empty again. Here's the source code from that page: <td width="100%" valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td width="100%"><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td class="pageHeading">STS Modules</td> <td class="pageHeading" align="right"><img src="images/pixel_trans.gif" border="0" alt="" width="125" height="125"></td> </tr> </table></td> </tr> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr class="dataTableHeadingRow"> <td class="dataTableHeadingContent">Modules</td> <td class="dataTableHeadingContent" align="right">Sort Order</td> <td class="dataTableHeadingContent" align="right">Action </td> </tr> <tr id="defaultSelected" class="dataTableRowSelected" onmouseover="rowOverEffect(this)" onmouseout="rowOutEffect(this)" onclick="document.location.href='http://www.magnumhp.com/admin/modules.php?set=sts&module=sts_default&action=edit'"> <td class="dataTableContent">Default</td> <td class="dataTableContent" align="right">1</td> <td class="dataTableContent" align="right"><img src="images/icon_arrow_right.gif" border="0" alt=""> </td> </tr> <tr class="dataTableRow" onmouseover="rowOverEffect(this)" onmouseout="rowOutEffect(this)" onclick="document.location.href='http://www.magnumhp.com/admin/modules.php?set=sts&module=sts_index'"> <td class="dataTableContent">Index</td> <td class="dataTableContent" align="right">2</td> <td class="dataTableContent" align="right"><a href="http://www.magnumhp.com/admin/modules.php?set=sts&module=sts_index"><img src="images/icon_info.gif" border="0" alt="Info" title=" Info "></a> </td> </tr> <tr class="dataTableRow" onmouseover="rowOverEffect(this)" onmouseout="rowOutEffect(this)" onclick="document.location.href='http://www.magnumhp.com/admin/modules.php?set=sts&module=sts_popup_image'"> <td class="dataTableContent">Popup image</td> <td class="dataTableContent" align="right">6</td> <td class="dataTableContent" align="right"><a href="http://www.magnumhp.com/admin/modules.php?set=sts&module=sts_popup_image"><img src="images/icon_info.gif" border="0" alt="Info" title=" Info "></a> </td> </tr> <tr class="dataTableRow" onmouseover="rowOverEffect(this)" onmouseout="rowOutEffect(this)" onclick="document.location.href='http://www.magnumhp.com/admin/modules.php?set=sts&module=sts_product_info'"> <td class="dataTableContent">Product info</td> <td class="dataTableContent" align="right">3</td> <td class="dataTableContent" align="right"><a href="http://www.magnumhp.com/admin/modules.php?set=sts&module=sts_product_info"><img src="images/icon_info.gif" border="0" alt="Info" title=" Info "></a> </td> </tr> <tr> <td colspan="3" class="smallText">Module Directory: /hsphere/local/home/gregze/magnumhp.com//catalog/includes/modules/sts/</td> </tr> </table></td> <td width="25%" valign="top"> <table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr class="infoBoxHeading"> <td class="infoBoxHeading"><b>Default</b></td> </tr> </table> <form name="modules" action="http://www.magnumhp.com/admin/modules.php?set=sts&module=sts_default&action=save" method="post"> <table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td class="infoBoxContent"><b>Use Templates?</b><br>Do you want to use Simple Template System?<br><br><input type="radio" name="configuration[MODULE_STS_DEFAULT_STATUS]" value="true" CHECKED> true<br><input type="radio" name="configuration[MODULE_STS_DEFAULT_STATUS]" value="false"> false<br><br><b>Code for debug output</b><br>Code to enable debug output from URL (ex: index.php?sts_debug=debug<br><input type="text" name="configuration[MODULE_STS_DEBUG_CODE]" value="debug"><br><br><b>Files for normal template</b><br>Files to include for a normal template, separated by semicolon<br><input type="text" name="configuration[MODULE_STS_DEFAULT_NORMAL]" value="sts_user_code.php;headertags.php"><br><br><b></b><br><br><input type="text" name="configuration[MODULE_STS_TEMPLATES_FOLDER]"><br><br><b>Template folder</b><br>Location of templates inside the includes/sts_templates/ folder. Do not start nor end with a slash<br><input type="text" name="configuration[MODULE_STS_TEMPLATE_FOLDER]" value="full"><br><br><b>Default template file</b><br>Name of the default template file<br><input type="text" name="configuration[MODULE_STS_TEMPLATE_FILE]" value="sts_template.html"><br><br><b></b><br><br><input type="text" name="configuration[MODULE_STS_INFOBOX_STATUS]"><br></td> </tr> <tr> <td align="center" class="infoBoxContent"><br><input type="image" src="includes/languages/english/images/buttons/button_update.gif" border="0" alt="Update" title=" Update "> <a href="http://www.magnumhp.com/admin/modules.php?set=sts&module=sts_default"><img src="includes/languages/english/images/buttons/button_cancel.gif" border="0" alt="Cancel" title=" Cancel "></a></td> </tr> </table> </form> </td> </tr> </table></td> </tr> </table></td> <!-- body_text_eof //-->
  9. GregZ

    [Contribution] STS v4

    I just installed HTC 2.6.3 and STS 4.5.2 bundled.... twice, with the same results. I used Beyond Compare to change my files, and then uploaded them. When I went to my site I got this error: Template file does not exist: [MODULE_STS_TEMPLATES_FOLDERfull/sts_template.html] Thinking I made a mistake, I uploaded my "save", which returned things to normal, re-edited all of the files, up loaded again and got the same result. I switched from using the "test" templates folder to using the "full" folder ( I only have one sts template created at this time) and still the same results, with a generic template being displayed and not the one I created installed. I think part of my problem my be that it appears that a "/" or maybe something else is missing between "FOLDER" and "full" in the code as seen above. I just don't have a clue where to look for that line to try to fix it. Another problem - I have permissions for catalog/includes/header_tags.php and catalog/includes/languages/english/header_tags.php set to 755 , and I tried 777, but i still get an error on the admin HTC page saying that I need to reset the permissions to 755 ?
  10. I tried searching without success. Is there a contribution that I could add to my store that would allow customers to upload a photo and a short text description to a phot album ? I currently have a photo album that is admin based - not through OSC- but I do not know if I can intergrate it into an OSC page. It has it's own database table, I'm just unsure how I could add it in . I also have a "Tech" page that lists about a dozen topics that are clickable which open an html page. I'd like to figure out a way to intergrate both of these.
  11. GregZ

    HTC v2.5.9 problem

    First off, I'm no expert, but I've done OK so far. I have no clue as to what is wrong here. I'm trying to use the header tag contribution, but when I attempt to use the admin panel to change things, I get delete from English 29 for 8 Warning: chmod(): Operation not permitted in /hsphere/local/home/gregze/bigblockscamp.com/admin/includes/functions/header_tags.php on line 240 Cannot change the mode of file (/hsphere/local/home/gregze/bigblockscamp.com//catalog/includes/header_tags.php) or Warning: chmod(): Operation not permitted in /hsphere/local/home/gregze/bigblockscamp.com/admin/includes/functions/header_tags.php on line 240 Cannot change the mode of file (/hsphere/local/home/gregze/bigblockscamp.com//catalog/includes/header_tags.php) The code reads: { if (!chmod($filename, 0666)) { echo "Cannot change the mode of file ($filename)"; exit; }
  12. GregZ

    HTC v2.5.9 problem

    Where can I find the latest version of Header Tags ? I searched in the contributions and did not find anything. I also looked at Webmakers.com and did not see anything- possible due to the confusing layout/function of that site. I know I did not install Header Tags myself, so they must have been part of the STS pack I installed. Perhaps I should just update to the latest and greatest STS & HTC pack ?
  13. GregZ

    HTC v2.5.9 problem

    Ok, I am slowly figuring this out. I can now change the info for the tags via the admin page. I did notice that the title are in red though. Note that is the title of a section appears in red, it means that file does not have the required Header Tags code installed and, as a result, will not display the title or meta tags defined here. so I looked in catlog\includes\header_tags.php and found : /* /catalog/includes/header_tags.php WebMakers.com Added: Header Tags Generator v2.0 Add META TAGS and Modify TITLE NOTE: Globally replace all fields in products table with current product name just to get things started: In phpMyAdmin use: UPDATE products_description set PRODUCTS_HEAD_TITLE_TAG = PRODUCTS_NAME Shoppe Enhancement Controller - Copyright © 2003 WebMakers.com Linda McGrath - osCommerce@WebMakers.com */ am I supposed to apply that line to my database to make this work ? I'm being cautious because I do not want to break anything !
  14. GregZ

    HTC v2.5.9 problem

    I have a printed copy of the STS v2.4 with HTC v2.5.9 user manual and I don't see anywhere that it mentions changing permissions. I changed permissions on every file I found that related to header tags, and still no luck. Maybe I didn't find all of them ?
  15. GregZ

    HTC v2.5.9 problem

    No, not in any of the three HTC admin pages.
  16. I have 3_Sizes_of_product_images_Update_for_22ms2_v1.10 installed and I wanted to watermark some of my product images. I have 3 sizes of images, 125 x125, 250 x250 and 500 x 500. I only wanted water marks on the 2 larger sizes. A friend suggested re-naming the 2 larger sizes from .jpg to .jpeg and altering the script to act as a filter. This sounded like too much work since the pics were already uploaded. Before the modification all of pics in the image fill got watermarked- even the manufacturer pics. I made one simple change to the script in the image.php file . Now the small watermark only appears on pics larger than 200 pixels and the large is only on pics larger than 300 pixels. Here's the modified text, the line in BOLD is the only thing added : <?php //watermark program //Show that a jpeg image is going to be returned //echo $QUERY_STRING; //exit; header("Content-type: image/jpeg"); //File names $wmark='watermark.png'; $wmarks='watermark_s.png'; $noimg='noimg.png'; $mimage=$QUERY_STRING; // mod to display default image instead of 404 if (file_exists($QUERY_STRING)) { //echo "The file $QUERY_STRING exists"; //Loading $watermark_img = imagecreatefrompng($wmark); $watermarks_img = imagecreatefrompng($wmarks); $wmrk_size = getimagesize($wmark); $wmrks_size = getimagesize($wmarks); $main_img = imagecreatefromjpeg($mimage); //ImageAlphaBlending($main_image, true); //Merge the 2 buffers //The figure "300" can be changed to any figure suitable for your situation. if (ImageSX($main_img) > 300) { $posx = (ImageSX($main_img) - ImageSX($watermark_img))/2; $posy = (ImageSY($main_img) - ImageSY($watermark_img))/2; imagecopy($main_img, $watermark_img, $posx, $posy, 0, 0, $wmrk_size[0], $wmrk_size[1]); }else if (ImageSX($main_img) > 200) { $posxs = (ImageSX($main_img) - ImageSX($watermarks_img))/2; $posys = (ImageSY($main_img) - ImageSY($watermarks_img))/2; imagecopy($main_img, $watermarks_img, $posxs, $posys, 0, 0, $wmrks_size[0], $wmrks_size[1]); } //Output file to browser imagejpeg($main_img); imagedestroy($watermark_img); imagedestroy($watermarks_img); imagedestroy($main_img); } else { //echo "The file $QUERY_STRING does not exist"; //Loading $noimg_show = imagecreatefrompng($noimg); //Output file to browser imagejpeg($noimg_show); imagedestroy($noimg_show); } ?> You can see it in action at my test site here: Visit My TEST Website I'm planning on going live within the next few weeks.
  17. I'm looking for something similar. I would like to alternate between 2 or more colors for the backround of the itmes like this custom OSC site: http://www.floridascubadepot.com/scuba_gear/Dive_Computers
  18. I added 3_Sizes_of_product_images_Update_for_22ms2_v1.10 to my test site. I believe it will do what you want. You can find it here: http://www.oscommerce.com/community/contri...for_22ms2_v1.10
  19. GregZ

    Credit Card Number Validation ?

    I too only accept Visa and MC. I would like to know how you did the mod. I need to do the same.
  20. GregZ

    CVV 1.24 error problem

    Never mind... i found the problem with that also... I forgot to alter the admin/orders.php page... DOH !
  21. GregZ

    CVV 1.24 error problem

    i installed CVV 1.24 on a test site I am playing with. When I place a test order and try to continue from the Delivery information page (checkout_shipping.php) i get this error : Fatal error: Cannot redeclare class cc in /hsphere/local/home/gregze/bigblockdakota.com/catalog/includes/modules/payment/cc.php on line 13 I have no idea how to fix this....
  22. GregZ

    CVV 1.24 error problem

    The CVV number IS in the data base, but shouldn't it be displayed somewhere on the order ?
  23. GregZ

    CVV 1.24 error problem

    I'm not sure what the problem was, but I restored everything, then manually re-installed the module and now it works.... sort of... I can place an order and the cvv has an entry box to enter the number, but after placing the test order I cannot locate the cvv number anywhere ?
×