TOPIC:

Before form Code Joomla4, PHP8 1 month 2 hours ago #282181

  • Topic Author
  • Beatbahn
  • Offline
  • New Member
  • New Member
  • Registered
  • Posts: 4
  • Thanks: 0
Hello
Does anyone know how the code must look now with Joomla4?
Form parts
Before form
Code:
$this->execPieceByName('ff_InitLib');

$mycode= JRequest::getVar('pk');
ff_setValue('product' , $mycode );
$mycode= JRequest::getVar('pi');
ff_setValue('price' , $mycode );
$mycode= JRequest::getVar('do');
ff_setValue('domain' , $mycode );
$mycode= JRequest::getVar('do');
ff_setValue('cf_domain' , $mycode );
$mycode= JRequest::getVar('pr');
ff_setValue('price_domain' , $mycode );

Would be very glad for help

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

Before form Code Joomla4, PHP8 1 month 15 minutes ago #282184

  • Eddy.vh's Avatar
  • Eddy.vh
  • Away
  • Platinum Member
  • Platinum Member
  • Registered
  • Posts: 893
  • Thanks: 153
Hi,

Replace all JRequest with BFRequest.

Regards,
Eddy

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

Before form Code Joomla4, PHP8 3 weeks 6 days ago #282186

  • Topic Author
  • Beatbahn
  • Offline
  • New Member
  • New Member
  • Registered
  • Posts: 4
  • Thanks: 0
Hello Eddy
Thanks for your effort.
Unfortunately this does not work.
It gives a 500 server error.

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

Before form Code Joomla4, PHP8 3 weeks 6 days ago #282187

  • Eddy.vh's Avatar
  • Eddy.vh
  • Away
  • Platinum Member
  • Platinum Member
  • Registered
  • Posts: 893
  • Thanks: 153
Hi,

Hmmm, its strange, show here
With Joomla4, new BF and PHP8 JRequest must be changed to BFRequest.

Markus will give his opinion when he comes across your message!

Nice weekend
Eddy

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

Before form Code Joomla4, PHP8 1 week 3 days ago #282437

  • TheMuffinMan's Avatar
  • TheMuffinMan
  • Offline
  • Administrator
  • Administrator
  • Super Users
  • Posts: 10544
  • Thanks: 859
Hi,

error 500 usually means php error. What would help is if you could find the php_error.log Your hosting provider should provide information where you can find it. Then please repeat this error and try to find it in the logs.

Additionally make sure that if you use custom php scripts at some other places to adjust them, too. That would also hold true if you use "JFactory::getDbo()". If you are using this anywhere, please replace these with "BFFactory::getDbo()".

Regards,
Markus

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

Before form Code Joomla4, PHP8 1 week 2 days ago #282456

  • Topic Author
  • Beatbahn
  • Offline
  • New Member
  • New Member
  • Registered
  • Posts: 4
  • Thanks: 0
Hello Markus

Thanks a lot
Attached the error message 500

Access 178.******204 POST /mod_pagespeed_beacon?url=https%3A%2F%2Fwww.emmehosting.ch%2F HTTP/1.1 www.emmehosting.ch/ Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.0.0 Safari/537.36 OPR/96.0.0.0 290 SSL/TLS-Zugriff für Apache
2023-03-15 19:25:59
Error 178.1****** 500 GET /bestellungdomain HTTP/1.1 Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.0.0 Safari/537.36 OPR/96.0.0.0 21.8 K SSL/TLS-Zugriff für Apache
2023-03-15 19:26:00
Error 178.197.****** AH01071: Got error 'PHP message: PHP Fatal error: Array and string offset access syntax with curly braces is no longer supported in /var/www/vhosts/emmehosting.ch/httpdocs/components/com_breezingforms/facileforms.process.php(1252) : eval()'d code on line 6'

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

  • Page:
  • 1
Moderators: ForumSupport
Time to create page: 0.061 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!