Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

mdtaylorlrim

♥Ambassador
  • Posts

    2,550
  • Joined

  • Last visited

  • Days Won

    6

Everything posted by mdtaylorlrim

  1. Initially I would say you would probably get a quicker answer by asking in the osC 3 support forums. But often, the code error will say one line when it is several lines above that is causing the error. Most likely you are inserting the code within a block using <> as delimiters and therefore the code sees your added code as an error, even though there couldn't possible be anything wrong with it. Give us the code from about 10 lines above... or perhaps in the 3.0 support forums.
  2. I would start looking at it as a timing issue. The fact that the old host worked and the new host will not makes me think that a setting is different between the two. Do you have access to the logs? Oh, and for security reasons, deny access to directory listings through the use of an .htaccess or server setting. Complain to your host. It should be set system wide.
  3. Except that the image folders are a favorite taget for hackers to drop executable in, yes. You will want to keep an eye on them.
  4. I am adding a vendors_product_id field that will show only on the admin product pages. In doing so I will be adding another column to the products table. My question is, does it really matter if it is inserted at the end or can it be inserted in a more logical position, say, right after my vendor_id field? I guess I know the answer, just confirming.
  5. A site with the proper security add ons will not have a link to the Define Language file. Is that ALL of the tools.php? You should be able to add the link in there anywhere within the links where you want it. I usually ordered my links in the various boxes to suit myself... but you should not have the link described.
  6. http://www.oscommerce.com/forums/topic/313323-how-to-secure-your-site/
  7. The security add-on are must haves. Following the post installation steps is a must do. Everything else is just icing on the cake (except SEO and feeds maybe.) Templates are nice and makes it easy for non programmer types. Add-ons also provide nice features but you have to remember that the more you add on, the more the chance of something going wrong due to add on instructions normally being based on stock files and not files with multiple add ons installed. Extra care must be taken each time you install an add on. No one can say backup too often. Both files and db.
  8. Offhand I don't see anything wrong but Jack is the expert, he might see something. You might try changing the time of expiration on about line 120 from 2592000 to 2419200. That will cause the expiration date to be one day less. Sometimes it causes the feed to be disapproved although I have seen that error described. It's probably not your problem but worth a try.
  9. Post the top 3-4 lines of your feed file and let's all have a look at it for errors.
  10. Individual Product Shipping Methods Description: This contribution allows you to select which shipping methods you would like to enable for each individual product. This is a modification of Individual Product Payment Methods, but to work with shipping instead. Change Log // 11/22/06 Created and uploaded by dave - advancedstyle.com http://addons.oscommerce.com/info/4674
  11. I used a mod for specific shipping method per product. In admin you can select what shipping method is allowed for that product. One shipping method can be UPS w/hazmat.
  12. That's an easy one. Delete your file_manager.php file. While you're at it delete the define_language.php file as well. They are both known hacker entry points. Quite insecure. And eventually with those files on your server you will get hacked.
  13. You quite likely missed a step in the installation. Start over verifying each step. I think you will likely find your error.
  14. This depends on your host OS and the ssl program used by the host. Maybe your host can assist you in generating the certificate signing request and obtaining the certs.
  15. Well, I consider Jack to be the real expert on this, but if I were doing this for myself the first attempt at this would be here... Around line 300 in your newly created googlefeeder_UK.php file suggested by Jack, find this: if(SEO_ENABLED=='true'){ $output .= tep_href_link($productURL,$productParam . $row->id) . "\t" . preg_replace($_strip_search, $_strip_replace, strip_tags( strtr($row->name, $_cleaner_array) ) ) . "\t" . preg_replace($_strip_search, $_strip_replace, strip_tags( strtr($row->description, $_cleaner_array) ) ) . "\t" . $feed_exp_date . "\t" . $row->price . "\t" . $row->image_url . "\t" . $catIndex[$row->prodCatID] . "\t" . $row->id; }else{ $output .= $row->product_url . "\t" . preg_replace($_strip_search, $_strip_replace, strip_tags( strtr($row->name, $_cleaner_array) ) ) . "\t" . preg_replace($_strip_search, $_strip_replace, strip_tags( strtr($row->description, $_cleaner_array) ) ) . "\t" . $feed_exp_date . "\t" . $row->price . "\t" . $row->image_url . "\t" . $catIndex[$row->prodCatID] . "\t" . $row->id; } And change it to this: if(SEO_ENABLED=='true'){ $output .= tep_href_link($productURL,$productParam . $row->id) . "\t" . preg_replace($_strip_search, $_strip_replace, strip_tags( strtr($row->name, $_cleaner_array) ) ) . "\t" . preg_replace($_strip_search, $_strip_replace, strip_tags( strtr($row->description, $_cleaner_array) ) ) . "\t" . $feed_exp_date . "\t" . $row->price . "\t" . $row->image_url . "\t" . $catIndex[$row->prodCatID] . "\t" . "UK_" . $row->id; }else{ $output .= $row->product_url . "\t" . preg_replace($_strip_search, $_strip_replace, strip_tags( strtr($row->name, $_cleaner_array) ) ) . "\t" . preg_replace($_strip_search, $_strip_replace, strip_tags( strtr($row->description, $_cleaner_array) ) ) . "\t" . $feed_exp_date . "\t" . $row->price . "\t" . $row->image_url . "\t" . $catIndex[$row->prodCatID] . "\t" . "UK_" . $row->id; } Keeping in mind to disable the ftp option first so you can verify the output in the feed file that is created. And again, I ain't the expert here... I would think it is not really this simple. Thinking about it, you should also convert the Dollars to Pounds or Euros as well. After all, would you not want the cost to be in the currency of the target country?
  16. I thought that all products, regardless of target market, had to have unique id's. If this is the case you will need to edit your googlefeeder_uk.php file to concatenate an identifier to the id of the UK products. Like, '156' for the US product and 'UK156' for the same product offered in the UK feed.
  17. I just made the sales price the amount of the deposit with the full price fully disclosed in the item description. The individual shipping methods allows me to only allow store pickup as the only available shipping method. I also made the item NON_Taxable because the final transaction occurs in the store when the item is finally paid in full. Maybe this will work for you, maybe not.
  18. Which one did you install? The one that comes with OSc? Before we could suggest any code changes we would have to know this. As an aside....be sure your credit card processor allows you to do internet sales, or manual sales originating from the internet. It may actually be a violation of your merchant agreement, as they are usually quite specific. Also, by taking credit cards on your site you now may become subject to PCI compliance. In the event of fraud you could be subject to thousands of dollars in fines if your site does not pass PCI compliance. But, I'm sure you already know this...
  19. That sounds suspiciously like a vendor administration add on. Did you search the contributions for that?
  20. How about simply putting the url to the product in the product description using an <img> tag?
  21. I guess I didn't make it clear.... If I have 1000 products uploaded to Google already, good for 30 days, and I put 10 of them on special, I don't want to upload the entire 1000 articles. Just the 10 I put on sale. I guess it doesn't hurt to do the 1000 again...
  22. Jack, is there a contribution of Google Feeder that works with the Specials contribution, so that when you put some items on special you can feed just those items to Google so that google Shopping reflects your specials prices? If not, interested in creating one?
  23. I had a feed once that I could not determine why it had been disapproved. On one of my attempts to fix it I set the expiration date one day less than in the code. This line, $feed_exp_date = date('Y-m-d', time() + 2592000 ); I changed to, $feed_exp_date = date('Y-m-d', time() + 2505600 ); It seemed to fix it although I still do not know why. It could have been something that has to do with my servers time zone, or an incorrect time on my server. You might try this, no guarantees, and it probably wont have any affect.
  24. Jack, I enabled the Manufacture_ID option and it failed to work, but found that the conditional below when building the string used Manufacturer_id. Is that a known coding error? Changing it by adding the missing 'r' fixed it right up.
×
×
  • Create New...