Re: [PHP] Fwd: A fatal error with php virtual cron

2009-03-25 Thread אלמוג בקו
amm.. i don`t really know what is fast-cgi. well I think I don't use it. however, thanks. * צור איתי קשר:* On Wed, Mar 25, 2009 at 10:33 PM, Shawn McKenzie wrote: > אלמוג בקו wrote: > > my script(cron.php) check th

Re: [PHP] Fwd: A fatal error with php virtual cron

2009-03-25 Thread Shawn McKenzie
אלמוג בקו wrote: > my script(cron.php) check the job and call by http-request > himself(cron.php). > > I already solve the timezone problem, I set the timezone to Israel`s > timezone[works fine]: > > //Set TimeZone > date_default_timezone_set(timezone_name_from_abbr("", 2*60*60, null)); > I was

Re: [PHP] Fwd: A fatal error with php virtual cron

2009-03-25 Thread אלמוג בקו
my script(cron.php) check the job and call by http-request himself(cron.php). I already solve the timezone problem, I set the timezone to Israel`s timezone[works fine]: //Set TimeZone date_default_timezone_set(timezone_name_from_abbr("", 2*60*60, null)); * צור איתי ק

Re: [PHP] Fwd: A fatal error with php virtual cron

2009-03-25 Thread Shawn McKenzie
אלמוג בקו wrote: > This is a part of the class: > > private function _request() { > //URL information > $url= "http://".$_SERVER['HTTP_HOST'] . $_SERVER['PHP_SELF']; > $url_info= parse_url($url); > > //Fixing port > if(!isset($url_info['port'])) $url_info['port']=8

Re: [PHP] Fwd: A fatal error with php virtual cron

2009-03-25 Thread Igor Escobar
Oh, Sorry, I had not seen. Well, I don't see anything wrong in your code, but maybe...if you find in your apache config file, you can found for something similar to your problem ... Sorry can't help you. Regards, Igor Escobar systems analyst & interface designer www . igorescobar . com On We

Re: [PHP] Fwd: A fatal error with php virtual cron

2009-03-25 Thread אלמוג בקו
I already wrote that.. ignore_user_abort(true); set_time_limit(0); sleep(1); * צור איתי קשר:* On Wed, Mar 25, 2009 at 9:38 PM, Igor Escobar wrote: > Try the ignore_user_abort(true); > > Regards, > Igor Escobar >

Re: [PHP] Fwd: A fatal error with php virtual cron

2009-03-25 Thread Igor Escobar
Try the ignore_user_abort(true); Regards, Igor Escobar systems analyst & interface designer www . igorescobar . com On Wed, Mar 25, 2009 at 4:21 PM, אלמוג בקו wrote: > This is a part of the class: > > private function _request() { > //URL information > $url= "http://".$_SERVER

Re: [PHP] Fwd: A fatal error with php virtual cron

2009-03-25 Thread אלמוג בקו
This is a part of the class: private function _request() { //URL information $url= "http://".$_SERVER['HTTP_HOST'] . $_SERVER['PHP_SELF']; $url_info= parse_url($url); //Fixing port if(!isset($url_info['port'])) $url_info['port']=80; //Send "Cron-data" $da

Re: [PHP] Fwd: A fatal error with php virtual cron

2009-03-25 Thread Igor Escobar
Maybe your problem are in the way you're calling your program by socket. If you show me this part of the code, maybe i can help you. Regards, Igor Escobar systems analyst & interface designer www . igorescobar . com On Wed, Mar 25, 2009 at 4:01 PM, אלמוג בקו wrote: > Hello, > There is some

[PHP] Fwd: A fatal error with php virtual cron

2009-03-25 Thread אלמוג בקו
Hello, There is some week than I trying to solve a critical error on my VirtualCron script. *First of all what is VirtualCron?:* Virtual cron is script that`s call(http request) himself and doing the "jobs" by the time(like a cron-jobs on linux, but this script build on php and its make it indepen