letxobnav wrote: ↑Thu Oct 17, 2019 6:43 pm
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:
Code: Select all
$parts = explode('/', $this->request->get['_route_']);
echo "<pre>"; print_r($parts); echo "</pre>";
This create array:
Code: Select all
Array
(
[0] => peku
[1] => test
[2] => peco-sl-310-nickel-silver-rail-joiners-24
)
There array is my admin username and sub domain name. Why?
This remove fisrt key ('peku'):
This is not found SEO keyword 'test':
Code: Select all
$query = $this->db->query("SELECT * FROM " . DB_PREFIX . "seo_url WHERE keyword = '" . $this->db->escape($part) . "' AND store_id = '" . (int)$this->config->get('config_store_id') . "'");
And stop loop.
This is work my test server:
Code: Select all
/* else {
$this->request->get['route'] = 'error/not_found';
break;
} */
But when it move to other server, it is not work.
I now try use function
array_reverse.