By Rob on Sunday, 06 July 2014
Posted in General Issues
Replies 16
Likes 0
Views 841
Votes 0
Hello,

Please look at this page when you have a chance:

http://techlick.com/index.php/techlick/cnet/19057-when-you-fly-a-drone-into-fireworks%2C-it-s-quite-beautiful

It appears word wrap is not working properly. And when I put a margin in my CSS it is not applied:

margin: 0px 20px 15px;

It also appears that only the CNET feed is causing that issue. Could you help thank you.

Regards,
Rob
Hi Rob,

We already inspected your site, and from our inspection, we figured out that there is a Bootstrap classname [.row] that causing this issue, see the screenshot here: http://screencast.com/t/VLc44zF4iP

Can you share with us how do you get the CNET content to be posted here? We also would love to have an access to your site as we can investigate the content of the blog post and we believed that the classname [.row] can be handled through EasyBlog's Editor.

Hope this will help, please advice and let us know if you need further assistance. Thank you.
·
Monday, 07 July 2014 11:05
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Ikram,

Thank you for your reply and I have included the information you request. The CNET comes through on a RSS feed through EasyBlog. But the thing is that it is only that a couple of posts. There are a few posts that don't bring over the complete photos but there must have been a glitch.

Also could I ask about the CRON. Are you familiar with setting up a cron tab on a CentOS VPS? Or do you recommend an internal Joomla extension that could run the CRON?

Thank you.

Regards,
Robert
Rob
·
Monday, 07 July 2014 11:16
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Rob,

We already checked the blog post, and by removing the classname, the display of the blog post is normal again.

We also checked the other post that came from CNET through this category: http://techlick.com/index.php/techlick/cnet/categories/3-cnet and all other blogs display looks fine. So we believed that you should update some of the blog content a little bit to make them display properly. No worries, we are here to help and guide if you have any trouble on the styling.

Regarding the CRON setting, I will get our best guy to respond on this issue in a little while.

Hope this will help, please advice. Thank you.
·
Monday, 07 July 2014 11:48
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Rob,

Are you trying to setup cron in a terminal? If that's so, you can just run the following commands

1. export EDITOR="nano"
2. crontab -e
3. Insert the codes below,

*/5 * * * * /path/to/wget -O /dev/null "http://yoursite.com/index.php?option=com_easyblog&task=cron";

Replace the domain with your site's domain and replace /path/to/wget with the absolute path. You can get the correct path by typing the command below:


which wget
·
Monday, 07 July 2014 11:53
·
0 Likes
·
0 Votes
·
0 Comments
·
You guys rock! This is the best place in the Universe I will check to see if the cron ran in the morning but thank you again! It has been a great day!

Have a great week Mark and Ikram.

Regards,
Rob
Rob
·
Monday, 07 July 2014 11:57
·
0 Likes
·
0 Votes
·
0 Comments
·
You are most welcome Rob
·
Monday, 07 July 2014 12:07
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello,

I edited the cron and it appears to be running but the RSS feeds are not being posted:

[root@revehost ~]# tail -f /var/log/cron
Jul 7 08:59:52 revehost crontab[20552]: (root) REPLACE (root)
Jul 7 08:59:52 revehost crontab[20552]: (root) END EDIT (root)
Jul 7 09:00:01 revehost crond[1300]: (root) RELOAD (/var/spool/cron/root)
Jul 7 09:00:01 revehost CROND[20560]: (root) CMD (/usr/bin/wget -O /dev/null "http://techlick.com/index.php?option=com_easyblog&task=cron"
Jul 7 09:01:01 revehost CROND[20580]: (root) CMD (run-parts /etc/cron.hourly)
Jul 7 09:01:01 revehost run-parts(/etc/cron.hourly)[20580]: starting 0anacron
Jul 7 09:01:01 revehost run-parts(/etc/cron.hourly)[20589]: finished 0anacron

Jul 7 09:01:01 revehost run-parts(/etc/cron.hourly)[20580]: starting awstats
Jul 7 09:01:01 revehost run-parts(/etc/cron.hourly)[20599]: finished awstats
Jul 7 09:30:01 revehost CROND[20949]: (root) CMD (/usr/bin/wget -O /dev/null "http://techlick.com/index.php?option=com_easyblog&task=cron"

*/30 * * * * /usr/bin/curl -O /dev/null "http://techlick.com/index.php?option=com_easyblog&task=cron";


My host mentioned that maybe if I used curl it would work. But I have tried curl and wget and still it appears to run but no feeds are posted.

Regards,
Rob
Rob
·
Monday, 07 July 2014 23:12
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Rob,

Since you have access to the server, perhaps if you can provide us with the access to the shell and I'll set this up for you
·
Tuesday, 08 July 2014 01:37
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Mark,

I am a complete noob when it comes to shell access. I am just learning this since coming from a CPanel environment and there is a lot to learn. I am thinking that I would just create you as a user through putty. Could you give me a little time to figure this out. I appreciate your reply as always.

Regards,
Rob
Rob
·
Tuesday, 08 July 2014 01:49
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Rob,

It's pretty easy actually to create a new user but I actually need the root user to run the cron :P You can change the password easily later and I'll guide you through it
·
Tuesday, 08 July 2014 02:04
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Mark,

I use SSH to login to the server with a private key. I appreciate your help as always and I am trying to setup you as a user with root privs so you can sudo.

This is what I have listed in my crontab:

Last login: Mon Jul 7 14:28:12 2014 from 70.15.58.30.res-cmts.pbg.ptd.net
[root@revehost ~]# crontab -e
SHELL=/bin/bash
HOME=/
#CRON to run EasyBlog every 30 minutes
MAILTO="cronmatic@gmail.com"
*/30 * * * * /usr/bin/curl -O /dev/null "http://techlick.com/index.php?option=com_easyblog&task=cron";

Looks good?

Regards,
Rob
Rob
·
Tuesday, 08 July 2014 08:46
·
0 Likes
·
0 Votes
·
0 Comments
·
Yes, it does seem to be correct provided that curl is in the correct location.
·
Tuesday, 08 July 2014 15:15
·
0 Likes
·
0 Votes
·
0 Comments
·
Yes I just checked and curl is in the right position but the feeds are still not be posted even though the cron is running.

Jul 8 08:00:01 revehost CROND[2595]: (root) CMD (/usr/bin/curl -O /dev/null "http://techlick.com/index.php?option=com_easyblog&task=cron"
Jul 8 08:01:01 revehost CROND[2608]: (root) CMD (run-parts /etc/cron.hourly)
Jul 8 08:01:01 revehost run-parts(/etc/cron.hourly)[2608]: starting 0anacron
Jul 8 08:01:01 revehost run-parts(/etc/cron.hourly)[2617]: finished 0anacron


Could it be because my server is setup as revehost.com and my website that has easyblog installed is techlick.com?
Rob
·
Tuesday, 08 July 2014 20:02
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Rob,

Ah, if you are looking at setting up cronjob for feeds, you need to create another cron and the URL should be http://techlick.com/index.php?option=com_easyblog&task=cronfeed
·
Wednesday, 09 July 2014 00:07
·
0 Likes
·
0 Votes
·
0 Comments
·
Okay Mark I will give it a try - thank you!
Rob
·
Wednesday, 09 July 2014 00:15
·
0 Likes
·
0 Votes
·
0 Comments
·
You are most welcome
·
Wednesday, 09 July 2014 00:48
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post