Welcome, Guest
Username: Password: Remember me

TOPIC: how to change frontpage settings

how to change frontpage settings 3 years 1 month ago #593

  • aretai
  • aretai's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 10
  • Thank you received: 1
  • Karma: 0
Spotted a few errors, which were producing something like:
Notice:  Uninitialized string offset: 2 in .../modules/mod_evo_frontpage/helper.php on line 421

Notice:  Uninitialized string offset: 2 in .../modules/mod_evo_frontpage/helper.php on line 421

Notice:  Uninitialized string offset: 2 in .../modules/mod_evo_frontpage/helper.php on line 421

Notice:  Uninitialized string offset: 0 in .../modules/mod_evo_frontpage/helper.php on line 421

Notice:  Uninitialized string offset: 0 in .../modules/mod_evo_frontpage/helper.php on line 421

Notice:  Uninitialized string offset: 0 in .../modules/mod_evo_frontpage/helper.php on line 421

To get rid of first 3 I changed code
while (!($strip[$n]==" " && $n>$limit) && $n < strlen($strip)) $n++;
to
while (!($strip[$n]==" " && $n>$limit) && $n < strlen($strip) - 1) $n++;

How to get rid of the other three errors?

Fixed that with:
Initialization of
$strip = " ";
and checking for array:
if(is_array($strip)){
Last Edit: 3 years 1 month ago by aretai.
The administrator has disabled public write access.
The following user(s) said Thank You: adoadop

how to change frontpage settings 3 years 1 month ago #595

  • Pacificador
  • Pacificador's Avatar
  • OFFLINE
  • Administrator
  • Posts: 444
  • Thank you received: 46
  • Karma: 10
Hi Aretai,

Well, it's not an error as it's only a Notice. An error would be a Warning.

It's a known issue. It's due to a code I inserted to do it more compatible with special characters languages. If you want to "solve" that Notice, you should delete only these lines inside helper.php:
// Special characters languages
$n=0;
while (!($strip[$n]==" " && $n>$limit) && $n < strlen($strip)) $n++;
$limit=$n;
// Special characters languages


Best regards!
Please, if you like EVO frontpage and have resolved all your questions, submit a rating at Joomla! Extensions Directory.

It will help me to continue working gladly. Thank you.
The administrator has disabled public write access.

how to change frontpage settings 1 year 2 months ago #928

  • adoadop
  • adoadop's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 1
  • Thank you received: 1
  • Karma: 0
aretai

You are great , super , thanks you very much.

Best regards
The administrator has disabled public write access.
The following user(s) said Thank You: Pacificador
Time to create page: 0.094 seconds
TOP