Updated Joomfish file

12 years 6 months ago #92479 by iamalive
Updated Joomfish file was created by iamalive
Hi
is there an up-to-date version of the joomfish content-elements xml files available from anyone?

This would solve a big problem for me.

With version on the joomfish site (dated sometime in 2007), all I get is :

Fatal error: Call to a member function getTable() on a non-object in /my_site_path/administrator/components/com_joomfish/models/ContentObject.php on line 556




Thanks

Post edited by: iamalive, at: 2009/03/23 14:36

Please Log in to join the conversation.

12 years 6 months ago #92713 by iamalive
Replied by iamalive on topic Re:Updated Joomfish file
Hi again
This issue means success or failure for the multilingual, multinational site I'm building for a charity. I hope someone can tell me what's wrong with these content element files for Joomfish:

All I get when I try to use them is a white screen with the following error message:

Fatal error: Call to a member function getTable() on a non-object in /home/mysite/administrator/components/com_joomfish/models/ContentObject.php on line 556




I also get this message :

Fatal error: Call to a member function createOrphanSQL() on a non-object in /home/mysite/administrator/components/com_joomfish/controllers/translate.php on line 488



This component - Joomfish - is really important on this site. We expect to have 20-30 languages within 1 year, with many thousands of users. So I really need help to get this working properly.

My system:

PHP Built on: Linux srv47.tophost.ch 2.6.9-67.0.22.EL #1 Wed Jul 23 17:17:45 EDT 2008 i686
Database Version: 5.0.67-community
Database Collation: utf8_general_ci
PHP Version: 5.2.8
Web Server: Apache/2.2.11 (Unix) mod_ssl/2.2.11 OpenSSL/0.9.7a mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635
Web Server to PHP interface: cgi
Joomla! Version: Joomla! 1.5.9 Production/Stable [ Vatani ] 9-January-2009 23:00 GMT


There are 4 files available in the content element package I downloaded from the Joomfish site:

1. cb.field_values.xml
[code:1]<?xml version="1.0" ?>
<joomfish type="contentelement">
<name>Community Builder:Field Values</name>
<author>Chris Simon</author>
<email>info@decomputeur.nl
<version>1.7</version>
<description>Definitions for Community Builder Field Values</description>
<reference>
<table name="comprofiler_field_values">
<field type="referenceid" name="fieldvalueid" translate="0">ID</field>
<field type="text" name="fieldtitle" translate="1">Title</field>
</table>
</reference>
</joomfish>[/code:1]

2. cb.fields.xml
[code:1]<?xml version="1.0" ?>
<joomfish type="contentelement">
<name>Community Builder:Fields</name>
<author>Chris Simon</author>
<email>info@decomputeur.nl
<version>1.7</version>
<description>Definitions for Community Builder Fields</description>
<reference>
<table name="comprofiler_fields">
<field type="referenceid" name="fieldid" translate="0">ID</field>
<field type="text" name="title" translate="1">Title</field>
<field type="textarea" name="description" translate="1">Description</field>
</table>
</reference>
</joomfish>
[/code:1]

3. cb.lists.xml
[code:1]<?xml version="1.0" ?>
<joomfish type="contentelement">
<name>Community Builder:Lists</name>
<author>Chris Simon</author>
<email>info@decomputeur.nl
<version>1.7</version>
<description>Definitions for Community Builder Lists</description>
<reference>
<table name="comprofiler_lists">
<field type="referenceid" name="listid" translate="0">ID</field>
<field type="text" name="title" translate="1">Title</field>
<field type="textarea" name="description" translate="1">Description</field>
</table>
</reference>
</joomfish>
[/code:1]

4. cb.tabs.xml
[code:1]<?xml version="1.0" ?>
<joomfish type="contentelement">
<name>Community Builder:Tabs</name>
<author>Chris Simon</author>
<email>info@decomputeur.nl
<version>1.7</version>
<description>Definitions for Community Builder Tabs</description>
<reference>
<table name="comprofiler_tabs">
<field type="referenceid" name="tabid" translate="0">ID</field>
<field type="text" name="title" translate="1">Title</field>
<field type="textarea" name="description" translate="1">Description</field>
</table>
</reference>
</joomfish>[/code:1]

I sure would appreciate it if this can be sorted out, as I am very reliant on this.


I'm using CB 1.2, and Joomfish downloaded yesterday (I reinstalled everything, hoping the problems would go away, but they haven't. everything else seems to be working just as expected.
Can you help?

Regards
David

Please Log in to join the conversation.

12 years 6 months ago #92748 by krileon
Replied by krileon on topic Re:Updated Joomfish file
Issues don't appear to have anything in relation to CB. I suggest contacting the developers of Joomfish.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in to join the conversation.

12 years 6 months ago #92758 by iamalive
Replied by iamalive on topic Re:Updated Joomfish file
Hi

Thanks. I did.
The solution was that the files needed to be renamed, replacing the cb. with comprofiler_

I've updated the files and provided them to Joomfish to replace the existing ones.

I'm adding them here for those who want them too. I would recommend that this be provided here on the site too, as CB is often wanted for multilingual communities.

Regards
David

Attachment CommunityBuilder.zip not found

Attachments:

Please Log in to join the conversation.

12 years 6 months ago #93455 by bensoussan
Replied by bensoussan on topic Re:Updated Joomfish file
I tried your zip file with the renamed xml content defintion files, and indeed, translations show up now under joomfish-translation. The trouble is that no description are listed at the original side. I am quite new to joomla, joomfish and cb, but I do not manage to figure out how I should proceed. Is it normal that no translations show up under cb_field_values ? Any help on this?

Thanks

Post edited by: bensoussan, at: 2009/04/01 10:21

Please Log in to join the conversation.

12 years 6 months ago #93828 by giuse3
Replied by giuse3 on topic Re:Updated Joomfish file
I tried the newest zip and it's possible to set the translations in JoomFish but I see no effect on the pages: the CB fields still appear just in the original language...
I am using Joomla 1.5.10 and CB 1.2 stable.
Thanks

Giuse

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.185 seconds