Forum


HomeHomePremiumPremiumAdministrationAdministrationActivating advanced URL managementActivating advanced URL management
Previous
 
Next
New Post
8/7/2013 11:25 AM
 

Mike,

It may have to do with the fact that the 404 page is a new page on the site and for upgrade this page cannot be automatically created.

If you send me the access information to your site I can give it a shot and see if I can setup a 404 error page.

My email : aderson at dnnhero dot com

Cheers,

Aderson

 
New Post
8/7/2013 2:25 PM
 

Mike,

Thanks for the access you sent for your site. Here is how you can create your own 404 error page redirect in case you are upgrading to DNN 7.1 and want to activate the 404 redirect page:

1 - As a precaution I recommend to do a backup before attempting this;

2 - Create a 404 error page just like you create a regular page on DNN;

3 - Right after creating the page, you have to get the "TabID" for that new page. This is the number that identifies this new page in the database. To do that you should go to Host/SQL and run the following SQL query:

select * from tabs order by tabid desc

4 - The first line will show what is the TabdID for the new 404 error page. Copy that TabID number;

5 - Still on Host/SQL, execute the following query:

INSERT INTO PortalSettings(
PortalID,
SettingName,
SettingValue,
CreatedByUserID,
CreatedOnDate,
LastModifiedByUserID,
LastModifiedOnDate,
CultureCode)
values
(
[SITEID],
'AUM_ErrorPage404',
'[TABID]',
1,
GetDate(),
1,
GetDate(),
'en-us')

- Replace [SITEID] by the correct PortalID number. If you have just one site under your DNN instance, this will usually be '0' ZERO. If you have multiple sites under the DNN instance, then go to Host/Site Management and find the correct Site ID for your site;


- Replace [TABID] by the ID you got on step #3 above;

5 - Once you execute this, I recommend to go to Tools/Clear Cache, and now you can give it a try on a page that doesn't exist so you can see if the new 404 error page is working;

That should do it.

Cheers,

Aderson

 
New Post
8/8/2013 9:23 AM
 

Aderson,

Please let me thank you publicly for your help with 7.1 advanced URL management as well as implementing the new 'page not found' sites that have been upgraded to 7.1. I looked around the net for information on 7.1 before upgrading. My hosting provider (PowerDnn) recommends upgrading to 7.1.

But what they don't tell you is that (at a minimum) these two functions do not work by simply upgrading. And at least in PowerDnn's case they provided absolutely no solution. You get get all the new functionality with new sites, but NOT with upgrades. I really appreciate you for not only providing the solutions post upgrade but documenting them as well. My subscription here has paid for itself easily with the help I received from you on this single issue.

Please consider adding something to your 7.1 video series regarding these issues with regard to upgrading to 7.1. I should have known better to jump on an early version and certainly would have waited had I known. 

P.S. I do believe this is an oversight at PowerDnn and have had great support from them in the past. 

 
New Post
8/8/2013 10:02 AM
 

Mike,

It was really my pleasure. I have already scheduled a video to comment on those things (and a few more) in case you are upgrading to DNN7.1

At the end you were the one helping me to get to know DNN 7.1 better.

Cheers,

Aderson

 
New Post
5/5/2014 6:50 PM
 

Hi Aderson,

Sorry to revive an old thread!. I have a site that I have just upgraded from 7.0.6 to 7.2.2. I have followed the process described here and in your video but the custom 404 page is not appearing.  Looking at the INSERT statement it seems to me that this will be fine if your site is running as US English but I'm not - my site is en-au  not en-us. However I tried altering the culture code to en-au and it makes no difference. And I also tried having entries for both en-au and en-us there but that wasn't a good plan - duplicate key errors in the event log!
Can you advise what is the correct value here in these circumstances?   When I look in the PortalSettings table I see entries for both culture codes and there doesn't seem to be a particular logic to choosing one over the other.

Regards,
Graham (using Lynne's login!)

 
Previous
 
Next
HomeHomePremiumPremiumAdministrationAdministrationActivating advanced URL managementActivating advanced URL management



Try FREE
30 days money back guaranteed