× If you expect answers you should describe your problem and give as much information's as possible. (SQL-Structure, Template Code, Joomla Version ...) Please read this before posting: joodb.feenders.de/support.html

Catalog view

14 years 3 months ago #67 by
Catalog view was created by
Hi - I get the following error from a new database link: Warning: strpos() [function.strpos]: Offset not contained in string in C:\xampp\htdocs\joomla15\components\com_joodb\helpers\joodb.php on line 124
A second link I have works fine. I'm new to Joodb and would appreciate any suggestions. The database looks fine in MySQL - just two fields - C_Id & Country

Please Log in to join the conversation.

  • devinthayer
14 years 3 months ago #78 by devinthayer
Replied by devinthayer on topic Re:Catalog view
I get this same error.
Warning: strpos() [function.strpos]: Offset not contained in string in ...components/com_joodb/helpers/joodb.php on line 124
I looked at the line...
$len = strpos($text," ",$maxlen);
How should I fix it?

Please Log in to join the conversation.

  • iftee
13 years 9 months ago #139 by iftee
Replied by iftee on topic Re:Catalog view
Add this code just before the the mentioned line and it should work
if (strlen($text) <= $maxlen) $maxlen = strlen($text);

Please Log in to join the conversation.

  • iftee
13 years 9 months ago #141 by iftee
Replied by iftee on topic Re:Re:Catalog view

this needs to be done in /httpdocs/components/com_joodb/helpers/joodb.php






[iftee 2010-07-30 01:15:44]:



Add this code just before the the mentioned line and it should work
if (strlen($text) <= $maxlen) $maxlen = strlen($text);


Please Log in to join the conversation.

Moderators: Dirkjoest