Search found 731 matches

Search found 731 matches

Re: Google reCaptcha + custom form

You must validate the captcha on the server-side. However, you can on the client-side to check if the captcha was validated successfully. Here is the example code

Code: Select all

if (grecaptcha.getResponse() === "") {
   // NOT OKAY - stop summitting 
} else {
   // OKAY
}

Jump to post
  • Sun Feb 16, 2020 12:40 am
  • Replies 17
  • Views 3129
Re: absolutes path in config.php file on localhost

It should not be a problem. Images URL should be changed automatically when you changed you HTTP_SERVER in both admin and catalog config file.

Are you using a cache module? Try removing all kinds of caches.
I just tested on my localhost and image URLs were correct.

Jump to post
  • Thu Feb 13, 2020 3:42 pm
  • Replies 4
  • Views 503
Re: absolutes path in config.php file on localhost

It appears you want to access the site from the local network. You can simply replace the hostname `localhost` with your local IP e.g. 192.168.x.x in both config files. The absolute path should not be an issue. You have to access the store using IP e.g. http://192.168.x.x(:port)

Jump to post
  • Wed Feb 12, 2020 10:00 pm
  • Replies 4
  • Views 503
Re: VQMod file checked.cache - can someone explain what it is or if needed?

I've seen hundreds --- if not thousands --- of installations that use vQmod with no speed impact. Typically it only becomes an issue if someone is installing dozens of vQmod extensions, and even then, it depends on your server. Clearing the checked.cache file manually is something to keep in mind i...

Jump to post
  • Mon Feb 10, 2020 5:00 am
  • Replies 11
  • Views 856
Re: Problem when refresh on Chrome

Clicked the address bar and hit the `Return` button. It stayed on the same page to me.

Jump to post
  • Sun Feb 09, 2020 2:35 pm
  • Replies 5
  • Views 428
Re: (add to cart, add to wish list, compare) buttons suddenly stopped working.

First, try without minimizing js files
If it does not fix, disable the module you use for the countdown

Jump to post
  • Sun Feb 09, 2020 12:12 am
  • Replies 6
  • Views 522
Re: VQMod file checked.cache - can someone explain what it is or if needed?

Can someone explain the file or let me know if this is a common issue? This cache file is used to track the list of files not to apply modifications. As a result, when the number of files grows as you install new extensions, it becomes a giant and makes the site slow. This is a very common issue of...

Jump to post
  • Sat Feb 08, 2020 7:35 pm
  • Replies 11
  • Views 856
Re: Discount on gift vouchers?

If you are okay paid solution, you can check my fee module https://www.opencart.com/index.php?rout ... n_id=14078
You can give the discount on the voucher amount, it could be a percentage or a flat amount.

Jump to post
  • Thu Feb 06, 2020 1:56 am
  • Replies 1
  • Views 199
Re: the order status changes automatically to intial status

1. Do you have any `Anti-Fraud` extension? The anti-fraud extension can change the status
2. Coupon can change the status if it finds it as invalid at the later time
3. Invalid Reward point, the voucher can change the status as well

Jump to post
  • Sun Feb 02, 2020 10:03 pm
  • Replies 8
  • Views 417
Re: Thousands of unnecessary SQL queries!

Thanks for your reply. Can you give me some little explanation to complete my "cache of cart data" algorithm, please? For instance, I think that I must delete cached copy after session variable is set to true. Am I right? And then in getProdutcs() method, check if is_cart_changed, if not use the ca...

Jump to post
  • Thu Jan 30, 2020 3:50 pm
  • Replies 5
  • Views 400
Re: Thousands of unnecessary SQL queries!

That block of the codes has been there ever since with little changes. To stop invoking the same queries of the cart.php, you can keep a cached copy as you did. I've started a module to stop being executed a lot of repeated queries along with other optimizations though it is a paid module. You can h...

Jump to post
  • Thu Jan 30, 2020 1:33 am
  • Replies 5
  • Views 400
Re: Unable to access images subdirectories

Here it's the error Fatal error : Allowed memory size of 134217725 bytes exhausted (tried to allocate 32768 bytes) in /home/USERNAME/public_html/system/library/image.php on line 47 Like mentioned by other, increase the memory limit by adding/editing `memory_limit` directive in php.ini or .user.ini ...

Jump to post
  • Thu Jan 23, 2020 2:36 pm
  • Replies 15
  • Views 730
Re: Outgoing message to customer is confusing

This is not the expected behavior of opencart. What other extensions do you use?

Jump to post
  • Wed Jan 22, 2020 3:20 pm
  • Replies 9
  • Views 402
Re: Unable to access images subdirectories

Here it's the only line in red after i tried to open directory jquery-2.1.1.min.js:4 GET https://www.mywebsite.com/admin/index.php?route=common/filemanager&use…ectory=Images-Products%2FNoco%2FGC008&target=input-image&thumb=thumb-image 500 (Internal Server Error) `500 (Internal Server Error)` is a g...

Jump to post
  • Wed Jan 22, 2020 2:55 pm
  • Replies 15
  • Views 730
Re: Shopping cart shows empty

This is probably caused by a bug introduced in version 3 in that the cache control headers are not set in the response. https://github.com/opencart/opencart/issues/7008 Try adding the cache control header as described here. https://forum.opencart.com/viewtopic.php?f=201&t=207498#p737430 You are abs...

Jump to post
  • Tue Jan 21, 2020 4:35 pm
  • Replies 7
  • Views 773
Re: PAYPAL LOG ERROR

These are not the error message. Turn off the debug mode in the PayPal module setting to get rid of those logs

Jump to post
  • Mon Jan 20, 2020 4:46 pm
  • Replies 2
  • Views 179
Re: Shopping cart shows empty

My issue is this (at the very least) when I add a product to the shopping cart from a product page it shows the cart count increase by 1, then I press the back button on the browser (tried on Chrome, Edge, and Safari) the cart shows empty (0), then I refresh the browser screen and now my product is...

Jump to post
  • Mon Jan 20, 2020 4:23 pm
  • Replies 7
  • Views 773
Re: Unable to access images subdirectories

1. Open the Chrome developer tool -> Network tab,
2. Now click the folder on the Image manager you are referring to.
3. Check the ajax response, does it return empty response or any error message?

Jump to post
  • Mon Jan 20, 2020 4:18 pm
  • Replies 15
  • Views 730

Search found 731 matches