Welcome, Guest
Username: Password: Remember me

TOPIC: php Problem

php Problem 9 years 1 week ago #2011

hi,
i have a Problem to sent to Facebook, after sent i get this error massage:
Fatal error: utf8_strpos: Offset must be an integer in /var/www/lunanet2/go-krefeld.de/libraries/phputf8/native/core.php on line 67

What can i do?
Thx a lot!
Last Edit: 9 years 1 week ago by krefeldpinguin.
The administrator has disabled public write access.

php Problem 9 years 1 week ago #2014

  • Super User
  • Super User's Avatar
  • OFFLINE
  • Administrator
  • Posts: 3519
  • Thank you received: 278
  • Karma: 65
Hello
I think you need contact to your provider hostting and tell the problem. Because your hosting current is not support this function strpos in joomla and you can see it here: stackoverflow.com/questions/10255831/fatal-utf8-strpos-error
And in my component we change JString::strpos of joomla to strpos of php and now it work fine. you can check it
You can see code we changed in line 153, 199
$metadesc = substr($metadesc, 0, $limit_description);
in file: administrator/components/com_joautofacebook/helpers/joautofacebook.php
Best regards
Bach Pham
Last Edit: 9 years 1 week ago by Super User.
The administrator has disabled public write access.
Time to create page: 0.040 seconds