Please read and follow the COMMON ISSUES first!
Always add your version information in every new post! Thank you!

Form2Content Forum

Questions and answers for Form2Content, a Joomla CCK.
  1. Rudolf Baláš
  2. Form2Content Lite & Pro
  3. Monday, November 14 2016, 10:01 PM
  4.  Subscribe via email
Hi Patrick,

i found bug in f2csef.php for joomla with ajax

.../component/ajax

without Artio SEF:

RuposTel OPC plugin detected a problem with your site.
Your site caused a blank screen upon a visit of this URL:
http://www.konopie-zdrowie.pl/component/ajax/
Error message data:
1 Class 'ContentHelperRoute' not found in file: /data/www/konopie-zdrowie.pl/public_html/plugins/system/f2csef/f2csef.php line: 38 timestamp: 2016-11-14T21:35:59+00:00


So I add new line code before


for ($i=0; $i < count($matches[0]); $i++)


Finally update code is:


//Find all instances of plugin and put in $matches
preg_match_all('/{plgContentF2cSef}(.*){\/plgContentF2cSef}/iU', $buffer, $matches);

if(!class_exists('ContentHelperRoute')) require_once (JPATH_SITE . '/components/com_content/helpers/route.php'); //easy

for ($i=0; $i < count($matches[0]); $i++)



Thanks

Rudolf
Accepted Answer
Julien Accepted Answer Pending Moderation
Hello Rudolf,

Thanks for your fix! We will apply this in a new release.

best,
Julien
Responses (3)
F2C webmaster Accepted Answer Pending Moderation
Hi Rudolf,

We are working hard on a new F2C release with many changes. At the same time Joomla keeps throwing stuff at us. I will ask Julien if he can give priority to the SEF system plugin.

Please do let me know which routing system you are using!

Regards,
Patrick
Please read the F2C documentation before asking questions! Thank you if you've done so ;)
Rudolf Baláš Accepted Answer Pending Moderation
Hi Patrick,

is any news with new version plugin F2csef.php?

Yeasterday we upgraded new eshop from J3.6 to J3.8 and plugin is version 1.0.0 still :(

And client reported error:

Fatal error: Class 'ContentHelperRoute' not found in
/data/www/http://kosmetika-norma.easy.minion.cz/public_html/plugins/system/f2csef/f2csef.php

again nad again...

Do you have a new version for download?

Thanks

Rudolf
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.