Posts by tilicar

    i make a mistake here:

    Code
    1. -SELECT id FROM users WHERE username = admin ; -memorate the value like: $adminid = $row[id] -INSERT INTO `user_usergroup_map` (`user_id`, `group_id`) VALUES ('42', '8')


    this is what i need :

    Code
    1. -SELECT id FROM users WHERE username = admin ;
    2. -memorate the value like: $adminid = $row[id]
    3. -INSERT INTO `user_usergroup_map` (`user_id`, `group_id`) VALUES ('$adminid', '8')

    Thanks. Owsome !
    Now I have some problems.
    The new version of joomla don't have column "usertype".
    In this column you enter the "ID" from the "Super User" row.


    For example Super User have the ID -> 8.


    The new version of joomla move that column in another table called "user_usergroup_map"
    this table have 2 columns: "user_id" and "group_id".


    If someone know perl language, i need following:


    -SELECT id FROM users WHERE username = admin ;
    -memorate the value like: $adminid = $row[id]
    -INSERT INTO `user_usergroup_map` (`user_id`, `group_id`) VALUES ('42', '8')


    I need this because in the script after i update the admin details, I must make him Super User, else he can't login.


    I need to use it after this code

    Code
    1. #Update Datebase with variables $sql = " UPDATE `".$new_table_users."` SET `email` = '".$sw_install_email."', `name` = '".$sw_install_username."', `password` = '".$loginpasswordhash."', `registerDate` = '".$setdatetime."', `lastvisitDate` = '".$setdatetime."', `username` = '".$sw_install_username."' WHERE `username` = 'admin' ; "; doSQL($sql);


    I put the joomlaen script for helping the work.

    Hi
    Today I try to figure out why i-mscp don't want to add my joomla 3.3.6 software to software repositories, and I think i found why.


    I-MSCP Web software repository have a conection to http://app-pkg.i-mscp.net/imscp_webdepot_list.xml.


    If my software is not in that list, I-MSCP Web software repository return's me with error: Your package is corrupt. Please correct it!


    Is that right ?



    If not, can someone explain me how to make/create/update autoinstall software for I-MSCP ?
    I want to spend some to time to create some.

    I solved with the CronJob plugin.
    But the IonCube, i don't understand what's wrong.
    if I set up the apache use -> php-fpm, it work's. If I set up FastCGI don't work !
    I fill any php.ini file with zend_extension, but nothing happends.
    All i got is an error:

    Code
    1. Warning: tempnam(): open_basedir restriction in effect. File(/tmp) is not within the allowed path(s):


    If I understand, it is the problem with open_basedir settings. I search on forum, but nothing help me !

    After update i got 2 problems.
    1. I can't make ioncube work. it tells me about open_basedir permision. I activate and deactivate that option from pannel but nothing happend.
    2. I install CronJob from incubator and it gives me an error: Unknown Error as Status


    Code
    1. An unexpected error occurred:
    2. Modules::Plugin::_exec: An unexpected error occured: Invalid version format (dotted-decimal versions require at least three parts) at /var/www/imscp/gui/plugins/CronJobs/backend/CronJobs.pm line 363, <$fh> line 516.


    I can't uninstall, i can't do nothing. I try to install last version from Plugin Store, but nothing happends !


    Please Help !


    Linux DistroUbuntu
    PHP Version5.5.9
    i-MSCP Version1.2.0
    Apache Version2.4.7