Live Helper Chat support forum.. Forum is locked. New place for questions - Github Discussions
You are not logged in.
Pages: 1
Hi folks!
I do have some trouble integrating osticket in lhc ...
I've downloaded the plugin at https://github.com/LiveHelperChat/osTicket and activated it in /settings/settings.ini.php . My problem is now: where to enter the api credentials? Did not find any further settings.ini.php (description says it should be in the osticket folder inside the extension folder) ...
What did i wrong?
Oh... by the way ... the plugin is also not in modules list in LHC.....
Could need some help
Greets Alex
Last edited by alex-live (2018-02-05 13:58:56)
Offline
Hi,
You have to activate extension in settings/settings.ini.php file and then click clear cache in back office.
Offline
Oh yes... i got it now thank you much!
Offline
Hi
osticket/settings.php.ini does not exist in the repository? And it doesn't (magically?) appear even after activating osticket extension in main settings.php.ini and clearing cache.
Where I can get a sample of what osticket/settings.php.ini looks like (with fake API key) - I will create a pull request on the github repo
Offline
Oh, wait- I see now that you enter the API connection settings in the admin section. Perhaps the docs need to be updated to reflect that
Offline
Update:
No matter what URL I set in the settings, I get 404 (not found) when trying to create a ticket from a chat. I can't tell if the error is NGINX, PHP, osTicket or LHC related.
LHC really is the best of all the live support options out there (in that it is #FreeSW / #FLOSS and fully self-hosted). I would love to contribute more to help fix these things, but first I need to understand them.
URL's I have tried in my osTicket integration settings:
BTW, I also get this in my PHP logs - even though the file DOES exist and is
chmod 777
:
[error] 25586#25586: *7316 FastCGI sent in stderr: "PHP message: PHP Warning: include(cache/compiledtemplates/6f27d03e25f52dc138c95e4c25771d12.php): failed to open stream: No such file or directory in /var/www/clients/client2/web9/web/lhc_web/lib/core/lhtpl/tpl.php on line 535
PHP message: PHP Warning: include(): Failed opening 'cache/compiledtemplates/6f27d03e25f52dc138c95e4c25771d12.php' for inclusion (include_path='.:/usr/share/php') in /var/www/clients/client2/web9/web/lhc_web/lib/core/lhtpl/tpl.php on line 535" while reading response header from upstream,
Offline
Hi,
I made a copy the osticket extension in the "extensions" and activated it by "0 => 'osticket'," ... let's skip other description!
The problem is after enabling osticket extension in the extension settings and clear cache, i can see "Osticket" in the module list BUT the "osticket/settings/settings.ini.php" file do no be generated after that and also there is not folder name "settings" in the osticket folder. And when i try to save osticket settings from "Integration settings" i face an server error "Forbidden You don't have permission to access /chat/index.php/site_admin/osticket/settings on this server." even the folders are 755 and file 644perms . Also i tried for 777 and no resolve.
- Even i made "settings" folder manually with 755 and/or 777 perms and no resolve.
- Even i made "settings.ini.php" manually in the settings folder with 644 perms.
May you help me to find the matter?
Thanks
Offline
I found the solution by google searching (forum search does not show a the good result on it ). The answer was at this post below:
https://forum.livehelperchat.com/viewtopic.php?id=227
Mod security must be disabled and after that everything seems works well!
Regards
Offline
Pages: 1