Is the RestController.php file one you created or is it part of a framewrok?
arnold
Are you using Apache http or tomcat? Or you need both?
Question based on port 8080 use
What is the error on the command when you check php code for syntax. It is possible that you are missing php modules that are used.
The URL is informational and commonly would not be the cause of the error.
The log entry is a notification it is not considered an error.
it suggests a variable, reference is being used that was not previously defined.
It might be the php uses strict meaning anything used needs to be predeclared.
I.e you define $variable while in the code $Variable ....
That typo will generate a notice for an undefined , ....
Much depends on your preference, php.ini could be adjusted to report info, warning, error and critical .
Info is one level up from notice.
Look at preceding lines above 288 to see what triggers. It complains about an index.
Have not used the underlying package so comments are solely to deal based on errors/notifications.
This didn't appear to print anything I was exacting to see hello [] World at the very least
arnold
Are you using Apache http or tomcat? Or you need both
I'm using XAMPP however Fuseki can be run under tomcat I've not got that far
This page generates the errors in the log and fails to load properly (there is a loading gif)
1) PHP Notices: are simply warnings. And PHP usually promotes these to Fatals in future PHP releases.
Be sure to start with all latest software, then open dev tickets to fix these warnings.
2) The 500 error is a result of a 404 error, which appears to be a missing /skosmos/resource/css/stylesheet.css file which you must resolve to make progress.
Looks like this missing file is the only real blocker (Fatal error).
David Favor
Aside: This is going to be very complex to get working on Windows.
You have to look at the two packages you are using to see what their requirements are and what they need.
Php.net for download of modules.
David Favor
To resolve the 500 error now, check your Apache error.log file which will show you the exact file name + line number raising the 500.
David Favor
Note: I find no reference in the Apache docs about compatibility of mpm_winnt with the HTTP/2 protocol.
If Company revenue revolves around Website speed, best do some research about this, as HTTP/2 fixes achieves much better performance across many various traffic patterns + site designs... so... Company Policy might require revisiting... if HTTP/2 is required...
The error is very clear - an index in an array is not being found - we need to find out
a) where the data for the array is coming from
b) that it is being populated correctly
trevor1940
ASKER
David
The browser showing the 500 error, I'm getting, is a jQuery call which runs a SPARQL query I need to work out what is making this call
No idea what your getting at with last comment about mpm_winnt
Julian Please Hold I'll check now and let you know
trevor1940
ASKER
Julian
Didn't do anything except stop an entry in the log
Then check for a file called debug.log and see what is in it.
NB: change the $$$debug.log to a unique name that fits in with your project. I used this to try and limit overlap with existing files you don't want to overwrite.
Basically - the fact you are getting an empty array says that something in the framework went wrong. That array is supposed (based on the code that comes after) to be populated with data.
To solve this problem we would need to trace back to where the array is supposed to be populated and see why it is not.
Open in new window
There is no array element with index http://www.w3.org/2004/02/skos/core#ConceptOne option is to dump the vocabStats variable to see what is in there (put after line 256)
Open in new window
This might give a clue.
Is the RestController.php file one you created or is it part of a framewrok?