Skip to content

NodeBB - Created pages not found?

General
  • Hi Mark,

    I have created a few pages, one works fine, the other two say “Not found”.

    I have looked and can’t see any issue?

  • Hi Mark,

    I have created a few pages, one works fine, the other two say “Not found”.

    I have looked and can’t see any issue?

    @jac I’ve deleted them and re -created them.

    Once in widgets it seems like the old widgets (created pages) are still there with a capital letter which was the first one I created.

    It needs to work without a capital letter, but it won’t show as a page without it? I wonder if you can take a look?

    Many thanks

  • @jac I’ve deleted them and re -created them.

    Once in widgets it seems like the old widgets (created pages) are still there with a capital letter which was the first one I created.

    It needs to work without a capital letter, but it won’t show as a page without it? I wonder if you can take a look?

    Many thanks

    @jac Works fine with the capital letter here as soon as you remove the capital letter (although that’s now the created page) it shows this.

  • @jac Works fine with the capital letter here as soon as you remove the capital letter (although that’s now the created page) it shows this.

    @jac I’ll have a look at this later.

  • @jac Works fine with the capital letter here as soon as you remove the capital letter (although that’s now the created page) it shows this.

    @jac I’ve had a look at this, and he reason as to why this fails is because the slug specified starts with a capital letter. Under Windows, there is no distinction, but under Linux (which is what your VPS is running), this matters in the sense that you can use the same wording but different cases allows you to treat them as separate pages.

    To work around this, the “Path To Page” value should always be in lower case. I’ve changed these so they should work now

    Screenshot_20211127-180053.jpg

    It would be pretty rare for a URL to contain uppercase letters. If you do a Google search for anything you’ll notice the URL returned is always lower case as that’s the industry standard.

  • @jac I’ve had a look at this, and he reason as to why this fails is because the slug specified starts with a capital letter. Under Windows, there is no distinction, but under Linux (which is what your VPS is running), this matters in the sense that you can use the same wording but different cases allows you to treat them as separate pages.

    To work around this, the “Path To Page” value should always be in lower case. I’ve changed these so they should work now

    Screenshot_20211127-180053.jpg

    It would be pretty rare for a URL to contain uppercase letters. If you do a Google search for anything you’ll notice the URL returned is always lower case as that’s the industry standard.

    @phenomlab said in NodeBB - Created pages not found?:

    @jac I’ve had a look at this, and he reason as to why this fails is because the slug specified starts with a capital letter. Under Windows, there is no distinction, but under Linux (which is what your VPS is running), this matters in the sense that you can use the same wording but different cases allows you to treat them as separate pages.

    To work around this, the “Path To Page” value should always be in lower case. I’ve changed these so they should work now

    Screenshot_20211127-180053.jpg

    It would be pretty rare for a URL to contain uppercase letters. If you do a Google search for anything you’ll notice the URL returned is always lower case as that’s the industry standard.

    Absolutely, I’d changed them to lower case and they still returned a page not found message. However when I entered a capital letter at the start the page then was showing fine.

  • @phenomlab said in NodeBB - Created pages not found?:

    @jac I’ve had a look at this, and he reason as to why this fails is because the slug specified starts with a capital letter. Under Windows, there is no distinction, but under Linux (which is what your VPS is running), this matters in the sense that you can use the same wording but different cases allows you to treat them as separate pages.

    To work around this, the “Path To Page” value should always be in lower case. I’ve changed these so they should work now

    Screenshot_20211127-180053.jpg

    It would be pretty rare for a URL to contain uppercase letters. If you do a Google search for anything you’ll notice the URL returned is always lower case as that’s the industry standard.

    Absolutely, I’d changed them to lower case and they still returned a page not found message. However when I entered a capital letter at the start the page then was showing fine.

    @jac said in NodeBB - Created pages not found?:

    @phenomlab said in NodeBB - Created pages not found?:

    @jac I’ve had a look at this, and he reason as to why this fails is because the slug specified starts with a capital letter. Under Windows, there is no distinction, but under Linux (which is what your VPS is running), this matters in the sense that you can use the same wording but different cases allows you to treat them as separate pages.

    To work around this, the “Path To Page” value should always be in lower case. I’ve changed these so they should work now

    Screenshot_20211127-180053.jpg

    It would be pretty rare for a URL to contain uppercase letters. If you do a Google search for anything you’ll notice the URL returned is always lower case as that’s the industry standard.

    Absolutely, I’d changed them to lower case and they still returned a page not found message. However when I entered a capital letter at the start the page then was showing fine.

    Looks like it is working now mate, thanks very much. I will find and re-add the fixtures code.

  • @jac said in NodeBB - Created pages not found?:

    @phenomlab said in NodeBB - Created pages not found?:

    @jac I’ve had a look at this, and he reason as to why this fails is because the slug specified starts with a capital letter. Under Windows, there is no distinction, but under Linux (which is what your VPS is running), this matters in the sense that you can use the same wording but different cases allows you to treat them as separate pages.

    To work around this, the “Path To Page” value should always be in lower case. I’ve changed these so they should work now

    Screenshot_20211127-180053.jpg

    It would be pretty rare for a URL to contain uppercase letters. If you do a Google search for anything you’ll notice the URL returned is always lower case as that’s the industry standard.

    Absolutely, I’d changed them to lower case and they still returned a page not found message. However when I entered a capital letter at the start the page then was showing fine.

    Looks like it is working now mate, thanks very much. I will find and re-add the fixtures code.

    @jac Ok. Good.

  • @phenomlab said in NodeBB - Created pages not found?:

    @jac Ok. Good.

    I think when the links from the Nav bar drop-down are clicked the page loads but the football content (table) for example doesn’t load.

    Could this be because it’s asked to open in a new tab? Although this doesn’t load either.

    IMG_20211202_143814.jpg

  • @phenomlab said in NodeBB - Created pages not found?:

    @jac Ok. Good.

    I think when the links from the Nav bar drop-down are clicked the page loads but the football content (table) for example doesn’t load.

    Could this be because it’s asked to open in a new tab? Although this doesn’t load either.

    IMG_20211202_143814.jpg

    @jac however on more digging I’ve found that if you go directly to the link then the table shows up no issues.

  • @jac however on more digging I’ve found that if you go directly to the link then the table shows up no issues.

    @jac Yes, this is likely to be an issue with how the script is being called. I’m guessing the page loads when accessed directly, but not via the forum itself ?

    EDIT - suspicion confirmed. The page loads without issue if accessed directly.

    Checking

  • @jac this should work now. It’s a little primitive, and means the page has to load twice, but it’ll work as desired. Essentially, the below code when added to each widget will force the page to reload directly

    <script>
    $(window).on('action:ajaxify.end', function (data) {
        location.reload();
    });
    </script>
    
  • @jac this should work now. It’s a little primitive, and means the page has to load twice, but it’ll work as desired. Essentially, the below code when added to each widget will force the page to reload directly

    <script>
    $(window).on('action:ajaxify.end', function (data) {
        location.reload();
    });
    </script>
    

    @phenomlab said in NodeBB - Created pages not found?:

    @jac this should work now. It’s a little primitive, and means the page has to load twice, but it’ll work as desired. Essentially, the below code when added to each widget will force the page to reload directly

    <script>
    $(window).on('action:ajaxify.end', function (data) {
        location.reload();
    });
    </script>
    

    Brilliant, thank you very much Mark!

    Will try this again now. Not been on here much as the Mrs has Covid so we are all off not feeling great.

  • @phenomlab said in NodeBB - Created pages not found?:

    @jac this should work now. It’s a little primitive, and means the page has to load twice, but it’ll work as desired. Essentially, the below code when added to each widget will force the page to reload directly

    <script>
    $(window).on('action:ajaxify.end', function (data) {
        location.reload();
    });
    </script>
    

    Brilliant, thank you very much Mark!

    Will try this again now. Not been on here much as the Mrs has Covid so we are all off not feeling great.

    @jac Sorry to hear that. Hope everything’s ok.

  • @jac Sorry to hear that. Hope everything’s ok.

    @phenomlab said in NodeBB - Created pages not found?:

    @jac Sorry to hear that. Hope everything’s ok.

    Thanks Mark, appreciate it.

    Fortunately for now it’s just a temperature and a barking cough.

    So I’ve got my son at home too as we are awaiting his PCR result to see if he can go back into school. It’s a strange one, if his result comes back as negative he’s allowed back into school 🤔, but I have to stay off even though my lateral flow results were negative despite feeling unwell all week it was only on Tuesday night that the Mrs had similar symptoms to me and did a test and was negative on all three just be sure.

  • @phenomlab said in NodeBB - Created pages not found?:

    @jac Sorry to hear that. Hope everything’s ok.

    Thanks Mark, appreciate it.

    Fortunately for now it’s just a temperature and a barking cough.

    So I’ve got my son at home too as we are awaiting his PCR result to see if he can go back into school. It’s a strange one, if his result comes back as negative he’s allowed back into school 🤔, but I have to stay off even though my lateral flow results were negative despite feeling unwell all week it was only on Tuesday night that the Mrs had similar symptoms to me and did a test and was negative on all three just be sure.

    @jac A strange setup indeed. I have one of my team at work who has tested positive and needs to self-isolate.

  • @jac A strange setup indeed. I have one of my team at work who has tested positive and needs to self-isolate.

    @phenomlab definitely strange, as I’ve had the result back today from the PCR test done on Wednesday and it’s positive despite 3 lateral flow tests being negative.

  • @phenomlab definitely strange, as I’ve had the result back today from the PCR test done on Wednesday and it’s positive despite 3 lateral flow tests being negative.

    @jac Yeah, not surprised. I’ve heard numerous stories of multiple LF tests showing as negative, when a PCR is positive.

  • @jac Yeah, not surprised. I’ve heard numerous stories of multiple LF tests showing as negative, when a PCR is positive.

    @phenomlab absolutely, seems a pointless exercise really for many to do the lateral flow test for it to be falsely negative to then go in work etc and spread it when being genuinely positive.

  • @phenomlab absolutely, seems a pointless exercise really for many to do the lateral flow test for it to be falsely negative to then go in work etc and spread it when being genuinely positive.

    @jac Exactly. Hard point to argue.


Related Topics
  • NodeBB v4.0.0

    General
    28
    4 Votes
    28 Posts
    420 Views
    @Panda said in NodeBB v4.0.0: the workings of World aren’t intuitive Its not easy to get World populating when a forum is new to it This is a good point and one I’ve considered also. It’s a little confusing to be honest.
  • TNG + Nodebb

    General
    4
    0 Votes
    4 Posts
    178 Views
    @Madchatthew said in TNG + Nodebb: you have to try and use duck tape and super glue to change something to make it do what you want it to do I couldn’t have put that better myself.
  • Modify the tagging behavior in NodeBB

    Locked General
    11
    3 Votes
    11 Posts
    567 Views
    For anyone else following this thread https://community.nodebb.org/topic/17402/change-in-reply-to-xxxx-text And https://github.com/NodeBB/NodeBB/commit/f2152953cddd3247746ef393516b0a53ba7750a4
  • 12 Votes
    47 Posts
    3k Views
    @dave1904 just coming back to this thread as @DownPW and I both experienced issues with other plugins today, and the fix was to use the plugin ordering in the ACP and move the Harmony theme to the very top so it comes before everything else in terms of other plugins. It might be worth at least trying this to see if it gives you a result rather than the previous bulldozer approach. Thinking about it, the previous fix I proposed is along the same lines and disabling plugins does in fact change the order when they are enabled again, so this is definitely worth a try. Let me know how you get on.
  • Nodebb as blogging platform

    General
    10
    5 Votes
    10 Posts
    1k Views
    @qwinter I’ve extensive experience with Ghost, so let me know if you need any help.
  • NodeBB vs Flarum for a non developer

    Solved General
    17
    10 Votes
    17 Posts
    1k Views
    @marusaky That’s really easily done. I think the docs need updating for the latest release. Did you land up on the 18.x train ?
  • NodeBB Blog Comments

    General
    3
    1 Votes
    3 Posts
    312 Views
    @kurulumu-net Not specifically, but you should review this post from the very large thread as it will save you a lot of time. There’s significant customisation on the Ghost side of things, but not in NodeBB https://community.nodebb.org/post/86022
  • Nodebb best plugins

    General
    18
    7 Votes
    18 Posts
    1k Views
    @phenomlab thanks