HTML5 Data Bindings Support Product Page
Solved
Simple HTML5 DB page not working
Reported 11 years ago
2
have this problem
11 years ago Steve Skinner posted:
New Problem... A page I started building didn't work on initial tests, so I set it up on an empty page to make sure no other code could be interfering. Same problem persists. Nothing loads, despite the test source feature shows the records that should be displayed.
Here's my test page:
64.251.195.102/sandbox/test.html
This should be showing the first 10 records of an aircraft list. You can see my database connection is set up and working:
64.251.195.102/dmxDatabaseSources/FleetList-flying-unitASC.asp?limit=10
On further research, I found that when I test the main database connection, it gives me an internal server error when testing connection. However, I can use the database just fine with Dreamweaver's old extensions and reach the database with my Navicat software too. It's only in the HTML5 Data Bindings code that there's a problem somewhere.
I've tried everything - refreshing the files, deleting all the dmx files and redoing it. I even thought it might have been a problem with using a view (query) instead of a table. I've run out of things to test. Please help....
Replies
Replied 11 years ago
11 years ago Teodor Kuduschiev replied:
Hello,
The issue is caused by the fact you are using a dash in the data source name: aircraft-flying please change the datasource name to: aircraftFlying or aircraft_flying (without dashes) and the issue will be fixed.
The issue is caused by the fact you are using a dash in the data source name: aircraft-flying please change the datasource name to: aircraftFlying or aircraft_flying (without dashes) and the issue will be fixed.
Replied 11 years ago
11 years ago Steve Skinner replied:
I'm glad it was an easy fix, but damn.... I wasted hours on this yesterday instead of logging billable time.
Couldn't you put some sort of validation in there - or at least a note by the data source name field?
Anyway, thanks for the quick help.
Couldn't you put some sort of validation in there - or at least a note by the data source name field?
Anyway, thanks for the quick help.