Current time: 11-22-2024, 06:02 PM Hello There, Guest! (LoginRegister)


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Cronjobs ispCP? Packete mit Hcrond für 64bit und 32bit erstellt
Author Message
hbaes Offline
Junior Member
*

Posts: 23
Joined: Nov 2007
Reputation: 0
Post: #33
RE: In ISPCP cronjob enthalten??
(10-28-2009 06:45 PM)WuChEn Wrote:  Will man einen Cronejob bearbeiten kommt:

Warning: implode() [function.implode]: Invalid arguments passed in /var/www/ispcp/gui/client/cronjobs_edit.php on line 17

Warning: implode() [function.implode]: Invalid arguments passed in /var/www/ispcp/gui/client/cronjobs_edit.php on line 18

Warning: implode() [function.implode]: Invalid arguments passed in /var/www/ispcp/gui/client/cronjobs_edit.php on line 19

Warning: implode() [function.implode]: Invalid arguments passed in /var/www/ispcp/gui/client/cronjobs_edit.php on line 20

Warning: implode() [function.implode]: Invalid arguments passed in /var/www/ispcp/gui/client/cronjobs_edit.php on line 21

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /var/www/ispcp/gui/client/cronjobs_edit.php:17) in /var/www/ispcp/gui/include/ispcp-lib.php on line 34

Gruß WU

die Lösung ist einfach ;-)
lieg tdaran, das implode über $_POST variablen aufgerufen wird, obwohl vorher nicht geprüft wird ob die $_POST variebalen gesetzt sind:

also die cronjobs_add.php dahingehend ändern:
PHP Code:
//bypass ispCP HTML input control

if (isset($_POST['min'])) {
        
$min implode ("," $_POST['min']);
        }
if (isset(
$_POST['hour'])) {
        
$hour implode ("," $_POST['hour']);
        }
if (isset(
$_POST['day_of_month'])) {
        
$day_of_month implode ("," $_POST['day_of_month']);
        }
if (isset(
$_POST['month'])) {
        
$month implode ("," $_POST['month']);
        }
if (isset(
$_POST['day_of_week'])) {
        
$day_of_week implode ("," $_POST['day_of_week']);
        }

unset(
$_POST['month'], $_POST['day_of_week'], $_POST['min'], $_POST['hour'], $_POST['day_of_month']); 

und die Kopffehler verschwinden :-)

Harald
11-02-2009 05:39 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
RE: In ISPCP cornjob enthalten?? - Knut - 10-18-2009, 01:49 AM
RE: In ISPCP cornjob enthalten?? - FISA4 - 10-18-2009, 10:02 AM
RE: In ISPCP cornjob enthalten?? - ZooL - 10-18-2009, 06:38 PM
RE: In ISPCP cornjob enthalten?? - PCMichi - 10-19-2009, 04:19 AM
RE: In ISPCP cornjob enthalten?? - Knut - 10-19-2009, 04:44 PM
RE: In ISPCP cornjob enthalten?? - FISA4 - 10-20-2009, 01:35 AM
RE: In ISPCP cornjob enthalten?? - gOOvER - 10-19-2009, 03:55 PM
RE: In ISPCP cornjob enthalten?? - FISA4 - 10-20-2009, 06:44 PM
RE: In ISPCP cronjob enthalten?? - Knut - 10-20-2009, 07:42 PM
RE: In ISPCP cronjob enthalten?? - TheCry - 10-20-2009, 10:29 PM
RE: In ISPCP cronjob enthalten?? - WuChEn - 10-21-2009, 01:05 AM
RE: In ISPCP cronjob enthalten?? - ZooL - 10-21-2009, 03:36 AM
RE: In ISPCP cronjob enthalten?? - FISA4 - 10-21-2009, 05:35 AM
RE: In ISPCP cronjob enthalten?? - FISA4 - 10-21-2009, 10:48 AM
RE: In ISPCP cronjob enthalten?? - WuChEn - 10-21-2009, 05:42 AM
RE: In ISPCP cronjob enthalten?? - FISA4 - 10-21-2009, 06:51 AM
RE: In ISPCP cronjob enthalten?? - TheCry - 10-21-2009, 03:56 PM
RE: In ISPCP cronjob enthalten?? - WuChEn - 10-23-2009, 05:53 AM
RE: In ISPCP cronjob enthalten?? - FISA4 - 10-23-2009, 10:37 AM
RE: In ISPCP cronjob enthalten?? - ZooL - 10-25-2009, 06:56 AM
RE: In ISPCP cronjob enthalten?? - WuChEn - 10-27-2009, 07:10 AM
RE: In ISPCP cronjob enthalten?? - WuChEn - 10-27-2009, 11:13 PM
RE: In ISPCP cronjob enthalten?? - PCMichi - 10-28-2009, 07:45 AM
RE: In ISPCP cronjob enthalten?? - WuChEn - 10-28-2009, 06:45 PM
RE: In ISPCP cronjob enthalten?? - hbaes - 11-02-2009 05:39 PM
RE: In ISPCP cronjob enthalten?? - ZooL - 10-28-2009, 06:54 PM
RE: In ISPCP cronjob enthalten?? - Knut - 10-29-2009, 03:22 PM
RE: In ISPCP cronjob enthalten?? - WuChEn - 10-28-2009, 07:11 PM
RE: In ISPCP cronjob enthalten?? - ZooL - 10-29-2009, 08:08 AM
RE: In ISPCP cronjob enthalten?? - WuChEn - 10-29-2009, 06:20 PM
RE: In ISPCP cronjob enthalten?? - FISA4 - 10-30-2009, 11:56 PM
RE: In ISPCP cronjob enthalten?? - ZooL - 10-31-2009, 01:49 AM
RE: In ISPCP cronjob enthalten?? - hbaes - 11-02-2009, 06:09 PM
RE: In ISPCP cronjob enthalten?? - WuChEn - 11-02-2009, 06:27 PM
RE: In ISPCP cronjob enthalten?? - hbaes - 11-02-2009, 07:17 PM
RE: In ISPCP cronjob enthalten?? - WuChEn - 11-02-2009, 07:42 PM
RE: In ISPCP cronjob enthalten?? - ZooL - 11-02-2009, 08:01 PM
RE: In ISPCP cronjob enthalten?? - WuChEn - 11-02-2009, 08:12 PM
RE: In ISPCP cronjob enthalten?? - ZooL - 11-02-2009, 10:14 PM
RE: In ISPCP cronjob enthalten?? - WuChEn - 11-03-2009, 05:38 AM
RE: In ISPCP cronjob enthalten?? - ZooL - 11-03-2009, 06:12 PM
RE: In ISPCP cronjob enthalten?? - WuChEn - 11-03-2009, 06:33 PM
RE: In ISPCP cronjob enthalten?? - ZooL - 11-04-2009, 02:21 AM
RE: In ISPCP cronjob enthalten?? - WuChEn - 11-04-2009, 03:00 AM
RE: In ISPCP cronjob enthalten?? - ZooL - 11-04-2009, 04:42 AM
RE: In ISPCP cronjob enthalten?? - FISA4 - 11-05-2009, 09:25 AM
RE: In ISPCP cronjob enthalten?? - WuChEn - 11-05-2009, 08:31 PM
RE: In ISPCP cronjob enthalten?? - WuChEn - 11-11-2009, 06:37 AM
RE: In ISPCP cronjob enthalten?? - FISA4 - 11-14-2009, 10:09 AM
RE: In ISPCP cronjob enthalten?? - WuChEn - 11-14-2009, 07:19 PM
RE: In ISPCP cronjob enthalten?? - FISA4 - 11-15-2009, 12:21 AM
RE: In ISPCP cronjob enthalten?? - WuChEn - 11-15-2009, 10:06 PM
RE: In ISPCP cronjob enthalten?? - ZooL - 11-18-2009, 03:53 AM
RE: In ISPCP cronjob enthalten?? - WuChEn - 11-18-2009, 04:14 AM
RE: In ISPCP cronjob enthalten?? - FISA4 - 11-18-2009, 09:30 AM
RE: In ISPCP cronjob enthalten?? - WuChEn - 11-18-2009, 06:30 PM
RE: In ISPCP cronjob enthalten?? - gOOvER - 11-18-2009, 06:43 PM
RE: In ISPCP cronjob enthalten?? - WuChEn - 11-18-2009, 07:07 PM

Forum Jump:


User(s) browsing this thread: 23 Guest(s)