Kodi Community Forum

Full Version: Web server issue "ASP Error: Undefined
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
Running XBMC Atlantis Beta 1 on Ubuntu Intrepid x86_64 I get the following error when connecting to the XBMC webserver (with no password set)

Code:
ASP Error: Undefined procedure isset At line 1, line => if (isset("Action")

if (isset("Action")) {
        if (Action == "UnqueMusicplaylist") {
            var ItemCount;
            var z;
            ItemCount = xbmcCommand("catalog","items");
            for (z = 0;  z < ItemCount;  z = z + 1) {
                // dirty workaround, cause unque, + z won't work
                xbmcCommand("navigate", Action);
                xbmcCommand("catalog","unque");
            }
            Action = "musicplaylist";          
        }
        xbmcCommand("navigate", Action);
    }
    
    if (isset("command")) {
        // execute a few commands before listing the contents
        if (command == "select") {
            xbmcCommand("catalog", "select," + item);
        } else if (command == "unque") {
            xbmcCommand("catalog", "unque," + item);
        }
    }

    var navigatorstate;
    var BannerClass;
    var InfoClass;
    var BackgroundClass;
    var ItemFileClass;
    navigato


This occurs as soon as I connect to the webserver.

I saw one thread from 05 with this error, but no solution was mentioned. Does anyone have any ideas?

Thanks
BTW, I'm not 100% sure if this is just something on my end (cause I'm running Intrepid or what) so I didn't post it to Trac yet.
In previous versions I had this problem when the system date on my xbox skewed far away from the correct time (years from memory).

I thought it was an unlikely fix when I heard of it, but fixing the time and date on my xbox did indeed fix my problem.

Don't know if this is still relevent in Atlantis Beta 1, but thought it might be worth a mention.
Can you pastebin a debug log from xbmc after replicating the error?
Sure...I would have posted that to begin with, but I couldn't find it in its usual place (/tmp right?)

Also, I turned on enable debug logging, and that still didn't produce a log. I did see /tmp/xbmc-USERNAME but there was no log file in there either.

Where does the log file go now or how do I turn it on?
/var/tmp/$USER-xbmc.log
Ahh, thanks

Here's my debug log

http://pastebin.com/m215e5ebf
Did you find any solution to this? I'm getting the same error...
Can you post another log where all you do is start XBMC, replicate the error, stop xbmc? Namely, DON'T run a scan on your movie collection!
I didn't run a scan...it was automatic. I'll disable that and repost.
I'm getting the same error here, nothing seemingly relevant in the logs, but here it is:

http://pastebin.com/m393ba30e

svn 15654, gentoo x64 2008 - up to date. built via configure && make

ASP is obviously not being interpreted correctly. I replaced /usr/local/shared/xbmc/web/default.asp with the asp.asp (asp test) from libGoAhead. Javascript is rendered correctly, asp is not. For reference, here's the error from that page:

ASP Error: Undefined procedure aspTest At line 1, line => aspTest("Peter Smith", "112 Merry Way")
aspTest("Peter Smith", "112 Merry Way");

Sorry I can't be of more help, but I'm lost from here.
Here's my log w/o an auto-scan

http://pastebin.com/m2c71c8ed
Even though tehuni's post hints at the answer to this question...

Can you check that the web folder in /usr/share/xbmc is populated?
Mine has a 'default.asp' and a styles folder.
Did some more digging here.
I compiled upstream from source: http://data.goahead.com/Software/Webserv...218.tar.gz

and ran into exactly the same problem... Still can't handle .asp. I'll play around on some other platforms, but it's not an XBMC problem. 64-bit problem maybe?

I'm assuming I shouldn't TRAC an upstream bug, but development on goahead seems to have stopped.

Suggestions?
Pages: 1 2 3