-
Notifications
You must be signed in to change notification settings - Fork 348
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
On Ubuntu 16.04 LTS seems not working #41
Comments
I am having the same issue on Debian 8 64bit, I have compared it with a known working install on CentOS 7 everything matches up. |
I had the same problem. Changed directories to the LookingGlass subdir and ran the configure.sh script again, and everything worked again. |
Move assets to the LookingGlass sub dir? I think I did not understand... |
I see, I have no idea why it is required by I copied the 'assets' directory in to the LookingGlass directory, reran the config and it works fine now. Edit: scrap that, its a problem with the LookingGlass/ratelimit.db If you change rate limit to 0 in Config.php everything works again (obviously that disables rate limiting) |
it is not working for me. http://lg.yonathan.com.br |
did you set $rateLimit = (int) '0'; in Congif.php ? |
Yes
|
Sorry for the delay, I haven't tested LG on Ubuntu 16.04 yet, but my guess is it's a permission based issue. I'll leave a quote from a previous issue: #32 (comment)
You can try the above for the commands that do not work. If the issue still persists I'll have a look on 16.04. |
I tried and still not working. Not sure if I'm doing something wrong, but seems pretty simple. error_log:
|
I'm seeing the same thing on ubuntu 16 |
This is the culprit, haven't found a fix yet though. PHP Fatal error: Uncaught Error: Function name must be a string in /var/www/html/LookingGlass/ajax.php:44 Missing php module? php not able to execute shell commands? I have looked at the permissions on /bin/ping and such and those look fine. |
I'm starting to point the finger at PHP versions. Ubuntu 16 is using php7.x whereas all the errors I am seeing mention php5.6 |
A quick fix, is uninstalling php7, and installing 5.6. It's definetely the PHP versions. |
@haizen007 Try my fix above in the last comment. =) |
@dalenoe I thought it was that, but I prefer php7 instead of the old 5.6. My current php -v: |
I obviously had a different issue related to the ratelimit.db I cant believe we got to this stage and the OP just now thinks it is relevant to mention it is php7, haha. |
For PHP 7 compatibility you might want to try the changes in the fork by MartinVerges: https://github.com/MartinVerges/LookingGlass/commit/175f48a9c32b2ec6f3aa7a2f84aee0b91399dd5b Additionaly, if you are using sqlite as well, make sure to install the necessary dependencies for using sqlite on PHP 7.0. |
Awesome. I will take a look at that this weekend.
…On Fri, Feb 3, 2017 at 6:54 AM, matthiasvdh ***@***.***> wrote:
For PHP 7 compatibility you might want to try the changes in the fork by
MartinVerges:
***@***.***
<MartinVerges/LookingGlass@175f48a>
Additionaly, if you are using sqlite as well, make sure to install the
necessary dependencies for using sqlite on PHP 7.0.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#41 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AA7gQLXNqXtzoYrP7yL2xRsanoGlEtafks5rYyNugaJpZM4Lf5_l>
.
|
Hi, I have met the same problem in Ubuntu 16.04 LTS. And I have fixed it. Here I illustrate some steps, maybe it can be helpful.
|
How to uninstall lookingglass....thanks... |
I made a fresh install from 1.2.0 -> 1.3.0 and from Ubuntu 14.04 -> 16.04.
On the old server everything was fine.
Now, on the new Ubuntu, both LG versions doesn't works and I don't know why.
when I click on "Run Test" nothing happens.
Yes, I followed the config.sh -> "Installation is complete"
Running on apache 2.4.
http://lg.yonathan.com.br
The text was updated successfully, but these errors were encountered: