General discussion
Elgg 1.8 and chat :(

Hi guys, I´m having some issues to install the chat in my elgg site, when I have the last thing to do in the installation (the last page that says manual install) I don´t know what to do with the code that shows, since the path that it shows is not correct, even if I can go to the header.php file, I cannot find the tag that I´m supposed to modify.

when I put the plugin in YES, the site starts showing the chat for a while, but after that I´m receiving:

Fatal Error.

Elgg couldn't connect to the database using the given credentials. Check the settings file.

I checked the settings and the user and database names (and paswords) are correct.

any clue? is this caused because I cannot add the code into the header.php?

Many thanks!!

Hi guys, I´m having some issues to install the chat in my elgg site, when I have the last thing to do in the installation (the last page that says manual install) I don´t know what to do with the code that shows, since the path that it shows is not correct, even if I can go to the header.php file, I cannot find the tag that I´m supposed to modify. when I put the plugin in YES, the site starts showing the chat for a while, but after that I´m receiving: Fatal Error. Elgg couldn't connect to the database using the given credentials. Check the settings file. I checked the settings and the user and database names (and paswords) are correct. any clue? is this caused because I cannot add the code into the header.php? Many thanks!!

just make sure the code is between the <head> tag.
if you cant find the mentioned file, you may also copy paste it into the template's "head" tag.

just make sure the code is between the &amp;lt;head&amp;gt; tag. if you cant find the mentioned file, you may also copy paste it into the template&#039;s &quot;head&quot; tag.
Necessity is the mother of all inventions!

hi, thanks so much for your answer, my problem is that the file header is not here how you say in the installation:

elgg\views\default\page_elements\header.php

my header file is in:

views/default/page/elements/header.php

and it looks very different:

hi, thanks so much for your answer, my problem is that the file header is not here how you say in the installation: elgg\views\default\page_elements\header.php my header file is in: views/default/page/elements/header.php and it looks very different: &amp;lt;?php /** * Elgg page header * In the default theme, the header lives between the topbar and main content area. */ // link back to main site. echo elgg_view(&#039;page/elements/header_logo&#039;, $vars); // drop-down login echo elgg_view(&#039;core/account/login_dropdown&#039;); // insert site-wide navigation echo elgg_view_menu(&#039;site&#039;); is this correct?

The paths have changed in the latest version of Elgg

Instead of header.php , copy paste the lines in head.php after the following lines

<?php foreach ($js as $script) { ?><script type="text/javascript" src="<?php%20echo%20%24script;%20?>"></script><?php } ?>

The paths have changed in the latest version of Elgg Instead of header.php , copy paste the lines in head.php after the following lines &amp;lt;code&amp;gt; &amp;lt;?php foreach ($js as $script) { ?&amp;gt; &amp;lt;script type=&quot;text/javascript&quot; src=&quot;&amp;lt;?php echo $script; ?&amp;gt;&quot;&amp;gt;&amp;lt;/script&amp;gt; &amp;lt;?php } ?&amp;gt;&amp;lt;/code&amp;gt;
Necessity is the mother of all inventions!

HI Admin, many thanks for your answer, I did it but now, when I try to enter to my site I´m receiving this:

Fatal Error.

Elgg couldn't connect to the database using the given credentials. Check the settings file.


the strange thing is that I checked the information about my database and it is ok, any clue???

MANY MANY MANY thanks for your help!!!!

HI Admin, many thanks for your answer, I did it but now, when I try to enter to my site I´m receiving this: Fatal Error. Elgg couldn&#039;t connect to the database using the given credentials. Check the settings file. the strange thing is that I checked the information about my database and it is ok, any clue??? MANY MANY MANY thanks for your help!!!!

well that error has nothing to do with FreiChat.
Try removing the copy pasted code to see if the same error persists.

well that error has nothing to do with FreiChat. Try removing the copy pasted code to see if the same error persists.
Necessity is the mother of all inventions!
146
5
0
live preview
enter atleast 10 characters
WARNING: You mentioned %MENTIONS%, but they cannot see this message and will not be notified
Saving...
Saved
With selected deselect posts show selected posts
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft