0
Fixed

Log file errors ext.php

Paul L 1 year ago updated 1 year ago 8

Since the latest update I am seeing quite a few different errors in the PHP error log.

For example, here is one...

PHP Notice: Undefined index: load in D:\Internet\filerun\css\ext.php on line 89

Any ideas?

Started

It can be ignored it is just a notice, but it will get fixed with the upcoming update. Thank you for reporting it.

Hi,

Since the 2021.12.07 my FileRun is broken. Before I was the theme "one" but after updating the CSS can not be load.

 In my debugger, the request "/css/ext.php?v=2021.12.07&thumbSize=170&photoSize=200&theme=purple" return a 500 Internal Error with the notice on "\css\ext.php on line 89".

If I change the parameter "theme" to "one" or "dark", I get a CSS code.

From my control panel (without CSS I a little bit difficult), I can only select "purple" or "dark", but as I say the "purple" theme fail, the dark theme work fine except for the control panel because the request "css/ext.php?v=2021.12.07&cpanel=1&theme=dark" return also a 500 internal error. (with the body :

PHP Notice:  Undefined index: thumbSize in C:\inetpub\filerun\css\ext.php on line 83

So, what I need to do ? Why the css/ext.php return 500 internal error ? Why now I can't use the "one" theme ? Can I rollback to the previous version of FileRun (2021.06.28)

Thank

Set 

display_errors = Off

In your PHP configuration.

Some themes have been rewritten along with the newer interface, and I chose not to give them away in the free FileRun version.

For other questions, you are welcome to open new topics.

Hi Vlag,

OK the others themes, I understand your position, sadly I used the "Microsoft One Drive" theme for long time ago and I really like it.

My problem as I say, is that "purple" (your default theme) not working on my server. The URL to get the CSS returns an 500 internal error.


No error for other theme like "one" or "dark" if I change the parameter in the URL :

So the only theme working on my server is the "dark" theme but not really usefull.


For the control panel, same thing, the CSShandler always return a 500 with any theme, so everything is broken :


Fixed

A FileRun update is now available for installation from the FileRun installation control panel. It should fix this and more.

Hi VLad,

Thank you for your great job.


Sadly, after applying this update, the bug is still here!


/css/ext.php?v=20220113&thumbSize=170&photoSize=200&theme=blue

theme : blue, purple, red, green or one return a 500 internal error! Only works with theme=dark, other failed!

For the admin control panel, still broken

/css/ext.php?v=20220113&cpanel=1&theme=red

Tested with theme red, green, purple, one, blue or dark, always return a 500 internal error.

How I can help you to investigate this problem ? Any log or verbose debugging info to help you ?

PHP error log related entries would be helpful.

It's absolutely super weird !


I just edit my php.ini file to log errors by adding (uncomment) this line;

error_log = C:\Windows\temp\php_errors.log

And now, requests on /css/etc.php perfectly works, so no CSS error and FileRun works fine, including the Control Panel !

Just to be sure, I re-comment this line in my php.ini to disable the log, and every request to get the CSS return the 500 internal error that breaks the FileRun's UI !

I can't understand why it's possible but fine, my FileRun working !!!

FYI, the content of the PHP error log (just some PHP notice) :

[14-Jan-2022 13:45:30 Europe/Paris] PHP Notice:  Undefined index: thumbSize in C:\inetpub\filerun\css\ext.php on line 84
[14-Jan-2022 13:46:11 Europe/Paris] PHP Notice: Undefined index: thumbSize in C:\inetpub\filerun\css\ext.php on line 84
[14-Jan-2022 13:46:11 Europe/Paris] PHP Notice: Undefined index: inverted in C:\inetpub\filerun\css\ext.php on line 117
[14-Jan-2022 13:46:16 Europe/Paris] PHP Notice: Undefined index: inverted in C:\inetpub\filerun\css\ext.php on line 117
[14-Jan-2022 13:46:22 Europe/Paris] PHP Notice: Undefined index: thumbSize in C:\inetpub\filerun\css\ext.php on line 84
[14-Jan-2022 13:46:22 Europe/Paris] PHP Notice: Undefined index: inverted in C:\inetpub\filerun\css\ext.php on line 117
[14-Jan-2022 13:46:25 Europe/Paris] PHP Notice: Undefined index: inverted in C:\inetpub\filerun\css\ext.php on line 117
[14-Jan-2022 13:46:30 Europe/Paris] PHP Notice: Undefined index: thumbSize in C:\inetpub\filerun\css\ext.php on line 84
[14-Jan-2022 13:46:30 Europe/Paris] PHP Notice: Undefined index: inverted in C:\inetpub\filerun\css\ext.php on line 117
[14-Jan-2022 13:46:33 Europe/Paris] PHP Notice: Undefined index: inverted in C:\inetpub\filerun\css\ext.php on line 117
[14-Jan-2022 13:47:34 Europe/Paris] PHP Notice: Undefined index: inverted in C:\inetpub\filerun\css\ext.php on line 117
[14-Jan-2022 13:47:36 Europe/Paris] PHP Notice: Undefined index: thumbSize in C:\inetpub\filerun\css\ext.php on line 84
[14-Jan-2022 13:47:36 Europe/Paris] PHP Notice: Undefined index: inverted in C:\inetpub\filerun\css\ext.php on line 117

Thank you for your time and support,

Best