home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
MediaPortal 1 Plugins
My Recipes
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="sique" data-source="post: 613442" data-attributes="member: 60927"><p>First of all, thank you for re-inventing the Recipes plug-in, it gives MP WAF points <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" /></p><p></p><p>But alas, I also get the "Error: DB connection failed" error:</p><p>[CODE]PS C:\ProgramData\Team MediaPortal\MediaPortal\scripts\MyRecipes> get-executionpolicy</p><p>RemoteSigned[/CODE]</p><p></p><p>[CODE]PS C:\ProgramData\Team MediaPortal\MediaPortal\scripts\MyRecipes> .\get_my_recipes_from_chefkoch_or_cooksunited.ps1</p><p>Error: DB connection failed</p><p>You cannot call a method on a null-valued expression.</p><p>At C:\ProgramData\Team MediaPortal\MediaPortal\scripts\MyRecipes\get_my_recipes </p><p>_from_chefkoch_or_cooksunited.ps1:132 char:18</p><p>+ $sqlCon.Close <<<< ()</p><p> + CategoryInfo : InvalidOperation: (Close:String) [], RuntimeExce</p><p> ption</p><p> + FullyQualifiedErrorId : InvokeMethodOnNull</p><p></p><p>Property 'CommandText' cannot be found on this object; make sure it exists and is settable.</p><p>At C:\ProgramData\Team MediaPortal\MediaPortal\scripts\MyRecipes\get_my_recipes</p><p>_from_chefkoch_or_cooksunited.ps1:209 char:13</p><p>+ $sqlCmd. <<<< CommandText = "INSERT INTO category (category_id, title, ur</p><p>l, recipes) VALUES ($catId, '$catName', '$catURL', $recipe)"</p><p> + CategoryInfo : InvalidOperation: (CommandText:String) [], Runti</p><p> meException</p><p> + FullyQualifiedErrorId : PropertyNotFound</p><p>...[/CODE]</p><p>(The errors are repeated a number of times)</p><p></p><p>I've checked the database, and it contains the tables you mentioned in an earlier post.</p></blockquote><p></p>
[QUOTE="sique, post: 613442, member: 60927"] First of all, thank you for re-inventing the Recipes plug-in, it gives MP WAF points :) But alas, I also get the "Error: DB connection failed" error: [CODE]PS C:\ProgramData\Team MediaPortal\MediaPortal\scripts\MyRecipes> get-executionpolicy RemoteSigned[/CODE] [CODE]PS C:\ProgramData\Team MediaPortal\MediaPortal\scripts\MyRecipes> .\get_my_recipes_from_chefkoch_or_cooksunited.ps1 Error: DB connection failed You cannot call a method on a null-valued expression. At C:\ProgramData\Team MediaPortal\MediaPortal\scripts\MyRecipes\get_my_recipes _from_chefkoch_or_cooksunited.ps1:132 char:18 + $sqlCon.Close <<<< () + CategoryInfo : InvalidOperation: (Close:String) [], RuntimeExce ption + FullyQualifiedErrorId : InvokeMethodOnNull Property 'CommandText' cannot be found on this object; make sure it exists and is settable. At C:\ProgramData\Team MediaPortal\MediaPortal\scripts\MyRecipes\get_my_recipes _from_chefkoch_or_cooksunited.ps1:209 char:13 + $sqlCmd. <<<< CommandText = "INSERT INTO category (category_id, title, ur l, recipes) VALUES ($catId, '$catName', '$catURL', $recipe)" + CategoryInfo : InvalidOperation: (CommandText:String) [], Runti meException + FullyQualifiedErrorId : PropertyNotFound ...[/CODE] (The errors are repeated a number of times) I've checked the database, and it contains the tables you mentioned in an earlier post. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
My Recipes
Contact us
RSS
Top
Bottom