Sorry, I'm only after seeing your jim reference manual link on the webif, blind... I should get most of my info from that hopefully!!
The first part of my last question still looks like being trouble though...
@af123
Another day, another question....
Is it possible to pass a list to jim to be processed?
[
{"uri": "http://humaxportal.com", "name": "Humax Portal", "img": "img/humax.png"},
{"uri": "http://iplayer.co.uk", "name": "BBC iPlayer", "img": "img/iplayer.png"},
{"uri"...
Don't worry, I think I have it... I think that is all taking care of by jQuery although I might have to try and add status codes to notify successful insert/delete/update etc.
@af123
I haven't been able to get near this the last week or so with a family bereavement and then work commitments..
I was able to get pretty much all the functionality working for a copied version of the official portal. I had one issue though, the timings of the calls to the jim functions...
The script is throwing an error while fetching the table data but for the life of me I don't know what the issue is... Fair play for knowing this jim syntax, maybe it's not too bad when yah get to know it!!
Anyway, getting this error in the console:
humax# /mod/webif/html/portal/jim/script.jim...
Sorry for all the questions but I've another one..
I can see that the insert is updating the DB so happy days but the fetch is not giving me anything.. What exactly does fetch return?
Should it be something like:
[
{"id": 1, "uri": "http://humaxportal.com", "name": "Humax Portal", "img"...
Should have thought of this, looks like this was the issue as no more mongoose errors.. Not getting data back from saving/reading but I'm sure that is my code!
Thanks for the help!
Saying it's not found when I try running it from the console but if I look at the contents of the directory it exists...
Humax HDR-Fox T2 (humax) 1.03.06/2.19
humax# /mod/webif/html/portal/jim/script.jim
-/bin/sh: /mod/webif/html/portal/jim/script.jim: not found
humax# cd...
Changing that throws a different error!
[1383216906] [error] [client 127.0.0.1] GET /mod/webif/html/portal/jim/script.jim: Error 404: Not Found
[1383216916] [error] [client 127.0.0.1] POST /mod/webif/html/portal/jim/script.jim: Error 404: Not Found
It's looks like my original path may have...
Yeah, that is where I have the script alright...
This is the error being thrown:
[1383211354] [error] [client 127.0.0.1] GET /portal/jim/script.jim: spawn_process: execle(script.jim): No such file or directory
[1383211354] [error] [client 127.0.0.1] GET /portal/jim/script.jim: Error 500...
@af123
I put in your code this morning but I have a small issue, I hope..
I created a new folder called "jim" within the "portal" folder and added your script.jim file there. Then in my javascript I included the code above with the path as follows...
Thanks for that.. I'm afraid I don't know zip about CGI either :(
Can you look at the attached file please, this is my javascript for the DB stuff. How would I convert this to a CGI script? I could manage the Ajax query but the other stuff I'd have to have a look at an example first. Could you...
@ChrisDaniels/af123
A quick question lads please..
I had been back looking at this new portal today and decided to include a section to maintain Favourite Apps. Anyway, I had it working well on the laptop using a SQLite DB and I was able to add/remove etc. apps from the main lists of apps to...
Cheers!
You are hardly expecting official logos for an unofficial portal now ;-)
The plan is to implement the exact same beast as the XBMC on demand players! AFAIK the 4OD player on xbmc is no longer working either since C4 changed the feed source away from ps3.channel4.com..
If that is not...
Sorry, I'm only after seeing your jim reference manual link on the webif, blind... I should get most of my info from that hopefully!!
The first part of my last question still looks like being trouble though...
@af123
Another day, another question....
Is it possible to pass a list to jim to be processed?
[
{"uri": "http://humaxportal.com", "name": "Humax Portal", "img": "img/humax.png"},
{"uri": "http://iplayer.co.uk", "name": "BBC iPlayer", "img": "img/iplayer.png"},
{"uri"...
Don't worry, I think I have it... I think that is all taking care of by jQuery although I might have to try and add status codes to notify successful insert/delete/update etc.
@af123
I haven't been able to get near this the last week or so with a family bereavement and then work commitments..
I was able to get pretty much all the functionality working for a copied version of the official portal. I had one issue though, the timings of the calls to the jim functions...
The script is throwing an error while fetching the table data but for the life of me I don't know what the issue is... Fair play for knowing this jim syntax, maybe it's not too bad when yah get to know it!!
Anyway, getting this error in the console:
humax# /mod/webif/html/portal/jim/script.jim...
Sorry for all the questions but I've another one..
I can see that the insert is updating the DB so happy days but the fetch is not giving me anything.. What exactly does fetch return?
Should it be something like:
[
{"id": 1, "uri": "http://humaxportal.com", "name": "Humax Portal", "img"...
Should have thought of this, looks like this was the issue as no more mongoose errors.. Not getting data back from saving/reading but I'm sure that is my code!
Thanks for the help!
Saying it's not found when I try running it from the console but if I look at the contents of the directory it exists...
Humax HDR-Fox T2 (humax) 1.03.06/2.19
humax# /mod/webif/html/portal/jim/script.jim
-/bin/sh: /mod/webif/html/portal/jim/script.jim: not found
humax# cd...
Changing that throws a different error!
[1383216906] [error] [client 127.0.0.1] GET /mod/webif/html/portal/jim/script.jim: Error 404: Not Found
[1383216916] [error] [client 127.0.0.1] POST /mod/webif/html/portal/jim/script.jim: Error 404: Not Found
It's looks like my original path may have...
Yeah, that is where I have the script alright...
This is the error being thrown:
[1383211354] [error] [client 127.0.0.1] GET /portal/jim/script.jim: spawn_process: execle(script.jim): No such file or directory
[1383211354] [error] [client 127.0.0.1] GET /portal/jim/script.jim: Error 500...
@af123
I put in your code this morning but I have a small issue, I hope..
I created a new folder called "jim" within the "portal" folder and added your script.jim file there. Then in my javascript I included the code above with the path as follows...
Thanks for that.. I'm afraid I don't know zip about CGI either :(
Can you look at the attached file please, this is my javascript for the DB stuff. How would I convert this to a CGI script? I could manage the Ajax query but the other stuff I'd have to have a look at an example first. Could you...
@ChrisDaniels/af123
A quick question lads please..
I had been back looking at this new portal today and decided to include a section to maintain Favourite Apps. Anyway, I had it working well on the laptop using a SQLite DB and I was able to add/remove etc. apps from the main lists of apps to...
Cheers!
You are hardly expecting official logos for an unofficial portal now ;-)
The plan is to implement the exact same beast as the XBMC on demand players! AFAIK the 4OD player on xbmc is no longer working either since C4 changed the feed source away from ps3.channel4.com..
If that is not...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.