Jump to content


Corporate Sponsors


Latest News: (loading..)

deltabiri

Member Since 31 Aug 2007
Offline Last Active Apr 19 2011, 14:41
-----

Topics I've Started

problem rss error sql file

12 March 2011, 09:00

im install contribution rss in my shop 2.3
upload file sql error report:
query SQL: 

INSERT INTO configuration( configuration_id, configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function ) 
VALUES (

'80', 'RSS Articles', 'MAX_RSS_ARTICLES', '20', 'Number of articles displayed by the RSS feed', '3', '25', '2007-03-14 22:15:35', '2007-03-14 22:15:35', NULL , NULL 
);



Messaggio di MySQL:  

#1062 - Duplicate entry '80' for key 1 

insert into configuration (configuration_id, configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) values ('80', 'RSS Articles', 'MAX_RSS_ARTICLES', '20', 'Number of articles displayed by the RSS feed', '3', '25', '2007-03-14 22:15:35', '2007-03-14 22:15:35', NULL, NULL);

ALTER TABLE products ADD products_to_rss TINYINT default '1' NOT NULL
how I fix ?
to line 1062 sql present
(398, 'Enable Front Page Meta Description', 'MODULE_HEADER_TAGS_FRONT_DESCRIPTION_STATUS', 'True', 'Do you want to add a meta description to the front page?', 6, 1, NULL, '2011-02-12 18:41:34', NULL, 'tep_cfg_select_option(array(''True'', ''False''), '),
(399, 'Sort Order', 'MODULE_HEADER_TAGS_FRONT_DESCRIPTION_SORT_ORDER', '1', 'Sort order of display. Meta tags are duplicated, so add only one per page.', 6, 0, NULL, '2011-02-12 18:41:34', NULL, NULL),

problem html_output.php kiss error

01 March 2011, 14:13

hello, im problem in to html_output.php this error individuate to contribution "kiss error"

Error Type: [E_WARNING] getimagesize() [<a href='function.getimagesize'>function.getimagesize</a>]: Unable to access includes/languages/italian/images/buttons/button_add_to_cart1.gif
On line 38
File includes/functions/html_output.php
Error Type: [E_WARNING] getimagesize(includes/languages/italian/images/buttons/button_add_to_cart1.gif) [<a href='function.getimagesize'>function.getimagesize</a>]: failed to open stream: No such file or directory
On line 38
File includes/functions/html_output.php
Error Type: [E_WARNING] getimagesize() [<a href='function.getimagesize'>function.getimagesize</a>]: Unable to access /ext/js/ie6/ie6nomore-cornerx.jpg
On line 38
File includes/functions/html_output.php
Error Type: [E_WARNING] getimagesize(/ext/js/ie6/ie6nomore-cornerx.jpg) [<a href='function.getimagesize'>function.getimagesize</a>]: failed to open stream: No such file or directory
On line 38
File includes/functions/html_output.php
Error Type: [E_WARNING] getimagesize() [<a href='function.getimagesize'>function.getimagesize</a>]: Unable to access /ext/js/ie6/ie6nomore-warning.jpg
On line 38
File includes/functions/html_output.php
Error Type: [E_WARNING] getimagesize(/ext/js/ie6/ie6nomore-warning.jpg) [<a href='function.getimagesize'>function.getimagesize</a>]: failed to open stream: No such file or directory
On line 38
File includes/functions/html_output.php
Error Type: [E_WARNING] getimagesize() [<a href='function.getimagesize'>function.getimagesize</a>]: Unable to access /ext/js/ie6/ie6nomore-firefox.jpg
On line 38
File includes/functions/html_output.php
Error Type: [E_WARNING] getimagesize(/ext/js/ie6/ie6nomore-firefox.jpg) [<a href='function.getimagesize'>function.getimagesize</a>]: failed to open stream: No such file or directory
On line 38
File includes/functions/html_output.php
Error Type: [E_WARNING] getimagesize() [<a href='function.getimagesize'>function.getimagesize</a>]: Unable to access /ext/js/ie6/ie6nomore-ie8.jpg
On line 38
File includes/functions/html_output.php
Error Type: [E_WARNING] getimagesize(/ext/js/ie6/ie6nomore-ie8.jpg) [<a href='function.getimagesize'>function.getimagesize</a>]: failed to open stream: No such file or directory
On line 38
File includes/functions/html_output.php
Error Type: [E_WARNING] getimagesize() [<a href='function.getimagesize'>function.getimagesize</a>]: Unable to access /ext/js/ie6/ie6nomore-safari.jpg
On line 38
File includes/functions/html_output.php
Error Type: [E_WARNING] getimagesize(/ext/js/ie6/ie6nomore-safari.jpg) [<a href='function.getimagesize'>function.getimagesize</a>]: failed to open stream: No such file or directory
On line 38
File includes/functions/html_output.php
Error Type: [E_WARNING] getimagesize() [<a href='function.getimagesize'>function.getimagesize</a>]: Unable to access /ext/js/ie6/ie6nomore-chrome.jpg
On line 38
File includes/functions/html_output.php
Error Type: [E_WARNING] getimagesize(/ext/js/ie6/ie6nomore-chrome.jpg) [<a href='function.getimagesize'>function.getimagesize</a>]: failed to open stream: No such file or directory
On line 38
File includes/functions/html_output.php
Error Type: [E_WARNING] getimagesize() [<a href='function.getimagesize'>function.getimagesize</a>]: Unable to access /ext/js/ie6/ie6nomore-opera.jpg
On line 38
File includes/functions/html_output.php
Error Type: [E_WARNING] getimagesize(/ext/js/ie6/ie6nomore-opera.jpg) [<a href='function.getimagesize'>function.getimagesize</a>]: failed to open stream: No such file or directory
On line 38
File includes/functions/html_output.php
my code:
// the image filename as default
    $image = '<img src="' . tep_output_string($src) . '" alt="' . tep_output_string($alt) . '"';

    if (tep_not_null($alt)) {
      $image .= ' title=" ' . tep_output_string($alt) . ' "';
    }

    if ( (CONFIG_CALCULATE_IMAGE_SIZE == 'true') && (empty($width) || empty($height)) ) {
      if ($image_size = @getimagesize($src)) {
        if (empty($width) && tep_not_null($height)) {
          $ratio = $height / $image_size[1];
          $width = intval($image_size[0] * $ratio);
        } elseif (tep_not_null($width) && empty($height)) {
          $ratio = $width / $image_size[0];
          $height = intval($image_size[1] * $ratio);
        } elseif (empty($width) && empty($height)) {
          $width = $image_size[0];
          $height = $image_size[1];
        }
      } elseif (IMAGE_REQUIRED == 'false') {
        return false;
      }
    }

    if (tep_not_null($width) && tep_not_null($height)) {
      $image .= ' width="' . tep_output_string($width) . '" height="' . tep_output_string($height) . '"';
    }

    if (tep_not_null($parameters)) $image .= ' ' . $parameters;

    $image .= ' />';

    return $image;
  }

////
as a bug in the code?

problem add html for popup

27 February 2011, 09:55

Hello, in to admin create product, im insert html popuop click save.....reopen product all code deleted, no save!!
how do I find the problem?
the extra images to the subject, is ok, only html problem...no obyect youtube, no title tag ecc...

edit button reviews

21 February 2011, 16:26

hello, I want to change button reviews....Remove button, and put text link
my code button
<div><?php
    $reviews_query = tep_db_query("select count(*) as count from " . TABLE_REVIEWS . " where products_id = '" . (int)$HTTP_GET_VARS['products_id'] . "' and reviews_status = 1");
    $reviews = tep_db_fetch_array($reviews_query);
?><?php echo tep_draw_button(IMAGE_BUTTON_REVIEWS . (($reviews['count'] > 0) ? ' (' . $reviews['count'] . ')' : ''), 'comment', tep_href_link(FILENAME_PRODUCT_REVIEWS, tep_get_all_get_params())); ?></div>

trasformat to: "Write a review (0)"
how? thanks

which language file send mail order?

19 February 2011, 09:37

Hello, im italian, in to my shop 2.3 send mail custumers order is english,
I can not find the file for translation
which language file send mail order?