Jump to content

Lioelx

Members
  • Content count

    165
  • Joined

  • Last visited

  • Days Won

    1

Lioelx last won the day on April 10 2017

Lioelx had the most liked content!

4 Followers

Profile Information

  • Real Name
    Lionel
  • Gender
    Male
  • Location
    Spain

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Lioelx

    QTPro BS

    Hi, @@raiwa i have this error Warning: require(includes/classes/pad_PRODINFO_ATTRIBUTE_PLUGIN.php): failed to open stream: No existe el fichero o el directorio in /var/www/vhosts/nukua.es/product_info.php on line 149 This is my product_info <?php /* $Id$ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2010 osCommerce Released under the GNU General Public License Modified for KISS Image Thumbnailer r19 August 2015 by @[member=raiwa] */ require('includes/application_top.php'); if (!isset($_GET['products_id'])) { tep_redirect(tep_href_link('index.php')); } require('includes/languages/' . $language . '/product_info.php'); $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)$_GET['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); require('includes/template_top.php'); if ($product_check['total'] < 1) { ?> <div class="contentContainer"> <div class="contentText"> <div class="alert alert-warning"><?php echo TEXT_PRODUCT_NOT_FOUND; ?></div> </div> <div class="pull-right"> <?php echo tep_draw_button(IMAGE_BUTTON_CONTINUE, 'fa fa-angle-right', tep_href_link('index.php')); ?> </div> </div> <?php } else { $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, p.products_gtin from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd where p.products_status = '1' and p.products_id = '" . (int)$_GET['products_id'] . "' and pd.products_id = p.products_id and pd.language_id = '" . (int)$languages_id . "'"); $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)$_GET['products_id'] . "' and language_id = '" . (int)$languages_id . "'"); if ($new_price = tep_get_products_special_price($product_info['products_id'])) { $products_price = '<del>' . $currencies->display_price($product_info['products_price'], tep_get_tax_rate($product_info['products_tax_class_id'])) . '</del> <span class="productSpecialPrice" itemprop="price" content="' . $currencies->display_raw($new_price, tep_get_tax_rate($product_info['products_tax_class_id'])) . '">' . $currencies->display_price($new_price, tep_get_tax_rate($product_info['products_tax_class_id'])) . '</span>'; } else { $products_price = '<span itemprop="price" content="' . $currencies->display_raw($product_info['products_price'], tep_get_tax_rate($product_info['products_tax_class_id'])) . '">' . $currencies->display_price($product_info['products_price'], tep_get_tax_rate($product_info['products_tax_class_id'])) . '</span>'; } if ($product_info['products_date_available'] > date('d-m-Y H:i:s')) { $products_price .= '<link itemprop="availability" href="http://schema.org/PreOrder" />'; } elseif ((STOCK_CHECK == 'true') && ($product_info['products_quantity'] < 1)) { $products_price .= '<link itemprop="availability" href="http://schema.org/OutOfStock" />'; } else { $products_price .= '<link itemprop="availability" href="http://schema.org/InStock" />'; } $products_price .= '<meta itemprop="priceCurrency" content="' . tep_output_string($currency) . '" />'; $products_name = '<a href="' . tep_href_link('product_info.php', 'products_id=' . $product_info['products_id']) . '" itemprop="url"><span itemprop="name">' . $product_info['products_name'] . '</span></a>'; if (tep_not_null($product_info['products_model'])) { $products_name .= '<br /><small>[<span itemprop="model">' . $product_info['products_model'] . '</span>]</small>'; } ?> <?php echo tep_draw_form('cart_quantity', tep_href_link('product_info.php', tep_get_all_get_params(array('action')). 'action=add_product', 'NONSSL'), 'post', 'class="form-horizontal" role="form"'); ?> <div itemscope itemtype="http://schema.org/Product"> <div class="page-header"> <div class="row"> <h1 class="col-sm-8"><?php echo $products_name; ?></h1> <h2 class="col-sm-4 text-right-not-xs" itemprop="offers" itemscope itemtype="http://schema.org/Offer"><?php echo $products_price; ?></h2> </div> </div> <?php if ($messageStack->size('product_action') > 0) { echo $messageStack->output('product_action'); } ?> <div class="contentContainer"> <div class="contentText"> <?php if (tep_not_null($product_info['products_image'])) { echo tep_image('images/' . $product_info['products_image'], NULL, NULL, NULL, 'itemprop="image" style="display:none;"'); $photoset_layout = (int)MODULE_HEADER_TAGS_PRODUCT_COLORBOX_LAYOUT; $pi_query = tep_db_query("select image, htmlcontent from " . TABLE_PRODUCTS_IMAGES . " where products_id = '" . (int)$product_info['products_id'] . "' order by sort_order"); $pi_total = tep_db_num_rows($pi_query); if ($pi_total > 0) { ?> <div class="piGal pull-right" data-imgcount="<?php echo $photoset_layout; ?>"> <?php $pi_counter = 0; $pi_html = array(); while ($pi = tep_db_fetch_array($pi_query)) { $pi_counter++; if (tep_not_null($pi['htmlcontent'])) { $pi_html[] = '<div id="piGalDiv_' . $pi_counter . '">' . $pi['htmlcontent'] . '</div>'; } echo tep_image('images/' . $pi['image'], '', '', '', 'id="piGalImg_' . $pi_counter . '"'); } ?> </div> <?php if ( !empty($pi_html) ) { echo ' <div style="display: none;">' . implode('', $pi_html) . '</div>'; } } else { ?> <div class="piGal pull-right"> <?php echo tep_image('images/' . $product_info['products_image'], addslashes($product_info['products_name'])); ?> </div> <?php } } ?> <!--<div class="clearfix"></div>--> <div itemprop="description"> <?php echo stripslashes($product_info['products_description']); ?> </div> <?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)$_GET['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) { ?> <h4><?php echo TEXT_PRODUCT_OPTIONS; ?></h4> <p> <?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)$_GET['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)$_GET['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 (is_string($_GET['products_id']) && isset($cart->contents[$_GET['products_id']]['attributes'][$products_options_name['products_options_id']])) { $selected_attribute = $cart->contents[$_GET['products_id']]['attributes'][$products_options_name['products_options_id']]; } else { $selected_attribute = false; } ?> <strong><?php echo $products_options_name['products_options_name'] . ':'; ?></strong><br /><?php echo tep_draw_pull_down_menu('id[' . $products_options_name['products_options_id'] . ']', $products_options_array, $selected_attribute, 'style="width: 200px;"'); ?><br /> <?php } ?> </p> <?php } */ ?> <div class="clearfix"></div> <?php if ($product_info['products_date_available'] > date('d-m-Y H:i:s')) { ?> <div class="alert alert-info"><?php echo sprintf(TEXT_DATE_AVAILABLE, tep_date_long($product_info['products_date_available'])); ?></div> <?php } ?> </div> <?php $reviews_query = tep_db_query("select count(*) as count, avg(reviews_rating) as avgrating from " . TABLE_REVIEWS . " r, " . TABLE_REVIEWS_DESCRIPTION . " rd where r.products_id = '" . (int)$_GET['products_id'] . "' and r.reviews_id = rd.reviews_id and rd.languages_id = '" . (int)$languages_id . "' and reviews_status = 1"); $reviews = tep_db_fetch_array($reviews_query); if ($reviews['count'] > 0) { echo '<span itemprop="aggregateRating" itemscope itemtype="http://schema.org/AggregateRating"><meta itemprop="ratingValue" content="' . $reviews['avgrating'] . '" /><meta itemprop="ratingCount" content="' . $reviews['count'] . '" /></span>'; } ?> <br> <!-- Back Back Button Start --> <div class="buttonSet row"> <div class="col-xs-4 text-left"><?php echo tep_draw_button(IMAGE_BUTTON_REVIEWS . (($reviews['count'] > 0) ? ' (' . $reviews['count'] . ')' : ''), 'fa fa-commenting', tep_href_link('product_reviews.php', tep_get_all_get_params())); ?></div> <div class="col-xs-4 text-center"> <?php echo tep_draw_button(IMAGE_BUTTON_BACK, 'fa fa-angle-left', tep_href_link('index.php', tep_get_path())); ?> </div> <?php if (($product_info['products_quantity'] <> 0) and ($product_info['products_price'] > 0)) { ?> <div class="col-xs-4 text-right"><?php echo tep_draw_hidden_field('products_id', $product_info['products_id']) . tep_draw_button(IMAGE_BUTTON_IN_CART, 'fa fa-shopping-cart', null, 'primary', null, 'btn-success'); ?></div> </div> <?php } else { ?> <div class="col-xs-4 text-right"> <button class="btn btn-danger" type="button">Agotado</button></div></div> <?php } ?> <!-- Back Back Button End --> <div class="row"> <?php echo $oscTemplate->getContent('product_info'); ?> </div> <?php if ((USE_CACHE == 'true') && empty($SID)) { echo tep_cache_also_purchased(3600); } else { include('includes/modules/also_purchased_products.php'); } if ($product_info['manufacturers_id'] > 0) { $manufacturer_query = tep_db_query("select manufacturers_name from " . TABLE_MANUFACTURERS . " where manufacturers_id = '" . (int)$product_info['manufacturers_id'] . "'"); if (tep_db_num_rows($manufacturer_query)) { $manufacturer = tep_db_fetch_array($manufacturer_query); echo '<span itemprop="manufacturer" itemscope itemtype="http://schema.org/Organization"><meta itemprop="name" content="' . tep_output_string($manufacturer['manufacturers_name']) . '" /></span>'; } } ?> </div> </div> </form> <?php } require('includes/template_bottom.php'); require('includes/application_bottom.php'); ?>
  2. Lioelx

    Login with Paypal

    Which is? I can not find it
  3. Lioelx

    Login with Paypal

    Hi @@raiwa i have the same what you say and the returnurl is https://www.nukua.es/login.php?action=paypal_login This url does not lead anywhere, Regards
  4. Lioelx

    Login with Paypal

    Hello @@raiwa, my case is the same as Bill, full ssl, return url https:// all same. incluides/modules/content/login/cm_paypal_login.php have this line $this->_app->loadLanguageFile('modules/LOGIN/LOGIN.php'); If refert to includes/modules/LOGIN/LOGIN.php doets exist but /includes/apps/paypal/LOGIN/LOGIN.php exist Has something to do? Regards
  5. Lioelx

    Login with Paypal

    Hi, @@raiwa, now have what you say, but dont work, all mi site run ssl https:// i prove the same url whit https and http but nothing.
  6. Lioelx

    Login with Paypal

    Hi, i dont know this, i prove all url but dont work... waht ist the correct returnurl? Regards
  7. Hi @@auzStar You're right in what you say, but I think the habit of users is to scroll down. Regards
  8. Lioelx

    SSL Certificate

    Hi, this is the way catalog/includes/configure.php define('HTTP_SERVER', 'https://www.domain.es'); define('HTTPS_SERVER', 'https://www.domain.es'); define('ENABLE_SSL', true); admin/includes/configure.php define('HTTP_SERVER', 'https://www.domain.es'); define('HTTPS_SERVER', 'https://www.domain.es'); define('ENABLE_SSL', true); define('HTTP_CATALOG_SERVER', 'https://www.domain.es'); define('HTTPS_CATALOG_SERVER', 'https://www.domain.es'); regards
  9. Lioelx

    ULTIMATE Seo Urls 5 - by FWR Media

    Hi @@piernas I have installed this http://addons.oscommerce.com/info/2823 (chemo) for install your new responsive version i made uninstall it? Regards
  10. Hi @ auzStar, i dont know this, sorry for my ignorace, Can not be made to load the products and to go up? Regards
  11. Hi all, When i clicking the pagination number or arrows for change the page on products_listing the page dont go to top... If ajax product listing is off work fine. Thanks for your help. Lionel bootstrap 2.3.4 on nukua.es
  12. Lioelx

    QTPro BS

    @@raiwa i put a new compress folder on github whit spanish traslation, i dont know make a folder in github. Regards
  13. Hi, this funcion is correct? protected function xcell_product_data_query( $xsell_contents_list ) { $xsell_contents_array = array(); xcell or xsell? Regards
  14. Lioelx

    Faq Desk

    Thanks @@Dan Cole
  15. Lioelx

    Faq Desk

    Hi @@Dan Cole @BrockleyJonh No Dan, the addon its this http://addons.oscommerce.com/info/7744 The problem as solved, The person who mounted the package accidentally changed catalog files by admin and biceversa Many thanks for your help. Regards.
×