Jump to content

addicted

Members
  • Content count

    59
  • Joined

  • Last visited

Posts posted by addicted


  1. Hello

    After rebooting server I get the following messege

    Warning: gzinflate() [function.gzinflate]: data error in /xxxxx/includes/modules/ultimate_seo_urls5/classes/Usu_Cache_FileSystem.php on line 45

    Fatal error: Call to undefined method stdClass::merge() in /xxxx/public_html/includes/modules/ultimate_seo_urls5/modules/Usu_Products.php on line 32

    Problem disapper when I reset cache.

    Any Idea how to avoid this

    Thank You


  2. Switching the code isn't a problem. The problem is in how the url's are formatted. If they appear the same as Ultimate SEO writes them - domain.com/somename-c-1.html - then you can switch without any problems. But if they are formatted differently, the code probably won't catch it and you will lose your index positions for those url's. In that case, you would have to add code to the .htaccess or application_top file to catch those url's and convert them.

    Hello Jack

    They have different format

    I'm thinking of 301 redirect via .htaccess

    and I'm wondering if there will be performance issue when I put 2000 redirects

    is there any way to grab it from csv and place it in cache table ?

    Thank You in advance


  3. Hello

    I have 2 problems with this contribution

    1. I'm using Cyrillic code page - windows-1251 and it don't show correctly characters.

    I check every file from contribution and hard coded 'charset=1251', but without success

    2. I'm not able to login with login button - I receive message Authorization failed

    I'm using STS and check all instructions from previous posts.

    Any ideas will be appriciate

    Thank You


  4. does anyone know who did this scripting? I like the idea of the image moving to the cart instead of the little circle thingy going round and round.

    Contribution with flying product was made by Mercedes from Russia, but he never share the secret, he published contribution without effect.

    I'm checking for it sometimes but still got nothing


  5. I've got following error

    PHP Parse error: syntax error, unexpected T_IF, expecting ',' or ';' in /usr/home/xxxxx/public_html/includes/footer.php on line 14

     

    echo '<style type="text/css">' . $button_class . '</style>'
    if ($sts->display_template_output) {  
     // Get content here, in case column_right is not called.
     if (!isset($sts->template['content'])) $sts->restart_capture ('content');  
    } else {  
    //END STS

    line 14 is if ($sts->display_template_output) {


  6. Hello Sam

    Bottom part is missing in my page

    here is my footer.php

     

    <?php^M
    /*^M
     $Id: footer.php 1739 2007-12-20 00:52:16Z hpdl $^M
    ^M
     osCommerce, Open Source E-Commerce Solutions^M
     http://www.oscommerce.com^M
    ^M
     Copyright (c) 2003 osCommerce^M
    ^M
     Released under the GNU General Public License^M
    */^M
    // START STS 4.5^M
    if ($sts->display_template_output) {^M
     // Get content here, in case column_right is not called.
     if (!isset($sts->template['content'])) $sts->restart_capture ('content');^M
    } else {^M
    //END STS^M
    ^M
     require(DIR_WS_INCLUDES . 'counter.php');^M
    ?>^M
    <table border="0" width="100%" cellspacing="0" cellpadding="1">^M
     <tr class="footer">^M
       <td class="footer">  <?php echo strftime(DATE_FORMAT_LONG); ?>  </td>^M
       <td align="right" class="footer">  <?php echo $counter_now . ' ' . FOOTER_TEXT_REQUESTS_SINCE . ' ' . $counter_startda
    te_formatted; ?>  </td>^M
     </tr>^M
    </table>^M
    <br>^M
    <table border="0" width="100%" cellspacing="0" cellpadding="0">^M
     <tr>^M
       <td align="center" class="smallText"><?php echo FOOTER_TEXT_BODY; ?></td>^M
     </tr>^M
    </table>^M
    <?php^M
     if ($banner = tep_banner_exists('dynamic', '468x50')) {^M
    ?>^M
    <br>^M
    <table border="0" width="100%" cellspacing="0" cellpadding="0">^M
     <tr>^M
       <td align="center"><?php echo tep_display_banner('static', $banner); ?></td>
     </tr>^M
    </table>^M
    <?php^M
     }^M
    // START STS 4.1^M
    }^M
    // END STS 4.1^M
    echo '<style type="text/css">' . $button_class . '</style>'
    ?>

    ~

    I tried to place

    echo '<style type="text/css">' . $button_class . '</style>'

    before clossing STS condition

    // START STS 4.1^M

    }^M

    // END STS 4.1^M

    but I'm not in php language and I got parse error,

    looks like it must be in sts if conditioning


  7. I try merged code today

    I have the same efect, if there is an rollover image created. If there is not, button is shown correctly.

     

    <img alt="" src="includes/languages/bulgarian/images/buttons/button_reviews_over.gif" style="display:none" /><img src="images/pixel_trans.gif" class="button_reviews" alt="Коментари" title=" Коментари "/></a><span class="new_product_desc"> <a href="javascript:void(0)"><img alt="" src="includes/languages/bulgarian/images/buttons/button_in_cart_over.gif" style="display:none" /><input type="submit" value="" class="button_in_cart" title=" Добави в количката "></a> <a href="http://xxx.com/ask_a_question.php?products_id=12319&manufacturers_id=133"><img src="includes/languages/bulgarian/images/buttons/ask.gif" border="0" alt="IMAGE_BUTTON_ASK_QUESTION" title=" IMAGE_BUTTON_ASK_QUESTION ">

     

    This is a result

    I'm wondering about this "style="display:none", is it the way it should be ?


  8. Hello

    I'm trying to use header for my template (as described from Mr. Bill Kellum in STS Power Pack contribution) but my template header overlap page content. When I use view source from browser everything is OK, but its not show on screen

    Any ideas will be appriated. Thank You


  9. Hello Sam

    Thank You for your help, and of course your contribution - I'm using 3 of them

    The code you have posted didn't work for me (there was error in my error log)so I remove everything and start it again.

    Meanwhile I realize two things

    1. Error was not from your contribution - it was famous bug in breadcrumb

    2. There was no need to merge 2 files - sts parameters to change default image folder for templates - i don't use it, I have different theme folders

    So at the end everything is work fine, thank You

    This week I'll try to get your fancybox multiply image addon as STS tag...

    Just download product listing enhancement - I have no patience to play with it


  10. Hello

    Very strange problem here, I cannot enable STS main module. When I click INSTALL osc does nothing

    the URL is /admin/modules.php?set=sts&module=sts_default

    any ideas (probably permision problems, no in database configuration ...)

    Thank You in advance

    There is no any error message in error log


  11. Hello

    Any idea how to merge with STS

    / Outputs a button in the selected language

    function tep_image_submit($image, $alt = '', $parameters = '') {

    global $language;

     

    // START STS v4.4:

    global $sts;

    $src = $sts->image_button($image,$language);

    if ($src!='')

    $image_submit = '<input type="image" src="' . tep_output_string($src) . '" border="0" alt="' . tep_output_string

    ($alt) . '"';

    else

    // END STS v4.4

    $image_submit = '<input type="image" src="' . tep_output_string(DIR_WS_LANGUAGES . $language . '/images/buttons/' . $image) . '"

    border="0" alt="' . tep_output_string($alt) . '"';

     

    if (tep_not_null($alt)) $image_submit .= ' title=" ' . tep_output_string($alt) . ' "';

     

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

     

    $image_submit .= '>';

     

    return $image_submit;

    }

     

    ////

    ////

    // Output a function button in the selected language

    function tep_image_button($image, $alt = '', $parameters = '') {

    global $language;

     

    // START STS v4.4:

    global $sts;

    $src = $sts->image_button($image, $language, true); // 3rd parameter to tell tep_image that file check has been alre

    ady done

    if ($src!='') { // Take image from template folder if exists.

    return tep_image ($src);

    }

    // END STS v4.4

     

    return tep_image(DIR_WS_LANGUAGES . $language . '/images/buttons/' . $image, $alt, '', '', $parameters);

    }

     

    ////

    // Output a separator either through whitespace, or with an image

    function tep_draw_separator($image = 'pixel_black.gif', $width = '100%', $height = '1') {

    return tep_image_original(DIR_WS_IMAGES . $image, '', $width, $height, true);

    }

     

    Do I need to add $hover parameter in sts or something like this

    Thank You in advance


  12. Hello

    Anyone succeed to remove first empy line

    #

    # <?xml version="1.0" encoding="windows-1251"?>

    line 2, column 0: XML parsing error: <unknown>:2:0: xml declaration not at start of external entity

    I have double check - no empty spaces in files, STS is set correct, after first row everything is OK

    Thank You

×