Kitz ADSL Broadband Information
adsl spacer  
Support this site
Home Broadband ISPs Tech Routers Wiki Forum
 
     
   Compare ISP   Rate your ISP
   Glossary   Glossary
 
Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: 1 ... 6 7 [8]

Author Topic: DSLstats webserver - Custom Interface  (Read 10309 times)

tiffy

  • Reg Member
  • ***
  • Posts: 415
Re: DSLstats webserver - Custom Interface
« Reply #105 on: November 27, 2018, 02:44:43 PM »

Running the v2 release of kitz custom interface on my on line web server, all working fine with the exception of history, the "history" tab just produces a blank browser page.
The web server does support php, I am already running broadstairs, php based custom interface there without any issues.

All the kitz utility program files are in the server "webserver" folder which is also the destination for the stats webserver files as uploaded via DSLStats from my RPI 3B via inbuilt routine.
Noted that the kitz interface stats image & text files must be stored in name as opposed to date format, have renamed to conform and tried storage in name based folders or directly in the webserver folder, no joy, the history browser page does not even get to the stage of reporting "file not found" or indeed produce any form of header or dialogue, just a blank page !

I am obviously doing something wrong as quite a few forum members have the kitz interface or a combination of kitz & broadstairs interface running and available on their profiles, any suggestions as to what appreciated.
Logged
Plusnet 40/10 - DSLStats/RPi - ZyXEL VMG1312-B10A - Huawei Cab - MDWS (sadly gone 12/03/18)

hacktrix2006

  • Reg Member
  • ***
  • Posts: 205
    • ADSL Stats:
Re: DSLstats webserver - Custom Interface
« Reply #106 on: November 27, 2018, 02:54:56 PM »

@tiffy history.php requires you have PHP installed as well as Apache and an FTP server. From what I have read.

Sent from my LLD-L31 using Tapatalk

Logged
ADSL Stats: http://solidus1983.mynetgear.com:65508/index.html
(Only used during Diagnostics and requesting for advise)

tiffy

  • Reg Member
  • ***
  • Posts: 415
Re: DSLstats webserver - Custom Interface
« Reply #107 on: November 27, 2018, 03:51:17 PM »

Thanks for the response.

Yes, appreciate that the history program file is php based, however, as stated, my webserver does support this and broadstairs, php based interface is already running there without any issues.

Have also tried running locally on Windows using xampp (with Apache) which again runs broadstairs interface without any problems, same issue there with the kitz history page.
Logged
Plusnet 40/10 - DSLStats/RPi - ZyXEL VMG1312-B10A - Huawei Cab - MDWS (sadly gone 12/03/18)

d2d4j

  • Reg Member
  • ***
  • Posts: 741
Re: DSLstats webserver - Custom Interface
« Reply #108 on: November 27, 2018, 04:21:44 PM »

Hi tiffy

Apologies I did say I would look into this for you

It is now working if you check

Many thanks and sorry for late reply, I had to go out and mobile died.

Many thanks

John
Logged

tiffy

  • Reg Member
  • ***
  • Posts: 415
Re: DSLstats webserver - Custom Interface
« Reply #109 on: November 28, 2018, 02:36:39 PM »

Many thanks to John (d2d4j) for a very prompt solution to my issue which I believed involved a slight tweek of the history.php file which he edited on the server, having access to this as his company provide my web hosting.

Strangley, there was a re-occurance of the issue a few hours after John's fix was applied, he very quickly diagnosed and attributed this to the history.php file being overwritten by an old revision from my RPi 3B source which I certainly had not manually applied.
Had been aware at an earlier stage that name changes (Kitz to my ID) edited in the *.htm or history.php files on the server only would at some stage change back to original, carrying out the edit's to the files in the RPi webserver folder gave a permanent result, concluded that all these files must be overwritten on the server during the DSLStats auto upload sequence.

With no other connection other than becoming a recent customer with John's web hosting company I can only repeat that his service and support with any of my issues has been exceptional and with his patronage of this forum/knowledge of *DSL related matters it makes it so much easier explaining any issues that arise, would thoroughly recommend.
Logged
Plusnet 40/10 - DSLStats/RPi - ZyXEL VMG1312-B10A - Huawei Cab - MDWS (sadly gone 12/03/18)

kitz

  • Administrator
  • Senior Kitizen
  • *
  • Posts: 31690
  • Trinity: Most guys do.
    • http://www.kitz.co.uk
Re: DSLstats webserver - Custom Interface
« Reply #110 on: November 28, 2018, 08:59:29 PM »

Very quick comment from me. 

I think the problem may be that I used php short tags in some of  my code...  which won't work unless the server has specifically got php short tags enabled.    I'd used short tags where I quickly swap out from php to use html forms.

atm I'm not able to repackage and re-upload...  but in the meantime if anyone else is having difficulties then changing
Code: [Select]
<? to
Code: [Select]
<?phpshould do the trick.




   
Logged
Please do not PM me with queries for broadband help as I may not be able to respond.
-----
How to get your router line stats :: ADSL Exchange Checker

tiffy

  • Reg Member
  • ***
  • Posts: 415
Re: DSLstats webserver - Custom Interface
« Reply #111 on: November 29, 2018, 09:43:22 AM »

@kitz

Thanks for the explanation of "short tags", John (d2d4j) had mentioned this was causing the issue on his system with respect to running the history.php file, I did not really understand the logistics which I'am sure John would have explained had I asked.

Your custom interface is now working very well on my system, many thanks for the development and free supply of this utility, much appreciated.
Logged
Plusnet 40/10 - DSLStats/RPi - ZyXEL VMG1312-B10A - Huawei Cab - MDWS (sadly gone 12/03/18)

kitz

  • Administrator
  • Senior Kitizen
  • *
  • Posts: 31690
  • Trinity: Most guys do.
    • http://www.kitz.co.uk
Re: DSLstats webserver - Custom Interface
« Reply #112 on: November 29, 2018, 09:13:23 PM »

nps.   My bad -  I'd used full tags for the main part of the code, but old habits die hard when it came to quickly dropping back into html for the form, and then back again to php.   With my server supporting short tags and originally having coded it for myself I hadn't realised it would become a problem for others until you brought the topic up.   Fortunately John realised what it was :)
Logged
Please do not PM me with queries for broadband help as I may not be able to respond.
-----
How to get your router line stats :: ADSL Exchange Checker
Pages: 1 ... 6 7 [8]
 

anything