Subject: | Crashes horribly on execution:... |
Summary: | Package rating comment |
Messages: | 3 |
Author: | Daniel |
Date: | 2020-03-12 21:04:07 |
|
|
|
Daniel rated this package as follows:
Utility: | Bad |
Consistency: | Good |
Documentation: | Insufficient |
Examples: | Insufficient |
|
Daniel - 2020-03-12 21:04:07
Crashes horribly on execution:
c:\Temp>php windows-file-propert-2020-02-17\index.php
----PHP--Class--WindowsFileProperties-------------<br><br>
Fatal error: Uncaught Error: Class 'COM' not found in C:\Temp\windows-file-propert-2020-02-17\windowsFileProperties.php:41
Stack trace:
#0 C:\Temp\windows-file-propert-2020-02-17\windowsFileProperties.php(64): WindowsFileProperties->getFileSystOb()
#1 C:\Temp\windows-file-propert-2020-02-17\windowsFileProperties.php(28): WindowsFileProperties->getRealFileName('C:\\Temp\\Screens...')
#2 C:\Temp\windows-file-propert-2020-02-17\index.php(10): WindowsFileProperties->__construct('C:\\Temp\\Screens...')
#3 {main}
thrown in C:\Temp\windows-file-propert-2020-02-17\windowsFileProperties.php on line 41
Line 41: return new COM("Scripting.FileSystemObject");
The package would retrieve what it says it does and would print it to stdout as HTML. However, it does not allow you to get hold of the information via get() methods which, unfortunately, makes it a curiosity not a tool.
The documentation consists of a single line of code and a jpg of the output, at first I thought it was a joke but I quickly realized that it was all the package could do.
In order to make this a _tool_ you need to give the user a way to retrieve the information you collect about the file, which should be very easy since you have come so far along.
1) Fix the COM error or update your dependencies and prerequisites.
2) Give the use an easy way to retrieve all the different bits of info in an object or via separate get() methods, otherwise it's just useless.
Hassane Moussa - 2020-03-13 10:10:00 - In reply to message 1 from Daniel
Hi Daniel, Well receive very thanks for your comment!
Hassane Moussa - 2021-03-19 08:58:24 - In reply to message 1 from Daniel
Hi Daniel,
The necessary of your suggestions is done (upgrade done) , please check.
Let me know any !
Best regards,
Hassane
|