Elxis CMS Forum

Extensions => Components => Topic started by: cfb1972 on October 11, 2010, 00:40:56

Title: Marketplace error
Post by: cfb1972 on October 11, 2010, 00:40:56
Guys, I've got this problem with this component: when I try to add a item it show something like that

Fatal error: Call to undefined method eUTF::utf8_strlen_substr() in /home/blablabla/public_html/components/com_marketplace/recent5.php on line 154


and the webpage is trucated.

Can anyone with much more knowledge than me to help?
Title: Re: Marketplace error
Post by: speck on October 11, 2010, 22:30:35
I've tested in front end but i have no error.
Can you tell me which elxis version u use, and php version?
Send me in private the link of your site. thanks
Title: Re: Marketplace error
Post by: datahell on October 11, 2010, 22:59:15
Speck look at this file: components/com_marketplace/recent5.php
eUTF::utf8_strlen_substr does not exist, it should be either eUTF::utf8_strlen or eUTF::utf8_substr
Title: Re: Marketplace error
Post by: cfb1972 on October 12, 2010, 01:44:28
My website is http://zimbrul.net and you can see the marketplace component under "Anunturi UK". Try to add some ads and you'll see how it crashes  :-\...any help?
Title: Re: Marketplace error
Post by: speck on October 12, 2010, 09:14:19
Speck look at this file: components/com_marketplace/recent5.php
eUTF::utf8_strlen_substr does not exist, it should be either eUTF::utf8_strlen or eUTF::utf8_substr
;D is the old version (ivan)  ;D
my line 150  echo eUTF::utf8_substr( $mes->ad_headline, 0, 27)."...";  (something from your extensions i learned  :) )


My website is http://zimbrul.net and you can see the marketplace component under "Anunturi UK". Try to add some ads and you'll see how it crashes  :-\...any help?

go in components/com_marketplace and open the file "recent5.php" and modify the line 154
echo eUTF::utf8_strlen_substr( $mes->ad_headline, 0, 27)."...";
in
echo eUTF::utf8_substr( $mes->ad_headline, 0, 27)."...";

or use the new version, is multilanguage, and you have also many extensions to use with the component.

http://www.elxis-downloads.com/it/downloads/ad-management/226.html
Title: Re: Marketplace error
Post by: cfb1972 on October 12, 2010, 12:55:11
Thanks, I ll try :-)
Title: Re: Marketplace error
Post by: cfb1972 on October 12, 2010, 18:56:59
If I use the new version how do I upgrade existing verssion without loosing some data already there?

Thanks,

Bob
Title: Re: Marketplace error
Post by: speck on October 12, 2010, 19:51:20
There's no possibility to upgrade because I added many fields and the two versions are completely different :(
Title: Re: Marketplace error
Post by: cfb1972 on October 12, 2010, 23:03:05
I've just installed the componetent, it works in terms to add adverts but I cannot see anything on the page unless I'm going to RSS and open it from there. Am I missing something?
Title: Re: Marketplace error
Post by: speck on October 12, 2010, 23:57:16
Before to defining categories and insert add, you must configure the component and save, otherwise you not have the primary language. This is very important.
After this it will work right.  ;)
Title: Re: Marketplace error
Post by: cfb1972 on October 13, 2010, 09:29:05
I think I did this anyway...still not showing.
Please see attached a screenshot of what I've done.

[attachment deleted by admin]
Title: Re: Marketplace error
Post by: speck on October 13, 2010, 12:06:52
I sent to u a private message. don't read it for the moment
can u create for me an administrator access? if yes send me the access by pm that i want see how u configures the component