Error when saving new list entry

  • mvanderkruk
  • Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 14
  • Thank you received: 0

mvanderkruk created the topic: Error when saving new list entry

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 ?
#233048
  • Posts: 2154
  • Karma: 67
  • Thank you received: 264

DarkoCujic replied the topic: Error when saving new list entry

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!
#233051
  • mvanderkruk
  • Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 14
  • Thank you received: 0

mvanderkruk replied the topic: Error when saving new list entry

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.
#233055
  • Posts: 2154
  • Karma: 67
  • Thank you received: 264

DarkoCujic replied the topic: Error when saving new list entry

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!
#233067
  • Posts: 3
  • Thank you received: 0

pofesor replied the topic: Error when saving new list entry

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
#240883
  • TheMuffinMan
  • TheMuffinMan's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 8404
  • Karma: 164
  • Thank you received: 669

TheMuffinMan replied the topic: Error when saving new list entry

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

===========================
If you are happy, please leave us a small review here to keep us motivated:
(Please turn off your VPN and local Apache prior reviewing as your review might get blocked)

⭐⭐⭐⭐⭐ BreezingForms: extensions.joomla.org/extension/contacts...orms/breezing-forms/
⭐⭐⭐⭐⭐ ContentBuilder: extensions.joomla.org/extension/authorin...tion/contentbuilder/

===========================
Satisfied?
Get a membership!
===========================
#240931
Moderators: ForumSupport
Time to create page: 0.054 seconds

We Are Doing Our Part

Massive discounts on all of our extension subscription plans to help you and your business in these times.

Get Your Subscription Here

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!

News and Updates

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

All Extensions Subscription

We are doing our part and support your business with extremely low prices -- For example 6-Months-Subscription for only $9 USD. For as long as necessary.

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!