Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Roger Hughes 55 posts 88 karma points
    Oct 15, 2009 @ 09:28
    Roger Hughes
    0

    doc2form not showing fields on front end

    Hi,

    I am having an issue with the doc2form.
    When I add a macro to a template and complete the alias fields i need, the only thing that appears on the front end page is the form button.

    I have tried the same thing with the old AutoForm and it works fine. I moved to doc2form so I could customise the code behind.

    Any ideas?

    Rog

  • Ismail Mayat 4511 posts 10091 karma points MVP 2x admin c-trib
    Oct 15, 2009 @ 09:53
    Ismail Mayat
    0

    Roger,

    Try hitting the page with &umbDebugShowTrace=true querystring then look at the trace see if you are getting any errors, if so then report them in the thread to help debug.

    Regards

    Ismail

  • Roger Hughes 55 posts 88 karma points
    Oct 15, 2009 @ 13:15
    Roger Hughes
    0

    Thanks Ismail, this is my result for the form:

    Error returning dictionary item 'required'
    Value cannot be null.
    Parameter name: value
      at System.Web.Caching.CacheEntry..ctor(String key, Object value, CacheDependency dependency, CacheItemRemovedCallback onRemovedHandler, DateTime utcAbsoluteExpiration, TimeSpan slidingExpiration, CacheItemPriority priority, Boolean isPublic)
      at System.Web.Caching.CacheInternal.DoInsert(Boolean isPublic, String key, Object value, CacheDependency dependencies, DateTime utcAbsoluteExpiration, TimeSpan slidingExpiration, CacheItemPriority priority, CacheItemRemovedCallback onRemoveCallback, Boolean replace)
      at System.Web.Caching.Cache.Add(String key, Object value, CacheDependency dependencies, DateTime absoluteExpiration, TimeSpan slidingExpiration, CacheItemPriority priority, CacheItemRemovedCallback onRemoveCallback)
      at umbraco.cms.businesslogic.cache.Cache.GetCacheItem[TT](String cacheKey, Object syncLock, CacheItemPriority priority, CacheItemRemovedCallback refreshAction, CacheDependency cacheDependency, TimeSpan timeout, GetCacheItemDelegate`1 getCacheItem)
      at umbraco.cms.businesslogic.language.Language.GetByCultureCode(String CultureCode)
      at umbraco.library.GetDictionaryItem(String Key)
    0.0137491186446342 0.001017
    library Error returning dictionary item 'previous'
    Value cannot be null.
    Parameter name: value
      at System.Web.Caching.CacheEntry..ctor(String key, Object value, CacheDependency dependency, CacheItemRemovedCallback onRemovedHandler, DateTime utcAbsoluteExpiration, TimeSpan slidingExpiration, CacheItemPriority priority, Boolean isPublic)
      at System.Web.Caching.CacheInternal.DoInsert(Boolean isPublic, String key, Object value, CacheDependency dependencies, DateTime utcAbsoluteExpiration, TimeSpan slidingExpiration, CacheItemPriority priority, CacheItemRemovedCallback onRemoveCallback, Boolean replace)
      at System.Web.Caching.Cache.Add(String key, Object value, CacheDependency dependencies, DateTime absoluteExpiration, TimeSpan slidingExpiration, CacheItemPriority priority, CacheItemRemovedCallback onRemoveCallback)
      at umbraco.cms.businesslogic.cache.Cache.GetCacheItem[TT](String cacheKey, Object syncLock, CacheItemPriority priority, CacheItemRemovedCallback refreshAction, CacheDependency cacheDependency, TimeSpan timeout, GetCacheItemDelegate`1 getCacheItem)
      at umbraco.cms.businesslogic.language.Language.GetByCultureCode(String CultureCode)
      at umbraco.library.GetDictionaryItem(String Key)
    0.0157565788374463 0.002007
    library Error returning dictionary item 'next'
    Value cannot be null.
    Parameter name: value
      at System.Web.Caching.CacheEntry..ctor(String key, Object value, CacheDependency dependency, CacheItemRemovedCallback onRemovedHandler, DateTime utcAbsoluteExpiration, TimeSpan slidingExpiration, CacheItemPriority priority, Boolean isPublic)
      at System.Web.Caching.CacheInternal.DoInsert(Boolean isPublic, String key, Object value, CacheDependency dependencies, DateTime utcAbsoluteExpiration, TimeSpan slidingExpiration, CacheItemPriority priority, CacheItemRemovedCallback onRemoveCallback, Boolean replace)
      at System.Web.Caching.Cache.Add(String key, Object value, CacheDependency dependencies, DateTime absoluteExpiration, TimeSpan slidingExpiration, CacheItemPriority priority, CacheItemRemovedCallback onRemoveCallback)
      at umbraco.cms.businesslogic.cache.Cache.GetCacheItem[TT](String cacheKey, Object syncLock, CacheItemPriority priority, CacheItemRemovedCallback refreshAction, CacheDependency cacheDependency, TimeSpan timeout, GetCacheItemDelegate`1 getCacheItem)
      at umbraco.cms.businesslogic.language.Language.GetByCultureCode(String CultureCode)
      at umbraco.library.GetDictionaryItem(String Key)
  • Ismail Mayat 4511 posts 10091 karma points MVP 2x admin c-trib
    Oct 15, 2009 @ 16:08
    Ismail Mayat
    0

    Roger,

    That stacktrace looks fine even though have missing dictionary items it should still work.  Could you also paste your template code namely the actual macro call.

    Also are you using umbraco v4? Also did you get the doc2form from codeplex? 

    Regards

    Ismail

  • Masood Afzal 176 posts 522 karma points
    Oct 15, 2009 @ 20:01
    Masood Afzal
    0

    I did face same issue a while ago. But it worked once i filled 'All' fields while inserting macro even all fields are not required :)

    doc2form.ascx.cs in app_code folder contains code for doc2form.

    Regards

    Masood

     

     

Please Sign in or register to post replies

Write your reply to:

Draft