FreiChat related discussions
freichat 11 invalid install uid error

Hello.

I installed freichat on a custom php site generated by phprunner.
Everything went O.K. but I can't get the connected users only a message: "Getting list of online users ....."

I checked the integration in hardcode.php and everything is O.K., the session value passes to $ses in the script is O.K. - checked with echo, no errors in the chrome developer tools and in the network trafic I receive the error: invalid install uid...

5e7732c3b40f4
5e7732c3ce990
5e7732c3cddd6
5e7732c3d70d1
5e77330b920c5

Hello. I installed freichat on a custom php site generated by phprunner. Everything went O.K. but I can't get the connected users only a message: "Getting list of online users ....." I checked the integration in hardcode.php and everything is O.K., the session value passes to $ses in the script is O.K. - checked with echo, no errors in the chrome developer tools and in the network trafic I receive the error: invalid install uid... ![5e7732c3b40f4](serve/attachment&path=5e7732c3b40f4) ![5e7732c3ce990](serve/attachment&path=5e7732c3ce990) ![5e7732c3cddd6](serve/attachment&path=5e7732c3cddd6) ![5e7732c3d70d1](serve/attachment&path=5e7732c3d70d1) ![5e77330b920c5](serve/attachment&path=5e77330b920c5)

Hi,

It often happens if you change the location of the freichat folder after the installation.

Check that the path to the file hardcode.php in the copy-pasted code is correct.

Hi, It often happens if you change the location of the freichat folder after the installation. Check that the path to the file hardcode.php in the copy-pasted code is correct.
Necessity is the mother of all inventions!

The path is correct: /var/www/chat/freichat/hardcode.php
FreiChatX script initiated (17) - in the console - no error about file not found...
Also, in the backend the users table is shown correctly...

5e773a62e7493

The path is correct: /var/www/chat/freichat/hardcode.php FreiChatX script initiated (17) - in the console - no error about file not found... Also, in the backend the users table is shown correctly... ![5e773a62e7493](serve/attachment&path=5e773a62e7493)
edited Mar 22 at 10:18 am

Figured out using the solution here: https://codologic.com/page/node/3667

It seems that I had the same problem: the session value was not sent to main.php for whatever reason.
Now everything is O.K. minus send file because my site has a certificate (https connection) and when I try to upload a file the upload window is empty and in chrome I have the error: Mixed Content: The page at '<URL>' was loaded over HTTPS, but requested an insecure image '<URL>'. This content should also be served over HTTPS.

Also the window is not resized...

Figured out using the solution here: https://codologic.com/page/node/3667 It seems that I had the same problem: the session value was not sent to main.php for whatever reason. Now everything is O.K. minus send file because my site has a certificate (https connection) and when I try to upload a file the upload window is empty and in chrome I have the error: **Mixed Content: The page at &#039;&lt;URL&gt;&#039; was loaded over HTTPS, but requested an insecure image &#039;&lt;URL&gt;&#039;. This content should also be served over HTTPS.** Also the window is not resized...
edited Mar 22 at 11:28 am
59
3
2
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