Jump to content

CrAzYtheDj

Members
  • Content count

    6
  • Joined

  • Last visited

  1. CrAzYtheDj

    Offical Google Checkout module for osCommerce Support Thread

    I've attempted to install GC a few times now and seem to be running into the same problem each time... My server & setup is as follows: - IIS 7 + PHP5 + MySQL 5 - osC 2.2RC2 + Ultimate SEO URL + STS 4.58 w/modernrc2a template + On The Fly Auto Thumbnailer + Country-State Selector + X-Sell v2-MS2 + FedEx After integrating the GC code I attempt to 'Install' it through the admin section, I receive the following error: 1406 - Data too long for column 'configuration_description' at row 1 insert into configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) values ('.htaccess Basic Authentication Mode', 'MODULE_PAYMENT_GOOGLECHECKOUT_CGI', 'False', 'Your site Site in installed with PHP over CGI? This configuration will disable PHP Basic Authentication that is NOT compatible with CGI used in the responsehandler.php to validate Google Checkout messages. If setted True you MUST configure your .htaccess files here.', '6', '4', 'tep_cfg_select_option(array(\'False\', \'True\'),',now()) [TEP STOP] If I click back I'm able to edit the GC module settings, but I'm left with the following: A total of 16 empty fields/boxes I'm gathering that something isn't getting into the database correctly but I'm completely uncertain how to fix this... Can any help please?
  2. Hoping someone might be able to help me out with this... osC 2.2RC2 + Ultimate SEO URL + STS 4.58 w/modernrc2a template I'm getting the following 'missing image error' with table_background_ images on all of the pages: Image Properties: .../product_thumb.php?img=includes/sts_templates/modernrc2a/images/table_background_products_new.gif&w=50&h=50 Product Images work perfectly fine (Product Image Properties - .../product_thumb.php?img=images/Product_01.jpg&w=100&h=100) And the template images work perfectly fine as well (Example - .../includes/sts_templates/modernrc2a/images/arrow_east_south.gif) Right now, I have to go through most of the files and cut out the header code <?php // <td class="pageHeading" align="right"><?php echo tep_image(DIR_WS_IMAGES . 'table_background_delivery.gif', HEADING_TITLE, HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); // </td> ?> Here is my html_output.php - I'm gathering my problem might have something to do with the image scaling code. // The HTML image wrapper function // "On the Fly" Auto Thumbnailer using GD Library, servercaching and browsercaching // Scales product images dynamically, resulting in smaller file sizes, and keeps // proper image ratio. Used in conjunction with product_thumb.php t/n generator. function tep_image($src, $alt = '', $width = '', $height = '', $params = '') { // + STS 4.58 global $sts; $sts->image($src); // Take image from template folder if exists. // - STS 4.58 // if no file exists display the 'no image' file if (!is_file($src)) { $src = "images/no_image.jpg"; } // Set default image variable and code $image = '<img src="' . $src . '"'; // Don't calculate if the image is set to a "%" width if (strstr($width,'%') == false || strstr($height,'%') == false) { $dont_calculate = 0; } else { $dont_calculate = 1; } // Dont calculate if a pixel image is being passed (hope you dont have pixels for sale) if (!strstr($image, 'pixel')) { $dont_calculate = 0; } else { $dont_calculate = 1; } // Do we calculate the image size? if (CONFIG_CALCULATE_IMAGE_SIZE && !$dont_calculate) { // Get the image's information if ($image_size = @getimagesize($src)) { $ratio = $image_size[1] / $image_size[0]; // Set the width and height to the proper ratio if (!$width && $height) { $ratio = $height / $image_size[1]; $width = intval($image_size[0] * $ratio); } elseif ($width && !$height) { $ratio = $width / $image_size[0]; $height = intval($image_size[1] * $ratio); } elseif (!$width && !$height) { $width = $image_size[0]; $height = $image_size[1]; } [color="#FF0000"][b]// Scale the image if not the original size if ($image_size[0] != $width || $image_size[1] != $height) { $rx = $image_size[0] / $width; $ry = $image_size[1] / $height; if ($rx < $ry) { $width = intval($height / $ratio); } else { $height = intval($width * $ratio); } $image = '<img src="product_thumb.php?img=' . $src . '&w=' . tep_output_string($width) . '&h=' . tep_output_string($height) . '"'; } } elseif (IMAGE_REQUIRED == 'false') { return ''; } }[/b][/color] // Add remaining image parameters if they exist if ($width) { $image .= ' width="' . tep_output_string($width) . '"'; } if ($height) { $image .= ' height="' . tep_output_string($height) . '"'; } if (tep_not_null($params)) $image .= ' ' . $params; $image .= ' border="0" alt="' . tep_output_string($alt) . '"'; if (tep_not_null($alt)) { $image .= ' title="' . tep_output_string($alt) . '"'; } $image .= '>'; return $image; }
  3. CrAzYtheDj

    Multi_Vendor_Shipping new thread

    I just went through a fresh install of MVS on an unmodified installation of osC. I noticed all the talk about USPS not working correctly and having to edit the usps.php file. I didn't make any USPS modifications and tested it out and haven't noticed any problems with it. My question is, if you're using the latest release of osC and MVS 1.1, do I really need to make the USPS changes or did USPS fix their 'code tinkering' on the API?
  4. CrAzYtheDj

    QBI Quickbooks Import

    There are no PHP errors in the logs I undestand I'm using an old version, but I'm testing and weighing my options for creating an online store - unfortuntely, there is no source of income right now, so I can't justify spending the money on a product that I may not use (I'm including osC in that statement) - do you offer a trial of the current version? That would be very helpful in determing what I'd like to do, I'd really like to see how this is going to work for me before I make the investment... Just a suggestion for consideration if it's not something you currently offer.
  5. CrAzYtheDj

    QBI Quickbooks Import

    I was experiencing the same issue and manually installed the qbi_ tables and set qbi_active to 1... However, now when I go into the configuration section and attempt to click on an of the tabs "Create iif / Set Up / Match / Configure / About" it doesn't go anywhere except back to the 'Configure' tab... Anyone have any similar issues or know what might be my problem?
×