Search found 105 matches

Search found 105 matches

How do I harden OC against "Cannot find controller" errors?

Hello, I am customizing a very nice OC installation, including vQMods, Override Engine, SEO URLs with NGinx and so on. It's all very nice and dandy but i'd like to harden it against a very common error: Blank page with: Notice: Cannot find controller class file for route 'about' in /var/www/hostname...

Jump to post
  • Wed Oct 09, 2013 7:21 pm
  • Replies 2
  • Views 1474
Re: Kindly requesting info on the M of MVC

Thank you so very much.

I sent you a little donation as a thank you for your continued and outstanding work!

Jump to post
  • Tue Oct 01, 2013 4:10 pm
  • Replies 5
  • Views 562
Re: An interesting concept from a Daniel post...

perhaps this? http://forum.opencart.com/viewtopic.php?f=20&t=4113 I had read that already. It does not talk about pre actions. I have already: - Done vQMod mods - A series of Override Engine classes extensions - A pair of Open Cart modules. What I'd like to learn is what Daniel talks about. A guy s...

Jump to post
  • Tue Oct 01, 2013 3:35 pm
  • Replies 4
  • Views 880
An interesting concept from a Daniel post...

In my quest for OC knowledge I have stumbled upon an old reply by Daniel : -- no hooks !! that's a big - , see WP which greatly benefits from the hook system, allowing even junior developers to achieve complex plugins. you don't have a clue about programming. this is handled by the front controller....

Jump to post
  • Mon Sep 30, 2013 7:20 pm
  • Replies 4
  • Views 880
Re: Weird and curious issue fiddling with cache.php

http://forum.opencart.com/viewtopic.php?f=20&t=109119&p=434968#p434968 The issue was actually caused by one end line at the end of one of many PHP files. This snowballed into corrupt files delivery and all sorts of mayhem. That's why some frameworks suggest to not terminate PHP scripts (i.e. leave ...

Jump to post
  • Mon Sep 30, 2013 7:05 pm
  • Replies 3
  • Views 1448
Re: Am I doing this coding right?

Thank you so much! I had to endure a fight in my corporation to choose OpenCart. They wanted Magento, this is the corporate mentality. I am glad the OC community is so good. It's with moves like yours, day after day, one corporation at a time, that we can get OC to spread its diffusion and become an...

Jump to post
  • Mon Sep 30, 2013 3:46 pm
  • Replies 2
  • Views 375
Am I doing this coding right?

Hello, I need to implement a quite specific feature. I have to show a drop down selector with the list of many areas (I'll probably query some custom geozones). The customer picks one of those areas / countries / continents and the page reloads with prices specific for that country. It's not somethi...

Jump to post
  • Fri Sep 27, 2013 7:41 pm
  • Replies 2
  • Views 375
Kindly requesting info on the M of MVC

Hello, I have noticed some nice tutorials about how OC works. Some like the "Cart insight" thread are really excellent and provide valuable help to whoever needs to customize their installations. However I did not so readily find something explaining how OC works "inside", expecially at the Model le...

Jump to post
  • Fri Sep 27, 2013 7:25 pm
  • Replies 5
  • Views 562
Re: My web host just told me OpenCart is a resource hog ???

Just chiming in to say: if your provider says OC is a resource hog, then he has never seen Magento in action. It makes OC look like a parrot compared to a fat gorilla. If you are on a shared hosting and your sales are rising, seriously consider moving to a better solution. I have a whole line of ins...

Jump to post
  • Fri Sep 27, 2013 6:27 pm
  • Replies 18
  • Views 5059
Re: MaxMind Risk Score Question

Not really related but... always provide your customers a way to contact you when they get flagged by the Max Mind fraud detection and if you talk / write to them don't assume they are necessarily fraudsters. I got flagged a purchase as fraud (and then contacted the store owers and investigated why)...

Jump to post
  • Fri Sep 27, 2013 5:27 pm
  • Replies 7
  • Views 1327
Weird and curious issue fiddling with cache.php

Hello, I am slowly getting a grip with OC 1.5.6. Today I wanted to write my own memcached caching mechanism and replace the default file based implementation with the aid of the Override Engine. I am not going to bore anybody about how I came to this step, but at a certain point, before even startin...

Jump to post
  • Wed Sep 11, 2013 10:31 pm
  • Replies 3
  • Views 1448
Re: [RELEASED] Override Engine for OpenCart

Thank you. After further fiddling with class names vs path names and similar I got it working.

Jump to post
  • Tue Sep 10, 2013 10:11 pm
  • Replies 318
  • Views 131282
Re: [RELEASED] Override Engine for OpenCart

Thank you so much for the example!

I only have a doubt left about it: how do I tell Opencart's very engine that from now on it has to use a MyCache instance in place of the default class type?

Jump to post
  • Mon Sep 09, 2013 4:45 pm
  • Replies 318
  • Views 131282
Re: [RELEASED] Override Engine for OpenCart

I have just found a little issue. OE has born to let extend OC easier. However I did not find an easy way to extend OE itself. Use case: - I created a memcached cache manager for OC. - I need to instantiate and use it in place of the default cache class. In original OC, I'd open index.php and would ...

Jump to post
  • Thu Sep 05, 2013 10:52 pm
  • Replies 318
  • Views 131282
Re: [RELEASED] Override Engine for OpenCart

I'd have a suggestion. It'd be nice to have: 1) An easy to call, official "IsOverrideEngineInstalled()" function to quickly detect if your framework is installed. Modders would use that call to display a "OE not detected please install from <link>" or even perform an automated installation (like qQM...

Jump to post
  • Wed Aug 28, 2013 10:15 pm
  • Replies 318
  • Views 131282
Re: [RELEASED] Override Engine for OpenCart

Possible typo / bug:


OE's provided /index.php

// Version
define('VERSION', '1.5.5.1');


OE's provided /index.php.original

// Version
define('VERSION', '1.5.6');


Official 1.5.6 zip's /index.php

// Version
define('VERSION', '1.5.6');

Jump to post
  • Wed Aug 28, 2013 6:41 pm
  • Replies 318
  • Views 131282
Re: [RELEASED] Override Engine for OpenCart

Thank you so much for taking all that time to write a detailed reply! I am going to study the whole system in bigger depth. In the meanwhile it'd be so lovely if there were more of those "practical snippets" available. Have you ever thought to add a little "snippets galllery" to your website or some...

Jump to post
  • Wed Aug 28, 2013 4:03 pm
  • Replies 318
  • Views 131282
Re: [RELEASED] Override Engine for OpenCart

Some questions about Override Engine (OE). Hello, I am reading the FAQs and they stimulated my curiosity about a number of points. 1) FAQ Q2 really looks like proper Object Oriented Programming \o/. However later on, at Q6, you begin talking about "Prerender" which to me it looks like a "catch all" ...

Jump to post
  • Wed Aug 28, 2013 12:42 am
  • Replies 318
  • Views 131282
Re: [RELEASED] Override Engine for OpenCart

Thank you for your prompt reply. I noticed that (sadly) it has not gained a lot of traction on the modders base. I think I can understand why: they have to update its core like vQMods programmers have to do at each Open Cart update. But the real gotcha imo is another: while vQMod = dirty, quick work...

Jump to post
  • Tue Aug 27, 2013 7:41 pm
  • Replies 318
  • Views 131282

Search found 105 matches