3.1 & 3.2 Extensions Database 3.1 / 3.2System Info

<span class="qte-attr qte_31_32-qte">3.1.x &amp; 3.2.x</span>
User avatar

caju
Users
Users
Posts: 26
Joined: 02 Dec 2016, 21:32
    Mac OS X Chrome

Re: System Info

Post by caju »

:tumbsyes: thanks dmzx.
Loving the extensions on this site.

[ Post made via iPhone ] Image

User avatar

kaspir
Users
Users
Posts: 112
Joined: 25 Aug 2016, 12:50
    Windows 7 Firefox

Re: System Info

Post by kaspir »

kaspir wrote: 23 Dec 2016, 11:09
kaspir wrote: 27 Aug 2016, 17:25
dmzx wrote: 27 Aug 2016, 15:34 What host do you use?
Sorry I left that out, Siteground. (Did I make an unwise host decision? lol)
I got this working now. Unsure how, doesn't matter.. wish I could explain.. :mml:
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.

Update, on phpBB 3.2 now, this ext 3.2 reinstalled. Still not showing uptime. I am on a linux server, siteground, about to join up with support and ask again about shell_exec. Because I have access to SSH/Shell, I don't see why this is a problem. Stay tuned.

For now, I've made this ext show for guests, unworking. You can take a peek of what I'm seeing here: https://forums.thetopfew.com , at the bottom of course.
Image
World of Phaos RPG online is making it's come back! Play free now!
Check out phpBB contributions & extension downloads. :P

User avatar

kaspir
Users
Users
Posts: 112
Joined: 25 Aug 2016, 12:50
    Windows 7 Firefox

Re: System Info

Post by kaspir »

Image

Making progress, still waiting for extension to show me something. Purged cache, nothing yet. Still no up time.

EDIT: Wow, I don't know why I could not google that myself while I was trying.. all they did was add this to php.ini I believe: disable_functions = ""

Some time has passed now, server time has not loaded. :( I'm at a stand still.

I just gave the listener file to my host support. Perhaps they can shed some light why this simple php operation is not working. You said only Linux systems right? Ext shows my host using: Linux 3.12.18-clouder0, and the board version as 3.2 tho.

Interesting: http://phpbb3world.altervista.org/viewtopic.php?t=1854
Last edited by kaspir on 31 Jan 2017, 09:56, edited 1 time in total.

User avatar

martin
Admin
Admin
Posts: 5105
Joined: 06 Apr 2014, 16:12
    Ubuntu Chrome

Re: System Info

Post by martin »

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.
Image

User avatar

kaspir
Users
Users
Posts: 112
Joined: 25 Aug 2016, 12:50
    Windows 7 Firefox

Re: System Info

Post by kaspir »

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.
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. :(

User avatar

martin
Admin
Admin
Posts: 5105
Joined: 06 Apr 2014, 16:12
    Ubuntu Chrome

Re: System Info

Post by martin »

Then it's host related issue.

User avatar

kaspir
Users
Users
Posts: 112
Joined: 25 Aug 2016, 12:50
    Windows 7 Firefox

Re: System Info

Post by kaspir »

martin wrote: 31 Jan 2017, 10:31 Then it's host related issue.
And I just said this to the current dev on my case:
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.
However, the support has just taken my login info.. I pay decent money, we'll find the culprit!

User avatar

kaspir
Users
Users
Posts: 112
Joined: 25 Aug 2016, 12:50
    Windows 7 Firefox

Re: System Info

Post by kaspir »

Can't win every battle! I guess it's a sacrifice.
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
So it really wasn't possible (for siteground).. at last, now I know I did everything I could.

EDIT: NOTE TO ALL! If you're using Siteground, you'll need a dedicated server for this extension to work. There ya have.. DM update your READ_ME if ya like, it's confirmed.

User avatar

martin
Admin
Admin
Posts: 5105
Joined: 06 Apr 2014, 16:12
    Ubuntu Chrome

Re: System Info

Post by martin »

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.

User avatar

kaspir
Users
Users
Posts: 112
Joined: 25 Aug 2016, 12:50
    Windows 7 Firefox

Re: System Info

Post by kaspir »

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.
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.

There really no reason for many of us to pay for a dedicated server... lol.. just no reason.

User avatar

kaspir
Users
Users
Posts: 112
Joined: 25 Aug 2016, 12:50
    Windows 7 Firefox

Re: System Info

Post by kaspir »

Bit of an update, Siteground now telling me that shell_exec is enabled by default. Still till no avail.

I gave them the listener.php file before when I first approached them about shell_exec. And this is a new response I just got.
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
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.

Any info you can feed me to feed back into host support, keep it coming! I hardly quit.. :P But this one may be one I have to.. we'll see.

User avatar

Tastenplayer
Users
Users
Posts: 14
Joined: 05 Feb 2017, 21:20
    Windows 7 Firefox

Re: System Info

Post by Tastenplayer »

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?
Be the best version of yourself rather than a bad copy of someone else!
Excuse me for my English, but I learned it by talking with people, not in school.

User avatar

kaspir
Users
Users
Posts: 112
Joined: 25 Aug 2016, 12:50
    Windows 7 Firefox

Re: System Info

Post by kaspir »

Tastenplayer 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?
Yes. Here is a topic I took the time to write out to keep the discussion: https://www.phpbb.com/community/viewtop ... &t=2407431

User avatar

Tastenplayer
Users
Users
Posts: 14
Joined: 05 Feb 2017, 21:20
    Windows 7 Firefox

Re: System Info

Post by Tastenplayer »

Thank you for this link!
I've already understood that I have to change this in the php.ini..

The rest is a little complicated in English. Will ask later in the phpbb.de forum.

User avatar

HarveyWNvm LLC.
Users
Users
Posts: 53
Joined: 03 Nov 2020, 15:12
    Windows 10 Chrome

Re: System Info

Post by HarveyWNvm LLC. »

Pls do not upload your versions submit them.

Post edited by martin.
nFL-Cs.InFo Clock to Banner
Image

Post Reply Previous topicNext topic