Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

TechNut

Archived
  • Posts

    6
  • Joined

  • Last visited

Profile Information

  • Real Name
    Anton

TechNut's Achievements

  1. It would appear that $filelayout is empty.. none of the downloads work except the Download Model/Category tab-delimited .txt file to edit that partially works. It has no headers but does have the model number appear, which is better than nothing. Any ideas? Any one?
  2. Hope, well I suppose it's a relief that isn't the problem, but sadly still leaves this contrib not working. Let me know if you find a solution to this one. Matt, any response/suggestions? The first error message is located in: echo implode($separator, $filelayout) . $this->endofrow; The repeating ones are located in: foreach( $filelayout as $key => $value ){ Any help would be greatly appreciated. Anton
  3. Hi, I was wandering if someone can help. I am new to PHP, but can 'read' it. I am running an 2.2 OSC shop and have installed this contrib. However, when I try to download a file all it contains are error messages. One error message is: <br /> <b>Warning</b>: implode(): Bad arguments. in <b>/mydomain.com/admin/includes/modules/file_layouts/full.php</b> on line <b>142</b><br /> but, most of them are repeats of the below <b>Warning</b>: Invalid argument supplied for foreach() in <b>/mydomain.com/admin/includes/modules/file_layouts/full.php</b> on line <b>274</b><br /> Just to avoid confusion, I overtyped the error message with mydomain.com. One thing to note is that my hosting company recently turned off global variables setting in php.ini. They will not turn it back on for security reasons. I, therefore installed the Register Globals contrib and got the site working again. I was wandering if this was the prob here. I have noticed on the lines it refers to that they use global variable names instead of using the get method: variables and access them via their global names rather than via the $_GET (or $HTTP_GET_VARS). However, I don't know enough about PHP to rewrite this. Can anyone confirm that this is the prob and if so give me some tips on how to re-write this contrib? vv
  4. Guys, I hope for your sakes that you've already solved this, but just in case see my post I made today. This will hopefully be the solution you want.
  5. At last, I've solved it. Thought I would post the solution here as during my hourse of trawling the threads I read many similar questions raised by people on this and only ever answered once. I can't take credit, I just adapted for my own needs. The person below posted the solution, read the original post here. Anyway, it's all down to currency codes and a small edit to one file. I set the UK Sterling currency to a code of UKS thinking it didn't matter, but it does. The code was expecting GBP. So, I changed the code in Admin under currencies, but had to set it to be the default currency again by checking the box. I then had to replace the reference to USD in \catalog\includes\modules\payment\paypal.php to GBP and hey presto, it worked. I've still got some tests to do to make sure the IPN side of it is working, but I'm optimistic. Thanks Greg for such a brilliant mod and, Paul for the helpful post!
  6. Truly sorry if there is a answer to this already posted, it's probably something I'm doing. I've searched the forums and can't find an answer or at least didn't find one that matched my problem. Anyway, I have installed the PayPal Shopping Cart IPN_v2.2, I have also installed the ccgv 510b mod. However, I go through to order a product on my site and get 0 shown as the total on paypal despite all appearing fine on my website. I have enabled IPN on paypal and even data transfer. Where am I going wrong? What have I missed? Thanks in advance, Anton
×
×
  • Create New...