MediaPortal Forums HTPC/MediaCenter

Go Back   MediaPortal Forum » MediaPortal TV-Server » Community Plugins


Community Plugins TV-Server Plugins created from users for users, can be found here.

Reply
 
Thread Tools Display Modes
Old 2008-08-20, 22:30   #581 (permalink)
Portal Member
 
Join Date: Aug 2006
Location: Hessen
Posts: 35
Thanks: 2
Thanked 2 Times in 2 Posts

Country:

My System

Send a message via ICQ to Mr.Montesa
Default

Good evening gentlemen,
first I'd like to say: Thanks a lot for that pretty cool webfrontend!
I'm just at the beginning to discover all the great stuff.

But perhaps you can help me with a problem on my system. While scheduling a recording I get the followin error:
Code:
Error: [AnyDAC][Phys][ODBC][Microsoft][SQL Native Client][SQL Server]Cannot insert the value NULL into column 'directory', table 'MpTvDbRC2.dbo.Schedule'; 
column does not allow nulls. INSERT fails.
And in horitsontal view I get this error while clicking on the small yellow exclamation mark/question mark:
Code:
The Web Server has encountered the following error:

[AnyDAC][Phys][ODBC][Microsoft][SQL Native Client][SQL Server]Invalid object name 'bkqueries.dbo.programs'.
I just searched this thread regardning SQL error and always saw the hint upgrading to the latest version.
So I upgraded to version 0.4.0.03. But still getting these errors.
Let me know if you need additional input.
Thanks for any hints.
greets
Mr.Montesa is offline   Reply With Quote
Old 2008-08-20, 22:34   #582 (permalink)
Portal Member
 
Join Date: May 2005
Posts: 41
Thanks: 6
Thanked 2 Times in 2 Posts

My System

Default

@asboe

As you already know I like your remoddeled graphics a lot.....

Sweetens this great webinterface even more.

Nice seeing you posting them for others to try.
__________________
/OleBent
OleBent is offline   Reply With Quote
Old 2008-08-21, 01:21   #583 (permalink)
Portal Member
 
Join Date: Jun 2007
Posts: 319
Thanks: 108
Thanked 140 Times in 63 Posts

Country:


Default

Quote:
Originally Posted by Mr.Montesa View Post
Code:
Error: [AnyDAC][Phys][ODBC][Microsoft][SQL Native Client][SQL Server]Cannot insert the value NULL into column 'directory', table 'MpTvDbRC2.dbo.Schedule'; 
column does not allow nulls. INSERT fails.
This issue is usually caused when there is no default recording folder associated with a tv card. Check in TV Server Configuration under Recording Settings -> Recording Folders that there is a recording directory specified for each card.
Quote:
Originally Posted by Mr.Montesa View Post
And in horitsontal view I get this error while clicking on the small yellow exclamation mark/question mark:
Code:
[AnyDAC][Phys][ODBC][Microsoft][SQL Native Client][SQL Server]Invalid object name 'bkqueries.dbo.programs'.
I am not sure about this one... basically, when the system searches for all suggested programs, it needs to access both the bkqueries database and the normal mediaportal database in the same query. This works fine in MySQL just by prefixing the table names with the database name - like bkqueries.programs - but in MSSQL, you need to specify the database owner as well, hence the ".dbo" added to the table name for MSSQL.

I think there are 2 possibilities....
1. You are using MySQL and the interface has not detected this correctly.
2. The loggin you created for the web interface to your MSSQL database does not have sufficient privileges to both databases.

As a start, which database are you using?

If you are using MSSQL, check that the privileges on the user you created are sufficient. To do this you will need to have installed Microsoft SQL Server Management Express (there is a link in a previous post). From the main screen, open the "Security" folder, then "logins" then double click the user id that you are using for the web interface. This will open the "Login Properties" window. Select "Server Roles" - I am not sure which is the correct one, so tick them all! (someone out there probably knows!). I am not actually sure if this will work, but it is a good probability.

Please keep me posted so we can get to the bottom of it.

Kev
Big_Kev is offline   Reply With Quote
Old 2008-08-21, 03:54   #584 (permalink)
Portal Member
 
Join Date: Jun 2007
Posts: 319
Thanks: 108
Thanked 140 Times in 63 Posts

Country:


Default New Version 0.4.0.05 beta

Hi all,

You may notice that I have jumped 1 version (0.04). It made a breif appearance, but then I read the post from asboe about using more sophisticated queries.

I though about this for a while and decided to go for a "write your own" approach.

There is now a text area for an expert query below the 5 key words in the query.

It works like this....

First fill in up to 5 keywords that you are going to use in the query. k1 to k5
Now write out your expert query using k1, k2, k3 etc to refer to the keywords, and the query words "and", "or" and "not" using brackets where appropriate.

Say I wanted to suggest all programs with "dog" or "cat" but not "horse" or "donkey" but don't suggest any episodes of playschool...

k1 = cat, k2 = dog, k3 = horse, k4 = donkey, k5 = playschool. (all queries are NOT case sensitive).

The expert query would be...

((k1 or k2) and not (k3 or k4)) and not k5

the syntax is very similar to a "where" statement in SQL, and in fact uses substitution to create the "where" statement for the query - in addition to the other constraints of dates / times etc.

If you don't enter anything in the expert query, it just works like before....

k1 or k2 or k3 or k4 or k5...

Feedback would be great.

Also fixed "!!!CheckBox!!!" thing on non-multi select + copying IP to all user profiles on editing + some minor HTML changes...

Kev

Hi asboe

Thanks for your new icons! I have included them in the latest version.

Thanks for the idea for more sophisticated queries.

Kev

Quote:
Originally Posted by risu View Post
Hi Kev,

there's one bug that's been there as long as feature for different users, it's present at least on 03.0.07 which is currently installed on my HTPC. I have three userprofiles installed with their own individual IP addresses for auto-login. Everything works just correct except editing. When you edit one profile it usually updates only the one on bottom.
Fixed

Kev
Attached Thumbnails
self-contained-web-server-interface-query.jpg  

Last edited by Big_Kev; 2008-08-21 at 07:53. Reason: Attached screenshot
Big_Kev is offline   Reply With Quote
This User Say Thank You:
Old 2008-08-21, 10:22   #585 (permalink)
Portal Member
 
Join Date: Jul 2008
Location: The Hague
Age: 31
Posts: 12
Thanks: 4
Thanked 4 Times in 4 Posts

Country:

My System

Send a message via MSN to rroet Send a message via Skype™ to rroet
Default

Mornin' Kev, (morning on my side at least)

I saw you jumped the number, but after installation the manager still indicated 4.004B .... o.O odd.

I've updated the dutch translation file. It looks like all html templates were correct already this time. So just the translation file attached this time.


Had some odd mssql stuff with query based recordings. Often it was a PEBKAC that caused the issue
Don't forget to click the radio buttons of the queries before pressing edit or remove is my tip to the fellow users

Keep up the good work.
Attached Files
File Type: txt MPTranslate.txt (15.2 KB, 10 views)
rroet is offline   Reply With Quote
This User Say Thank You:
Old 2008-08-21, 18:04   #586 (permalink)
Portal Member
 
Join Date: Aug 2006
Location: Hessen
Posts: 35
Thanks: 2
Thanked 2 Times in 2 Posts

Country:

My System

Send a message via ICQ to Mr.Montesa
Default

Hey Kev,
thanks for your fast reply.
With your first hint you were damn right. I thought that the first setting would be the default value for all. Configured my TV cards and it is working now.
BTW: I'm using MS-SQL.

The second hint didn't work. See attached screenshot.
1st line is a scheduled recording.
2nd line is the default icon for all shows. I'm not sure if an exclamation/question mark is the default icon.
When I click on the questionmark of show "Familienzeit", I get the following error:
Code:
The Web Server has encountered the following error:

[AnyDAC][Phys][ODBC][Microsoft][SQL Native Client][SQL Server]Invalid object name 'bkqueries.dbo.programs'.
Of corse after following you hint, editing the DB roles.
Can I increase the logging/debugging to send you more details? Or how shall we proceed?
Additional info: I've followed exactly your Setup.pdf. Default settings, user web, etc.
Thanks for your tips.
greets


EDIT:
I got a second error that may help.
Got it while viewing my scheduled recordings and klicking on the button: Query Manager
Code:
The Web Server has encountered the following error:

[AnyDAC][Comp][Clnt]-340. Driver ID is not defined. Set TADConnection.DriverName or add DriverID parameter to your connection definition
I'm not sure, but the DriverID should be important.
On clicking the button: show suggestions I get:
Code:
The Web Server has encountered the following error:

[AnyDAC][Phys][ODBC][Microsoft][SQL Native Client][SQL Server]Invalid object name 'bkqueries.dbo.programs'.
Attached Thumbnails
self-contained-web-server-interface-mp_error.png  

Last edited by Mr.Montesa; 2008-08-21 at 18:16.
Mr.Montesa is offline   Reply With Quote
Old 2008-08-22, 11:16   #587 (permalink)
Portal Member
 
Join Date: Oct 2005
Location: Hungary
Age: 33
Posts: 323
Thanks: 18
Thanked 3 Times in 3 Posts

Country:

My System

Default

Hi,

after I installed the MPWebIntSetup_0_4_0_05.exe the version still 0.4.0.04 Beta. This version can't save the 'Suggest Only / Schedule to Record ' and channel settings in the new query menu.
regeszter is online now   Reply With Quote
Old 2008-08-23, 09:31   #588 (permalink)
Portal Member
 
Join Date: Jun 2007
Posts: 319
Thanks: 108
Thanked 140 Times in 63 Posts

Country:


Default BUGS!

Sorry all,

There seems to be a few bugs with some of the new stuff.

I wont be able to look at it until tuesday, please be patient and add more feature requests / bugs so I can work them into the next release (if I have time! - or I will just try and fix the bugs!)

Kev

Quote:
Originally Posted by Mr.Montesa View Post

[AnyDAC][Phys][ODBC][Microsoft][SQL Native Client][SQL Server]Invalid object name 'bkqueries.dbo.programs'.
[/code]
Hi,

Could you please check in MSSQL Management Studio and see if the tables in bkqueries have been created as "dbo.queries" and "dbo.programs" or they have something other than "dbo" (like your MSSQL user name)

Kev

Last edited by Big_Kev; 2008-08-23 at 09:36. Reason: Automerged Doublepost
Big_Kev is offline   Reply With Quote
Old 2008-08-23, 09:36   #589 (permalink)
Portal Member
 
cheezey's Avatar
 
Join Date: Aug 2004
Location: West Yorks
Age: 40
Posts: 485
Thanks: 8
Thanked 27 Times in 12 Posts

Country:

My System

Default

Quote:
Originally Posted by Mr.Montesa View Post

The Web Server has encountered the following error:

[AnyDAC][Comp][Clnt]-340. Driver ID is not defined. Set TADConnection.DriverName or add DriverID parameter to your connection definition
You get that error when you haven't selected the "Enable query based suggestions and recordings" on the Database section of MP Web Interface Manager.
cheezey is offline   Reply With Quote
Old 2008-08-24, 10:49   #590 (permalink)
Portal Member
 
Golf4's Avatar
 
Join Date: Aug 2006
Location: Dunkeldeutschland
Posts: 690
Thanks: 3
Thanked 15 Times in 10 Posts

Country:

My System

Default

Hi Big_Kev,
I would test gladly the new version.

- Is your server dead?
Golf4 is online now   Reply With Quote
Reply

Bookmarks

Tags
contained, interface, server, web

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
TVE3 Web User Interface goatse Development 29 2008-05-12 18:14
Web Interface tucholka MediaPortal 1 Talk 1 2007-04-16 15:44
Updated interface for MP Web Controller quiller Skins 0 2007-01-21 08:14
Web Interface like xbmc? brandenpro Plugins 1 2005-09-05 09:19
Web Interface...... spo General Development (no feature request here!) 24 2004-11-07 12:33


All times are GMT +1. The time now is 11:49.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 Protected by Akismet Blog with WordPress
Advertisement System V2.6 By   Branden