
Loving the extensions on this site.
[ Post made via iPhone ]

In regards to this, I'm not sure if I ever had it working/showing uptime. I don't remember that anyways as it's never been active, and un sure why I posted this atm.
I already tried injecting the event code straight into index_body, doesn't change anything. Also just tried to change the event file to _before instead of _after, nothing. :(martin wrote: 31 Jan 2017, 09:53 Just for info you can only call the same event a few times so if you got say 7 extensions and they all using say index_body_stat_blocks_after.html then after so many calls an ext will fail to show.
We noticed this on the RC version not saying this is your problem as i have not been following this topic but might be some thing you could look at.
And I just said this to the current dev on my case:
However, the support has just taken my login info.. I pay decent money, we'll find the culprit!That's just it, the developer has told me that the shell_exec was not enabled. He was right on that because now you've enabled it. I am no longer doubting the developers phpBB extension, I've seen it working on multiple other phpBB sites with no editing ever done to it.
So it really wasn't possible (for siteground).. at last, now I know I did everything I could.HOST SUPPORT wrote:The problem is that the command in the script listener.php will not run in the chrooted environment of the shared server. Here is the command executed via SSH for the user under cPanel:
Code:
xxxxxxx@us6 [~]# cut -d. -f1 /proc/uptime
cut: /proc/uptime: No such file or directory
This means that the user of the cPanel does not have access to the file on the server for security purposes. Allow me to elaborate a bit further.
On our shared servers, we are running a hardened Apache version in a chrooted environment, with SuExec. This makes sure that your website is isolated from the rest of the sites. This means that the files located in your account are accessible only by you, no other shared hosting account located on the same server can access your files.
In addition, we have compiled a secured Linux kernel with grsec enhancement. This secures the server against kernel exploits. We also have sophisticated IDS / IPS systems which block malicious bots and attackers.
In order to execute the above command, you would need a dedicated server with root access so that the user can be configured to access the /proc/uptime file. However, I am afraid that granting access to this file for a shared user is not possible. Apologies if this causes an inconvenience on your end.
Kind Regards,
Zdravko Bondev
Technical Support Team
Well if you know who they are, please give me links to there sites and I will dispute, heavily. But without any proof, it's kinda hearsay to them I'm sure.martin wrote: 31 Jan 2017, 11:34 Yup sound like hosting bs to get you to upgrade (they earn more then) there is a few members on this site that use that host and it works on there site (i know as i have/had) full access to ftp and hosting account.
But if thats there way of working then thats the way it is.
Now I already deleted the test-shell_exec.php, however it only shows the server's current time stamp. Perhaps this is an extension that may only be used on VPS or Dedicated, my goal is to find that out.In ticket 2083847, you had attached a PHP script which is trying to execute the following command via the shell_exec function:
Code: cut -d. -f1 /proc/uptime
Your cPanel account does not have access to the /proc directory and that is why the script was unsuccessful.
PHP's shell_exec function is enabled on our servers, by default and in fact, I created a test script to verify that. The script just executes the shell's date command and then outputs the result. You can access the script at: https://thetopfew.com/test-shell_exec.php
Please note that I had to comment out the disable_functions line that I added to the php.ini, earlier, so that the shell_exec function can work.
Let us know if you need further assistance.
Best Regards,
Martin Yakimov
Senior Technical Support
Yes. Here is a topic I took the time to write out to keep the discussion: https://www.phpbb.com/community/viewtop ... &t=2407431Tastenplayer wrote: 01 Mar 2017, 13:18 Hello
On my forum in this extension the "Server Uptime: 0 days, 0 hours, 0 minutes and 0 seconds" always shows 0. Why doesn't it work by me? Is this because I have a shared hosting package?