Jump to content

jhande

Members
  • Content count

    2,214
  • Joined

  • Last visited

  • Days Won

    2

Posts posted by jhande


  1. My site is heavily modified. I just had to issues to pass along after installing this update of 2.3.3.2.

     

    Addon module: Related products.

    Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /includes/modules/optional_related_products.php on line 42

    Reads: if (mysql_num_rows($attribute_query)>0)

    Changed mysql to tep_db_

    Add-Ons that use the mysql_* or mysqli_* functions should use the tep_db_* functions instead. It's an easy update to perform and as Gary stated, conforms to the osCommerce standards.”

     

    Thanks for the info :thumbsup:


  2. I can't for the life of me figure out how to update this to work with osC 2.3.3 :(

     

    The need for the categories.php file throws me off. I just can't get me head around it.

     

    Any help or guidance would be greatly appreciated before I give up and delete my in the works new shop.

     

    I just can't believe that this add-on never made it to an updated version by now!


  3. Not sure if I am following this right or not, dang meds... :wacko:

     

    I recently downloaded a theme I created at the JQuery website, it loaded fine.

     

    I didn't like the colors of some of the button icons so I edited the proper little icons in Photoshop (recently deleted Fireworks :( ).

    I even created a few custom button colors.

     

    Just my useless 2 cents. (w00t)


  4. @@jhande Find this line in includes/modules/header_tags/ht_theme_switcher.php:

     

     $colarr[$col]['_' . $k] = strtolower($row[$col]);
    

     

    and change it to this:

     

     $colarr[$col]['_' . $k] = @strtolower($row[$col]);
    

     

    Then this line:

     

     $ret[$k][$col] = $array[$k][$col];
    

     

    and change to this:

     

     $ret[$k][$col] = @$array[$k][$col];
    

     

    I might have to get more creative, but that is the quickest fix. It's not a real error in that it won't cause incorrect output; it's basically a technicality.

     

    Regards

    Jim

     

    Thank you so much Jim!

     

    That cleared up the line 159 mess but I am still receiving a long repeating list of the 186 message.

    Warning: Illegal string offset 'id' in C:\xampp\htdocs\Hobbies\catalog\includes\modules\header_tags\ht_theme_switcher.php on line 186
    

    Although it looks scary, should I just live with it or trouble you some more?

     

    Again I truely appreciate your contributions and all the help you give to us.


  5. Hi Jim,

     

    Thank you for this any many other contributions and support.

     

    XAMPP localhost test server.

    Theme Switcher version 1.4.2 - but the mod shows 1.4.0 in admin.

    osC verson 2.3.3

    I replaced catalog/includes/template_top.php and installed all files as directed (pretty sure, I double checked).

    I highlighted the module then clicked install.

    Below is the list of errors I received.

    I was able to edit the version numbers.

    Also whenever I go to the module I receive the below errors (not just during the install process).

    I re-read directions especially sections 3.2 & 3.3.

    Seems I am able to switch themes though.

     

    Any ideas?

     

    Warning: Illegal string offset 'id' in C:\xampp\htdocs\Hobbies\catalog\includes\modules\header_tags\ht_theme_switcher.php on line 159
    Warning: Illegal string offset 'id' in C:\xampp\htdocs\Hobbies\catalog\includes\modules\header_tags\ht_theme_switcher.php on line 159
    Warning: Illegal string offset 'id' in C:\xampp\htdocs\Hobbies\catalog\includes\modules\header_tags\ht_theme_switcher.php on line 186
    Warning: Illegal string offset 'id' in C:\xampp\htdocs\Hobbies\catalog\includes\modules\header_tags\ht_theme_switcher.php on line 186
    Warning: Illegal string offset 'id' in C:\xampp\htdocs\Hobbies\catalog\includes\modules\header_tags\ht_theme_switcher.php on line 186
    Warning: Illegal string offset 'id' in C:\xampp\htdocs\Hobbies\catalog\includes\modules\header_tags\ht_theme_switcher.php on line 186
    Warning: Illegal string offset 'id' in C:\xampp\htdocs\Hobbies\catalog\includes\modules\header_tags\ht_theme_switcher.php on line 159
    Warning: Illegal string offset 'id' in C:\xampp\htdocs\Hobbies\catalog\includes\modules\header_tags\ht_theme_switcher.php on line 159
    Warning: Illegal string offset 'id' in C:\xampp\htdocs\Hobbies\catalog\includes\modules\header_tags\ht_theme_switcher.php on line 186
    Warning: Illegal string offset 'id' in C:\xampp\htdocs\Hobbies\catalog\includes\modules\header_tags\ht_theme_switcher.php on line 186
    Warning: Illegal string offset 'id' in C:\xampp\htdocs\Hobbies\catalog\includes\modules\header_tags\ht_theme_switcher.php on line 186
    Warning: Illegal string offset 'id' in C:\xampp\htdocs\Hobbies\catalog\includes\modules\header_tags\ht_theme_switcher.php on line 186
    Warning: Illegal string offset 'id' in C:\xampp\htdocs\Hobbies\catalog\includes\modules\header_tags\ht_theme_switcher.php on line 159
    Warning: Illegal string offset 'id' in C:\xampp\htdocs\Hobbies\catalog\includes\modules\header_tags\ht_theme_switcher.php on line 159
    Warning: Illegal string offset 'id' in C:\xampp\htdocs\Hobbies\catalog\includes\modules\header_tags\ht_theme_switcher.php on line 159
    Warning: Illegal string offset 'id' in C:\xampp\htdocs\Hobbies\catalog\includes\modules\header_tags\ht_theme_switcher.php on line 159
    Warning: Illegal string offset 'id' in C:\xampp\htdocs\Hobbies\catalog\includes\modules\header_tags\ht_theme_switcher.php on line 159
    Warning: Illegal string offset 'id' in C:\xampp\htdocs\Hobbies\catalog\includes\modules\header_tags\ht_theme_switcher.php on line 159
    Warning: Illegal string offset 'id' in C:\xampp\htdocs\Hobbies\catalog\includes\modules\header_tags\ht_theme_switcher.php on line 159
    Warning: Illegal string offset 'id' in C:\xampp\htdocs\Hobbies\catalog\includes\modules\header_tags\ht_theme_switcher.php on line 159
    Warning: Illegal string offset 'id' in C:\xampp\htdocs\Hobbies\catalog\includes\modules\header_tags\ht_theme_switcher.php on line 159
    Warning: Illegal string offset 'id' in C:\xampp\htdocs\Hobbies\catalog\includes\modules\header_tags\ht_theme_switcher.php on line 159
    Warning: Illegal string offset 'id' in C:\xampp\htdocs\Hobbies\catalog\includes\modules\header_tags\ht_theme_switcher.php on line 159
    Warning: Illegal string offset 'id' in C:\xampp\htdocs\Hobbies\catalog\includes\modules\header_tags\ht_theme_switcher.php on line 159
    Warning: Illegal string offset 'id' in C:\xampp\htdocs\Hobbies\catalog\includes\modules\header_tags\ht_theme_switcher.php on line 159
    Warning: Illegal string offset 'id' in C:\xampp\htdocs\Hobbies\catalog\includes\modules\header_tags\ht_theme_switcher.php on line 159
    Warning: Illegal string offset 'id' in C:\xampp\htdocs\Hobbies\catalog\includes\modules\header_tags\ht_theme_switcher.php on line 159
    Warning: Illegal string offset 'id' in C:\xampp\htdocs\Hobbies\catalog\includes\modules\header_tags\ht_theme_switcher.php on line 159
    Warning: Illegal string offset 'id' in C:\xampp\htdocs\Hobbies\catalog\includes\modules\header_tags\ht_theme_switcher.php on line 159
    Warning: Illegal string offset 'id' in C:\xampp\htdocs\Hobbies\catalog\includes\modules\header_tags\ht_theme_switcher.php on line 159
    Warning: Illegal string offset 'id' in C:\xampp\htdocs\Hobbies\catalog\includes\modules\header_tags\ht_theme_switcher.php on line 186
    Warning: Illegal string offset 'id' in C:\xampp\htdocs\Hobbies\catalog\includes\modules\header_tags\ht_theme_switcher.php on line 186
    Warning: Illegal string offset 'id' in C:\xampp\htdocs\Hobbies\catalog\includes\modules\header_tags\ht_theme_switcher.php on line 186
    Warning: Illegal string offset 'id' in C:\xampp\htdocs\Hobbies\catalog\includes\modules\header_tags\ht_theme_switcher.php on line 186
    Warning: Illegal string offset 'id' in C:\xampp\htdocs\Hobbies\catalog\includes\modules\header_tags\ht_theme_switcher.php on line 186
    Warning: Illegal string offset 'id' in C:\xampp\htdocs\Hobbies\catalog\includes\modules\header_tags\ht_theme_switcher.php on line 186
    Warning: Illegal string offset 'id' in C:\xampp\htdocs\Hobbies\catalog\includes\modules\header_tags\ht_theme_switcher.php on line 186
    Warning: Illegal string offset 'id' in C:\xampp\htdocs\Hobbies\catalog\includes\modules\header_tags\ht_theme_switcher.php on line 186
    Warning: Illegal string offset 'id' in C:\xampp\htdocs\Hobbies\catalog\includes\modules\header_tags\ht_theme_switcher.php on line 186
    Warning: Illegal string offset 'id' in C:\xampp\htdocs\Hobbies\catalog\includes\modules\header_tags\ht_theme_switcher.php on line 186
    Warning: Illegal string offset 'id' in C:\xampp\htdocs\Hobbies\catalog\includes\modules\header_tags\ht_theme_switcher.php on line 186
    Warning: Illegal string offset 'id' in C:\xampp\htdocs\Hobbies\catalog\includes\modules\header_tags\ht_theme_switcher.php on line 186
    Warning: Illegal string offset 'id' in C:\xampp\htdocs\Hobbies\catalog\includes\modules\header_tags\ht_theme_switcher.php on line 186
    Warning: Illegal string offset 'id' in C:\xampp\htdocs\Hobbies\catalog\includes\modules\header_tags\ht_theme_switcher.php on line 186
    Warning: Illegal string offset 'id' in C:\xampp\htdocs\Hobbies\catalog\includes\modules\header_tags\ht_theme_switcher.php on line 186
    Warning: Illegal string offset 'id' in C:\xampp\htdocs\Hobbies\catalog\includes\modules\header_tags\ht_theme_switcher.php on line 186
    Warning: Illegal string offset 'id' in C:\xampp\htdocs\Hobbies\catalog\includes\modules\header_tags\ht_theme_switcher.php on line 186
    Warning: Illegal string offset 'id' in C:\xampp\htdocs\Hobbies\catalog\includes\modules\header_tags\ht_theme_switcher.php on line 186
    Warning: Illegal string offset 'id' in C:\xampp\htdocs\Hobbies\catalog\includes\modules\header_tags\ht_theme_switcher.php on line 186
    Warning: Illegal string offset 'id' in C:\xampp\htdocs\Hobbies\catalog\includes\modules\header_tags\ht_theme_switcher.php on line 186
    Warning: Illegal string offset 'id' in C:\xampp\htdocs\Hobbies\catalog\includes\modules\header_tags\ht_theme_switcher.php on line 186
    Warning: Illegal string offset 'id' in C:\xampp\htdocs\Hobbies\catalog\includes\modules\header_tags\ht_theme_switcher.php on line 186
    Warning: Illegal string offset 'id' in C:\xampp\htdocs\Hobbies\catalog\includes\modules\header_tags\ht_theme_switcher.php on line 186
    Warning: Illegal string offset 'id' in C:\xampp\htdocs\Hobbies\catalog\includes\modules\header_tags\ht_theme_switcher.php on line 186
    Warning: Illegal string offset 'id' in C:\xampp\htdocs\Hobbies\catalog\includes\modules\header_tags\ht_theme_switcher.php on line 186
    Warning: Illegal string offset 'id' in C:\xampp\htdocs\Hobbies\catalog\includes\modules\header_tags\ht_theme_switcher.php on line 186
    Warning: Illegal string offset 'id' in C:\xampp\htdocs\Hobbies\catalog\includes\modules\header_tags\ht_theme_switcher.php on line 186
    Warning: Illegal string offset 'id' in C:\xampp\htdocs\Hobbies\catalog\includes\modules\header_tags\ht_theme_switcher.php on line 186
    Warning: Illegal string offset 'id' in C:\xampp\htdocs\Hobbies\catalog\includes\modules\header_tags\ht_theme_switcher.php on line 186
    Warning: Illegal string offset 'id' in C:\xampp\htdocs\Hobbies\catalog\includes\modules\header_tags\ht_theme_switcher.php on line 186
    Warning: Illegal string offset 'id' in C:\xampp\htdocs\Hobbies\catalog\includes\modules\header_tags\ht_theme_switcher.php on line 186
    Warning: Illegal string offset 'id' in C:\xampp\htdocs\Hobbies\catalog\includes\modules\header_tags\ht_theme_switcher.php on line 186
    Warning: Illegal string offset 'id' in C:\xampp\htdocs\Hobbies\catalog\includes\modules\header_tags\ht_theme_switcher.php on line 186
    Warning: Illegal string offset 'id' in C:\xampp\htdocs\Hobbies\catalog\includes\modules\header_tags\ht_theme_switcher.php on line 186
    Warning: Illegal string offset 'id' in C:\xampp\htdocs\Hobbies\catalog\includes\modules\header_tags\ht_theme_switcher.php on line 186
    Warning: Illegal string offset 'id' in C:\xampp\htdocs\Hobbies\catalog\includes\modules\header_tags\ht_theme_switcher.php on line 186
    


  6. I need to have an option for free shipping. This module my computer guy cannot get to work. http://addons.oscommerce.com/info/4475

     

    Don

     

    Hey Don,

     

    That contribution was designed to work (haha) with osC v2.2, if you're running 2.3.1 it probably won't mix well.

    Also check the support thread, lot's of problems with NO support. I'd look for another option.

     

    Keep an eye on my thread maybe something will become helpful, especially for your computer guy.


  7. Very, very strange...

     

    All is back to working just fine today! :blink:

     

    Thank you Jack for coming to my rescue.

     

    My head is stuck in muck...

     

    For the life of me I can not find anything in my admin panel pertaining to Google Sitemap settings nor in the contribs directions discussing diagnostics. :(

     

    Me needs big kick! whistling.gif


  8. Thank you Jack for such a quick reply.

     

    It's indicating the manufacturers sitemap failed.

    Perhaps I don't understand... I thought it was the Specials Sitemap that failed. Which is strange, there are a couple of items on special.

     

    Perhaps the permissions on the file are not correct for some reason.

    I checked all related files and the permissions are set as they always were; 755.

     

    You could also run the diagnostic and/or try the alternate sitemap file.

     

    Sorry Jack, but I am now terribly lost.

    Were would I find information regarding running the diagnostic?

    I was using the alternate sitemap file, but I did try switching them with the same results.

     

    I also deleted all the google sitemap files on the server and uploaded my backups (originals). Still no luck.

     

    Dazzed and confused.... crying.gif


  9. Hi Jack,

     

    Sorry to bother you but I am at a loss. :blush:

     

    Everything has been running smoothly for a long time.

     

    But suddenly I am receiving this from my Cron Job as seen at this page - http://handeshobbies.com/googlesitemap/index.php

     

    I haven't changed anything other than adding and/or updating products through my admin.

    I used to receive clickable links instead of all that Array stuff.

    I am not sure where to start looking.

    Could it be something changed at my server?


  10. I'm still playing around with this contribution... sad.gif

     

    Is there a version that includes - "First Class non-machinable"?

     

    If not, where and how can I find the code to add it?

     

    I called USPS web tech and they said I should have access to that option.

    They can't help me and pointed me back to my cart provider to add the code or fix my module.

     

    http://www.usps.com/...m#_Toc220743992

     

    Here's the only code in my USPS.php file that resembles First Class nonmachinable:

    if($shipping_pounds > 35 || ($shipping_pounds == 0 && $shipping_ounces < 6)){
     	$this->_setMachinable('False');
       	}
     	else{
     	$this->_setMachinable('True');
     	}
    ...
    ...
    ...
    function _setMachinable($machinable) {
     	$this->machinable = $machinable;
    }
    ...
    ...
    ...
    if ( !in_array($key, $allowed_types) ) continue;
    
         	$request .= '<Package ID="' . $services_count . '">' .
                     	'<Service>' . $key . '</Service>' .
                     	'<ZipOrigination>' . SHIPPING_ORIGIN_ZIP . '</ZipOrigination>' .
                     	'<ZipDestination>' . $dest_zip . '</ZipDestination>' .
                     	'<Pounds>' . $this->pounds . '</Pounds>' .
                     	'<Ounces>' . $this->ounces . '</Ounces>' .
                     	'<Container>' . $this->container . '</Container>' .
                     	'<Size>' . $this->size . '</Size>' .
                     	'<Machinable>' . $this->machinable . '</Machinable>' .
                     	'</Package>';

     

    I can't seem to find anything resembling = FirstClassMailType='LETTER'

     

    crying.gif

     

    huh.gif


  11. Please Note:

    This contribution is not compatible with ANY PayPal IPN payment modules and I do not plan on making it so either. All the PayPal IPN payment modules are still way too buggy and conflict with MANY other contributions. With this contribution, you need to use the stock osC PayPal payment module.

     

     

    What a shame... sad.gif

     

    PayPal IPN was created to fix problems with the original PayPal module. Not to make this contribution compatable with the PayPal update doesn't make sense.

     

    So what you are saying is I need to live with payment problems in order to have a nicer looking invoice/packing slip? ohmy.gif

     

    I tried this contribution back when version 2.0 was the latest, loved the look but couldn't live with the PayPal issues. I was hoping that eventually the two would work together, but I guess not. What a shame!

     

    Back to the old boring invoice/packing slip.

     

    Maybe some day...


  12. Not sure if anyone is still active here, but I'd like to add a little.

     

    I am very interested in adding actually two features for product availability.

     

    My problem is that I'm not good enough with PHP & MySQL yet to fly solo. blush.gif

     

    I have the contribution installed to show sold-out products (quantity = 0).

     

    I also have a Quick Stock Update contribution installed which makes it easy for basic product updates.

     

    Here's what I was thinking:

     

    I need to list a product as discontinued when I find out my distributor or manufacturer no longer will be carrying a product and I have limited stock.

     

    I also need to show a product as Sold for awhile before removing from the inventory.

     

    What I was thinking is that I would need to add two records (columns) to the products table; discontinued and sold.

     

    Then add a checkbox(s) on say the admins product info page to allow clicking Discontinued and another for Sold which would write to the database.

     

    On the product listing and product info pages where the buy now button (edited - show sold-out but de-activated button) have it check besides quantity zero, have it check the other two records (discontinued & sold).

     

    Would something like this be easy enough to implement?

×