SOLVED!!! Error Saving Phoca Gallery Categories
Posted: 24 May 2009, 23:17
Hi Jan,
I updated phoca gallery from 2.2.0 beta to 2.2.4. Now I can`t create new categories. I had the same problem after my last update but I could solve the problem withe the help of this:
https://www.phoca.cz/documents/2-phoca-g ... em-solving
But now I think the problem is an other one because there are already six tables in the database.
Perhaps the last part of the document could save my problem, but I don`t understand this:
If you have all tables in your database (e.g. you are upgrading from 2.1.0 to 2.2.0) check the columns of your tables. E.g. in Phoca Gallery version 2.2.0 there are new colums: extlink1, extlink2 and these should be added into table: #__phocagallery. In case you are upgrading e.g. from 2.1.0 to 2.2.0 and you got some error message while automatically upgrading of Phoca Gallery tables, check the #_phocagallery table and if extlink1 or extlink2 columns are missed, then run the SQL query for 2.2.0 version:
ALTER TABLE `#__phocagallery` ADD `extlink1` text NOT NULL AFTER `params` ;
ALTER TABLE `#__phocagallery` ADD `extlink2` text NOT NULL AFTER `extlink1` ;
Please help!
Klemens
I updated phoca gallery from 2.2.0 beta to 2.2.4. Now I can`t create new categories. I had the same problem after my last update but I could solve the problem withe the help of this:
https://www.phoca.cz/documents/2-phoca-g ... em-solving
But now I think the problem is an other one because there are already six tables in the database.
Perhaps the last part of the document could save my problem, but I don`t understand this:
If you have all tables in your database (e.g. you are upgrading from 2.1.0 to 2.2.0) check the columns of your tables. E.g. in Phoca Gallery version 2.2.0 there are new colums: extlink1, extlink2 and these should be added into table: #__phocagallery. In case you are upgrading e.g. from 2.1.0 to 2.2.0 and you got some error message while automatically upgrading of Phoca Gallery tables, check the #_phocagallery table and if extlink1 or extlink2 columns are missed, then run the SQL query for 2.2.0 version:
ALTER TABLE `#__phocagallery` ADD `extlink1` text NOT NULL AFTER `params` ;
ALTER TABLE `#__phocagallery` ADD `extlink2` text NOT NULL AFTER `extlink1` ;
Please help!
Klemens