Recently I made an addition to an existing 2sxc template where I added a new input field. The field was a drop-down selector and after I enabled it I went through and manually updated all of the instances through the Content-Types and Data manager.
After editing all of the instances I noticed my changes are working and the modules are being built successfully however when I try to edit the instance I am now receiving a 500 error and unable to edit the element.
In the past we've made additions to existing modules and have been able to update the content for the different instances without error but for some reason we are now receiving this error. I am unsure if others have experienced this or if anyone has any suggestions for a fix.
My next step is to try replicating the template file and to see if under the same circumstances we experience the same error.
Related
A recent problem has arisen with a Drupal 7 site. When I attempt use the aggregate CSS/JS functionality in the performance page it doesn't work, the styling has gone and the JS elements do not work.
The strange thing is that clones of the site work fine, both locally and also on another of my web spaces.
The links to the aggregated items seem to be there, and contain data, but they do not appear to be available when I view them in another tab (nothing is shown).
I have checked the folder permissions and they seem OK. The site is fully up to date.
One thing I just noticed was that upon changing the CSS, a new file was created in sites/default/files/CSS but a link to this did not appear in the HTML.
We recently upgraded an old DNN site to the latest version (9.8.00). Everything has been running fine for the most part, but today I have ran into an issue I can't figure out how to resolve. Once of my users dropped an HTML module on the page but we can not get it to display outside of edit mode. I have tried adding an HTML module to other pages as well to see if it was isolated to an individual page, but it's doing the same thing across the entire site. I have tried all of the following things to no avail.
Debugged the page to make sure no errors where being thrown and none are.
Stopped inheriting permissions and made the module visible to all users.
Changed the Cache settings for the module to 0.
Verified the site was running on .Net 4.5.1 (I'm actually on 4.7.1).
Tested two other modules (link and event), both of these modules display outside of edit mode.
I am at a loss at this point. The HTML module is showing as version 9.8.0, but has an upgrade version as 10.0.3. So I'm not sure if that means it needs to be upgraded or it has already been upgraded.
Any help would be greatly appreciated.
Recents versions of the HTML module have this behaviour: they doesn't appear when they haven't any content. After you add some content, they keep displayed.
I think this feature is related to the default template which is containing an empty HTML module.
I installed dnn version 9. When I want to add a new page I go to the contents-> Pages-> Add page. an empty white page appears without any options to add a new page or event to cancel.
This is caused by a problem with your templates folder, either missing, or bad permissions. I'm guessing when you installed you chose the blank template?
I've got a blog post on things to try to resolve
http://www.chrishammond.com/Blog/itemId/2692/Canrsquot-add-ldquopagesrdquo-in-DNN9
"If you are having problems adding Pages in DNN 9, read this blog post.
I recently upgraded all of my sites to DNN 9, the most recent one being upgraded last night. This morning I wake up to an email from a client of mine reporting a problem with adding pages in one of their sites that they also upgraded to DNN recently. I read through their email, and decide that I’ll look into their issue a bit later, have an itch to scratch on one of my own websites, so I’ll get to them later (sorry client).
Working on this site that I upgrade last night, I decided I wanted to add another page to the site, low and behold, I was unable to do so.
To add a page in DNN9 you click on the “Content” option in the persona bar, and then the Pages option. There you will be presented with a view similar to this:
image
When I clicked on Add Page there, the screen went blank, like so:
image
That’s not very useful, actually that is as far from useful as possible. Once that happens, you can’t actually “do” anything from an Admin perspective. You have to “leave” this page, go somewhere else (click on manage/users for example, then you might need to click BACK in your browser a bunch of times) then you can click on Content/Pages again to get back into the Page listing for a site.
So why is the persona bar page blank? This error is the cause:
GET https://SOMEPORTALALIASHERE/API/PersonaBar/Pages/GetDefaultSettings? 500 (Internal Server Error)
If you dig into the DNN Error Log (Admin Logs) a bit you might find a more detailed error, something along the lines of
Message:Value cannot be null. Parameter name: source
StackTrace:
at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable1 source, Func2 predicate) at Dnn.PersonaBar.Pages.Components.TemplateController.GetDefaultTemplateId(IEnumerable`1 templates) at Dnn.PersonaBar.Pages.Components.PagesControllerImpl.GetDefaultSettings() at Dnn.PersonaBar.Pages.Services.PagesController.GetDefaultSettings() at lambda_method(Closure , Object , Object[] ) at
So what does that message tell you? Well something is happening with your DNN Install trying to get a list of “page templates”. In digging further, on my site, I found the issue to be the File Permissions on the Templates folder in the portals/0/ directory. For some reason on the site that I upgraded last night, my permissions were set to ALL USERS DENY on the “Browse Files in Folder” and “Open Files in Folder” check boxes.
image
Unchecking those, clicking SAVE resolved my “pages” persona bar issues. How did those permissions get set? Who knows, this DNN site has been around since 2008 or earlier, and that never caused a problem.
There are definitely some “kinks” to be worked out of DNN9, but so far I am digging the new experience.
Regarding my “client”’s site, they had a similar, but different issue. In their case, the TEMPLATES folder didn’t exist in the Portal that they were trying to use. Simply creating a new Templates folder in their File Manager fixed that problem for their site."
I tried out many solutions but finally I figure it out by reinstalling and add Object Qualifier. because it is optional field I leave it without any value in my first installation
This error was fixed in DNN 9.0.1
This is rather odd: I am suddenly unable to delete content from my Drupal 7 website.
I can no longer delete any content, regardless of the content type. When I click delete and confirm, I return to the content overview, but the items are still there (and accessible). No errors, no warnings, no error logs. Flushing the cache does not help. I'm logged in as admin, so I cannot be a permission-issue. The url aliases however are deleted, the nodes themselves not.
I haven't done any core hacking, or installed weird modules, it's a rather basic Drupal installation. Any thoughts on how to delete content again, or how I can try to figure out what's happening here? Much appreciated!
I had this same issue. I checked the 'error log' and saw a possible conflict with the "Heartbeat Plugin" part of the "Heartbeat" module. As soon as I turned that plugin off (via the "modules" section), the issue was resolved.
I am creating a WPF Browser App in which I need to be able to access and insert data into a SQL Server table. Before adding the data source, the program builds and runs just fine. After using the wizard to add the ADO.NET Entity Data Model component, I try to build it and get the error
Error 2 The type name 'App' does not exist in the type 'ServiceRequest.ServiceRequest' C:\Projects\WPF\ServiceRequest\ServiceRequest\obj\Debug\App.g.cs 60 28 ServiceRequest
I even tried creating a new WPF Browser App, adding only the data source and nothing else, and get the same error. I looked at the app.g.cs file before and after adding the data source, and they are identical. How could this be causing an error when nothing has changed?
Thank you for any help.
UPDATE:
Found that if I only include a stored procedure rather than only including a table, I do not get any errors.
I was able to determine that I got the error because my project and the table I was adding had the same name. Changing the name of my project fixed it.