Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Strange error when I try to import a templateStrange error when I try to import a template
Previous
 
Next
New Post
11/5/2014 4:40 PM
 

I have a client who is trying to move their web site.  I've set up DNN on a new hosting provider, and that seems to be working fine.  I'm new to DNN, but have worked with other CMS's before, such as Drupal and Joomla.  I've double checked and I'm definitely using the same version of DNN as the original host.  (6.2.4)

The old web host exported the site's template and I moved the .template and .template.resources files into the Portals\_default folder.  I was then told to create a new site, and point it to the new template.  No matter what I do, whenever I add the new site, it gives me this error:

Error parsing Website TemplateCould not find file 'G:\PleskVhosts\mydomain.com\httpdocs\Portals\5\\ABD\UploadImages\1226\10\Bath&Body2.JPG'. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.FileInfo.get_Length() at DotNetNuke.Services.FileSystem.StandardFolderProvider.GetFileSize(IFileInfo file) at DotNetNuke.Services.FileSystem.FileManager.AddFile(IFolderInfo folder, String fileName, Stream fileContent, Boolean overwrite, Boolean checkPermissions, String contentType) at DotNetNuke.Services.FileSystem.FileManager.AddFile(IFolderInfo folder, String fileName, Stream fileContent, Boolean overwrite) at DotNetNuke.Entities.Portals.PortalController.ParseFiles(XmlNodeList nodeFiles, Int32 portalId, FolderInfo objFolder) at DotNetNuke.Entities.Portals.PortalController.ParseFolders(XmlNode nodeFolders, Int32 PortalId) at DotNetNuke.Entities.Portals.PortalController.ParseTemplate(Int32 PortalId, String TemplatePath, String TemplateFile, Int32 AdministratorId, PortalTemplateModuleAction mergeTabs, Boolean IsNewPortal) at DotNetNuke.Entities.Portals.PortalController.CreatePortal(String portalName, UserInfo adminUser, String description, String keyWords, PortalTemplateInfo template, String homeDirectory, String portalAlias, String serverPath, String childPath, Boolean isChildPortal)


If I cancel out of that screen, it looks like the site is there anyways.  But, if I the go in and try to edit that site, I get this error message:

Error: is currently unavailable. DotNetNuke.Services.Exceptions.ModuleLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object. at DotNetNuke.Entities.Portals.PortalSettings.GetPortalSettings(Int32 tabID, PortalInfo portal) at DotNetNuke.Entities.Portals.PortalSettings..ctor(PortalInfo portal) at DotNetNuke.Modules.Admin.Portals.SiteSettings.BindUsability(PortalInfo portal) at DotNetNuke.Modules.Admin.Portals.SiteSettings.BindPortal(Int32 portalId, String activeLanguage) at DotNetNuke.Modules.Admin.Portals.SiteSettings. (EventArgs e) --- End of inner exception stack trace ---


Nothing I do seems to make either of these error messages go away.  I don't know DNN enough to make sense of these errors.  I also have a ZIP file of the site's portal folder, so I've even tried anticipating what folder number it would automatically generate next, and unzipped the contents into that folder before creating the new site.  It didn't solve anything.  Could this template export be bad in some way?  Is there a way I can disassemble the two template files and piece it together on top of the default template by hand?  I appreciate any help anybody may be able to provide me here.
 
New Post
11/9/2014 9:40 AM
 
there is a duplicate backslash in your path, please make sure, non of the items in PortalAlias table have a trailing "\"

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
11/10/2014 2:59 PM
 
Are you referring to the HTTPAlias column of the database table?  There's definitely no trailing slashes in there.  That's the only column with string data in it, the other columns are all integers and dates.  The URL's are all things like "www.mysite.com".  I did notice that extra slash myself, and had a feeling that the issue is something to do with that, but I cannot figure out what is putting it in there.
 
New Post
11/10/2014 8:27 PM
 
In this case, it might be error of the DNN version being used, you should at least upgrade to 6.2.9, but even this version is meanwhile out of support.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Strange error when I try to import a templateStrange error when I try to import a template


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out