Error upgrading from 4.0.6 to 4.0.7 on Joomla 4

Phoca Download - download manager
webgobe
Phoca Newbie
Phoca Newbie
Posts: 8
Joined: 14 May 2013, 18:56

Re: Error upgrading from 4.0.6 to 4.0.7 on Joomla 4

Post by webgobe »

OK, found the error's source. There are 3 sql files in the /update folder in admin - both in the site if you attempted an upgrade, and also in the kit. The file admin\update\sql\mysql\3.0.2.sql contains these lines (among others)
ALTER TABLE `#__phocadownload` ADD COLUMN `token` char(64) default NULL;
ALTER TABLE `#__phocadownload` ADD COLUMN `tokenhits` int(11) NOT NULL default 0;
IF you comment out these two files OR you delete both from the webserver and the downloaded kit the above files the upgrade wents through withouth errors, and you got a perfectly working PhocaDownload component.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48386
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Error upgrading from 4.0.6 to 4.0.7 on Joomla 4

Post by Jan »

Hi, thank you for the info.

Jan
If you find Phoca extensions useful, please support the project
Post Reply