troubleshooting Question

PHP: Errors in Apache log and console

Avatar of trevor1940
trevor1940 asked on
Windows 10PHPWindows OSApache Web Server
17 Comments1 Solution175 ViewsLast Modified:
Hi

I'm attempting to install Apachie-Jena  Fuseki  and Skosmos  in windows 10 following this guide    which uses XAMPP

When I try and test Skosmos using test data from here loading-data

All good so far the data is loaded and reports correctly  however when I try and view the data in Skosmos I get the following in Apache logs

[Wed Jan 08 12:02:25.561396 2020] [php7:notice] [pid 11176:tid 1944] [client ::1:58254] PHP Notice:  Undefined index: http://www.w3.org/2004/02/skos/core#Concept in C:\\xampp\\htdocs\\skosmos\\controller\\RestController.php on line 288, referer: http://localhost:8080/skosmos/stw/en/
[Wed Jan 08 12:02:25.694397 2020] [php7:notice] [pid 11176:tid 1936] [client ::1:58263] PHP Notice:  Undefined offset: 0 in C:\\xampp\\htdocs\\skosmos\\controller\\WebController.php on line 642, referer: http://localhost:8080/skosmos/stw/en/

and in Chrome dev tools
http://localhost:8080/skosmos/resource/css/stylesheet.css net::ERR_ABORTED 404 (Not Found)
jquery.min.js:4 GET http://localhost:8080/skosmos/rest/v1/types?lang=en 500 (Internal Server Error)


I'm not total sure what line 288 of RestController.php is doing the web page "http://www.w3.org/2004/02/skos/core#Concept" doesn't exist but in a browser gets redirected to https://www.w3.org/2009/08/skos-reference/skos.html#Concept I attempted to change the urls but  it still fails
WebController.php
RestController.php
ASKER CERTIFIED SOLUTION
trevor1940

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 17 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 17 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros