So I noticed something else here which may be related to my issue.
I noticed that when I would copy and paste the line of code in cron:
php -d suhosin.executor.func.blacklist="passthru, show_source, shell_exec, system, pcntl_exec, popen, pclose, proc_open, proc_nice, proc_terminate, proc_get_status, proc_close, leak, apache_child_terminate, posix_kill, posix_mkfifo, posix_setpgid, posix_setsid, posix_setuid, escapeshellcmd, escapeshellarg, exec" -d open_basedir="/var/sentora/hostdata/zadmin/:/var/sentora/temp/" /var/sentora/hostdata/zadmin/public_html/mysite_com/cron.php
while I was inside the directory /var/sentora/hostdata/zadmin/public_html/mysite_com/ it would work just fine.
However if I stepped out of that directory into let's say " /home" and then ran the same line in the terminal it would actually give an error and not run. So it seems this may be my issue. Although I don't understand why it would be an issue as the path is still there, but I think I am getting closer to understanding this. Can someone comment on this?
Here is what happens when I run this line in the terminal OUTSIDE of the directory of the root directory of this website.
php -d suhosin.executor.func.blacklist="passthru, show_source, shell_exec, system, pcntl_exec, popen, pclose, proc_open, proc_nice, proc_terminate, proc_get_status, proc_close, leak, apache_child_terminate, posix_kill, posix_mkfifo, posix_setpgid, posix_setsid, posix_setuid, escapeshellcmd, escapeshellarg, exec" -d open_basedir="/var/sentora/hostdata/zadmin/:/var/sentora/temp/" /var/sentora/hostdata/zadmin/public_html/mysite_com/cron.php
PHP Warning: include_once(): open_basedir restriction in effect. File(./includes/bootstrap.inc) is not within the allowed path(s): (/var/sentora/hostdata/zadmin/:/var/sentora/temp/) in /var/sentora/hostdata/zadmin/public_html/mysite_com/cron.php on line 8
PHP Warning: include_once(./includes/bootstrap.inc): failed to open stream: Operation not permitted in /var/sentora/hostdata/zadmin/public_html/mysite_com/cron.php on line 8
PHP Warning: include_once(): Failed opening './includes/bootstrap.inc' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /var/sentora/hostdata/zadmin/public_html/mysite_com/cron.php on line 8
PHP Fatal error: Call to undefined function drupal_bootstrap() in /var/sentora/hostdata/zadmin/public_html/mysite_com/cron.php on line 9
I noticed that when I would copy and paste the line of code in cron:
php -d suhosin.executor.func.blacklist="passthru, show_source, shell_exec, system, pcntl_exec, popen, pclose, proc_open, proc_nice, proc_terminate, proc_get_status, proc_close, leak, apache_child_terminate, posix_kill, posix_mkfifo, posix_setpgid, posix_setsid, posix_setuid, escapeshellcmd, escapeshellarg, exec" -d open_basedir="/var/sentora/hostdata/zadmin/:/var/sentora/temp/" /var/sentora/hostdata/zadmin/public_html/mysite_com/cron.php
while I was inside the directory /var/sentora/hostdata/zadmin/public_html/mysite_com/ it would work just fine.
However if I stepped out of that directory into let's say " /home" and then ran the same line in the terminal it would actually give an error and not run. So it seems this may be my issue. Although I don't understand why it would be an issue as the path is still there, but I think I am getting closer to understanding this. Can someone comment on this?
Here is what happens when I run this line in the terminal OUTSIDE of the directory of the root directory of this website.
php -d suhosin.executor.func.blacklist="passthru, show_source, shell_exec, system, pcntl_exec, popen, pclose, proc_open, proc_nice, proc_terminate, proc_get_status, proc_close, leak, apache_child_terminate, posix_kill, posix_mkfifo, posix_setpgid, posix_setsid, posix_setuid, escapeshellcmd, escapeshellarg, exec" -d open_basedir="/var/sentora/hostdata/zadmin/:/var/sentora/temp/" /var/sentora/hostdata/zadmin/public_html/mysite_com/cron.php
PHP Warning: include_once(): open_basedir restriction in effect. File(./includes/bootstrap.inc) is not within the allowed path(s): (/var/sentora/hostdata/zadmin/:/var/sentora/temp/) in /var/sentora/hostdata/zadmin/public_html/mysite_com/cron.php on line 8
PHP Warning: include_once(./includes/bootstrap.inc): failed to open stream: Operation not permitted in /var/sentora/hostdata/zadmin/public_html/mysite_com/cron.php on line 8
PHP Warning: include_once(): Failed opening './includes/bootstrap.inc' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /var/sentora/hostdata/zadmin/public_html/mysite_com/cron.php on line 8
PHP Fatal error: Call to undefined function drupal_bootstrap() in /var/sentora/hostdata/zadmin/public_html/mysite_com/cron.php on line 9