[SOLVED] upgrading 1.3 to 1.4 error -ALTER TABLE 'piwik_pdf'


(earwax) #1

I am trying to update Piwik 1.3 to Piwik 1.4. When hitting the button to update, it says this file has an error in it: piwik/core/Updates/1.4-rc1.php


Error trying to execute the query 'ALTER TABLE `piwik_pdf`
		    	ADD COLUMN `format` VARCHAR(10)'.
The error was: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'cm_piwik.piwik_pdf' doesn't exist

Using CentOS 5.6 over here. Should I just manually create this table, piwik_pdf? Why doesn’t the script do it for me?]


(Matthieu Aubry) #2

Thanks for the report. Please apply this patch: http://dev.piwik.org/trac/changeset/4609

I have re-packaged 1.4 with this fix