Skip to content

NodeBB - Created pages not found?

General
20 2 3.2k 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?

  • 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 nodebb sudonix version 4
    28
    4 Votes
    28 Posts
    3k 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 tng genealogy nodebb plugin
    4
    0 Votes
    4 Posts
    789 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.
  • Nodebb design

    Solved General nodebb
    2
    1 Votes
    2 Posts
    737 Views
    @Panda said in Nodebb design: One negative is not being so good for SEO as more Server side rendered forums, if web crawlers dont run the JS to read the forum. From recollection, Google and Bing have the capability to read and process JS, although it’s not in the same manner as a physical person will consume content on a page. It will be seen as plain text, but will be indexed. However, it’s important to note that Yandex and Baidu will not render JS, although seeing as Google has a 90% share of the content available on the web in terms of indexing, this isn’t something you’ll likely lose sleep over. @Panda said in Nodebb design: The “write api” is preferred for server-to-server interactions. This is mostly based around overall security - you won’t typically want a client machine changing database elements or altering data. This is why you have “client-side” which could be DOM manipulation etc, and “server-side” which performs more complex operations as it can communicate directly with the database whereas the client cannot (and if it can, then you have a serious security flaw). Reading from the API is perfectly acceptable on the client-side, but not being able to write. A paradigm here would be something like SNMP. This protocol exists as a UDP (UDP is very efficient, as it is “fire and forget” and does not wait for a response like TCP does) based service which reads performance data from a remote source, thus enabling an application to parse that data for use in a monitoring application. In all cases, SNMP access should be “RO” (Read Only) and not RW (Read Write). It is completely feasible to assume complete control over a firewall for example by having RW access to SNMP and then exposing it to the entire internet with a weak passphrase. You wouldn’t do it (at least, I hope you wouldn’t) and the same ethic applies to server-side rendering and the execution of commands.
  • Modify the tagging behavior in NodeBB

    Locked General tagging harmony
    11
    3 Votes
    11 Posts
    2k 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
  • Issues with 2nd NodeBB installation

    Solved General
    22
    3 Votes
    22 Posts
    4k Views
    @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 v2.4.0

    Solved General nodebb version error
    3
    1
    2 Votes
    3 Posts
    913 Views
    @phenomlab As always…Thank you. Worked for me.
  • 0 Votes
    5 Posts
    1k Views
    @qwinter this particular site uses the code I wrote if you want to see it in action. It’s a information and intelligence gatherer I designed for collecting various information security articles from around the globe and consolidating them in one place. Essentially, each “post” is in fact generated by the script, and the NodeBB API. https://hostrisk.com/
  • Nodebb Hashtag plugin

    Solved General
    15
    1 Votes
    15 Posts
    3k Views
    @jac Great ! I’ll close this off.