Search found 1089 matches

Search found 1089 matches

Re: can i delete session table data

just use files to store sessions and php will handle it in stead of OC. File system/config/default.php: $_['session_engine'] = 'db'; Why this is default setting 'db', because that recording sessions on a data insert to database is an "unfinished project" and unstable for the functioning o...

Jump to post
  • Sat Nov 02, 2019 7:07 pm
  • Replies 23
  • Views 15536
Re: can i delete session table data

This is big bug from Opencart.

My friend was 2.5 million lines in table over two years. Very few online retailers have the skill to use cron.
This should be set on the admin page where you can set the duration of the session.
-peku-

Jump to post
  • Sat Nov 02, 2019 4:45 pm
  • Replies 23
  • Views 15536
Re: Seo url is not found

letxobnav wrote:
Thu Oct 17, 2019 8:09 pm
This has nothing to do with language or the order of the arrays.
Sort order of array: However, it seems to me that the seo_url address to search for is always the last key one in the array. In this case, array_reverse "does the job to home". :)

Jump to post
  • Thu Oct 17, 2019 8:47 pm
  • Replies 10
  • Views 1884
Re: Seo url is not found

letxobnav wrote:
Thu Oct 17, 2019 7:46 pm
if you do not want the username and test domain to be part of the seo url, make sure your rewritebase in htaccess is correct.
This is not need do, seo url create in admin product page, is not .htaccess.
I added yet this:

Code: Select all

  if(count($parts) > 1){
     $parts = array_reverse($parts);
  }

Jump to post
  • Thu Oct 17, 2019 7:55 pm
  • Replies 10
  • Views 1884
[Solved ?]Re: Seo url is not found

I am solved this? ;D This is not need anyone foreach loop, this is work my test store: $parts = explode('/', $this->request->get['_route_']); $parts = array_reverse($parts); $query = $this->db->query("SELECT * FROM " . DB_PREFIX . "seo_url WHERE keyword = '" . $this->db->escape($...

Jump to post
  • Thu Oct 17, 2019 7:38 pm
  • Replies 10
  • Views 1884
Re: Seo url is not found

cardinality means how many unique values are there for the column. These Cardnality is not can change in phpmyadmin. Can these do issue? I think, that this is Opencart bug. My test in file startup/seo_url.php: $parts = explode('/', $this->request->get['_route_']); echo "<pre>"; print_r($p...

Jump to post
  • Thu Oct 17, 2019 6:53 pm
  • Replies 10
  • Views 1884
Re: Seo url is not found

I would suggest to run the query yourself via phpmyadmin and see. This is already checked, I am uploaded backup from table 'seo-url', there is not problem. But new finding: What mean 'cardinality' of table seo_url? Columns 'query' and 'keyword' cardinality is empty of my test store. But my live sto...

Jump to post
  • Thu Oct 17, 2019 6:24 pm
  • Replies 10
  • Views 1884
Seo url is not found

This start strange problem with SEO url, OC 3.0.3.2 SEO url: hornby-r8788-skaledale-rural-corrugated-nissen-hut-pre-built language id: 1 These found from table 'seo_url', also language id is enabled in table 'language'. My test it work, when 'missing' error status in file startup/seo_url.php: /* els...

Jump to post
  • Thu Oct 17, 2019 5:46 pm
  • Replies 10
  • Views 1884
Re: OC3.0. Toimistustapa Shipit.fi

Toisessa ketjussa Venkko jo nosti asiaa esille. Mutta kun nyt on huonosti saatavilla toimitustapoja uusimpaan OC versioon, niin selailin internettiä. Ja törmäsin tuohon Shipit.fi palveluun josta saisi kaikki tarvittavat toimitustavat yhdellä moduulilla.. tai jotain sinne päin. Eli heidän bisnes on ...

Jump to post
  • Thu Oct 03, 2019 8:59 pm
  • Replies 3
  • Views 8869
Re: Own extension Group without admin extension file

Found! File admin/catalog/extension/extension/shipping.php line 73: $this->model_setting_extension->uninstall('shipping', $value); I did modification: <search><![CDATA[$this->model_setting_extension->uninstall('shipping', $value);]]></search> <add position="replace"><![CDATA[ $shipping = e...

Jump to post
  • Sun Sep 29, 2019 9:21 pm
  • Replies 2
  • Views 701
Re: Own extension Group without admin extension file

Is this too amazing expansion pack :D This is a little refinement on how to make extensions that don't have their own file in admin/controller/extension/shipping/test.php: if (($this->request->server['REQUEST_METHOD'] == 'POST') && $this->validate()) { $this->model_setting_setting->editSetti...

Jump to post
  • Sat Sep 28, 2019 1:45 am
  • Replies 2
  • Views 701
Own extension Group without admin extension file

Hi I am going large extension. It is "extesnion group" to folder 'shipping', this is one file in admin, 'test.php'. I there install eg. extension 'test_group_busspackage' (there is not file 'test_group_busspackage', it file is only in folder catalog/model/extension/shipping. All go ok, but...

Jump to post
  • Thu Sep 26, 2019 5:43 pm
  • Replies 2
  • Views 701
Re: GuzzleHttp and Opencart 3

Ps. Guzzlehttp 5.3.1 is released in the summer of 2016, version 6.3.3 in spring 2018 :)

https://packagist.org/packages/guzzlehttp/guzzle

Jump to post
  • Thu Sep 12, 2019 2:41 am
  • Replies 16
  • Views 8707
Re: GuzzleHttp and Opencart 3

Current Opencart Guzzlehttp 5.3.1 is not work. You need to be clearer. "is not work" is not a good description. What *exactly* are you trying to do and what *exactly* is it doing instead? That postb.in should output: Headers x-real-ip: 192.130.146.163 host: postb.in connection: close cont...

Jump to post
  • Wed Sep 11, 2019 11:52 pm
  • Replies 16
  • Views 8707
Re: GuzzleHttp and Opencart 3

paulfeakins wrote:
Wed Sep 11, 2019 11:11 pm
So it's still not clear exactly why you are trying to modify headers?
Current Opencart Guzzlehttp 5.3.1 is not work. You can see in up from postb.in, it create own "sweeping" header. Guzzle remove required headers from array $headers. Many currents extensions required Guzzlehttp 6.

Jump to post
  • Wed Sep 11, 2019 11:18 pm
  • Replies 16
  • Views 8707
Re: GuzzleHttp and Opencart 3

paulfeakins wrote:
Wed Sep 11, 2019 10:55 pm
That's the standard OpenCart download link.
I have all Opencart zip-packages between 1.4.7 - 3.0.3.2 and development version 3.1

Jump to post
  • Wed Sep 11, 2019 11:05 pm
  • Replies 16
  • Views 8707
Re: GuzzleHttp and Opencart 3

paulfeakins wrote:
Wed Sep 11, 2019 10:25 pm
Why not use the version from here?
https://www.opencart.com/index.php?route=cms/download
Is need you A2 Hosting? What there?

Jump to post
  • Wed Sep 11, 2019 10:35 pm
  • Replies 16
  • Views 8707
Re: GuzzleHttp and Opencart 3

paulfeakins wrote:
Wed Sep 11, 2019 10:16 pm
pm-netti wrote:
Wed Sep 11, 2019 9:33 pm
Problem: Many use a windows computer.
Solution: Develop on a Linux server.
It is possible, if install Ubuntu. But current Opencart folder system/storage/vendor/guzzlehttp is useless.

Jump to post
  • Wed Sep 11, 2019 10:22 pm
  • Replies 16
  • Views 8707
Re: GuzzleHttp and Opencart 3

One shortcoming of Opencart: It use Guzzlehttp version 5.3.1. I recommed use Guzzlehttp 6.3.3. Other shortcomig: Not all files in the guzzlehttp library are included in the Opencart vendor. You still need to install guzzlehttp library with Composer. Problem: Many use a windows computer. In it, insta...

Jump to post
  • Wed Sep 11, 2019 9:33 pm
  • Replies 16
  • Views 8707

Search found 1089 matches