News:

Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com

Main Menu

FATAL ERROR Media Scenarios

Started by xxhbxx, March 06, 2009, 04:46:51 PM

Previous topic - Next topic

xxhbxx

Hi,
i changed the media scenarios.
If i want to open this options again, this Errormessage is shown:

Fatal error: mysql error: [1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '?' at line 1] in EXECUTE("SELECT * FROM MediaType WHERE PK_MediaType=?") in /var/www/pluto-admin/include/adodb/adodb-errorhandler.inc.php on line 77

Can anyone help me?
Thank you!
Kind regards!

Marie.O

#1
Thanks for finding this.

The problem happens because one of your media events is missing a media type.

I have fixed this for 0810. To fix your problem, you have to modify your media scenario on the My Scenario page in the web. On the left hand side, click on Show Devices tree (at the bottom of the screen), and then on My Scenarios at the bottom of the screen. Browse thru your media scenarios, and fix the missing MediaType entry.
If I helped you, feel free to buy me a coffee: [url="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES"]https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES[/url]

xxhbxx

Thank you for your fast answer!
I wanted to add a new "Button" for the Orbiter. This Button should show me the data of an Windows-share. But I don't know what I have done exactly, that this error occured.
Sorry, but I'm new in the Linuxworld.
Could you explain it step by step how I can get to this line 205ff?
Thank you very much!!

Marie.O

If I helped you, feel free to buy me a coffee: [url="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES"]https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES[/url]

xxhbxx

Perfect!!
I've learned something new and it's working!!!!
Thanks!!!!!!