Keyword

Error at installation then php error

  • QuébecGuitare.com
  • QuébecGuitare.com's Avatar Topic Author
  • Offline
  • New Member
More
12 years 6 months ago #64087 by QuébecGuitare.com
Error at installation then php error was created by QuébecGuitare.com
Hi there, using K2 2.5.5 with Joomla 1.5.25.

Having the following error after install:


JInstaller::install: Erreur : Impossible de trouver un fichier XML Joomla! d'installation dans ce pack!
Unable to detect manifest file

Then K2 seems to be installed, but a php error persist on top position of the site:

Warning: Invalid argument supplied for foreach() in /home/guitar88/public_html/libraries/joomla/database/database/mysqli.php on line 695

Warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in /home/guitar88/public_html/plugins/system/k2.php on line 344

It may vary a little bit depending on what I am browsing on the site.

WHEN I disabled the K2 plugin "System - K2" the error disapears.

The site is significaly slower with K2 installed even when "System - K2" is disabled.

Cheers.

Please Log in or Create an account to join the conversation.

More
12 years 6 months ago #64088 by Dmitry
Replied by Dmitry on topic Re: Error at installation then php error
This is a problem with JoomFish component :(.
K2 lookup for table jf_languages, but JoomFish has no table jf_languages

// Define JoomFish compatibillity version.
if (JFile::exists(JPATH_ADMINISTRATOR.DS.'components'.DS.'com_joomfish'.DS.'joomfish.php'))
{
if (K2_JVERSION == '15')
{
$db = JFactory::getDBO();
$fields = $db->getTableFields('#__jf_languages');
if (array_key_exists('id', $fields))
{
define('K2_JF_ID', 'id');
}
else
{
define('K2_JF_ID', 'lang_id');
}
}
else
{
define('K2_JF_ID', 'lang_id');
}
}

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum