CronJob error Message

Hi,

I have put my cron job in my web hosting cron job tablet.

 

MAILTO= my email
0 0 * * *  /usr/local/bin/php -q /home2/****/public_html/periodic/cmd.php
*/10 * * * *  /usr/local/bin/php -q /home2/*/public_html/periodic/notifies.php
*/10 * * * * /usr/local/bin/php -q /home2/****/public_html/periodic/tags.php
* */1 * * *  /usr/local/bin/php -q /home2/****/public_html/periodic/cupid.php

 

But i receive this message into my mail box:

 

Warning: main(["/home2/qb3997/public_html/"]inc/header.inc.php): failed to open stream: No such file or directory in /home2/qb3997/public_html/periodic/cmd.php on line 21

Fatal error: main(): Failed opening required '["/home2/qb3997/public_html/"]inc/header.inc.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home2/qb3997/public_html/periodic/cmd.php on line 21

and

Warning: main(["/home2/qb3997/public_html/"]inc/header.inc.php): failed to open stream: No such file or directory in /home2/qb3997/public_html/periodic/notifies.php on line 21

Fatal error: main(): Failed opening required '["/home2/qb3997/public_html/"]inc/header.inc.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home2/qb3997/public_html/periodic/notifies.php on line 21

 

Could not open input file: /home2/qb3997/public_html/periodic/tags.php

 

 

What i can do to repair this error. I check my line 21 in the 2 folder ( periodic/notifies.php and periodic/cmd.php ) but i don't understand.

It seem look like this.

NOTIFIES.PHP

require_once( '["/home2/qb3997/public_html/"]inc/header.inc.php' );

CMD.PHP

require_once( '["/home2/qb3997/public_html/"]inc/header.inc.php' );

 

What i can do ? i have dolphin 6.6.1.6

( at first i have 6.6.1.4 but i ré-instal it whit the last version, this have resolve a lot of my problems )

Thank very much

Quote · 29 Jun 2009

Your missing files, you need to locate them via filing a missing files report with your CHMOD on a WinSCP system enabled computer and then contact Firefox and they will notify Firebug to look for them.

 

Either that or you can just go into your FTP Client and see if the files are there or not and check to ensure the paths are correct.  This sounds more like you simply have the paths wrong if the site itself is working beyond this.

Quote · 29 Jun 2009

 

Your missing files, you need to locate them via filing a missing files report with your CHMOD on a WinSCP system enabled computer and then contact Firefox and they will notify Firebug to look for them.

 

Either that or you can just go into your FTP Client and see if the files are there or not and check to ensure the paths are correct.  This sounds more like you simply have the paths wrong if the site itself is working beyond this.

 Hi, i don't understand what missing files you talk. And or where i find the path you talk.

 

Thank

 

Quote · 29 Jun 2009

Okay, let's take this from the beginning.  Missing files, definition is as follows:

 

Missing - Adjective

 

  • not able to be found; "missing in action"; "a missing person"
  • lacking: nonexistent; "the thumb is absent"; "her appetite was lacking"
  • Files - Noun in the plural sense referring to more than 1.

     

  • file - record in a public office or in a court of law; "file for divorce"; "file a complaint"
  • file - smooth with a file; "file one's fingernails"
  • file - a set of related records (either written or electronic) kept together
  • file - proceed in line; "The students filed into the classroom"
  • file - a line of persons or things ranged one behind the other
  • charge: file a formal charge against; "The suspect was charged with murdering his wife"
  • file - office furniture consisting of a container for keeping papers in order
  • file - place in a container for keeping records; "File these bills, please"
  • file - a steel hand tool with small sharp teeth on some or all of its surfaces; used for smoothing wood or metal
  • In this instance were speaking of a computer file.  Please study the above and report back to me when you have fully learned it, then we will cover the term path.  In other words, I am not patient enough for this stupid of a question and I'm done with this issue.  Anybody else feel like breast feeding this idiot.  If not, then I suggest you hire someone to help you out because you have way to much to learn.

    Quote · 29 Jun 2009

     

    Okay, let's take this from the beginning.  Missing files, definition is as follows:

     

    Missing - Adjective

     

  • not able to be found; "missing in action"; "a missing person"
  • lacking: nonexistent; "the thumb is absent"; "her appetite was lacking"
  • Files - Noun in the plural sense referring to more than 1.

     

  • file - record in a public office or in a court of law; "file for divorce"; "file a complaint"
  • file - smooth with a file; "file one's fingernails"
  • file - a set of related records (either written or electronic) kept together
  • file - proceed in line; "The students filed into the classroom"
  • file - a line of persons or things ranged one behind the other
  • charge: file a formal charge against; "The suspect was charged with murdering his wife"
  • file - office furniture consisting of a container for keeping papers in order
  • file - place in a container for keeping records; "File these bills, please"
  • file - a steel hand tool with small sharp teeth on some or all of its surfaces; used for smoothing wood or metal
  • In this instance were speaking of a computer file.  Please study the above and report back to me when you have fully learned it, then we will cover the term path.  In other words, I am not patient enough for this stupid of a question and I'm done with this issue.  Anybody else feel like breast feeding this idiot.  If not, then I suggest you hire someone to help you out because you have way to much to learn.

     

    Hi,

    I know what is a files, the question is, what files your talk is missing, i put all the files/folders of dolphin pack 6.6.1.6 into my ftp client.  For the rest it work well and no problem.  I put the cronjob into the tab of my web hosting, i find the cronjob lines into the periodic folder in a document name ( periodic.file ) and i open it whit  "block note." And also into this folder i have a htaccess, cmd.php, notifies.php, cupid.php files.

     

    Also, i don't use firefox. I use ie7 for my web navigation. Excuse me, maby my english comprension is not good enough to understand technical word, and yes this is my fist web site i do, and i don't know all. I read, ask questions, etc...to improuve my self.

     

    Thank you for your patience and your help.

     

     

    Quote · 30 Jun 2009

    And I answered your question as you asked it.  Congrats on this being your first site.  You might find that if you take the time to use the search function within this site, boonexnerd.com and also google that you can learn many unique and interesting things.  Now, to help you learn a little more, I'll drop the sarcasm for just a moment.  Go get the following items installed on your computer, it will make life much easier for you. 

     

    1.  Firefox (This browser I hate but it has it's uses)

     

    2.  Firebug (This is an add-on to Firefox and the only reason I use firefox, it will break down any page and help you find errors, make changes and locate files & line #'s of changes you need to make.  You can even play with making the changes in Firebug to see if you like/dislike them without touching your actual site files.  Save many, many hours with this toy)

     

    3.  WinSCP (This program is an FTP Client that will make your life incredibly simple.  Once installed, set it to Binary transfer mode only, do not use text or auto for file transfers as sometimes things will get missed as it transfers **Note that right there)

     

    4.  Notepad++  (This is a file editor and much different than Notepad that came with your computers base install.  Notepad++ gives you the ability to alter an unlimited number of files simultaneously without getting lost in what your doing or where your at, recover original files after a million or more changes if you need to, save a million files simultaneous [very useful when making a large modification/upgrade to your site] and it also checks the code of virtually any file type as long as you tell it the type of file your working on)

     

    Now, you run along and get those items I mentioned, they are all free, then come back and I will explain to you how files may have gotten missed.  Note that * I put in the WinSCP explanation?  It's a clue as to why the path may be off.

     

    ***A path is written like this: 

     

    http://www.yoursite.com/dolphin/wikipedia/look/up/file/path

     

    And that just may be what is wrong with your cron jobs, the path within the cron job is incorrect.  Like I said, I'll help you fix it after you install the items I just gave you.  And while your at it, if you want to develop a top notch site install these browsers also:

     

    Google Chrome

    Safari

    Opera

    Firefox

    IE8

     

    Note, you'll need to make sure your site works in each and everyone of these browsers because your members may be using any/all of them and you want them to have the best experience they can possibly have.

    Quote · 30 Jun 2009

     

    And I answered your question as you asked it.  Congrats on this being your first site.  You might find that if you take the time to use the search function within this site, boonexnerd.com and also google that you can learn many unique and interesting things.  Now, to help you learn a little more, I'll drop the sarcasm for just a moment.  Go get the following items installed on your computer, it will make life much easier for you. 

     

    1.  Firefox (This browser I hate but it has it's uses)

     

    2.  Firebug (This is an add-on to Firefox and the only reason I use firefox, it will break down any page and help you find errors, make changes and locate files & line #'s of changes you need to make.  You can even play with making the changes in Firebug to see if you like/dislike them without touching your actual site files.  Save many, many hours with this toy)

     

    3.  WinSCP (This program is an FTP Client that will make your life incredibly simple.  Once installed, set it to Binary transfer mode only, do not use text or auto for file transfers as sometimes things will get missed as it transfers **Note that right there)

     

    4.  Notepad++  (This is a file editor and much different than Notepad that came with your computers base install.  Notepad++ gives you the ability to alter an unlimited number of files simultaneously without getting lost in what your doing or where your at, recover original files after a million or more changes if you need to, save a million files simultaneous [very useful when making a large modification/upgrade to your site] and it also checks the code of virtually any file type as long as you tell it the type of file your working on)

     

    Now, you run along and get those items I mentioned, they are all free, then come back and I will explain to you how files may have gotten missed.  Note that * I put in the WinSCP explanation?  It's a clue as to why the path may be off.

     

    ***A path is written like this: 

     

    http://www.yoursite.com/dolphin/wikipedia/look/up/file/path

     

    And that just may be what is wrong with your cron jobs, the path within the cron job is incorrect.  Like I said, I'll help you fix it after you install the items I just gave you.  And while your at it, if you want to develop a top notch site install these browsers also:

     

    Google Chrome

    Safari

    Opera

    Firefox

    IE8

     

    Note, you'll need to make sure your site works in each and everyone of these browsers because your members may be using any/all of them and you want them to have the best experience they can possibly have.

     

    HI, thank for the clue and the message, I will check for all that thing/programm and i will recame to you for the rest.

     

     

    Quote · 30 Jun 2009

    Hey, I'll be waiting for the answer too!

    quebraz, you are lucky to have such professional adviser.

    Quote · 15 Jul 2009

    Hmmm  seems like people want to be quick to answer...but supply no real answers

    In regard to the error described in this post...please try the following:

    If you are using a control panel, such as Plesk or Cpanel, or Helm, then log into your administrator account and find your file manager

    or you can use your favorite FTP program (WinSCP or the like).

    You need to edit lines 21 in all the files in the /periodic directory.

    Your current lines show this according to you:

    require_once( '["/home2/qb3997/public_html/"]inc/header.inc.php' );

    but it shoud be edited so that it says this:

    require_once( '/home2/qb3997/public_html/inc/header.inc.php' );

    I'm pretty sure that if you make this change in the files they will start working for you.  It looks like somewhere when you were providing the path information for the initial setup (or it could be a bug I haven't done a Fresh 6.1.6 install) your path information was mangled.

    Let us know if this fixed the problem for you.

    Shared Dolphin Hosting w/RMS
    Quote · 15 Jul 2009

    Hmmm  seems like people want to be quick to answer...but supply no real answers

    In regard to the error described in this post...please try the following:

    If you are using a control panel, such as Plesk or Cpanel, or Helm, then log into your administrator account and find your file manager

    or you can use your favorite FTP program (WinSCP or the like).

    You need to edit lines 21 in all the files in the /periodic directory.

    Your current lines show this according to you:

    require_once( '["/home2/qb3997/public_html/"]inc/header.inc.php' );

    but it shoud be edited so that it says this:

    require_once( '/home2/qb3997/public_html/inc/header.inc.php' );

    I'm pretty sure that if you make this change in the files they will start working for you.  It looks like somewhere when you were providing the path information for the initial setup (or it could be a bug I haven't done a Fresh 6.1.6 install) your path information was mangled.

    Let us know if this fixed the problem for you.

    I'll check this variant in a day or so. Moving to VPS )))

    Quote · 16 Jul 2009

    Thank every one, it done. line 21 was the problem... Now it work well.... ;)

    Quote · 7 Sep 2009
     
     
    Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
    The new Dolphin solution is powered by UNA Community Management System.