TOPIC:

Hidden input on PHP 8.0.13 gives Undefined constant "FF_DIE" 10 months 2 weeks ago #273663

  • Topic Author
  • eek929
  • Offline
  • Junior Member
  • Junior Member
  • Registered
  • Posts: 21
  • Thanks: 0
Good day I have a hidden input in an form witch gives an tracking code but the form won't load and I get the error page with Undefined constant "FF_DIE" but when I remove the hidden input the form works. and when I set it back to PHP 7.4.26 it works

The code I have in the Value for the code is:
<?php $this->execPieceByName('ff_selectValue'); $value = ff_selectValue("SELECT count(*) FROM #__facileforms_records where form=8"); $value = ($value + 1); return $value; ?>

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

Hidden input on PHP 8.0.13 gives Undefined constant "FF_DIE" 10 months 2 weeks ago #273666

  • tihana.krivic's Avatar
  • tihana.krivic
  • Offline
  • Moderator
  • Moderator
  • Registered
  • Posts: 12079
  • Thanks: 780
Hi,

could you please send me login information, backend link and ftp access that I can check it?

Use this tag:
[confidential]
[/confidential]
Please use php 8, that I can find a problem

Regards,
Tihana

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

Hidden input on PHP 8.0.13 gives Undefined constant "FF_DIE" 10 months 2 weeks ago #273669

  • Topic Author
  • eek929
  • Offline
  • Junior Member
  • Junior Member
  • Registered
  • Posts: 21
  • Thanks: 0
Hi thanks but this is still a local install not in production yet so no access from outside. I can send the form if that can help?

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

Last edit: Post by eek929.

Hidden input on PHP 8.0.13 gives Undefined constant "FF_DIE" 10 months 2 weeks ago #273671

  • tihana.krivic's Avatar
  • tihana.krivic
  • Offline
  • Moderator
  • Moderator
  • Registered
  • Posts: 12079
  • Thanks: 780
Hi,

Could you please go to system-global configuration-system-debug -set to yes and in system-global config-server-error reporting set to default?
Then test again and let me know the full line of error :)

Regards,
Tihana

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

Hidden input on PHP 8.0.13 gives Undefined constant "FF_DIE" 10 months 2 weeks ago #273673

  • Topic Author
  • eek929
  • Offline
  • Junior Member
  • Junior Member
  • Registered
  • Posts: 21
  • Thanks: 0
Hope it helps:

# Function Location
1 () JROOT\components\com_breezingforms\facileforms.process.php(1245) : eval()'d code:1
2 ff_selectValue() JROOT\components\com_breezingforms\facileforms.process.php(1245) : eval()'d code:1
3 eval() JROOT\components\com_breezingforms\facileforms.process.php:1245
4 HTML_facileFormsProcessor->execPiece() JROOT\components\com_breezingforms\facileforms.process.php:1287
5 HTML_facileFormsProcessor->replaceCode() JROOT\administrator\components\com_breezingforms\libraries\crosstec\classes\BFQuickMode.php:1245
6 BFQuickMode->process() JROOT\administrator\components\com_breezingforms\libraries\crosstec\classes\BFQuickMode.php:2321
7 BFQuickMode->process() JROOT\administrator\components\com_breezingforms\libraries\crosstec\classes\BFQuickMode.php:2321
8 BFQuickMode->process() JROOT\administrator\components\com_breezingforms\libraries\crosstec\classes\BFQuickMode.php:2321
9 BFQuickMode->process() JROOT\administrator\components\com_breezingforms\libraries\crosstec\classes\BFQuickMode.php:2395
10 BFQuickMode->render() JROOT\components\com_breezingforms\facileforms.process.php:4102
11 HTML_facileFormsProcessor->view() JROOT\components\com_breezingforms\breezingforms.php:549
12 require_once() JROOT\libraries\src\Component\ComponentHelper.php:402
13 Joomla\CMS\Component\ComponentHelper::executeComponent() JROOT\libraries\src\Component\ComponentHelper.php:377
14 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT\libraries\src\Application\SiteApplication.php:194
15 Joomla\CMS\Application\SiteApplication->dispatch() JROOT\libraries\src\Application\SiteApplication.php:233
16 Joomla\CMS\Application\SiteApplication->doExecute() JROOT\libraries\src\Application\CMSApplication.php:225
17 Joomla\CMS\Application\CMSApplication->execute() JROOT\index.php:49

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

Hidden input on PHP 8.0.13 gives Undefined constant "FF_DIE" 10 months 2 weeks ago #273681

  • tihana.krivic's Avatar
  • tihana.krivic
  • Offline
  • Moderator
  • Moderator
  • Registered
  • Posts: 12079
  • Thanks: 780
Hi,

could you please populate value of hidden input like this:
<?php
$db = JFactory::getDBO();
$db->setQuery("SELECT count(*) FROM #__facileforms_records where form=8");
return $db->loadResult()+1;
?>

Regards,
Tihana

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

  • Page:
  • 1
  • 2
Moderators: ForumSupport
Time to create page: 0.059 seconds

Support Chat

Join our Discord chat and enter the Crosstec channels for live-support, chat forums and interact directly with the community!

After joining, please enter the Crosstec Area and use the #crosstec-support or #crosstec-general channels.

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

Subscribe to news and updates!

Special Offer

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!

Live Support Chat Opened!

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