Search found 28 matches

by Harpal Singh
27 Jun 2019, 05:52
Forum: Laravel package
Topic: Getting errorException "Too many connections"
Replies: 8
Views: 2642

Re: Getting errorException "Too many connections"

Hi,
I am stuck on this error. Now, this is happening very frequently. Unable to debug the issue where it is.

What do you suggest how to debug the problem and what can be a solution?

Thanks
Harpal Singh
by Harpal Singh
26 Jun 2019, 13:37
Forum: Laravel package
Topic: Site becomes very slow
Replies: 6
Views: 2317

Re: Site becomes very slow

aimeos wrote:Maybe, Aimeos usually responds in 100ms. Does your madmin_log table contains a lot of entries regarding slow queries?
Hmmm....
No there is nothing like any slow query exception in madmin_log.
by Harpal Singh
26 Jun 2019, 11:11
Forum: Laravel package
Topic: Getting errorException "Too many connections"
Replies: 8
Views: 2642

Re: Getting errorException "Too many connections"

aimeos wrote:No, reconfiguring APP_ENV won't help. You should add an error_log() output to acquire() and release() to see if they are symmetrically called.
Where should I use error_log() and how, can you please brief?
by Harpal Singh
26 Jun 2019, 10:35
Forum: Laravel package
Topic: Site becomes very slow
Replies: 6
Views: 2317

Site becomes very slow

Hi, My site has become very slow. It takes a longer time than expected to load a single page. It happens randomly, sometimes it takes 30-40 seconds to load the page and sometimes the same page loads in 5-7 seconds. What would be the reason for this and how to fix? Is this issue related to my older i...
by Harpal Singh
25 Jun 2019, 05:09
Forum: Laravel package
Topic: Delivery Services Fedex/USPS
Replies: 1
Views: 843

Delivery Services Fedex/USPS

I want to implement Fedex and USPS delivery services, but I want to add delivery charges based on products dimensions and weight and should be calculated w.r.t. delivery address. But I am getting only fixed service charges. Should I use any third party api to get charges or any other way? Thanks Har...
by Harpal Singh
20 Jun 2019, 10:44
Forum: Laravel package
Topic: Getting errorException "Too many connections"
Replies: 8
Views: 2642

Re: Getting errorException "Too many connections"

I have checked my .env and APP_ENV = local and APP_DEBUG=true.
Should I change APP_ENV to production and APP_DEBUG=false to fix the problem?

Thanks
Harpal Singh
by Harpal Singh
17 Jun 2019, 11:04
Forum: Laravel package
Topic: Getting errorException "Too many connections"
Replies: 8
Views: 2642

Re: Getting errorException "Too many connections"

I havn't extended any class but using calling some header functions in my files like : /** To Get language and Currency **/ function getLocaleCurrency() { $arr = []; $context = app( '\Aimeos\Shop\Base\Context')->get(); $locale = $context->getLocale(); $arr['language'] = $locale->getLanguageId(); $ar...
by Harpal Singh
14 Jun 2019, 05:50
Forum: Laravel package
Topic: Getting errorException "Too many connections"
Replies: 8
Views: 2642

Getting errorException "Too many connections"

Hi, I am getting an exception randomly like ErrorException (E_ERROR) An exception occurred in driver: SQLSTATE[HY000] [1040] Too many connections in my 'frontpanel_nav.blade.php' file. This happens randomly on any page of the site. Sometimes the same page runs smoothly as usual but sometimes this ex...
by Harpal Singh
12 Jun 2019, 11:45
Forum: Laravel package
Topic: How to add additional charges in PayPal?
Replies: 14
Views: 4671

Re: How to add additional charges in PayPal?

Can I use Costs decorator outside from vendors in my extension folder of project. I want to override the /vendor/aimeos/aimeos-core/lib/mshoplib/src/MShop/Service/Provider/Decorator.Costs.php class. or Can I override the PaypalExpress Class? If possible then how and where I can find/create clone of...
by Harpal Singh
12 Jun 2019, 10:06
Forum: Laravel package
Topic: How to add additional charges in PayPal?
Replies: 14
Views: 4671

Re: How to add additional charges in PayPal?

Can I use Costs decorator outside from vendors in my extension folder of project. I want to override the /vendor/aimeos/aimeos-core/lib/mshoplib/src/MShop/Service/Provider/Decorator.Costs.php class. or Can I override the PaypalExpress Class? If possible then how and where I can find/create clone of ...