Welcome Guest ( Log In | Register )

 Forum Rules Joomla Scraper support
 
Reply to this topicStart new topic
> Cannot Redeclare Mb_ord
cardin
post Jul 21 2019, 10:13 AM
Post #1


Newbie
*

Group: Members
Posts: 14
Joined: 8-September 11
Member No.: 896



I am using Joomla Scraper 1.9.9.1 but it is now giving the following error message.

Fatal error: Cannot redeclare mb_ord() in /home/xxx/administrator/components/com_aggregator/controller.php on line 200

Developers are not responding. Someone plz help

Thanks
Go to the top of the page
 
+Quote Post
Web Design Seo
post Jul 22 2019, 07:56 AM
Post #2


Web Design Seo
****

Group: Root Admin
Posts: 4,161
Joined: 29-April 09
From: Sofia
Member No.: 1



Change function mb_ord in this way:

Код
if (!function_exists('mb_ord'))   {
function mb_ord($string)
{
    if (extension_loaded('mbstring') === true)
    {
        mb_language('Neutral');
        mb_internal_encoding('UTF-8');
        mb_detect_order(array('UTF-8', 'ISO-8859-15', 'ISO-8859-1', 'ASCII'));

        $result = unpack('N', mb_convert_encoding($string, 'UCS-4BE', 'UTF-8'));

        if (is_array($result) === true)
        {
                return $result[1];
        }
    }

    return ord($string);
}
}


And function mb_chr also:

Код
if (!function_exists('mb_chr'))   {
function mb_chr($string)
{
    return mb_html_entity_decode('&#' . intval($string) . ';');
}
}


--------------------
Правила на форума | Forum Rules | How to receive support. 3D Web Design: Уеб дизайн, Seo оптимизация, Web Site Extensions, Oscommerce Addons, Wordpress plugins and Joomla Extensions. Изработка на уеб сайтове и оптимизация на сайт за търсачки и Seo услуги.
Go to the top of the page
 
+Quote Post
cardin
post Jul 22 2019, 10:12 AM
Post #3


Newbie
*

Group: Members
Posts: 14
Joined: 8-September 11
Member No.: 896



Thanks. I did the changes. Now I am getting the following Warning..

"continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /home/xxxxxxxxxxxxxxxxxxxxxxxx/administrator/components/com_aggregator/controller.php on line 2816
Go to the top of the page
 
+Quote Post
Web Design Seo
post Jul 22 2019, 10:45 AM
Post #4


Web Design Seo
****

Group: Root Admin
Posts: 4,161
Joined: 29-April 09
From: Sofia
Member No.: 1



Warning not stopping php. Disable warning notifications and start using extension.


--------------------
Правила на форума | Forum Rules | How to receive support. 3D Web Design: Уеб дизайн, Seo оптимизация, Web Site Extensions, Oscommerce Addons, Wordpress plugins and Joomla Extensions. Изработка на уеб сайтове и оптимизация на сайт за търсачки и Seo услуги.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

Collapse

> Similar Topics

  Topic Replies Topic Starter Views Last Action
No new Cannot Add A New Rss Feed
5 directag 5,023 21st February 2011 - 08:17 AM
Last post by: Web Design Seo
No New Posts Cannot download my pruchase!
Purchase, no product
2 allegra 4,897 7th February 2010 - 12:07 PM
Last post by: 3D Web Design


 



RSS Lo-Fi Version Time is now: 19th October 2019 - 05:31 PM
Clicky Web Analytics