Menu

Unable to get PMBP 2.2's cronjob working

Anonymous
2012-02-20
2013-05-30
  • Anonymous

    Anonymous - 2012-02-20

    hi,

    we used to use v2.1 till our host decided to upgrade the server to php 5.3.10 - pmbp had to be upgraded to 2.2 to get it working again. however, the syntax has changed…

    SHELL_MODE.TXT says it should look something like this:

    php -q -f /home/dwtphovu/public_html/intellisource.co.za/backups/backup.php dwtphovu_3760450065_prod, dwtphovu_5683194816_prod, dwtphovu_5683194816_test, dwtphovu_8347379386_prod, dwtphovu_8347379386_test, dwtphovu_externalsuppliers, dwtphovu_intellicron 1 1 1 1 "../prod_3760450065/|../prod_5683194816/|../test_5683194816/|../prod_8347379386/|../test_8347379386/|../images/|../intellicron/|../simplehtmldom_1_5/" 1 "INTELLISOURCE BACKUP"

    however, backups are not created! :o i did the setup word for word, and completed the mysql and ftp setup. yet the mails i receive from the cronjobs that ran just contain:

    Not safely logged out!<br>To safely logout enter a WRONG password: <a href="index.php?logout=TRUE">logout</a><br>Please login (use your MySQL username and password): <a href="index.php?login=TRUE">Login</a>

    NO backups are made, and i have no idea of how to get rid of this login on crontask message!

    somebody PLEASE help ASAP!!! been sitting with this problem since i upgraded pmbp last week. it is quite urgent - i got another 3 or 4 php installations to upgrade as well…

     
  • Anonymous

    Anonymous - 2012-02-20

    some added info:
    pmbp 2.2 was installed to the directory /intellisource.co.za/backups/, and the recommended configuration file and export folder was moved to /pmbp/ of where the exports should be saved and where the configuration is kept.
    below is the configuration file's contents, if this may have any bearing with the title of this topic:
    <?php

    // This file is automatically generated and modified by phpMyBackupPro v.2.2

    $CONF="*****";
    $CONF="*****";
    $CONF="localhost";
    $CONF="";
    $CONF="1";
    $CONF="1";
    $CONF="0";
    $CONF="intellisource";
    $CONF="english";
    $CONF="1";
    $CONF="0";
    $CONF="1";
    $CONF="1";
    $CONF="1";
    $CONF="";
    $CONF="1";
    $CONF="1";
    $CONF="www.intellisource.co.za";
    $CONF="dwtphovu";
    $CONF="T9ICJP8T4V7M";
    $CONF="/public_html/pmbp";
    $CONF="21";
    $CONF="%Y/%m/%d %X";
    $CONF="1";
    $CONF="1";
    $CONF="600";
    $CONF="0";
    $CONF="standard";

    $PMBP_SYS_VAR="";
    $PMBP_SYS_VAR="2012/02/16 06:47:20 (IP: 41.135.43.251)";
    $PMBP_SYS_VAR="2012/02/16 06:47:18 (IP: 41.135.43.251)";
    $PMBP_SYS_VAR="1";
    $PMBP_SYS_VAR="8000000";
    $PMBP_SYS_VAR="";
    $PMBP_SYS_VAR="0";
    $PMBP_SYS_VAR="0";
    $PMBP_SYS_VAR="10";
    $PMBP_SYS_VAR="0";
    $PMBP_SYS_VAR="dwtphovu_3760450065_prod|dwtphovu_5683194816_prod|dwtphovu_5683194816_test|dwtphovu_8347379386_prod|dwtphovu_8347379386_test|dwtphovu_externalsuppliers|dwtphovu_intellicron";
    $PMBP_SYS_VAR="INTELLISOURCE BACKUP";
    $PMBP_SYS_VAR="on";
    $PMBP_SYS_VAR="on";
    $PMBP_SYS_VAR="on";
    $PMBP_SYS_VAR="zip";
    $PMBP_SYS_VAR="";
    $PMBP_SYS_VAR="../prod_3760450065/|../prod_5683194816/|../test_5683194816/|../prod_8347379386/|../test_8347379386/|../images/|../intellicron/|../simplehtmldom_1_5/";
    $PMBP_SYS_VAR="on";
    $PMBP_SYS_VAR="1";
    $PMBP_SYS_VAR="1";
    $PMBP_SYS_VAR="backups.php";
    $PMBP_SYS_VAR="/home/dwtphovu/public_html/pmbp/";
    $PMBP_SYS_VAR="*0";
    $PMBP_SYS_VAR="0";
    $PMBP_SYS_VAR="0";
    $PMBP_SYS_VAR="**********";

    ?>

     
  • Anonymous

    Anonymous - 2012-02-20

    also - i have generated a backups.php script, and saved it alongside the moved directory global_config.php and folder exports/ as well as setting the permissions via filezilla to 0777.
    however - i keep getting the following messages from it, whenever it is run:

    /home/dwtphovu/public_html/pmbp/backups.php: line 1: ?php: No such file or directory
    /home/dwtphovu/public_html/pmbp/backups.php: line 2: //: is a directory
    /home/dwtphovu/public_html/pmbp/backups.php: line 3: //: is a directory
    /home/dwtphovu/public_html/pmbp/backups.php: line 4: syntax error near unexpected token `"dwtphovu_3760450065_prod","dwtphovu_5683194816_prod","dwtphovu_5683194816_test","dwtphovu_8347379386_prod","dwtphovu_8347379386_test","dwtphovu_externalsuppliers","dwtphovu_intellicron"'
    /home/dwtphovu/public_html/pmbp/backups.php: line 4: `$_POST['db']=array("dwtphovu_3760450065_prod","dwtphovu_5683194816_prod","dwtphovu_5683194816_test","dwtphovu_8347379386_prod","dwtphovu_8347379386_test","dwtphovu_externalsuppliers","dwtphovu_intellicron");'
    

    what is this and how would i resolve this? i need to get pmbp 2.2 setup asap to back up files, on a daily basis!

    Pierre du Toit

     
  • Anonymous

    Anonymous - 2012-02-20

    and here is its contents:

    <?php
    // This code was created by phpMyBackupPro v.2.2 
    // http://www.phpMyBackupPro.net
    $_POST['db']=array("dwtphovu_3760450065_prod","dwtphovu_5683194816_prod","dwtphovu_5683194816_test","dwtphovu_8347379386_prod","dwtphovu_8347379386_test","dwtphovu_externalsuppliers","dwtphovu_intellicron");
    $_POST['comments']="INTELLISOURCE BACKUP";
    $_POST['tables']="on";
    $_POST['data']="on";
    $_POST['drop']="on";
    $_POST['zip']="zip";
    $_POST['man_dirs']="../prod_3760450065/|../prod_5683194816/|../prod_8347379386/|../test_5683194816/|../test_8347379386/|../images|../intellicron/|../simplehtmldom_1_5/";
    $_POST['packed']="on";
    $period=(3600*24)*0;
    $security_key="*********";
    // switch to the phpMyBackupPro v.2.2 directory
    @chdir("/home/dwtphovu/public_html/intellisource.co.za/backups/");
    @include("backup.php");
    @chdir("/home/dwtphovu/public_html/pmbp/");
    ?>
    
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.