ContentBuilder und DPCalendar

  • mab
  • Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 21
  • Thank you received: 0

mab created the topic: ContentBuilder und DPCalendar

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
#192052
  • Posts: 6478
  • Karma: 170
  • Thank you received: 667

tomeperica replied the topic: ContentBuilder und DPCalendar

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!
#192182
Attachments:
  • mab
  • Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 21
  • Thank you received: 0

mab replied the topic: ContentBuilder und DPCalendar

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
#192194
  • Posts: 6478
  • Karma: 170
  • Thank you received: 667

tomeperica replied the topic: ContentBuilder und DPCalendar

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!
#192195
  • mab
  • Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 21
  • Thank you received: 0

mab replied the topic: ContentBuilder und DPCalendar

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
#192206
  • Posts: 6478
  • Karma: 170
  • Thank you received: 667

tomeperica replied the topic: ContentBuilder und DPCalendar

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!
#192209
Moderators: tomeperica
Time to create page: 0.082 seconds

New Icon Packs Category!

Crosstec is now offering icon packs.

If you are a paying subscriber, icon packs are automatically added to your account.

Check out our icon packs page!

Live Support Chat Opened!

Join our Discord chat here to receive live support and talk directly to the team!

Summer Sale!

50% discount on all of our extension subscription plans, templates and icon packs!

Get Your Subscription Here

News and Updates

Get informed about new downloads, updates and more in our News and Updates newsletter.

All Extensions Subscription

Get 1 year access to all of our current and future products and 1 year of professional support -- 99 for just 49! (Summer Sale)

No support per domain or website installation limits! Includes all of our current and future Joomla!® extensions, Joomla!® templates for the duration of your membership. This means, by purchasing an All Extensions Subscription you'll have it all covered!

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!

Live Support Chat Opened!

Join our Discord chat here to receive live support and talk directly to the team!

Community Reward

Help us to create new extensions and plugins! With only $5 you help us a lot and get unlimited download access to all of our products, professional support and even more. Get your reward now!

Read More Here