Witam,
Jak w tytule, mam zainstalowany opencart 2.0 z autoinstalatora. Wszystko działało pięknie. Zachciało mi się zmienić theme ( nie był to polski theme) http://www.pavothemes.com/opencart-them ... theme.html
Zmieniłam catalog na catalog tego themu.
Przeszłam do Settings, edit - - wybieram nowy theme, zmieniam wszystko na polskę, język, kraj, i nie mogę wpisać region/województwo bo menu rozijalne jest puste. Więc jak próbuję zapisać zmiany - wyskakuje błąd:
SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data
OK
<br />
<b>Deprecated</b>: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in <b>/home/u861495149/public_html/sklep/system/library/db/mysql.php</b> on line <b>7</b><br />
{"country_id":"170","name":"Poland","iso_code_2":"PL","iso_code_3":"POL","address_format":"Imi\u0119 = {imi\u0119}<br \/>\r\nNazwisko = {nazwisko}<br \/>\r\nFirma = {firma}<br \/>\r\nAdres 1 = {adres_1}<br \/>\r\nAdres 2 = {adres_2}<br \/>\r\nMiasto = {miasto}<br \/>\r\nKod Pocztowy = {kod_pocztowy}<br \/>\r\nStrefa = {strefa}<br \/>\r\nKod Strefy = {kod_strefy}<br \/>\r\nKraj = {kraj}<\/span>" id="input-address-format" class="form-control">","postcode_required":"1","zone":[{"zone_id":"2631","country_id":"170","name":"Dolnoslaskie","code":"DO","status":"1"},{"zone_id":"2632","country_id":"170","name":"Kujawsko-Pomorskie","code":"KP","status":"1"},{"zone_id":"2633","country_id":"170","name":"Lodzkie","code":"LO","status":"1"},{"zone_id":"2634","country_id":"170","name":"Lubelskie","code":"LL","status":"1"},{"zone_id":"2635","country_id":"170","name":"Lubuskie","code":"LU","status":"1"},{"zone_id":"2636","country_id":"170","name":"Malopolskie","code":"ML","status":"1"},{"zone_id":"2637","country_id":"170","name":"Mazowieckie","code":"MZ","status":"1"},{"zone_id":"2638","country_id":"170","name":"Opolskie","code":"OP","status":"1"},{"zone_id":"2639","country_id":"170","name":"Podkarpackie","code":"PP","status":"1"},{"zone_id":"2640","country_id":"170","name":"Podlaskie","code":"PL","status":"1"},{"zone_id":"2641","country_id":"170","name":"Pomorskie","code":"PM","status":"1"},{"zone_id":"2642","country_id":"170","name":"Slaskie","code":"SL","status":"1"},{"zone_id":"2643","country_id":"170","name":"Swietokrzyskie","code":"SW","status":"1"},{"zone_id":"2644","country_id":"170","name":"Warminsko-Mazurskie","code":"WM","status":"1"},{"zone_id":"2645","country_id":"170","name":"Wielkopolskie","code":"WP","status":"1"},{"zone_id":"2646","country_id":"170","name":"Zachodniopomorskie","code":"ZA","status":"1"}],"status":"1"}
Ogólnie od samego początku po zainstalowanoiu opencarta, jeszcze bez zmiany themu występował mi ten błąd:
Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/u861495149/public_html/sklep/system/library/db/mysql.php on line 7. Do tego pojawia się kolejny błąd:
SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data
CO mam zrobić, gdzie wprowadzić regiony, co jest błędem?
Link do strony: http://eartfashionbijoux.pl/sklep
Dziękuję za pomoc