TOPIC:

Error when saving new list entry 2 years 2 weeks ago #233048

  • Topic Author
  • mvanderkruk
  • Offline
  • Fresh Breezer
  • Fresh Breezer
  • Posts: 14
  • Thanks: 0
I have been using ContentBuilder for some time and it has always functioned perfectly. Is seems that after my hoster has upgraded to php7.2 it's now not possible anymore to save records to the database.
The following error is displayed:
syntax error, unexpected ',', expecting variable (T_VARIABLE)
However the form and all code behind it were unchanged.
Using the latest contentbuilder version: 0.9.91 build 252

Anyone have an idea on how to solve this ?

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

Error when saving new list entry 2 years 2 weeks ago #233051

  • DarkoCujic's Avatar
  • DarkoCujic
  • Offline
  • Developer
  • Developer
  • Posts: 2154
  • Karma: 67
  • Thanks: 265
Hey,

I'm pretty sure CB should work in PHP7.2, but nonetheless, please set error reporting to development (Global Configuration > Server tab > Error reporting), then try to add a new record and after you get the error, please open the error_log file that's located in the root of your Joomla installation and either send the entire error_log or send the last few errors to darko.cujic@crosstec.org and I'll take a look.

Regards,
Darko
Satisfied with our support? PayPal tips
===========
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.

Error when saving new list entry 2 years 2 weeks ago #233055

  • Topic Author
  • mvanderkruk
  • Offline
  • Fresh Breezer
  • Fresh Breezer
  • Posts: 14
  • Thanks: 0
I enabled the error reporting, but the file does not contain anything.
Also There is not logging in the php error log of the server.

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

Error when saving new list entry 2 years 2 weeks ago #233067

  • DarkoCujic's Avatar
  • DarkoCujic
  • Offline
  • Developer
  • Developer
  • Posts: 2154
  • Karma: 67
  • Thanks: 265
Hey,

could you please post a link to the page in question and if possible, backend access to your site so I can see if I can figure something out? You can send the info to darko.cujic@crosstec.org

Regards,
Darko
Satisfied with our support? PayPal tips
===========
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.

Error when saving new list entry 8 months 4 days ago #240883

  • pofesor
  • Offline
  • Fresh Breezer
  • Fresh Breezer
  • Posts: 3
  • Thanks: 0
hello,
i have the same problem.
contentbuilder works under php 5.6 but not under 7.2


# Function Location
1 () JROOT/administrator/components/com_contentbuilder/classes/contentbuilder.php(1157) : eval()'d code:9
2 contentbuilder::getTemplate() JROOT/administrator/components/com_contentbuilder/classes/contentbuilder.php:1744
3 contentbuilder::createArticle() JROOT/administrator/components/com_contentbuilder/models/edit.php:1780
4 ContentbuilderModelEdit->store() JROOT/administrator/components/com_contentbuilder/controllers/edit.php:70
5 ContentbuilderControllerEdit->save() JROOT/libraries/src/MVC/Controller/BaseController.php:710
6 Joomla\CMS\MVC\Controller\BaseController->execute() JROOT/administrator/components/com_contentbuilder/contentbuilder.php:120
7 require_once() JROOT/libraries/src/Component/ComponentHelper.php:402
8 Joomla\CMS\Component\ComponentHelper::executeComponent() JROOT/libraries/src/Component/ComponentHelper.php:377
9 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT/libraries/src/Application/AdministratorApplication.php:101
10 Joomla\CMS\Application\AdministratorApplication->dispatch() JROOT/libraries/src/Application/AdministratorApplication.php:159
11 Joomla\CMS\Application\AdministratorApplication->doExecute() JROOT/libraries/src/Application/CMSApplication.php:196
12 Joomla\CMS\Application\CMSApplication->execute() JROOT/administrator/index.php:51

du you have any idea?
thanks, thomas

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

Error when saving new list entry 8 months 4 days ago #240931

  • TheMuffinMan's Avatar
  • TheMuffinMan
  • Offline
  • Developer
  • Developer
  • Posts: 10064
  • Karma: 167
  • Thanks: 807
Hi,

it works in php 7.2. The current version has been tested with it.

However, the issue you have is in some custom code of the "Details Prepare" section of the affected view. I assume there is some bit of code that is not working any longer and would need an update.

If you could post that code here, I can have a look.

Regards,
Markus

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

  • Page:
  • 1
Moderators: ForumSupport
Time to create page: 0.050 seconds

BreezingForms Pro 1.4.7 for WordPress Released!

Available in the membership section.

September Discount!

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!