In 1.5.2.1 + Open admin/controller/localisation/geo_zone.php and find this code:
Change it to what you like 
Code: Select all
if ((utf8_strlen($this->request->post['name']) < 3) || (utf8_strlen($this->request->post['name']) > 32)) {
$this->error['name'] = $this->language->get('error_name');
}

I tried this method before, but it does not work.
No more warning after saving but the full name that I typed in does not show up.
Anymore help?
No more warning after saving but the full name that I typed in does not show up.
Anymore help?
avvici wrote:In 1.5.2.1 + Open admin/controller/localisation/geo_zone.php and find this code:Change it to what you likeCode: Select all
if ((utf8_strlen($this->request->post['name']) < 3) || (utf8_strlen($this->request->post['name']) > 32)) { $this->error['name'] = $this->language->get('error_name'); }
I just had the same problem and with the first few post set me in the right direction.
You need to change the number to 128 (or whatever) in geo_zone.php
BUT
You then need to go into the database in phpmyadmin and increase the varchar to match the number you set in geo_zone.php.
It is in your opencart database in a table called "geo_zone". You need to change the second row called "name", set it to varchar(128) and bingo, it should work.
You need to change the number to 128 (or whatever) in geo_zone.php
BUT
You then need to go into the database in phpmyadmin and increase the varchar to match the number you set in geo_zone.php.
It is in your opencart database in a table called "geo_zone". You need to change the second row called "name", set it to varchar(128) and bingo, it should work.
Who is online
Users browsing this forum: Google [Bot] and 120 guests