Install Failing

jsneed

New Member
Trying to install com_fabrik_1.0.5.2.zip
Creates these warnings all over the component upload page. Any ideas?


Warning: Invalid argument supplied for foreach() in /home/content/t/e/x/texasrwa/html/beta/includes/joomla.php on line 5240

Warning: Invalid argument supplied for foreach() in /home/content/t/e/x/texasrwa/html/beta/includes/joomla.php on line 5267

Warning: asort() expects parameter 1 to be array, string given in /home/content/t/e/x/texasrwa/html/beta/includes/joomla.php on line 5280


Preview MA DB function failed with error number 2006
MySQL server has gone away SQL=SELECT id, title, module, position, content, showtitle, params FROM jos_modules AS m WHERE m.published = 1 AND m.position = 'header' AND m.client_id = 1 ORDER BY m.ordering
SQL = SELECT id, title, module, position, content, showtitle, params FROM jos_modules AS m WHERE m.published = 1 AND m.position = 'header' AND m.client_id = 1 ORDER BY m.ordering


Upload component - Failed SQL Error DB function failed with error number 2013
Lost connection to MySQL server during query SQL=DROP TABLE IF EXISTS `jos_fabrik_settings`
SQL = DROP TABLE IF EXISTS `jos_fabrik_settings`MA DB function failed with error number 2006
MySQL server has gone away SQL=SELECT id, title, module, position, content, showtitle, params FROM jos_modules AS m WHERE m.published = 1 AND m.position = 'debug' AND m.client_id = 1 ORDER BY m.ordering
SQL =​

SELECT id, title, module, position, content, showtitle, params FROM jos_modules AS m WHERE m.published = 1 AND m.position = 'debug' AND m.client_id = 1 ORDER BY m.ordering
 
Sounds like MySQL is timing out. Try increasing the timeout in your MySQL my.cnf. You may need to talk to your host about this if you are in a shared environment.

To be on the safe side, should prolly also increase the PHP max execution time in php.ini.

-- hugh
 
GoDaddy was of no help so I created a local php.ini file and increased the max execution time per your suggestion. Worked like a champ and the component installed.

Now when i attempt to use it I receive

Warning: main(/home/content/t/e/x/texasrwa/html/beta/components/com_fabrik/fabrik_configuration.class.php): failed to open stream: No such file or directory in /home/content/t/e/x/texasrwa/html/beta/administrator/components/com_fabrik/admin.fabrik.php on line 44

Fatal error: main(): Failed opening required '/home/content/t/e/x/texasrwa/html/beta/components/com_fabrik/fabrik_configuration.class.php' (include_path='.:/usr/local/lib/php') in /home/content/t/e/x/texasrwa/html/beta/administrator/components/com_fabrik/admin.fabrik.php on line 44
 
hmm odd that file should be there
Prob simplest to create the file in /home/content/t/e/x/texasrwa/html/beta/components/com_fabrik/fabrik_configuration.class.php

and put in this code:

Code:
<?php
/**
 * @package  fabrik
 * @version 906 | rob | 2008-05-20 11:06:14 +0200 (Tue, 20 May 2008
 * @Copyright (C) Rob Clayburn
 * @license GNU/GPL http://www.gnu.org/copyleft/gpl.html
 */

/* MOS Intruder Alerts */
defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' );


class fabrikConfig{
    
var $settings = null;

    /**
    * @param database A database connector object
    */
    
    function fabrikConfig() {
        global $database;
        $database->setQuery("select setting_value, setting_name from #__fabrik_settings" );
        $settings = $database->loadObjectList('setting_name');
        foreach($settings as $key=>$val){
            $this->$key = $val->setting_value;
        }
    }

}

class fabrikConfigRow extends mosDBTable
{
        /** @var int Primary key */
    var $id = null;

    var $setting_name  = null;

    var $setting_value = null;
    
    var $private = null;
    
    var $description = null;
    

    /**
    * @param database A database connector object
    */
    
    function fabrikConfigRow( &$db ) {
        $this->mosDBTable( '#__fabrik_settings', 'id', $db );
    }
    
}
?>
 
Alternatively, upgrade to the SVN version of 1.0.5.x. Details in my sig. This will make sure you have up to date versions of all files. Use something like FileZilla to upload your exported SVN files, which will clearly show if any files have failed uploading.

-- hugh
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top