Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Major
-
Resolution: Fixed/Completed
-
Affects Version/s: 4.7.1
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
-
Documentation Required?:None
-
Funding Source:Needs Funding
Description
I have no clue what I am doing wrong, or if theres something wrong with CIVICRM any assistance will be greatly appreciated. I hope this makes sense.
I installed CIVICRM, cleared all the system configuration errors except I cant seem to run a Cron Job. I am not sure whats going on. Hosting is with Godaddy and I have spoken with tech support. Tech support looked at my Cron Job String and saw no issues with privileges to the database, or URL string used to run the Cron Job Manually, and Godaddy cant seem to understand why the Cron Job isnt going through either. Running Cron Jobs (calling the cron.php file) seems pretty straight forward. I am now going to give as much information and background as I can.
In the URL string to do a manual Cron Job I have tried the following.
I have checked my user name and password for the database as well as checked my site-key listed in civicrm.settings.php. I also changed the site-key and included it in the URL string with no success of reaching a solution to this. Since changing the site-key didnt help I then restored the original site-key. In all attempts to rule out that as being the issue retried the URL string with the different site-keys as I changed and restored them.
Thinking perhaps my database username wasnt the correct username for CIVICRM I also tried using the website login username and password in the URL for a manual Cron Job and still no success. The URL string I am inputting gives direct path to the cron.php file.
+Additional details:
-Installed with wordpress
-Downloaded CIVICRM from CIVICRM website,and uploaded into plugins.
-Did an CIVICRM upgrade ( wordpress civicrm version was out dated).
-Configured CIVICRM according to CIVICRM Book.
-Attempted to schedule jobs/tasks (following instructions from this link https://wiki.civicrm.org/confluence/display/CRMDOC/Managing+Scheduled+Jobs)
-FYI: In case it matters I did double check early in the process and cron.php file is located in the /bin.
-FYI: Did test mailings, scheduled for immediately, double checked mail reports, and task wasnt completed.
Problem:
I have had only one successful Cron Job. Since then no matter what method I use the Cron Job fails without success.
Methods and Outputs:
-When scheduling a Cron Job in Cpanel I get emailed response "No such file or directory"
-When using the URL method the string sends me to a Error Page for the site.
-When forcing it to execute a job/task in Civicrm itself (via execute now option) I get the following result:
------------------
Entity: Job Action: mail_report
Summary
Finished execution of Mail Reports with result: Failure, Error message: A fatal error was triggered: is not of type String
Details
Parameters raw (from db settings):
instanceId=[ID of report instance] required
format=[csv or print] optional-output CSV or print-friendly HTML, else PDF
Parameters parsed (and passed to API method):
a:3:
Full message:
Finished execution of Mail Reports with result: Failure, Error message: A fatal error was triggered: is not of type String
----------------
Again any help is appreciated.