Hi,
Got a cron job error telling me 'config.php' could not be found in 'source/modules/tasks.php on line 15'
I've chanced 'config.php' to '../config.php' and now it's working fine.
Thought you liked to know.
Ben.
Hi,
Got a cron job error telling me 'config.php' could not be found in 'source/modules/tasks.php on line 15'
I've chanced 'config.php' to '../config.php' and now it's working fine.
Thought you liked to know.
Ben.
Thanks for the tip Ben,
I am recoding the task manager so it is a lot more robust for the next version.
I will also move it out of the modules folder as it is buried a little deep in there.
I will try this anyway, to see if it fixes my problem as well.
I have got your email about this and I will look into it.
Tried changing the tasks.php to this:
// Include config file
require "../config.php";//Include functions
require "source/functions.php"ยด
But still getting these errors every time it runs:
PHP Warning: Module 'curl' already loaded in Unknown on line 0
PHP Warning: Module 'gd' already loaded in Unknown on line 0
PHP Warning: Module 'gmp' already loaded in Unknown on line 0
PHP Warning: Module 'mhash' already loaded in Unknown on line 0
PHP Warning: Module 'mysql' already loaded in Unknown on line 0
Hope you had a great holiday by the way.
I don't think these errors are caused by WebCards. They seem to be caused by PHP itself. WebCards doesn't actually load any of the modules. Have you tried running tasks.php directly. It should output the results.
How do i do that? i have contacted the server as well today about this and i think you are right. I will let you kno about this.
If it is browse to the link:
http://krillmeed.com/ecards/source/modules/tasks.php
Then all i am getting is a blank page HTTP 404
Just heard from the server, those errors are not the program, and do not effect the server. Nothin there to worry about.
I think I have this sorted now. I will be in touch by email for you to test it.
Good enough for me, great to see your on the ball.
I have moved the task manager out of the source folder and placed it in the root now. There should be fewer problems with incorrect paths and missing includes this way.
I noticed this with a new download in the members area. Is this ready for me to upgrade?
I may have jumped the gun abit, but after doing backups i tried it. Looks like it worked, for the last 2 weeks i have 3 cards to be sent in the database (Might be a nice future update were you can click on the number of cards to be sent to see which ones they are) I did this manually, and received this:
Results of Sending Cards =================== Total number of cards sent: 3 Number of cards unable to be sent: 0 Total number of database queries: 5 Database queries executed: SELECT * FROM wc_sent_cards WHERE card_status = 'pending' AND send_date < 1259594866 UPDATE wc_sent_cards SET card_status = 'sent' WHERE id='4cc064d177' LIMIT 1 UPDATE wc_sent_cards SET card_status = 'sent' WHERE id='a8f78c4e32' LIMIT 1 UPDATE wc_sent_cards SET card_status = 'sent' WHERE id='aa577b43a3' LIMIT 1 UPDATE wc_members SET fails=0, ban_exp=0 WHERE 1259594867 > ban_exp 0 cards expired
so it looks like it worked. I will edit my cron job and send myself a card to receive tomorrow. Quick addon here, one of the cards was to myself and it just arrived. Cool: Will let you know how the cronjob goes, and will make a new post about something else i have found, but could be because i jumped the gun as i said. Still i just love this program and considering how much it is being used i am not alone.
Got 2 emails today that the cron job was run and received the delayed ecards i sent myself. So thank you sir it works perfectly.
Been getting emails twice a day regular as clockwork. Works like a dream now.
Hello,
I use the WebCard Version 1.3
How do I set up a cronjob in version 1.3?
A task.php I have not found
Another Question
Is it from version 1.3 upgrade to 2.3?
Thanks
Sorry you cannot do a cronjob with the 1.3 version i believe. The 2.3 version is a new install not and upgrade, the 1.3 version is not supported anymore, but buyingthe 2.3 version is well worth it.
As krillmeed said, we no longer support version 1.3. It is old and outdated and the latest version has so many more features. Email me at chris.charlton@gmail.com if you need any more help.
Hello,
and which file is responsible for sending?
Greeting
I am closing this topic as we are no longer supporting the version of WebCards you are using. Please email me at chris.charlton@gmail.com.
This topic has been closed to new replies.