Search found 28 matches

Search found 28 matches

Empty Statistics section in Reports

Is there something broken on my installation, or are there not supposed to be any statistics? I checked in the extensions list and didn't see any, and a Google search returned no results except for the dashboard.

Jump to post
  • Wed Jan 24, 2018 10:09 am
  • Replies 0
  • Views 318
Re: Affiliate settings don't appear under marketing menu, OpenCart 3.0.2.0

So where are the affiliate settings now, like for setting the percentage for the affiliate?

Edit: Found it. They are under each user in the Affiliate tab.

Jump to post
  • Thu Dec 28, 2017 3:05 am
  • Replies 3
  • Views 688
Re: Error Affiliate Module Opencart V3.0.1.1

I am running the current version of OpenCart (3.0.2.0 at the time of this writing) and this error is still present. When trying to save a user with Affiliates as the group the following error is thrown: Notice: Undefined property: Proxy::getAffliateByTracking in /var/www/opencart/admin/controller/cu...

Jump to post
  • Thu Dec 28, 2017 2:33 am
  • Replies 3
  • Views 1106
Re: Attempting to update from 3.0.1.1 to 3.0.2.0 but Twig error

Yes, line 27. Mea culpa. And I am not modifying that line. I need to know when it is called, and from where. That is all I need from it. It is not being called for some reason. Again, I AM NOT MODIFYING THAT FILE AT ALL. It is exactly as it is in the current master branch. No changes at all, and non...

Jump to post
  • Wed Nov 29, 2017 12:21 am
  • Replies 20
  • Views 1835
Re: Attempting to update from 3.0.1.1 to 3.0.2.0 but Twig error

Not sure I can say this any more succinctly, I am not trying to modify a line of code. I am trying to locate where code is being called from. If I modify the method name for the override method (public function override(&$route, &$args, &$template) {) on line 52 of controller/event/theme.php that wi...

Jump to post
  • Wed Nov 29, 2017 12:11 am
  • Replies 20
  • Views 1835
Re: Attempting to update from 3.0.1.1 to 3.0.2.0 but Twig error

The call to the override method in catalog/controller/event/theme.php is the one that is not firing and causing the Twig error. I am still trying to figure out why it is not being called correctly, but I can't find where the method call is. That is why I changed the method name, hoping that it would...

Jump to post
  • Tue Nov 28, 2017 11:59 pm
  • Replies 20
  • Views 1835
Re: Attempting to update from 3.0.1.1 to 3.0.2.0 but Twig error

I am not really modifying it just yet, just testing some theories. It looks like if the override method is not called correctly the TwigError is triggered. I am trying to find where that method is being called, so I changed the name hoping to trigger an error that would point me in the right directi...

Jump to post
  • Tue Nov 28, 2017 11:36 pm
  • Replies 20
  • Views 1835
Re: Attempting to update from 3.0.1.1 to 3.0.2.0 but Twig error

I did a new install, with a fresh database, and I think I have identified the cause of the twig error. If I rename the override function in catalog/controller/event/theme.php on the fresh install, instead of an error that the override() function is not found, the exact same twig error happens. This ...

Jump to post
  • Tue Nov 28, 2017 11:15 pm
  • Replies 20
  • Views 1835
Re: Attempting to update from 3.0.1.1 to 3.0.2.0 but Twig error

I went into config.php and edited the value for DIR_TEMPLATE to include the full path and once again the site works fine. There is somewhere that the custom template is not being loaded and appended to the end of the DIR_TEMPLATE in order to get the correct template. EDIT: I am not trying to be diff...

Jump to post
  • Tue Nov 28, 2017 12:47 pm
  • Replies 20
  • Views 1835
Re: Attempting to update from 3.0.1.1 to 3.0.2.0 but Twig error

So that I understand, that link has a path to install 3.0.2.0 into a new folder, and then reinstall any custom extensions and the theme, and them import in the database. Is that correct? Is that a standard update path for OpenCart, even for dot updates?

Jump to post
  • Tue Nov 28, 2017 11:48 am
  • Replies 20
  • Views 1835
Re: Attempting to update from 3.0.1.1 to 3.0.2.0 but Twig error

I have reverted to 3.0.1.1 and it works just fine. As soon as I move it over to 3.0.2.0 it breaks twig. The affiliate saving is broken in 3.0.1.1 and I need that to work, so leaving it at 3.0.1.1 is not an option going forward.

Edit: This is all on my staging server, not on production.

Jump to post
  • Tue Nov 28, 2017 11:06 am
  • Replies 20
  • Views 1835
Re: Attempting to update from 3.0.1.1 to 3.0.2.0 but Twig error

Unfortunately that did not fix the issue. I updated: UPDATE `oc_theme_default_status` SET `value` = '1' WHERE `key` = 'theme_default_status'; The other columns in that thread were already set to default. Edit: Here is the full text of the error: [Tue Nov 28 02:59:25.546121 2017] [php7:error] [pid 23...

Jump to post
  • Tue Nov 28, 2017 10:59 am
  • Replies 20
  • Views 1835
Re: Attempting to update from 3.0.1.1 to 3.0.2.0 but Twig error

If I go in and manually add the theme directory to "system/library/template/Twig/Loader/Filesystem.php" in the foreach block that starts on line 199, then it loads the template correctly. Obviously this is not ideal, but it would be much better to have the template directory getting read correctly o...

Jump to post
  • Tue Nov 28, 2017 10:10 am
  • Replies 20
  • Views 1835
Re: Attempting to update from 3.0.1.1 to 3.0.2.0 but Twig error

Did this, issue was still there, so I reverted back to 3.0.1.1 and lived with it, but now I am up against a bug in the affiliate portion of 3.0.1.1 and need to get this addressed. This seems to be an issue reading in the custom theme.

Jump to post
  • Tue Nov 28, 2017 8:45 am
  • Replies 20
  • Views 1835
Re: [Solved] [3.0.1.1] Square Payment

There was an issue with the database, specifically in the oc_setting table, where some of the key->value pairs were missing. I added a UNIQUE index to the `key` column, and then ran the setup for that table from /install/opencart.sql changing the INSERT to an INSERT IGNORE. Once I did that the price...

Jump to post
  • Thu Oct 19, 2017 3:21 pm
  • Replies 10
  • Views 1205
[SOLVED] Re: OpenCart 3.0.1.1 Shopping Cart Button Total Always $0.00

There was an issue with the database, specifically in the oc_setting table, where some of the key->value pairs were missing. I added a UNIQUE index to the `key` column, and then ran the setup for that table from /install/opencart.sql changing the INSERT to an INSERT IGNORE. Once I did that the price...

Jump to post
  • Thu Oct 19, 2017 3:09 pm
  • Replies 5
  • Views 606
Attempting to update from 3.0.1.1 to 3.0.2.0 but Twig error

I am attempting to update from 3.0.1.1 to 3.0.2.0 to try and fix an issue. I downloaded the newer files, copied the contents of the upload folder to my server, overwriting duplicate files. Now when I attempt to load the main page or the install directory, I get the following: PHP Fatal error: Uncaug...

Jump to post
  • Thu Oct 19, 2017 10:24 am
  • Replies 20
  • Views 1835
Re: OpenCart 3.0.1.1 Shopping Cart Button Total Always $0.00

Have been digging in the code base and found that this block in catalog/controller/checkout/cart.php always returns 'NULL': if ($this->config->get('total_' . $result['code'] . '_status')) { $this->load->model('extension/total/' . $result['code']); // We have to put the totals in an array so that the...

Jump to post
  • Thu Oct 19, 2017 9:30 am
  • Replies 5
  • Views 606
Re: [3.0.1.1] Square Payment

The parameter is not missing, what appears to be happening is that the grand total is not being calculated correctly, which is causing an incorrect total to be displayed on the cart button on each page (although the number of items is correct), and that is causing the error when submitting the payme...

Jump to post
  • Thu Oct 19, 2017 8:08 am
  • Replies 10
  • Views 1205
Re: [3.0.1.1] Square Payment

Followed the steps, updated the files, cleared the caches, error persists. I am thinking this is not an issue with the square module, as the total in the Show Cart button is $0.00 and there is no grand total on the checkout form, it just shows the individual items. Is there an easy way to apply the ...

Jump to post
  • Thu Oct 19, 2017 7:59 am
  • Replies 10
  • Views 1205

Search found 28 matches