Search found 1089 matches

Search found 1089 matches

Perintöni Opencartille

Olen juuri lopettanut kaiken ohjelmointityön. Suljin samalla verkkosivuni. Minulta jäi pieni kasa Opencart laajennuksia, jotka ajattelin jakaa Opencartin käyttäjille ilmaiseksi. Niitä voi ladata osoitteesta: https://github.com/pekka2?tab=repositories Joku voi ihmetellä, miksi jaan näitä ilmaiseksi. ...

Jump to post
  • Mon Jan 01, 2024 2:55 am
  • Replies 0
  • Views 3394
Re: Bugs version 3-main

Seriously, why this unnecessary change in the library/document.php file? It would potentially cause some unneeded issues with regards to backward compatibilty with OC 3.0.3.8, including for some 3rd party extensions and themes. Please note that this does not apply to version 3.0.3.8 or other OC ver...

Jump to post
  • Sat Oct 08, 2022 1:04 pm
  • Replies 30
  • Views 9020
Re: Bugs version 3-main

xxvirusxx wrote:
Thu Oct 06, 2022 5:11 pm
Make this change
https://github.com/opencart/opencart-3/pull/105/files
Thank you!
I added this change to that ocmod file I made. Now this point works.

Jump to post
  • Thu Oct 06, 2022 5:29 pm
  • Replies 30
  • Views 9020
Re: Bugs version 3-main

You can see the problem when you test this program yourself. The error is apparently in some javascript code. Can't get to the next step from the front page of the checkout. Ps. I made a program like this for that initial problem, so that I can test this Oc version: https://www.opencart.com/index.ph...

Jump to post
  • Thu Oct 06, 2022 4:55 pm
  • Replies 30
  • Views 9020
Re: Bugs version 3-main

The checkout doesn't work.

Jump to post
  • Thu Oct 06, 2022 2:13 pm
  • Replies 30
  • Views 9020
Re: Bugs version 3-main

After that line is moved to begin....error disappear https://github.com/opencart/opencart/blob/master/upload/catalog/controller/common/cart.php#L17 https://github.com/opencart/opencart/blob/master/upload/catalog/controller/common/cart.php#L27 You added float to line 27? :P Line 17: Does this work w...

Jump to post
  • Wed Oct 05, 2022 10:51 pm
  • Replies 30
  • Views 9020
Re: Bugs version 3-main

xxvirusxx wrote:
Wed Oct 05, 2022 9:22 pm
Better report on Github or create pull requests
In order for that Opencart script to work, shouldn't there be changes like this:

Code: Select all

$unit_price = (float)$this->tax->calculate($product['price'], $product['tax_class_id'], $this->config->get('config_tax'));

Jump to post
  • Wed Oct 05, 2022 10:26 pm
  • Replies 30
  • Views 9020
Re: Bugs version 3-main

Move text_items line from cart https://github.com/opencart/opencart-3/pull/104/files This is many errors module files, product.php, categories and cart-files this->currency->format($this->tax->calculate($result['price'], $result['tax_class_id'], $this->config->get('config_tax')), $this->session->da...

Jump to post
  • Wed Oct 05, 2022 9:12 pm
  • Replies 30
  • Views 9020
Bugs version 3-main

Error in front: TypeError: Cart\Currency::format(): Argument #1 ($number) must be of type float, array given, called in ..... system/library/cart/currency.php on line 24 What this is? Ps. Line 24: Is this attribute type OK? public function format( float $number, This $number is price, it can be e.g....

Jump to post
  • Wed Oct 05, 2022 7:27 pm
  • Replies 30
  • Views 9020
Re: AWS sucks badly

This problem is solved.

File extension/plugin/system/library/plugin.php:

Code: Select all

  require_once(DIR_STORAGE . 'vendor/autoload.php');
This feature of previous OC versions is not needed in OC version 4.

Jump to post
  • Mon Sep 19, 2022 2:06 pm
  • Replies 2
  • Views 1166
Re: Wrong version?

straightlight wrote:
Sun Sep 18, 2022 7:55 pm
Previous versions PHP will be deprecated soon. PHP 8 will be the version ahead until the next change.
As it became obvious from the first post, php version 8.0 is too low, the php version requirement should be 8.1

Jump to post
  • Sun Sep 18, 2022 8:59 pm
  • Replies 5
  • Views 895
Re: Wrong version?

straightlight wrote:
Sun Sep 18, 2022 12:48 am
Already added in the opencart-3 repository.
Where does this problem appear in the OC 3 version? For example, OC 3's Guzzlehttp only requires php version 5.3.1., OC 3 required PHP 5.4 and 7.3

Jump to post
  • Sun Sep 18, 2022 6:56 pm
  • Replies 5
  • Views 895
Re: AWS sucks badly

To make it easier, if necessary, you can block the display of AWS functions in the file system/vendor.php:

Code: Select all

// require_once(DIR_STORAGE . 'vendor/aws/aws-sdk-php/src/functions.php');
;)

Jump to post
  • Sat Sep 17, 2022 10:26 pm
  • Replies 2
  • Views 1166
AWS sucks badly [SOLVED]

For me, running the payment method extension bumped into Vendor AWS errors. In the file vendor/aws/aws-sdk-php/src/functions.php, apparently all functions stop the program with an error: PHP Fatal error: Cannot redeclare ..... I got my own payment method extension working at this point when I disabl...

Jump to post
  • Sat Sep 17, 2022 7:55 pm
  • Replies 2
  • Views 1166
Wrong PHP version?

The file startup.php contains this text: if (version_compare(phpversion(), '8.0.0', '<')) { exit('PHP8+ Required'); } But there is a text in vendor/composer/platform_check.php: if (!(PHP_VERSION_ID >= 80100)) { $issues[] = 'Your Composer dependencies require a PHP version ">= 8.1.0". You a...

Jump to post
  • Sat Sep 17, 2022 7:46 pm
  • Replies 5
  • Views 895
Re: ParseError: syntax error, unexpected variable "$this", expecting ")"

thekrotek wrote:
Sat Sep 10, 2022 4:18 pm
Try this:

$myplugin = new Plugin((string) $this->merchant, (string) $this->secret, (array) $header, (string) $body);
Thank you!
Strange that Php 8.1 didn't recognize that code structure at this point.

Jump to post
  • Sat Sep 10, 2022 6:21 pm
  • Replies 4
  • Views 1001
ParseError: syntax error, unexpected variable "$this", expecting ")"

I'm having a strange problem that might be related to PHP 8: ParseError: syntax error, unexpected variable "$this", expecting ")" in C:\MAMP\htdocs\4011\extension\plugin\......\plugin.php on line 72 This is line 72: $myplugin = new Plugin(string $this->merchant, string $this->sec...

Jump to post
  • Sat Sep 03, 2022 5:41 pm
  • Replies 4
  • Views 1001
Re: Webhotellin PHP-version

Kyllä sen kanssa pärjää, samoin php 7.2. Ei kannata laittaa mitään sellaista versiota, jonka ominaisuuksia ei cpanelissa voi muuttaa. Muuten voi tulla ongelmia, jos jokin omaisuus jää vajaaksi (esim. oikeus muokata tiedostoja). Nämä kerää jatkuvasti ilmoituksia error.logiin, joten se kannattaa muist...

Jump to post
  • Sat Feb 19, 2022 3:24 am
  • Replies 3
  • Views 3865
Re: Webhotellin PHP-version

Ottaen huomioon tuon sinun palvelimesi vaihtoehdot, suosittelen käyttämään Php 7.4, kasista minulla ei ole kokemuksia.
Toki mikään nykyisistä Opencart versioista ei täysin tue kaikki version 7.4 ominaisuuksia, mutta näkyy tuo minun sivulla toimivan tyydyttävästi.

Jump to post
  • Wed Jan 26, 2022 4:04 pm
  • Replies 3
  • Views 3865

Search found 1089 matches