Visit BoonEx Page at Facebook

Facebook

Join BoonEx group at LinkedIn

LinkedIn

Follow BoonEx on Twitter

Twitter

Subscribe to BoonEx Blog RSS feed

RSS
quebraz

cron message error

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

bad
1
good
 
 

Answers

DosDawg
DosDawg 130 days agocomment permalink
 
http://www.boonex.com/trac/dolphin/wiki/DetailedInstall

this is the detailed install page. it appears your permissions are correct:

SITE CHMOD 755 ./periodic
SITE CHMOD 644 ./periodic/cmd.php
SITE CHMOD 644 ./periodic/notifies.php
SITE CHMOD 644 ./periodic/cupid.php
SITE CHMOD 644 ./periodic/tags.php


but it also appears for some reason the server is not finding the file(s)

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


where it says no such file or directory, its unable to read that directory and file or its not there


regards,
DosDawg
 
bad
2
good
 
 
DosDawg
DosDawg 131 days agocomment permalink
 
file permissions need to be checked on that folder periodic.

Regards,
DosDawg
 
bad
1
good
 
 
ZopfWare
ZopfWare 114 days agocomment permalink
 
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.
 
bad
1
good
 
 
quebraz
quebraz 131 days agocomment permalink
 
Hi DosDawg

Thank for your responces, i check my files permissions on the folder periodic. is 744. And for the notifies,php, cmd.php, cupid.php is 644. What permissions i have to put on the folder periodic?

Thank very much.
 
bad
0
good
 
 
ED5
ED5 115 days agocomment permalink
 
read carefully the post above
 
bad
0
good
 
 
quebraz
quebraz 107 days agocomment permalink
 
Hi
for the cron they work well now... the only thing they don't work well is the mass malling.
For all mail, cron job i receive it, in hotmail, gmail or yahoo... but the mass mailling i receive only in hotmail. In yahoo and gmail the site never send it. the mail don't go out ... what i can do????

Thank
 
bad
0
good
 
 
quebraz
quebraz 74 days agocomment permalink
 
Hi thank it done it was also a problem whit my host cie... thank to all of us for your help...

Quebraz
 
bad
0
good
 
 


Post an Answer

Please login to post an answer.

This Question
 
 
quebraz's questions
All Questions
Found a bug? Have a suggestion? We really value your feedback!
 
PET:0.445297002792