Fault in cb.installer.php while composing new plug

13 years 1 month ago #159145 by kids-n-co
Hi,

Thank you for the good work, very, very good.

As I need multiple tabs for file storage, I basically replaced all "file" strings within all files in int_cbgroupjivefile_22.zip to create a 2nd tab / 2nd database entries and renamed the 4 file xml / css / php.

However I get this / below failure. Is there a name convention on new plugin's ? this is what I understand from the code.

Thanks in advance.

BR Marcel.


arning: SimpleXMLElement::__construct() [simplexmlelement.--construct]: Entity: line 1: parser error : Start tag expected, '<' not found in /var/www/vhosts/website.nl/httpdocs/administrator/components/com_comprofiler/library/cb/cb.installer.php on line 169

Warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]: in /var/www/vhosts/website.nl/httpdocs/administrator/components/com_comprofiler/library/cb/cb.installer.php on line 169

Warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]: ^ in /var/www/vhosts/website.nl/httpdocs/administrator/components/com_comprofiler/library/cb/cb.installer.php on line 169

Fatal error: Uncaught exception 'Exception' with message 'String could not be parsed as XML' in /var/www/vhosts/website.nl/httpdocs/administrator/components/com_comprofiler/library/cb/cb.installer.php:169 Stack trace: #0 /var/www/vhosts/website.nl/httpdocs/administrator/components/com_comprofiler/library/cb/cb.installer.php(169): SimpleXMLElement->__construct('???????Mac OS X...') #1 /var/www/vhosts/website.nl/httpdocs/administrator/components/com_comprofiler/library/cb/cb.installer.php(144): cbInstaller->isPackageFile('/var/www/vhosts...') #2 /var/www/vhosts/website.nl/httpdocs/administrator/components/com_comprofiler/library/cb/cb.installer.php(66): cbInstaller->findInstallFile() #3 /var/www/vhosts/website.nl/httpdocs/administrator/components/com_comprofiler/controller/controller.default.php(2788): cbInstaller->upload('/var/www/vhosts...') #4 /var/www/vhosts/website.nl/httpdocs/administrator/components/com_comprofiler/controller/controller.default.php(333): installPluginUpload() #5 /var/www/vhosts/website. in /var/www/vhosts/website.nl/httpdocs/administrator/components/com_comprofiler/library/cb/cb.installer.php on line 169

Please Log in to join the conversation.

13 years 1 month ago - 13 years 1 month ago #159161 by krileon
Don't understand, why do you need 2 tabs? GJ and CB come with perfectly functional API. Please create your own integrations to meet your needs. If you need duplicate information rendered then do so through API. I can not help you with your edits. A simple rename is NOT going to be successful. There's a problem in your XML.


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.

13 years 1 month ago #159200 by kids-n-co
Dear Kyle,

I want 2 tabs for files, to store different categories of files, presented on different tabs.

I looked at the CB API (CB API Document - draft [006] but I am afraid I lack the knowledge
to get this to work.

Thank you.

Please Log in to join the conversation.

13 years 1 month ago - 13 years 1 month ago #159203 by krileon
You'll need to explore the entire file integration and rename its class (functions don't need renamed, just the classes containing them) as well as database table. Once done on the PHP end you'll need to alter the XML as well. Please also note your second integration will quickly go out of date with each subsequent release of GJ. I recommend hiring a contract develop if the change is too much for your knowledge (joomlancers is a good place to start).


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.

Moderators: beatnantkrileon
Time to create page: 0.209 seconds

Facebook Twitter LinkedIn