Subject: | 1) "Parse error: syntax error,... |
Summary: | Package rating comment |
Messages: | 2 |
Author: | Alekos Psimikakis |
Date: | 2017-10-17 22:56:11 |
|
|
|
Alekos Psimikakis rated this package as follows:
Utility: | Bad |
Consistency: | Bad |
Examples: | Not sure |
|
Alekos Psimikakis - 2017-10-17 22:56:11
1) "Parse error: syntax error, unexpected '->' (T_OBJECT_OPERATOR), expecting variable in test.php on line 24"
Correction needed: $->Commit(); -> $d->Commit();
2) "Fatal error: Class 'Library\DB' not found in test.php on line 7"
I had to remove 'namespace Library' in db.php and use require_once('db.php'); and then $d = new DB(); in order to move on.
3) Then I got, "Use of undefined constant ROOT - assumed 'ROOT' in db.php on line 52" ...
I quit here. Too much! I believe this code has not even been tested before submission of the package!
Bad!
Lukasz Józwiak - 2017-10-17 23:52:26 - In reply to message 1 from Alekos Psimikakis
Code is used but in differed namespace, now is fixed.
I have a lot work and sometimes i share things, when i have time for that.
|