Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

tonionio

Members
  • Content count

    15
  • Joined

  • Last visited

Profile Information

  • Real Name
    tonioino
  1. Hi, currently i am installed the header tags controller v 2.6.3 and working fine. Also, I installed another contribution Dynamenu for osC and using the tree categories option. Does anyone know how to make it work with it? the dynamenu is using the dm_categories.php instead of categories.php. hope someone can help me. :blush:
  2. tonionio

    PayPal WPP Direct Payments & Express Checkout Support

    Thx, I will try on it.
  3. tonionio

    PayPal WPP Direct Payments & Express Checkout Support

    dynamoeffects, Thank you for your reply. I checked that the server is running on Linux 2.6.15.6-INQUENT. I didn't use SSL on my oSC, so, it would not be missing certificate. also, I cannot run the diagnostics script, due to it require to run on SSL mode. the CURL support is enabled and CURL Information is "libcurl/7.15.1 OpenSSL/0.9.7l zlib/1.2.3" Please advise....or further suggestion?
  4. tonionio

    PayPal WPP Direct Payments & Express Checkout Support

    I just moved my osC to networksolutions web hosting server. When I using the PayPal WPP Direct Payments & Express Checkout to check out at the last step, the following error is logged:- "Internal server error " "We’re sorry for the inconvenience, but there has been an internal server error. Please click on the back button to return to the former page. " I am using the ver 0.8.2 and it was working fine on the original iPowerWeb webhosting server before i move to the network solutions. Does anyone have any idea? or any osC technical service company can suggest to me for helping me to fix this problem? :'(
  5. tonionio

    PayPal WPP Direct Payments & Express Checkout Support

    I am installed the PayPal WPP Direct Payments & Express Checkout module v0.8.2. The WPP Direct Payment is working fine, but the Express checkout is not work properly. When customer using Express check out, then --> "Delivery Information" page(checkout_shipping.php) --> Click "continue" --> Click the "Express Checkout" --> Jump to the paypal website to login --> login successful --> back to oscommerce website --> checkout_shipping.php --> Click "Continue" --> checkout_payment.php --> click "continue" --> loop back to "Delivery Information" page(checkout_shipping.php). If I idle at the Payment Information page (checkout_payment.php) for around 40~60sec, then click the "continue" button, it will pass to the checkout_confirmation.php in normal way. Anyone can help me to fix this problem?
  6. i just solve my problem, but not sure it is correct or not. after installed the contribution on the website, in file sitemap.class.php around line 255 find:- ---------------------------------------------- function GoogleSitemap($host, $user, $db, $pass){ $this->DB = new MySQL_Database($host, $user, $db, $pass); $this->filename = "sitemap"; $this->savepath = DIR_FS_CATALOG; $this->base_url = HTTP_SERVER . DIR_WS_HTTP_CATALOG; $this->debug = array(); } # end class constructor --------------------------------------------- change DIR_FS_CATALOG to the absolut path of the website location which provided by your own webhosting service company. (e.g. "/home/domain_name/catalog") for me, I changed to $this->savepath = "/home/domain_name/public_html/"; please correct me if it is wrong...
  7. Hi All, I downloaded the Google XML Sitemap Feed v1.3 by Chemo. I installed the contribution on my website's root directory with 777 permission. Actually, I installed it on "/public_html/" subfolder which provided by my webhosting serivce provider. When i tried the URL http://www.monstech.com/googlesitemap/index.php, an error is occured. Hope someome can help me. Besides, my website is also running the Ultimate SEO 2.1d by Chemo too. Error: ------------------------------------------------------------------------------------------ Warning: fopen(/public_html/sitemapproducts.xml) [function.fopen]: failed to open stream: No such file or directory in /home/monstech/public_html/googlesitemap/sitemap.class.php on line 291 ERROR: Google Product Sitemap Generation FAILED! Warning: fopen(/public_html/sitemapcategories.xml) [function.fopen]: failed to open stream: No such file or directory in /home/monstech/public_html/googlesitemap/sitemap.class.php on line 291 ERROR: Google Category Sitemap Generation FAILED! Warning: fopen(/public_html/sitemapindex.xml) [function.fopen]: failed to open stream: No such file or directory in /home/monstech/public_html/googlesitemap/sitemap.class.php on line 291 ERROR: Google Sitemap Index Generation FAILED! Array ( [QUERY] => Array ( [PRODUCTS] => Array ( [sTATUS] => success [NUM_ROWS] => 141 ) [CATEOGRY] => Array ( [sTATUS] => success [NUM_ROWS] => 179 ) ) [sAVE_FILE_XML] => Array ( [0] => Array ( [file] => /public_html/sitemapproducts.xml [status] => failure [file_exists] => false ) [1] => Array ( [file] => /public_html/sitemapcategories.xml [status] => failure [file_exists] => false ) [2] => Array ( [file] => /public_html/sitemapindex.xml [status] => failure [file_exists] => false ) ) ) ---------------------------------------------------------------------------------------------------
  8. Hi, I installed the Ultimate SEO URLs v2.1d. I have 2 problems that hopes someone can help me to fix it:- 1. If I choose the "Enable automatic redirects?" to "false" on the SEO URL in admin control panel, then, it is working. Otherwise, it doesn't work, why? 2.In the "product listing" page, The hyper-link in "product name" is not work, but the link in product image is working find. Where can i find the code for that link and how can i fix it? here is one of the link on my website for your reference:- http://www.monstech.com/index.php?cPath=23...31a89bf9d1f8728 The link on the image is working correctly:- http://www.monstech.com/product_info.php?c...31a89bf9d1f8728 The link on the product name is not work:- http://www.monstech.com/product_info.php?n...31a89bf9d1f8728
  9. Hi, I installed the Ultimate SEO URLs v2.2.2 adn have 2 problems that hopes someone can help me to fix it:- 1. If I choose the "Enable automatic redirects?" to "false" on the SEO URL in admin control panel, then, it is working. Otherwise, it doesn't work, why? 2.In the "product listing" page, The hyper-link in "product name" is not work, but the link in image is working. Where can i find the code for that link and how can i fix it? here is one of the link on my website for your reference:- http://www.monstech.com/bluetooth-h...2bd0446b469c11a The link on the image is working correctly:- http://www.monstech.com/bluetrek-wa...2bd0446b469c11a The link on the product name is not work:- [/url]http://www.monstech.com/product_inf...2bd0446b469c11a[/url]
  10. tonionio

    Ajax Buy Now

    Medreces, Thank you so much! I really appreciate your help. Maybe you should mentioned that your code also working with the Ultimate SEO URL. Because there are many people using the Ultimate SEO URL with OSC. anyway, Thanks again....LOL TONY :thumbsup:
  11. tonionio

    Ajax Buy Now

    Sorry, i tried to higlight your code on the file but not working. please ignored the " ................" when you read it. :'(
  12. tonionio

    Ajax Buy Now

    Hi Medreces, Thank you for your help! it is working now. btw, I refered to your previous posted code to change the "return $link;" section. I also added your code at the following parts. hope you can spend some more time to help me verify it, in case, i did something wrong. in /includes/functions/html_output.php // Output a form function tep_draw_form($name, $action, $method = 'post', $parameters = '') { $form = '<form name="' . tep_output_string($name) . '" action="' . tep_output_string($action) . '" method="' . tep_output_string($method) . '"'; if (tep_not_null($parameters)) $form .= ' ' . $parameters; [color=#CC0000] // AJAX Addto shopping_cart - Begin[/color] if( preg_match("/add_product/i", $action) ){ $form .= ' onSubmit="doAddProduct(this); return false;"'; } [color=#CC0000] // AJAX Addto shopping_cart - End[/color] $form .= '>'; return $form; } //// // Output a form input field function tep_draw_input_field($name, $value = '', $parameters = '', $type = 'text', $reinsert_value = true) { $field = '<input type="' . tep_output_string($type) . '" name="' . tep_output_string($name) . '"'; if ( (isset($GLOBALS[$name])) && ($reinsert_value == true) ) { $field .= ' value="' . tep_output_string(stripslashes($GLOBALS[$name])) . '"'; } elseif (tep_not_null($value)) { $field .= ' value="' . tep_output_string($value) . '"'; } if (tep_not_null($parameters)) $field .= ' ' . $parameters; [color=#CC0000] // AJAX Addto shopping_cart - Begin[/color] if( preg_match("/add_product/i", $action) ){ $form .= ' onSubmit="doAddProduct(this); return false;"'; } [color=#FF0000] // AJAX Addto shopping_cart - End[/color] $field .= '>'; return $field; } // Output a form textarea field function tep_draw_textarea_field($name, $wrap, $width, $height, $text = '', $parameters = '', $reinsert_value = true) { $field = '<textarea name="' . tep_output_string($name) . '" wrap="' . tep_output_string($wrap) . '" cols="' . tep_output_string($width) . '" rows="' . tep_output_string($height) . '"'; if (tep_not_null($parameters)) $field .= ' ' . $parameters; [color=#CC0000] // AJAX Addto shopping_cart - Begin[/color] if( preg_match("/add_product/i", $action) ){ $form .= ' onSubmit="doAddProduct(this); return false;"'; } [color=#CC0000] // AJAX Addto shopping_cart - End[/color] $field .= '>'; if ( (isset($GLOBALS[$name])) && ($reinsert_value == true) ) { $field .= tep_output_string_protected(stripslashes($GLOBALS[$name])); } elseif (tep_not_null($text)) { $field .= tep_output_string_protected($text); } $field .= '</textarea>'; return $field; } //// // Output a form hidden field function tep_draw_hidden_field($name, $value = '', $parameters = '') { $field = '<input type="hidden" name="' . tep_output_string($name) . '"'; if (tep_not_null($value)) { $field .= ' value="' . tep_output_string($value) . '"'; } elseif (isset($GLOBALS[$name])) { $field .= ' value="' . tep_output_string(stripslashes($GLOBALS[$name])) . '"'; } if (tep_not_null($parameters)) $field .= ' ' . $parameters; [color=#CC0000] // AJAX Addto shopping_cart - Begin[/color] if( preg_match("/add_product/i", $action) ){ $form .= ' onSubmit="doAddProduct(this); return false;"'; } [color=#CC0000] // AJAX Addto shopping_cart - End[/color] $field .= '>'; return $field; } //// // Output a form pull down menu function tep_draw_pull_down_menu($name, $values, $default = '', $parameters = '', $required = false) { $field = '<select name="' . tep_output_string($name) . '"'; if (tep_not_null($parameters)) $field .= ' ' . $parameters; [color=#CC0000] // AJAX Addto shopping_cart - Begin[/color] if( preg_match("/add_product/i", $action) ){ $form .= ' onSubmit="doAddProduct(this); return false;"'; } [color=#CC0000] // AJAX Addto shopping_cart - End[/color] $field .= '>'; if (empty($default) && isset($GLOBALS[$name])) $default = stripslashes($GLOBALS[$name]); for ($i=0, $n=sizeof($values); $i<$n; $i++) { $field .= '<option value="' . tep_output_string($values[$i]['id']) . '"'; if ($default == $values[$i]['id']) { $field .= ' SELECTED'; } $field .= '>' . tep_output_string($values[$i]['text'], array('"' => '"', '\'' => ''', '<' => '<', '>' => '>')) . '</option>'; } $field .= '</select>'; if ($required == true) $field .= TEXT_FIELD_REQUIRED; return $field; } Tony:)
  13. tonionio

    Ajax Buy Now

    Medreces, thank you for your reply. my website is http://www.monstech.com here are part of the code that i don't know how to change it. if you need to view whole file, please let me know how can i send it to you. in /includes/column_right.php <?php . . . if (COLUMN_RIGHT_IS_ON=='true') { // BOF: SHOPPING_CART if (BOX_SHOPPING_CART_IS_ON=='true' and BOX_SHOPPING_CART_COLUMN=='right') { require(DIR_WS_BOXES . 'shopping_cart.php'); } // EOF: SHOPPING_CART . . . in /includes/functions/html_output.php <?php . . . // Ultimate SEO URLs v2.1 // The HTML href link wrapper function if (SEO_ENABLED == 'true') { //run chemo's code function tep_href_link($page = '', $parameters = '', $connection = 'NONSSL', $add_session_id = true, $search_engine_safe = true) { global $seo_urls; if ( !is_object($seo_urls) ){ if ( !class_exists('SEO_URL') ){ include_once(DIR_WS_CLASSES . 'seo.class.php'); } global $languages_id; $seo_urls = new SEO_URL($languages_id); } return $seo_urls->href_link($page, $parameters, $connection, $add_session_id); } } else { //run original code // The HTML href link wrapper function function tep_href_link($page = '', $parameters = '', $connection = 'NONSSL', $add_session_id = true, $search_engine_safe = true) { global $request_type, $session_started, $SID; if (!tep_not_null($page)) { die('<br><br><font color="#ff0000"><b>Error!</b></font><br><br><b>Unable to determine the page link!<br><br>'); } if ($connection == 'NONSSL') { $link = HTTP_SERVER . DIR_WS_HTTP_CATALOG; } elseif ($connection == 'SSL') { if (ENABLE_SSL == true) { $link = HTTPS_SERVER . DIR_WS_HTTPS_CATALOG; } else { $link = HTTP_SERVER . DIR_WS_HTTP_CATALOG; } } else { die('<br><br><font color="#ff0000"><b>Error!</b></font><br><br><b>Unable to determine connection method on a link!<br><br>Known methods: NONSSL SSL</b><br><br>'); } if (tep_not_null($parameters)) { $link .= $page . '?' . tep_output_string($parameters); $separator = '&'; } else { $link .= $page; $separator = '?'; } while ( (substr($link, -1) == '&') || (substr($link, -1) == '?') ) $link = substr($link, 0, -1); // Add the session ID when moving from different HTTP and HTTPS servers, or when SID is defined if ( ($add_session_id == true) && ($session_started == true) && (SESSION_FORCE_COOKIE_USE == 'False') ) { if (tep_not_null($SID)) { $_sid = $SID; } elseif ( ( ($request_type == 'NONSSL') && ($connection == 'SSL') && (ENABLE_SSL == true) ) || ( ($request_type == 'SSL') && ($connection == 'NONSSL') ) ) { if (HTTP_COOKIE_DOMAIN != HTTPS_COOKIE_DOMAIN) { $_sid = tep_session_name() . '=' . tep_session_id(); } } } if ( (SEARCH_ENGINE_FRIENDLY_URLS == 'true') && ($search_engine_safe == true) ) { while (strstr($link, '&&')) $link = str_replace('&&', '&', $link); $link = str_replace('?', '/', $link); $link = str_replace('&', '/', $link); $link = str_replace('=', '/', $link); $separator = '?'; } if (isset($_sid)) { $link .= $separator . $_sid; } return $link; } } . . . Thx Tony :blush:
  14. tonionio

    Ajax Buy Now

    Hi Medreces, Your contribution is great, but I cannot make it work with the Ultimate SEO URL on my website. Is it possible that you can show me how to change it to running with the ultimate SEO URL? tony :(
×