Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

John W

♥Ambassador
  • Posts

    963
  • Joined

  • Last visited

  • Days Won

    18

Everything posted by John W

  1. @@Lary_an You can also find a lot of answers by using Google for php errors. Simply Google "Call-time pass-by-reference has been removed" and you'll find where this has been discussed such as Stackoverflow where you can learn more about the solution and why it needs to be changed.
  2. Hey Dan, I just went to your site and it loaded results on the main page for me. I've been using this contrib for a while and it works pretty well.
  3. Hi Jesse, They had that when I signed up several years ago but when I asked them about Authorize.net they told me I could use it and it was easy set up. Did you ask them to use Authorize.net? The gateway fees are covered by Chase and I only pay Chase. Call them and talk with somone, but I'm still using Authorize.net with Chase. Ask for interchange plus pricing too. Don't do the tier system setup if you can go interchange plus pricing. I saved a lot when I switched to Chase.
  4. You don't modify the xml code directly. Everything is generated through the fedexwebservices.php module. I don't use insurance and I've modified the module i use but I think it's set to work. Look around line 16 for MODULE_SHIPPING_FEDEX_WEB_SERVICES_INSURE and adjust that setting. If you have a test site to experiment with and you should, you can use var_dump to see the request or the reponse. Find the first line in the code and then put the var_dump after it. Don't do this on a live site though. $response = $client->getRates($request); var_dump($response);
  5. Assuming you did the sql entries listed, then under your admin/configuration/shipping packaging you should see "Store result of packing routines" and it should be set to true
  6. Not sure why I kept playing with this but I like understanding regex better. I used RegexBuddy to test the regex. Anyway, I figured we could automatically split and insert the div tag into text formatted into paragraphs like products description would have. I use a test.php on my local machine to test ideas like this. I just used the div that Burt provided. $subject = "<P>One reason people lie is to achieve personal power. Achieving personal power is helpful for someone who pretends to be moreconfident than he really is.</p> <p> For example, one of my friends threw a party at his house last month. He asked me to come to his party and bring a date.</p> <p> However, I didn't have a girlfriend. One of my other friends, who had a date to go to the party with, asked me about my date. I didn’t want to be embarrassed, so I claimed that I had a lot of work to do. I said I could easily find a date even better than his if I wanted to. I also told him that his date was ugly. I achieved power to help me feel confident; however, I embarrassed my friend and his date. Although this lie helped me at the time, since then it has made me look down on myself.</p>"; $pattern = '%<p\b[^>]*>(.*?)</p>(.*)%simx'; $replace = "$1 <div class=\"collapse\" id=\"collapseMe\"> $2 </div>"; $result = preg_replace($pattern, $replace, $subject); echo $result; The above will output html like One reason people lie is to achieve personal power. Achieving personal power is helpful for someone who pretends to be moreconfident than he really is. <div class="collapse" id="collapseMe"> <p> For example, one of my friends threw a party at his house last month. He asked me to come to his party and bring a date.</p> <p> However, I didn't have a girlfriend. One of my other friends, who had a date to go to the party with, asked me about my date. I didn’t want to be embarrassed, so I claimed that I had a lot of work to do. I said I could easily find a date even better than his if I wanted to. I also told him that his date was ugly. I achieved power to help me feel confident; however, I embarrassed my friend and his date. Although this lie helped me at the time, since then it has made me look down on myself.</p> </div>
  7. You got me curious so I looked through their site and it seems they are using bootstrap collapse to do it. i'm guessing you're looking for an automated way to add this to say your product description. How about using a conditional statement with PHP's countable function to count characters? http://us3.php.net/manual/en/countable.count.php
  8. Hi Dom, Yes, I am using FF and it does work perfectly now. It's a nice contribution and your efforts are appreciated.
  9. Correct, it doesn't display at all. I tried it on my stock BS site and see the same.
  10. Hi Dominic, Mine works with no columns just fine. However, if on a product page, it doesn't work at all. Haven't explored why.
  11. I figured out why mine wasn't working by looking at the autocomplete output directly and I think this may help other people. If parse time or probably anything is enabled to output at the bottom it breaks the json encode string.
  12. It must be something else I've modified becaue I installed in on my stock BS and it works. Again, thank you for making this.
  13. Thanks for making this contribution. It seems to install fine but in testing on my local machine it only comes up with "no matches". Any ideas?
  14. I'm using the same sitemap generator and it's not a problem I see. That looks like it could be a default date that's being inserted instead of a current date. Are you able to check this in your database with phpmyadmin or the like? You could also make a small change to the item or category and see if it changes. It lists categories and products with the oldest change last. Is the url it lists correct? I'm assuming you've modified what your showing.
  15. I see another potential problem in the contribution but I haven't investigated its effect thoroughly. The function "utf8_encode" is being used which is only supposed to be used with ISO-8859-1 and not UTF-8, which is what current versions are using as standard. Below is a quote from the php online manual found at http://php.net/utf8_encode "Please note that utf8_encode only converts a string encoded in ISO-8859-1 to UTF-8. A more appropriate name for it would be "iso88591_to_utf8". If your text is not encoded in ISO-8859-1, you do not need this function. If your text is already in UTF-8, you do not need this function. In fact, applying this function to text that is not encoded in ISO-8859-1 will most likely simply garble that text."
  16. I was still getting Call to a member function store() on a non-object in /home/xxxxxxx/public_html/includes/modules/ultimate_seo_urls5/main/usu5.php on line 78 So, I changed line 77 to if ( is_object('cache') && defined( 'USU5_ENABLED' ) && ( USU5_ENABLED == 'true' ) ) { I think this solved the error. Otherwise it assumes if USU5_ENABLED is true that cache is enabled.
  17. First I'd like to point out that errors should never be displayed on a live site and should be written to a log. Second, it's very helpful to have a test server running on your local machine so you can use something like xdebug with an IDE such as Netbeans so you can output a stacktrace with clickable links. When an error pops up on screen you can click the link and it opens the page to the line in your IDE where the error occuring. The page that actually fails is not always where the error is occuring thus the stack trace being handy. Netbeans and xdebug are free. I found these errors occuring in my log when an incorrect link is being called. PHP Warning: Invalid argument supplied for foreach() in /home/xxxxxxx/public_html/includes/modules/ultimate_seo_urls5/page_modules/index.php on line 114 PHP Fatal error: Call to a member function store() on a non-object in /home/xxxxxxx/public_html/includes/modules/ultimate_seo_urls5/main/usu5.php on line 78 There are some lines where false is being strictly compared, ie "===" and it's failing. By changing it to a looser comarison, ie "==" it seems to solve the errors. This is probably not the best way to solve this since strict comparison is better than loose, so you can try this at your own risk. Changing on the lines below. if ( false === to if ( false == ultimate_seo_urls5\main\usu5.php around line 160 and ultimate_seo_urls5\page_modules\index.php around line 110 and ultimate_seo_urls5\page_modules\product_info.php aroundline 98 if ( false === $text_array ) { to if ( false == $text_array ) { In the case of "ultimate_seo_urls5\page_modules\index.php" where it should return false it's failing the false comparison and failingf on the foreach on line 114. This shows in the strack trace.
  18. I'm assuming you have your correct account numbers entered? If not, it doesn't quote correctly.
  19. There are plenty of people here you can hire to help you to varying degrees, but many are questionable IMHO. Based on the quality of the contributions that Rob has done I would look to him first. I got this off of his docblock in USU5_PRO Robert Fisher, FWR Media, http://www.fwrmedia.co.uk Burt has been around for along time so you may want to talk to him too.
  20. You can get PDF manuals and info from Fedex at the developer site, whcih will explain everything in their webserviecs although not always well. But, it does explain what is required and what is optional to transmit and you can get expamples of requests and responses. They aslo show which are simple and which are complex. There are links to find out more about wsdl too. http://www.fedex.com/us/developer/
  21. Using utf8_encode is for iso-8859-1 and can corrupt characters if already using utf-8.
  22. Everyone should become very familiar with every setting in the admin screen line by line because there are settings that can affect shipping. You have some display problems and your site is slow to load. Using Fireflox with Firebug I noticed you're getting a 403 error on one of your "Gets" and you're declaring your charset twice. Google Chrome also has developer tools, Setting up a localhost test server is time well spent for many reasons.
×
×
  • Create New...