Elxis CMS Forum

Support => General => Topic started by: xmanhattan on February 03, 2017, 12:16:11

Title: mikro blog twitter feeds
Post by: xmanhattan on February 03, 2017, 12:16:11
Hello all,

While still experimenting with the component mikro and twitter using wamp localhost, I noticed that after entering a @username1 and then changing it to another @username2, the localhost/mikro front page continues to display feeds from @username1.

Is there a cache for mikro and / or how to clean it for testing or production purposes?
Title: Re: mikro blog twitter feeds
Post by: datahell on February 03, 2017, 14:26:04
Mikro adds collected data into the database and also uses a timer that sets the refresh frequency. To force Mikro collector new data from remote sources reset the timer file.

Open components/com_mikro/includes/timer.php and set the contents to this:

<?php
$lastcheck = array(
't1' => 0,
't2' => 0,
't3' => 0,
'r1' => 0,
'r2' => 0,
'r3' => 0
);
?>
Title: Re: mikro blog twitter feeds
Post by: xmanhattan on February 03, 2017, 15:27:27
Hello Datahell,

Did that but the twitter feeds still appeared even after I deleted the cache.
I also clicked on RESET STATISTICS under Mikro Statistics but that had no effect except to remove them from the statistics.

Then I called http://localhost/mikro/ (http://localhost/mikro/) and finally new feeds were displayed after a long break in time.

I noticed that the old feeds are in the database table under xma_mikro_msgs.
Are the rss and twitter feeds in the database table xma_mikro_msgs deleted automatically after sometime?
Just curious.