Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

altoid

♥Ambassador
  • Content count

    1,571
  • Joined

  • Last visited

  • Days Won

    13

Posts posted by altoid


  1. NEW and Improved!

     

    Please let me know if you find a way to break this one.

     

    Regards

    Jim

     

    Domestic -> :thumbsup:

     

    Canada yields a bunch of warnings but at the very bottom the rates show

     

    First-Class Package International Service $8.24 Priority Mail International® $27.40

     

    The warnings above are bunch of lines repeating:

     

    Warning: Illegal string offset 'ServiceName' in /home/myusername/public_html/includes/modules/shipping/usps.php on line 111

     

    Spain yields same as Canada


  2. Jim..

     

    US OK

    Tested on a Canadian and a Spanish address. Those to still showed the error....

     

    Warning: simplexml_load_string(): Entity: line 74: parser error : Opening and ending tag mismatch: ExtraSrvice line 74 and ExtraService in /home/myusername/public_html/includes/modules/shipping/usps.php on line 393

     

    Warning: simplexml_load_string(): /OnlineAvailable><Price>12.95</Price><PriceOnline>0</PriceOnline></ExtraService> in /home/myusername/public_html/includes/modules/shipping/usps.php on line 393

     

    Warning: simplexml_load_string(): ^ in /home/myusername/public_html/includes/modules/shipping/usps.php on line 393

    This is currently the only shipping method available to use on this order.


  3. @@altoid

     

    But does this not break out of the look and feel of your store ?

     

     

    It does but there are css examples there and discussion about how to modify the look of the page. I haven't done that though...maybe down the list on my huge "to do" list.

     

    I haven't used the add on Jack mentioned but that may opt better.

     

    Good luck.


  4. @@kymation

    Please let me know if this works for you. I've done limited testing because I wanted to get the fix out there as soon as possible.

     

    Regards

    Jim

     

    edit: Forum broke the PHP.

     

    Working on domestic...

     

    For international getting these errors:

     

    Warning: simplexml_load_string(): Entity: line 82: parser error : expected '>' in /home/shopacct/public_html/includes/modules/shipping/usps.php on line 391

     

    Warning: simplexml_load_string(): ng</ServiceName><Available>True</Available><OnlineAvailabl>False</OnlineAvailabl in /home/shopacct/public_html/includes/modules/shipping/usps.php on line 391

     

    Warning: simplexml_load_string(): ^ in /home/shopacct/public_html/includes/modules/shipping/usps.php on line 391

     

     

    When using

     

    1st-Class Package Int'l Service**

    Priority Int'l


  5. @mk_osc

     

    Marcus, my host has a utility that let's me make my own custom error pages. So that's my base.

     

    Then I've also added Goggles 404 error widget for those type pages.

    • It adds a search box for your site with appropriate search suggestions.
    • It tries to provide alternatives to incorrect URLs. (my site has a human friendly sitemap and this Widget found that page and included the link in the 404 custom error page.

    Available in Google Webmaster Tools

  6. @@jenodorf

     

    Hello, here's how I'm doing that procedure.

     

    The first image option is where I put a smaller scaled down size of the main product image. Maybe 200x200 with a lower resolution. It'll hopefully come in at 3-4 kb.

     

    Then in the next "larger" image upload I put the same image but larger in scale, maybe 500x500 in a decent enough resolution to look good on the screen but not so much as to grow the file size. Hopefully around the 20-30 kb range.

     

    Then every "larger" image thereafter, if I use it, is a as just above (500x500,etc, etc) of different product image pics that may be good to show.


  7. Thanks again Altoid,

    Up and running again. Unfortunatley I had to use the 'unblock multiple payments for same invoice' method as when I looked for ' /includes/modules/payment/paypal_ipn.php' it is not in 2.3.3. This method is better (safer), can you suggest how it could be implemented in 2.3.3. Anyway, thanks again for you help.

    Regards, Graham

    2.3.3. rearranges some things for sure. If I get a chance I'll try to put my code on GitHub, I have a public account there. Might be a bit though, it's been a while since I tackled this and first I have to sort out exactly what I did. :wacko:


  8. I have had that same issue in the past. It had to do with that for some reason your site had already generated the same invoice ID for another purchase. In my case this occurs because I use the same PayPal account to handle purchases from two sites.

     

    So for example shop one has a sale and the PP sales ID is 360, Then along comes a sale from shop 2 at a later time and has PP sales ID of 360, the second shop sale causes PayPal to toss the error..

     

    I fixed mine through some coding I mined out of the forums some time ago. It's a bit complicated and takes modification of several files as I recall.

     

    But I believe in your PayPal account you can go in and change a setting that will deal with this issue for you, if in fact it's the same cause as my case.

     

    Here's a post that may help you out: http://forums.oscommerce.com/index.php?showtopic=349770

     

    Good luck.


  9. HI, my last successful paypal standard transaction was on the 27th August, since then all paypal transactions have failed at the point when a customer presses the confirm sale button. They then receive a message from Paypal informing them that there is something wrong with the sellers account. I have contacted Paypal and they tell me there is nothing wrong with my account, also I have sent an invoice to someone and received the payment, so I think that the fault in on my side of the action. I am running 2.3.3 and since that last successful transaction there have been 4 updates to oscommerce, which I have not implemented, could that be the reason for the problem?

     

    Has anybody got any ideas?

     

    Regards, Graham

     

    One is finding out exactly what the message is from Paypal may help sort that out.

     

    Another thing would be to try a checkout yourself when not already logged into PayPal. Every so often after I change something that I think could effect the checkout process I'll run through a trial check out including choosing PayPal as my payment option. If I successfully get to the PayPal payment page then things should be OK that way.

     

    I've found a couple PayPal issues by testing this way and at least you know what's going on.


  10. Temporary fix for 404 page handler after v2.3.3.2 updates

     

    page_modules/product_info.php

     

    (about in 98 line) change:

     if ( false === $text_array ) {
    

     

    to:

     if ( is_Null($text_array) || false === $text_array ) {
    

     

     

    Thanks for this fix @@Gergely

     

    In my case I think this was only showing up when google was recrawling cached pages that no longer exist. These are soft 404 errors in webmaster tools.

     

    My problem product pages are now going from an incorrect 200 status showing something like this:

     

    Warning: Invalid argument supplied for foreach() in /home/myusername/public_html/includes/modules/ultimate_seo_urls5/page_modules/product_info.php on line 102

     

    Catchable fatal error: Argument 1 passed to aPage_Modules::linkText() must be an array, null given, called in /home/myusername/public_html/includes/modules/ultimate_seo_urls5/page_modules/product_info.php on line 170 and defined in /home/myusername/public_html/includes/modules/ultimate_seo_urls5/abstracts/page_modules.php on line 338

     

    To a correct 404 status page generated by FWR Media looking something like this:

     

    Page not found

    The page you were looking for could not be found. Please click the below link to return to My Shop Name

     

    Posting this here so others with the same issue can see what occurs....


  11. @@Digibooks

     

    Hi Alan, if you look back through this thread you'll find some specific tips on how to modify your superfish menu. It's done through the stylesheets located here: /ext/jquery/superfish/css/superfish.css

     

    For example this is an example of code that is in superfish.css

     

    .sf-arrows li .sf-with-ul:after {
    border-color: transparent transparent transparent #FFFFFF;
    margin-right: -3px;
    margin-top: -5px;
    

     

    changing border-color, margin-right and margin-top give various effects. There's a lot you can do in the stylesheets.

     

    A nice tool to accomplish this is firebug that you can use with the Firefox browser. The tool helps you find exactly in the code exactly what you need to change. You can do test changes in firebug to see what will happen even before you implement it.

     

    Good luck.


  12. According to http://filext @ com/file-extension/SEM, it is a file used by a design company. If you don't need it for your site, it should be deleted. If possible, out of curiosity, you could copy/rename some common file, like privacy.php, to privacy.sem to see if it is the filetype that is causing a failure.

     

    Jack, just an FYI I think I narrowed down the ".sem" file cause. In another shop I am working on I just added a php.ini in the admin folder to increase execution time so sitemonitor doesn't time out on me. Right after I installed that file, the sem file shows in the sitemonitor results. Looks something like this: myadminfoldername/session_mm_cgi-fcgi503.sem Other than showing up everytime when site monitor is run by cron or directly no big deal just a minor annoyance. Thanks


  13. No, just take a look at it and see if you can spot any errors. You can also play with the origin and destination codes and see if anything changes. The goal here is to get a complete list of services to stuff in the installer.

     

    Regards

    Jim

     

    OK...no errors jumping out so I'll make changes as above and see what happens. Thanks


  14. Any and all help with this is very welcome. I can use help with the code, of course, but feature suggestions and testing help are appreciated as well. Let's see what we can do with this.

     

    Regards

    Jim

     

    I'll test Jim, thanks for tackling this.

     

    Before your post I was wondering if there was some way to get around having to manually modify the USPS module every time they make changes that changes that cause all this grief. But my limited coding skills won't cut it.

     

    At least I can test....fire away.

×