Details
-
Type: extRequest
-
Status: Closed
-
Priority: Major
-
Resolution: Done
-
Fix Version/s: Sprint 4.1.2
-
Component/s: FIWARE-TECH-HELP
-
Labels:None
-
HD-Chapter:WebUI
-
HD-Enabler:POI Provider
Description
Responsible: fiware@ulpgc.es
Tested GE(s):Synchronization GE
Environment:
- Filab Cloud
Machine ID: 73586366-dd69-4952-8bee-735d724007d6
Region: Spain
Test user: ulpgc-test-web-ui2
Image name: Ubuntu Server 14.04.1 (64 bits)
- Local
Operating System: Ubuntu 12.04.4 (64 bits)
Virtualization software: VirtualBox 4.3.18
Host Operating System: Windows 8 (64 bits)
Repository: https://github.com/justinrainbow/json-schema
Description:
In the section Installing POI Data Provider from the Installation and
Administration guide we are told to copy subdirectory called ‘vendor’.
However, this directory can’t be found in the link provided. The original
text is quoted below:
“In order to install the JSON Schema for PHP implementation, follow
istructions available at [3]. After the library and the required
dependencies have been downloaded, copy the 'vendor' subdirectory under the
same directory where you place the POI-DP PHP implementation, e.g.
/var/www/poi_dp/”.
This folder is needed in order to run the end to end test successfully. The
error from server can be seen in the image
POI_Data_Provider_end_to_end_testing_fails.png. The error log located in
/var/log/apache2/error.log indicates that the server error is due to not
having available the required autoload.php file inside vendor folder.
Error log:
[Tue Nov 04 09:45:25 2014] [error] [client 193.145.136.32] PHP Warning:
require(vendor/autoload.php): failed to open stream: No such file or
directory in /var/www/poi_dp/php/data_manager.php on line 5
[Tue Nov 04 09:45:25 2014] [error] [client 193.145.136.32] PHP Fatal error:
require(): Failed opening required 'vendor/autoload.php'
(include_path='.:/usr/share/php:/usr/share/pear') in
/var/www/poi_dp/php/data_manager.php on line 5
[Tue Nov 04 09:45:25 2014] [error] [client 193.145.136.32] PHP Warning:
require(vendor/autoload.php): failed to open stream: No such file or
directory in /var/www/poi_dp/php/data_manager.php on line 5
[Tue Nov 04 09:45:25 2014] [error] [client 193.145.136.32] PHP Fatal error:
require(): Failed opening required 'vendor/autoload.php'
(include_path='.:/usr/share/php:/usr/share/pear') in
/var/www/poi_dp/php/data_manager.php on line 5
_______________________________________________
Fiware-tech-help mailing list
Fiware-tech-help@lists.fi-ware.org
https://lists.fi-ware.org/listinfo/fiware-tech-help
The section about installing the JSON Schema support is rewritten and tested.