Block Countries
27 posts
• Page 2 of 2 • 1, 2
Re: Block Countries
not quite done. don't forget that all countries are disabled by default so you will still need to go back and enable the few countries you do need

Donate!|OpenCart Basics|GeoZones
Help me get more development cloud storage - Click Here to get DropBox
-

Qphoria - Administrator
- Posts: 18213
- Joined: Mon Jul 21, 2008 7:02 pm

Re: Block Countries
I don't see "SQL Query" anywhere. Should I import the .sql to the OpenCart database?
- Andrew_M
- Posts: 31
- Joined: Fri Jan 02, 2009 5:38 pm
Re: Block Countries
if using 0.7.9 rc8 or final, you can actually upload the sql file by using via database backup/restore page under admin->configuration->backup/restore

Donate!|OpenCart Basics|GeoZones
Help me get more development cloud storage - Click Here to get DropBox
-

Qphoria - Administrator
- Posts: 18213
- Joined: Mon Jul 21, 2008 7:02 pm

Re: Block Countries
Qphoria wrote:if using 0.7.9 rc8 or final, you can actually upload the sql file by using via database backup/restore page under admin->configuration->backup/restore
Okay I tried that and now I get this:
- Code: Select all
Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ALTER TABLE `zone` ADD `zone_status` int(1) NOT NULL default '1' After `name`' at line 14
Error No: 1064
# # ALTER TABLE STRUCTURE FOR: `country` # Default is '0' all countries disabled, set default to '1' to enable all countries # ALTER TABLE `country` ADD `country_status` int(1) NOT NULL default '0' After `name`; # # ALTER TABLE STRUCTURE FOR: 'zone' # Default is '1' all zones enabled, set default to '0' to disable all zones # ALTER TABLE `zone` ADD `zone_status` int(1) NOT NULL default '1' After `name`;
- Andrew_M
- Posts: 31
- Joined: Fri Jan 02, 2009 5:38 pm
Re: Block Countries
well i dunno..
back to phpmyadmin
Some tutorials to get you started understanding cpanel and mysql and phpmyadmin:
http://www.cpanel.net/docs/cpanel/phpMyAdmin.htm
http://www.cpanel.net/support/docs/11/c ... s_php.html
http://www.php-editors.com/articles/sql_phpmyadmin.php
http://www.tutorialized.com/tutorial/Cr ... dmin/23140
back to phpmyadmin
Some tutorials to get you started understanding cpanel and mysql and phpmyadmin:
http://www.cpanel.net/docs/cpanel/phpMyAdmin.htm
http://www.cpanel.net/support/docs/11/c ... s_php.html
http://www.php-editors.com/articles/sql_phpmyadmin.php
http://www.tutorialized.com/tutorial/Cr ... dmin/23140

Donate!|OpenCart Basics|GeoZones
Help me get more development cloud storage - Click Here to get DropBox
-

Qphoria - Administrator
- Posts: 18213
- Joined: Mon Jul 21, 2008 7:02 pm

Re: Block Countries
Qphoria wrote:well i dunno..
back to phpmyadmin
Some tutorials to get you started understanding cpanel and mysql and phpmyadmin:
http://www.cpanel.net/docs/cpanel/phpMyAdmin.htm
http://www.cpanel.net/support/docs/11/c ... s_php.html
http://www.php-editors.com/articles/sql_phpmyadmin.php
http://www.tutorialized.com/tutorial/Cr ... dmin/23140
I know how to use phpmyadmin and cpanel, I'm just wondering if I should import the .sql to the OpenCart database?
- Andrew_M
- Posts: 31
- Joined: Fri Jan 02, 2009 5:38 pm
Re: Block Countries
yes

Donate!|OpenCart Basics|GeoZones
Help me get more development cloud storage - Click Here to get DropBox
-

Qphoria - Administrator
- Posts: 18213
- Joined: Mon Jul 21, 2008 7:02 pm

27 posts
• Page 2 of 2 • 1, 2
Who is online
Users browsing this forum: No registered users and 8 guests













