Jump to content

jjk2

Members
  • Posts

    115
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

jjk2's Achievements

Regular Member

Regular Member (3/5)

0

Reputation

  1. is there any web interface solution that lets users login, run and schedule jobs of specific CPU intensive background tasks, view running jobs, delete jobs ? There should be administration section where you can configure, queue jobs etc. Hudson CI is something that does the described, but I'm wondering if there's a more lightweight and common general purpose solution out there. I can't quite put a finger on how to define this process, so I am asking for suggestions.
  2. [Fri Jan 29 20:23:28 2010] [error] [client 23.23.23.23] Premature end of script headers: header.php [sat Jan 30 10:22:42 2010] [error] [client 23.23.23.23] (8)Exec format error: exec of '/var/www/cgi-bin/header.php' failed how to fix this ? basically a .cgi script loads header.php which contains javascripts and some php stuff..... i notice .cgi script runs fine but none of the javascripts and php things work.
  3. what is a valid ? well i have a gmail account setup on mysite.com i think this is causing this problem /
  4. <?php $to = 'someone@gmail.com'; $from = 'me@here.com'; $message = 'blah blah blah'; $subject = 'yadda yadda yadda'; mail($to, $message, $subject, "From: $from", "-f$from"); I am on a dedicated linux machine. I have a named based virtual host setup on apache2. i have 2 domains running on the same ip. Anyway I can edit options or something ? this email problem needs to be solved as emails of important information like email verification login etc are sent out.
  5. is there a plugin or some library written that lets users specify date and time interval so that a background script can be run at those interval ? how would i match the PID of the running script to the user that requests it ?
  6. http://particletree.com/features/how-to-add-an-api-to-your-web-service/ my question is in that article, do 3rd party developer's must use CURL to send the POST requests ? also, is there a php framework that makes designing of web service API easy/efficient ? OR is there more tutorials where I can learn how to create web service API ? cheers.
  7. i am using php 5.2.8 i have index.html, which loads LOAD.PHP from IFRAME. <iframe src="load.php">..... i printed out load.php's session id. then i ran another test.php, and printed out it's session id. same directory, same permissions. they were different. therefore, i cannot pass any session variables.... what is happening here ? this problem did not happen before meddled with .htaccess to put some redirect....i removed it after. however this problem still exists....its driving me nuts ! session.saved_path is same for both.... /var/php5, cookie path is same...
  8. anyone? could this be the result of .htaccess tinkering? i was redirecting stuff earlier.
  9. also, add.php is loaded via iframe..... view.php is not.
  10. Notice: Undefined index: vars in /view.php on line 8 i made changes to .htaccess yesterday i just remembered.... i delieted .htaccess.
  11. i have not made any change to browser or ini. was there a major firefox update ? i have recently upgraded to php 5.2.8....but left php.ini unchanged...even then it was working fine. just today suddenly, it fails. yes i have tried print_r($data) on first page....it works... print_R($_SESSION['vars']) on first page, also works. so it is writing to the session varaible correctly.
  12. yes they are different..... i dont understand why....everything was working fine till today.
  13. very strange. the scripts were working without problem. i made no changes. i have add.php, which writes to session_start(); $_SESSION['vars'][] = $data then i have view.php session_start(); print_r($_SESSION['vars']); view.php returns empty array().... but all this time, code was working perfectly, and view.php were outputting appropriate contents.... i dont understand what is going on....
  14. i am having trouble with DOMXPath::evaluate() on one server. the test script is not working on this server, while on the other it is working... which component am i supposed to upgrade? libxml ? please help, i am stuck on this for a while. i checked phpinfo() both servers have the following settings... DOM/XML enabled DOM/XML API Version 20031129 libxml Version 2.6.31 HTML Support enabled XPath Support enabled XPointer Support enabled Schema Support enabled RelaxNG Support enabled . 'foo, bar' expected 'descendant-or-self::foo|descendant-or-self::bar' but got 'descendant-or-self::foo,/descendant::bar' ................................ Warning: DOMXPath::evaluate() [function.DOMXPath-evaluate]: Invalid expression in /var/www/css.php on line 27 'div, p' failed, expected 2 but got 0 Warning: DOMXPath::evaluate() [function.DOMXPath-evaluate]: Invalid expression in /var/www/css.php on line 27 Warning: DOMXPath::evaluate() [function.DOMXPath-evaluate]: Invalid expression in /var/www/css.php on line 27 'div , p' failed, expected 2 but got 0 Warning: DOMXPath::evaluate() [function.DOMXPath-evaluate]: Invalid expression in /var/www/css.php on line 27 Warning: DOMXPath::evaluate() [function.DOMXPath-evaluate]: Invalid expression in /var/www/css.php on line 27 'div ,p' failed, expected 2 but got 0 Warning: DOMXPath::evaluate() [function.DOMXPath-evaluate]: Invalid expression in /var/www/css.php on line 27 'div, p, ul li a' failed, expected 3 but got 0 ............................Attributes failed
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.