By Danilo on Friday, 25 November 2016
Posted in Technical Issues
Likes 0
Views 894
Votes 0
Hi,
my provider doesn't support wget.

They suggest:

wget is not supported on our servers for shared hosting. As an alternative you could use PHP's cURL library. Here is an example of its basic usage for access to a website URL:

<?php

$ch = curl_init("http://www.example.com/phpinfo.php");
$fp = fopen("example_homepage.txt", "w");

curl_setopt($ch, CURLOPT_FILE, $fp);
curl_setopt($ch, CURLOPT_HEADER, 0);

curl_exec($ch);
curl_close($ch);
fclose($fp);
?>

What can I do?

Tnx a lot
Danilo
Hey there,

Can you provide us with your Cpanel access so I can better have a test?
·
Friday, 25 November 2016 10:52
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Arlex,
site details updated.
Tnx
Danilo
·
Friday, 25 November 2016 15:00
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey there,

Can you consult with your webhosting provider provide us one of the php execute path?

For example :

php -q /var/www/vhosts/xxx/httpdocs/components/com_easysocial/cron.php


Since you already mentioned that your hosting do not have support wget so we have to use php file execute to process the cronjob.

Because I did tried a few command but this is your server show me the response :

/usr/local/cpanel/bin/jailshell: /usr/bin/curl: Permission denied
·
Friday, 25 November 2016 22:53
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Arlex,
this what they say:
The path you can use for cronjob is example:
/usr/local/bin/php /home/cpuser/public_html/your-script.php

cpuser is the name of your hosting account.

You can use /usr/local/bin/php and then the full path to your script.


Tnx
Danilo
·
Monday, 28 November 2016 12:12
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Danilo,

It seems like that is not working if I execute the php script.

BY the way, I have enabled this 'Send E-mails On Page Load' from your site backend, it will automatically send out the email when the user access your site, can you give it a check?
·
Monday, 28 November 2016 18:37
·
0 Likes
·
0 Votes
·
0 Comments
·
HI Arlex,
how exactly works?

1) userA send private message to userB

when arrive email to userB?

Tnx
Danilo
·
Monday, 28 November 2016 19:05
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Danilo,

I am sorry for the delay of this reply,

System will send out those email to your userB when some one access one of your Easysocial page.

By the way, I still investigate why that php script is not working.
·
Tuesday, 29 November 2016 20:23
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Danilo,

I am really sorry for the delay of this reply,

I've troubleshoot again and applied some fix in this file JoomlaRootFolder/components/com_easysocial/cron.php

And I already disabled this option 'Send E-mails On Page Load' from backend setting.

It should automatically send out email now every 5 minute.

Can you give it a check?
·
Wednesday, 21 December 2016 16:39
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Arlex,
sorry for the delay. Now is ok.

Bye Danilo
·
Thursday, 16 February 2017 17:31
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi there,

You are most welcome. Glad to hear that your issue has been resolved now.

As a gentle reminder, kindly start a new thread if you have any other issue in the future so it will be easier for us to manage your inquiry. I will lock and mark this thread as resolved.
·
Thursday, 16 February 2017 18:43
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post