CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> PHP

 cron php5 include path

Print topic Send  topic

Author Message
dekacode

Posts: 53
Posted: 06/26/2007, 9:38 PM

Hi,

It seems that upgrading to php5 is causing a problem with a cron job.

php /home/bhreac/public_html/platts/FuelGrade.php login=login password=password > tmp/FuelGrade.log 2>&1

It has something to do with include path

Warning: include(./Common.php): failed to open stream: No such file or directory in /home/bhreac/public_html/platts/FTPdispatch.php on line 7

This all worked previously before the upgrade


View profile  Send private message
wkempees
Posted: 06/27/2007, 2:44 AM

CCS3.1.x there is no noted problem with filepath's using PhP4 /PhP5.
Not as far as I experience it.

Are you on a Win or Lx setup?
Check your paths, directories and access setting for the target machine.


"dekacode" <dekacode@forum.codecharge> schreef in bericht
news:54681e9ca4331c@news.codecharge.com...
> Hi,
>
> It seems that upgrading to php5 is causing a problem with a include path.
> This worked with php4
>
> Warning: include(./Common.php): failed to open stream: No such file or
> directory in /home/bhreac/public_html/platts/FTPdispatch.php on line 7
>
>
>
>
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.yessoftware.com/
>


Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

PHP Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.