Posts by TheCry

    Wenn ich zu Hause lokal arbeite (Virtual Box) trage ich meine Testdomains unter Windows in die Hosts (windows/system32/drivers/etc/) ein. Auf dem Server trage ich diese zusätzlich in der /etc/hosts ein.
    Damit funktioniert alles wunderbar.

    Now i checked the mybb...
    :angel::angel::angel:
    There are some more failure...
    I'd fixed everything...
    Now both packages in our repo...


    Take a look on the packages...
    And thanks for your help to add some new packages.

    Ok...
    I tested you dotclear package...


    There are some issues...
    At first... Not all database tables where deleted...
    There was a problem with this error "a foreign key constraint fails"...
    To fix this problem you need to add this lines to your install script (uninstall section)

    Code
    1. $sql = "SET foreign_key_checks = 0;"; doSQL($sql);


    I will add this to the default script!


    Then i found some usernames "krok" in the sql dump.
    Change this to admin... This is better...
    Some links are pointed to your site.
    Change this to "imscp.net"... The same with the emailadresses. Change them to "[email protected]".


    In the config file you didn't set a correct emailadress...
    To insert a adress use this:

    Code
    1. define('DC_ADMIN_MAILFROM','webmaster\@$domain_name');


    Update every date colum to the actually date!


    And the last... Every ip set to localhost or 127.0.0.1!


    I'd changed everything and i will upload the package to our repo.


    i have had the app to the list but i have this error in imscp_pkt_mngr_engine.log:


    [ERROR] [Wed Jan 11 17:03:39 2012] main::engine: Name "main::cleared" used only once: possible typo at /var/www/imscp/engine/imscp-pkt-mngr line 356.


    That is ok.. I will fix this, but it don't crash any installation



    You have to escape $ and @ (\$ or \@) in the dotclear_fr... Thats the trick.
    If you test the perl script manuelly on the server you will see every error you make...
    Put the dotclear_fr in the tmp folder and call it "perl dotclear_fr"

    Hi...
    It seems like a problem while installing the package...
    The problem are the french language with `, ´ and so on...


    I search for a solution.



    OK...
    If find the problem and i find the solution...
    Search the file "imscp-pkt-mngr" and open it.
    Inside search for this section (line 302)

    Code
    1. $sql = " UPDATE `web_software` SET `software_installtype` = '".$INSTALL_DATA{software_installtype}."', `software_name` = '".$INSTALL_DATA{software_name}."', `software_version` = '".$INSTALL_DATA{software_version}."', `software_language` = '".$INSTALL_DATA{software_language}."', `software_type` = '".$INSTALL_DATA{software_type}."', `software_db` = '".$INSTALL_DATA{software_db}."', `software_installfile` = '".$INSTALL_DATA{software_installfile}."', `software_prefix` = '".$INSTALL_DATA{software_prefix}."', `software_link` = '".$INSTALL_DATA{software_link}."', `software_desc` = '".$INSTALL_DATA{software_desc}."', `software_status` = 'ready' WHERE `software_id` = $sw_software_id ";


    Add this

    Code
    1. $INSTALL_DATA{software_desc} =~ s/(["'*])/\\$1/g;


    before

    Code
    1. $sql = "


    After this fix the package will be installed...
    I will fix this in the git.