PDA

View Full Version : Sposored Cron


shelly
03-17-2007, 11:16 PM
Hi has anybody got sposored cron working??

I have tried with these 2 paths?

/usr/bin/php /home/shelly/public_html/mysite/cron/sponsored.php

and

php /home/shelly/public_html/mysite/cron/sponsored.php

but both paths give me the error:

X-Powered-By: PHP/4.4.4
Content-type: text/html

<br />
<b>Warning</b>: main(/includes/compat.inc.php) [<a href='function.main'>function.main</a>]: failed to open stream: No such file or directory in <b>/home/shelly/public_html/mysite/includes/config.inc.php</b> on line <b>108</b><br />
<br />
<b>Warning</b>: main(/includes/compat.inc.php) [<a href='function.main'>function.main</a>]: failed to open stream: No such file or directory in <b>/home/shelly/public_html/mysite/includes/config.inc.php</b> on line <b>108</b><br />
<br />
<b>Warning</b>: main() [<a href='function.include'>function.include</a>]: Failed opening '/includes/compat.inc.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in <b>/home/shelly/public_html/mysite/includes/config.inc.php</b> on line <b>108</b><br />

Thanks

Shelly

shelly
03-18-2007, 12:06 AM
Being a newbie to the script

besides sposored cron - is there another way to be notified of sponsored link expiry etc

manually check them all? %)

how do you guys do it that have been going for awhile now?

any help/advice would be appreciated

Many thanks

Shelly

Sergey Ten
03-19-2007, 07:20 AM
Hello Shelly,

Please send me your FTP details via PM.

shelly
04-04-2007, 01:27 AM
Hi

I have installed patch 2.1.03 and sponsored cron is now working

when the plan has expired the link becomes suspended - that is fine that is what I want:)

but no email is sent to the user telling them the link is about to expire?

everything is setup in admin to enable this - but nothing is sent.

Is there a fix for this please?

Thanks

Shelly

Sergey Ten
04-04-2007, 06:14 AM
Hello Shelly,

There is new cron jobs file in the folder includes/cron.php

shelly
04-04-2007, 03:51 PM
Yes Sergey

I know there is a new file

Please read my post again?:(

I have patch 2.1.03 and sponsored cron is working except sponsored cron does not send an email notifying the user that their link is about to expire

Shelly

John Turner
04-05-2007, 09:53 AM
Hi shelly,

Does your email functionality work?
Also please check email settings.

shelly
04-05-2007, 04:22 PM
Hi shelly,

Does your email functionality work?
Also please check email settings.

Hi John

Yes all my email functions work ok

except for the sponsored cron email

sponsored cron itself works ok except for the notify email

and yes everything is set in Admin to allow it

I have it set to notify 1 day before expiration and enabled

Thanks

Shelly

John Turner
04-06-2007, 08:47 AM
Shelly,

Please provide me with your FTP credentials, I'll try to help.
And I'll post results here.