We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Safecracker Form Says "No channel was specified." ???

Development and Programming

pcm's avatar
pcm
17 posts
14 years ago
pcm's avatar pcm

Hello,

First of all, just updated EE to 2.2. I was having problems getting what appeared to be a successful update to actually update the data. Figured I better make sure my EE install was updated fully first.

I have a link to a page with a Safecracker form, for editing entries (not a new entry). That page is /my-account/. On that page is an edit button:

<a href="http://{entry_id_path=my-account/edit-disp}">EDIT INFO</a>

This attempts to send me to /my-account/edit-disp/1343/ where 1343 is the entry_id it’s grabbing from the sending page.

That was opening up the form on the page before I updated EE, but it simply wasn’t updating on submitting changes to the data. Now it won’t even open the page, saying “The form you submitted has errors: - there was no channel specified”

I haven’t changed anything since updating, so not sure what the problem is. If I remove the safecracker tag from the page, it loads, so there is something about this it doesn’t like…though I have no idea why the error says I’m not specifying a channel:

{exp:safecracker channel="disp" return="my-account/edit-disp/success/"  entry_id="1343" error="my-account/edit-disp/error"}

Wondering if it’s related to the entry ID? I’ve tried using segement_3, I’ve tried using entry_id=”{entry_id}”, and as you can see I’ve even just put in the exact value (1343), but it won’t load the page. What am I doing wrong?!

Thanks!

       
pcm's avatar
pcm
17 posts
14 years ago
pcm's avatar pcm

Nobody?

       
pcm's avatar
pcm
17 posts
14 years ago
pcm's avatar pcm

Solved this issue–just a small typo on my part. Safecracker form still won’t update though despite pulling data into the form when it loads.

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.