Skip to content

NodeBB - Created pages not found?

General
20 2 6.2k 1
  • wrote on last edited by phenomlab
    #1

    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 JAC

    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?

    wrote on last edited by
    #2

    @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 JAC

    @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

    wrote on last edited by JAC
    #3

    @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 JAC

    @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.

    wrote on last edited by
    #4

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

  • JAC JAC

    @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.

    wrote on last edited by phenomlab
    #5

    @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.

    wrote on last edited by
    #6

    @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 JAC

    @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.

    wrote on last edited by
    #7

    @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 JAC

    @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.

    wrote on last edited by
    #8

    @jac Ok. Good.

  • @jac Ok. Good.

    wrote on last edited by JAC
    #9

    @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 JAC

    @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

    wrote on last edited by
    #10

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

  • JAC JAC

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

    wrote on last edited by phenomlab
    #11

    @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

  • wrote on last edited by
    #12

    @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>
    
    wrote on last edited by
    #13

    @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 JAC

    @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.

    wrote on last edited by
    #14

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

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

    wrote on last edited by
    #15

    @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 JAC

    @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.

    wrote on last edited by phenomlab
    #16

    @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.

    wrote on last edited by
    #17

    @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 JAC

    @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.

    wrote on last edited by
    #18

    @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.

    wrote on last edited by
    #19

    @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 JAC

    @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.

    wrote on last edited by
    #20

    @jac Exactly. Hard point to argue.


Related Topics
  • NodeBB v4.0.0

    General nodebb sudonix version 4
    28
    4 Votes
    28 Posts
    8k Views
    phenomlab
    @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.
  • Welcome to NodeBB V3!

    Pinned Moved General v3-prod code changes
    1
    0 Votes
    1 Posts
    862 Views
    No one has replied
  • Issues with 2nd NodeBB installation

    Solved General
    22
    3 Votes
    22 Posts
    10k Views
    phenomlab
    @cagatay yes, that will be fine. Just watch for potential caching conflicts as you will have two sites writing to the one instance of iframely.
  • Nodebb as blogging platform

    General blog
    10
    5 Votes
    10 Posts
    6k Views
    phenomlab
    @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
    6k Views
    phenomlab
    @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 nodebb blog
    3
    1 Votes
    3 Posts
    2k Views
    phenomlab
    @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 Hashtag plugin

    Solved General
    15
    1 Votes
    15 Posts
    6k Views
    phenomlab
    @jac Great ! I’ll close this off.
  • Nodebb best plugins

    General nodebb plugins
    18
    7 Votes
    18 Posts
    7k Views
    crazycells
    @phenomlab thanks