Post by lovac24 » Thu Apr 01, 2010 3:05 pm

Hallo,

i have a problem by upgrade from 1.4.4 to 1.4.6

I have first enter the following code in my DB manager ( PHP MyAdmin ):

ALTER TABLE `store` DROP `stock_status_id`;
ALTER TABLE `customer` ADD `store_id` INT( 11 ) NOT NULL DEFAULT '0' AFTER `customer_id`;
ALTER TABLE `order` ADD `invoice_id` INT( 11 ) NOT NULL DEFAULT '0' AFTER `order_id`;
ALTER TABLE `order` ADD `invoice_prefix` VARCHAR( 10 ) NOT NULL AFTER `invoice_id`;

THIS WAS SUCESSFULL

And then I enter the next code:

INSERT INTO `opencart_dev`.`setting` (
`setting_id` ,
`group` ,
`key` ,
`value`
)
VALUES (
NULL , 'config', 'config_language', 'en'
);

AND I BECOME A FOLLOWING ERROR:

#1142 - INSERT command denied to user 'lovac24'@'localhost' for table 'setting'

Can somebody help me? Thanks

TECHNODISCOUNT24 - BUY WITH ALERTPAY AND MONEYBOOKERS
Free Shipping Worldwide and Cheapest Prices
Buy Gadgets on the best Alertpay Shop


New member

Posts

Joined
Wed Mar 31, 2010 5:59 pm

Post by MatthewMN » Sun Apr 04, 2010 4:14 am

I have the same problem.

Newbie

Posts

Joined
Sun Dec 06, 2009 10:55 am

Post by rph » Sun Apr 04, 2010 6:08 am

Just try it as:

Code: Select all

INSERT INTO `setting` (
`setting_id` ,
`group` ,
`key` ,
`value` 
)
VALUES (
NULL , 'config', 'config_language', 'en'
);
If that doesn't work double-check that the user has permission to do database inserts.

-Ryan


rph
Expert Member

Posts

Joined
Fri Jan 08, 2010 5:05 am
Location - Lincoln, Nebraska

Post by MatthewMN » Sun Apr 04, 2010 6:26 am

rph wrote:Just try it as:

Code: Select all

INSERT INTO `setting` (
`setting_id` ,
`group` ,
`key` ,
`value` 
)
VALUES (
NULL , 'config', 'config_language', 'en'
);
If that doesn't work double-check that the user has permission to do database inserts.
That worked. Thanks!

Newbie

Posts

Joined
Sun Dec 06, 2009 10:55 am

Post by JakePehrson » Mon Apr 05, 2010 2:33 am

I had the same problem, but used the code you supplied above and it worked fine.

I do have a recommendation. Most projects that I have used in the past have the config files re-named in the download so those upgrading can just upload the files without the risk of overwriting their config files (something like confignew.php that have to be renamed in an original install).

This is my first opencart upgrade and it is not quite a easy as I would have like, but I await patiently for any type of auto update feature.

Thanks for everyone contribution to this project.

Newbie

Posts

Joined
Mon Apr 05, 2010 2:21 am
Who is online

Users browsing this forum: No registered users and 17 guests