Phoca Gallery 3.0.0 Alpha1 has been released. This version is designed for Joomla! 1.6 Beta1. Be aware, this version (Alpha1) is early release of Phoca Gallery and should be used for testing only (on test servers). There are many new features in Joomla! 1.6 framework, so large parts of the code in Phoca Gallery had to be rewritten (including all language strings). Please don't translate the language strings because this will be much changed in the future.

Known issues:

  • There is no upgrade function, only installation
  • Seems like there are some problems with SEF (don't use SEF for testing)
  • Flash Upload doesn't work
  • Default values for published and authorized fields are set to NO (but in XML default is set to YES)
  • Not all setting parameters are transformed for the frontend
  • Save and New doesn't redirect to New in case thumbnails are created in image edit view
  • Not all depreciated methods changed so this can cause problems

 

What is needed primarily to test:

  • Language strings (if they are correctly set: they should have prefix: COM_PHOCAGALLERY, if they are included in language file, etc.)
  • ACL in administration (if all functions are checked by ACL)
  • Checking all differnt settings for frontend, etc.


Some useful tips for testing Phoca Gallery 3.0.0 Alpha1 and Joomla! 1.6 Beta:

  • If no Phoca Gallery tables will be created while installation, run SQL queries located in file:
    administrator/components/com_phocagallery/install.bak.sql
  • If now Phoca Gallery folders (images/phocagallery/ and images/phocagallery/avatars) will be created, please create them manually
  • If no menu items will be created in administration for the Phoca Gallery after installation, try to run this SQL query in your database (e.g. in phpMyAdmin):
UPDATE `jos_menu` 
SET `published` =  '1', 
`component_id` = ( SELECT extension_id 
FROM `jos_extensions` 
WHERE element = 'com_phocagallery' ) 
WHERE `title` LIKE '%phocagallery%';


The prefix is set to jos_ (change it to your own if needed).

 

  • If you get the following error message while saving options in Phoca Gallery:


Could not save data. Error: JTableAsset::store failed
Duplicate entry '' for key 'idx_asset_name' SQL=INSERT INTO `jos_assets` (`rules`,`parent_id`,`level`,`lft`,`rgt`) VALUES ('{\"core.admin\":[],\"core.manage\":[],\"core.create\":[],\"core.delete\":[],\"core.edit\":[],\"core.edit.state\":[]}','0','0','143','144')


go to:


libraries/joomla/database/table/asset.php

line cca 74

and add the following code to this line:

//Temporary arrangements for testing
if ($assetId == 0) {
	return false;
}
//Temporary arrangements for testing

 

  • If you get this notice in the frontend (which is repeated many times):


Notice: Undefined property: stdClass::$componentid in libraries/joomla/application/menu.php  on line 210

go to:


libraries/joomla/application/menu.php

line cca 210

and change the following code:

FROM:

if ($item->$attributes[$i] != $values[$i]) {
	$test = false;
	break;
}



TO:

//Temporary arrangements for testing
if (isset($item->$attributes[$i])) {
	if ($item->$attributes[$i] != $values[$i]) {
		$test = false;
		break;
	} 
}
//Temporary arrangements for testing


Download: Phoca Gallery download site.

Please report all bugs to Phoca Forum. Thank you.