TOPIC:

ContentBuilder und DPCalendar 3 years 4 months ago #192052

  • Topic Author
  • mab
  • Offline
  • Junior Breezer
  • Junior Breezer
  • Posts: 21
  • Thanks: 0
Hallo zusammen,

ich betreibe eine interne Webseite für ein Veranstaltungshaus und benutze dort die Kalender-Komponente DPCalendar mit verschiedenen Modulen und natürlich den ContenBuilder und BreezingForms. Joomla und alle Komponenten, Module etc. sind auf dem neuesten Stand.
Es funktioniert auch soweit alles, aber: sobald ich die folgenden Plugins aktiviere, erhalte ich seltsame Fehlermeldungen:
ContentBuilder Permission Observer
ContentBuilder - Content - Image Scale
ContentBuilder - Content - Download

Die Fehlermeldungen entstehen, wenn ich im DPCalendar auf einen Termin klicke, um mir die Details anzeigen zu lassen. Es ist dabei egal, ob es sich um die Komponente oder um einzelne Module handelt, die Fehlermeldungen sind identisch.
Hier eine Beispiel-Fehlermeldung:

Error: 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'e0b98-cc48-4995-9609-58a9f74bb62a_201702280700' at line 1 SQL=Select form.`title_field`,form.`protect_upload_directory`,form.`reference_id`,article.`record_id`,article.`form_id`,form.`type`,form.`published_only`,form.`own_only`,form.`own_only_fe` From #__contentbuilder_articles As article, #__contentbuilder_forms As form Where form.`published` = 1 And form.id = article.`form_id` And article.`article_id` = cad-11-3e0e0b98-cc48-4995-9609-58a9f74bb62a_201702280700


Seltsamerweise scheint sich der ContentBuilder hier einzumischen, eigentlich hat der mit der Kalender-Komponente keinerlei Verbindung.
Kann mir jemand dieses Verhalten erklären und vielleicht sogar eine Lösung für das Problem posten?

Ich bin für jeden Tip dankbar!

mab

Please Log in or Create an account to join the conversation.

ContentBuilder und DPCalendar 3 years 4 months ago #192182

  • tomeperica's Avatar
  • tomeperica
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 6478
  • Karma: 170
  • Thanks: 667
Hey there,

I hope its ok to answer you on English. Pls put fixes from zipped attachemnt below to corresponding folders:

contentbuilder_download.php -> /plugins/content/contentbuilder_download/
contentbuilder_image_scale.php -> /plugins/content/contentbuilder_image_scale/
contentbuilder_permission_observer.php -> /plugins/content/contentbuilder_permission_observer/
contentbuilder_rating.php -> /plugins/content/contentbuilder_rating/

Let us know the result.

Regards,
Tome
Regards,
Tome
==========================================
Need to renew Pro Support?
Buy Here!
==========================================
Satisfied?
Consider a membership!
==========================================
Like us on Facebook
==========================================
Support Crosstec and get ALL EXTENSIONS and professional support for just $5
Here!
Attachments:

Please Log in or Create an account to join the conversation.

ContentBuilder und DPCalendar 3 years 4 months ago #192194

  • Topic Author
  • mab
  • Offline
  • Junior Breezer
  • Junior Breezer
  • Posts: 21
  • Thanks: 0
Hi Tome,

thanks for your reply, but unfortunately the fixes don't solve the issue.
Here are two messages I get:

Error: 1054 - Unknown column 'cad' in 'where clause' SQL=Select form.`title_field`,form.`protect_upload_directory`,form.`reference_id`,article.`record_id`,article.`form_id`,form.`type`,form.`published_only`,form.`own_only`,form.`own_only_fe` From #__contentbuilder_articles As article, #__contentbuilder_forms As form Where form.`published` = 1 And form.id = article.`form_id` And article.`article_id` = cad-18-07afa9c8-0e05-46f3-ac55-7f74e4ee5090_201702281200


and

Error: 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'e0b98-cc48-4995-9609-58a9f74bb62a_201702280700' at line 1 SQL=Select form.`title_field`,form.`protect_upload_directory`,form.`reference_id`,article.`record_id`,article.`form_id`,form.`type`,form.`published_only`,form.`own_only`,form.`own_only_fe` From #__contentbuilder_articles As article, #__contentbuilder_forms As form Where form.`published` = 1 And form.id = article.`form_id` And article.`article_id` = cad-11-3e0e0b98-cc48-4995-9609-58a9f74bb62a_201702280700


Regards
mab

Please Log in or Create an account to join the conversation.

ContentBuilder und DPCalendar 3 years 4 months ago #192195

  • tomeperica's Avatar
  • tomeperica
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 6478
  • Karma: 170
  • Thanks: 667
OK then pls send us your FTP server access and Joomla Super User credenitals to this email address: support@crosstec.org

Pls put this topic into email subject as reference.

Regards,
Tome
Regards,
Tome
==========================================
Need to renew Pro Support?
Buy Here!
==========================================
Satisfied?
Consider a membership!
==========================================
Like us on Facebook
==========================================
Support Crosstec and get ALL EXTENSIONS and professional support for just $5
Here!

Please Log in or Create an account to join the conversation.

ContentBuilder und DPCalendar 3 years 4 months ago #192206

  • Topic Author
  • mab
  • Offline
  • Junior Breezer
  • Junior Breezer
  • Posts: 21
  • Thanks: 0
Hi Tome,

I've made a text-diff from the files in your fix-zip to the files on my server and there are no differences.

But I found the lines in the code of the files which are causing the messages, e.g. in contentbuilder_download.php line 208:
if (isset($article->id) && $article->id && !isset($article->cbrecord)) {

I may be wrong but shouldn't contenbuilder only grab records of articles made by cb?
Anyway I changed the line above to:
if (isset($article->id) && $article->id && isset($article->cbrecord)) {

and I do not get messages anymore. I did the changes to all of the four files and now I am able to publish all the plugins. Until now I didn't find any negative effects.
By the way: the lines in the files are:
contentbuilder_image_scale.php: 167
contentbuilder_permission_observer.php: 57
contentbuilder_rating: 125

Am I wrong or could this be the solution?

Best regards

mab

Please Log in or Create an account to join the conversation.

ContentBuilder und DPCalendar 3 years 4 months ago #192209

  • tomeperica's Avatar
  • tomeperica
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 6478
  • Karma: 170
  • Thanks: 667
Hm strange,

if the solution works for you then great, always something strange happens when users are having DPCal with CB...However I am glad that you found a working solution and shared it here ;)

Regards,
Tome
Regards,
Tome
==========================================
Need to renew Pro Support?
Buy Here!
==========================================
Satisfied?
Consider a membership!
==========================================
Like us on Facebook
==========================================
Support Crosstec and get ALL EXTENSIONS and professional support for just $5
Here!

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Time to create page: 0.052 seconds

Summer Sale!

Massive discounts on all subscriptions!

Get Your Subscription Here

Quick Links

Downloads

BreezingForms

ContentBuilder

BreezingCommerce

Templates

Documentation

BreezingForms

ContentBuilder

BreezingCommerce

Apprendre BreezingForms (French Community)

Apprendre et maîtriser BreezingForms par des tutoriels et exemples, le tout en français

breezingforms.eddy-vh.com

Questions et réponses sur les forums de l'AFUJ

AFUJ

Special Offer

Summer Sale! All subscriptions at a special price!

Includes prio support, all of our current and future Joomla!® extensions and Joomla!® templates for the duration of your membership.

Get it from here

3rd Party Discount - 25% Off

We help you to keep your costs under control. If you are a new member and purchased a form building tool from a different form vendor, then you'll get a 25% discount on our subscription plans.

How to receive the discount:

Send us a quick email to sales@crosstec.org with a proof of purchase (for example a paypal receipt), await payment instructions and enjoy your membership!