Community Forums

Block Countries

General support for technical problems with OpenCart v0.x

Re: Block Countries

Postby Qphoria » Tue Feb 03, 2009 11:07 pm

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
Image Image
Donate!|OpenCart Basics|GeoZones
Help me get more development cloud storage - Click Here to get DropBox
User avatar
Qphoria
Administrator
 
Posts: 18213
Joined: Mon Jul 21, 2008 7:02 pm
Donate to Qphoria

Re: Block Countries

Postby Andrew_M » Tue Feb 03, 2009 11:17 pm

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

Postby Qphoria » Tue Feb 03, 2009 11:33 pm

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
Image Image
Donate!|OpenCart Basics|GeoZones
Help me get more development cloud storage - Click Here to get DropBox
User avatar
Qphoria
Administrator
 
Posts: 18213
Joined: Mon Jul 21, 2008 7:02 pm
Donate to Qphoria

Re: Block Countries

Postby Andrew_M » Wed Feb 04, 2009 2:54 am

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

Postby Qphoria » Wed Feb 04, 2009 3:42 am

Image Image
Donate!|OpenCart Basics|GeoZones
Help me get more development cloud storage - Click Here to get DropBox
User avatar
Qphoria
Administrator
 
Posts: 18213
Joined: Mon Jul 21, 2008 7:02 pm
Donate to Qphoria

Re: Block Countries

Postby Andrew_M » Wed Feb 04, 2009 2:07 pm


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

Postby Qphoria » Wed Feb 04, 2009 2:40 pm

yes
Image Image
Donate!|OpenCart Basics|GeoZones
Help me get more development cloud storage - Click Here to get DropBox
User avatar
Qphoria
Administrator
 
Posts: 18213
Joined: Mon Jul 21, 2008 7:02 pm
Donate to Qphoria

Previous

Return to General Support

Who is online

Users browsing this forum: No registered users and 8 guests

Hosted by Arvixe Web Hosting