Giter Club home page Giter Club logo

Comments (16)

joho1968 avatar joho1968 commented on May 27, 2024

Just out of curiosity, have you tried entering the URL manually like:

http://192.0.0.168/###.###/userfolder/login
http://192.0.0.168/###.###/userfolder/admin

(assuming your WCMS is actually installed in /userfolder/ of course)

from wondercms.

goney3 avatar goney3 commented on May 27, 2024

Great suggestion!
I tried /login and /admin as well as /how-to and still get a 404 for all three :(
Only the home page seems fine.

Here are the Synology Web Station specs, hopefully it'll have something that stands out as to why WonderCMS doesn't behave as expected: https://www.synology.com/en-us/dsm/7.2/software_spec/web_station

Thank you for your time.

from wondercms.

joho1968 avatar joho1968 commented on May 27, 2024

When you go to the "site", is the address "http://192.0.0.168/###.###/userfolder"?

from wondercms.

goney3 avatar goney3 commented on May 27, 2024

Not exactly, more like: http://192.168.##.##/username/
I didn't realize that it should have a number folder in between the IP address?

from wondercms.

joho1968 avatar joho1968 commented on May 27, 2024

Do you have other web applications on your synology? If so, which URL do you use to access them?

You don't really need to worry about typing out the full URL if it starts with 192.168.x.x as that is a private IP address only visible to you.

So, you go to http://192.168.something.something/your_user_name to see your WonderCMS site?

from wondercms.

goney3 avatar goney3 commented on May 27, 2024

Correct http://192.168.something.something/your_user_name
No other web applications running, they offer automatic installs for Joomla and Wordpress, but that felt like overkill for a personal page to play around on.

from wondercms.

joho1968 avatar joho1968 commented on May 27, 2024

So try http://192.168.something.something/your_user_name/admin
So try http://192.168.something.something/your_user_name/login

(replacing something.something with numbers and your_user_name with your actual username)

from wondercms.

goney3 avatar goney3 commented on May 27, 2024

Right, I tried http://192.168.something.something/your_user_name/admin and http://192.168.something.something/your_user_name/login and still get 404 (with my correct IP and user name)

However,
http://192.168.something.something/your_user_name/
Will load the "Welcome to your website" WonderCMS page.

Strange issue no?

from wondercms.

joho1968 avatar joho1968 commented on May 27, 2024

Can you access the website installation's directory and file structure via Synology's file manager?

If so, there's a directory called data, and in that directory, there's a file called database.js. You can open that file with a text editor, I think Synology has one. You can look for an entry that reads something like:

"login": "this_is_what_you_need_to_append_to_login"

from wondercms.

goney3 avatar goney3 commented on May 27, 2024

hmmm, should be the default unzipped file from the WonderCMS download, I don't think anything was changed? Does this look correct?

{
    "config": {
        "siteTitle": "Website title",
        "theme": "sky",
        "defaultPage": "home",
        "login": "loginURL",
        "forceLogout": false,
        "forceHttps": false,
        "saveChangesPopup": false,
        "password": "REDACTED",
        "lastLogins": {},
        "lastModulesSync": null,
        "customModules": {
            "themes": {},
            "plugins": {}
        },
        "menuItems": {
            "0": {
                "name": "Home",
                "slug": "home",
                "visibility": "show",
                "subpages": {}
            },
            "1": {
                "name": "How to",
                "slug": "how-to",
                "visibility": "show",
                "subpages": {}
            }
        }
    },
    "pages": {
        "404": {
            "title": "404",
            "keywords": "404",
            "description": "404",
            "content": "<center><h1>404 - Page not found<\/h1><\/center>",
            "subpages": {}
        },
        "home": {
            "title": "Home",
            "keywords": "Enter, page, keywords, for, search, engines",
            "description": "A page description is also good for search engines.",
            "content": "<h1>Welcome to your website<\/h1>\n\n<p>Your password for editing everything is: <b>AJFY1eW3<\/b><\/p>\n\n<p><a href=\"http:\/\/192.168.86.68\/keith\/loginURL\" class=\"button\">Click here to login<\/a><\/p>\n\n<p>To install an awesome editor, open Settings\/Plugins and click Install Summernote.<\/p>",
            "subpages": {}
        },
        "how-to": {
            "title": "How to",
            "keywords": "Enter, keywords, for, this page",
            "description": "A page description is also good for search engines.",
            "content": "<h2>Easy editing<\/h2>\n<p>After logging in, click anywhere to edit and click outside to save. Changes are live and shown immediately.<\/p>\n\n<h2>Create new page<\/h2>\n<p>Pages can be created in the Settings.<\/p>\n\n<h2>Start a blog or change your theme<\/h2>\n<p>To install, update or remove themes\/plugins, visit the Settings.<\/p>\n\n<h2><b>Support WonderCMS<\/b><\/h2>\n<p>WonderCMS is free for over 12 years.<br>\n<a href=\"https:\/\/swag.wondercms.com\" target=\"_blank\"><u>Click here to support us by getting a T-shirt<\/u><\/a> or <a href=\"https:\/\/www.wondercms.com\/donate\" target=\"_blank\"><u>with a donation<\/u><\/a>.<\/p>",
            "subpages": {}
        }
    },
    "blocks": {
        "subside": {
            "content": "<h2>About your website<\/h2>\n\n<br>\n<p>Website description, contact form, mini map or anything else.<\/p>\n<p>This editable area is visible on all pages.<\/p>"
        },
        "footer": {
            "content": "&copy;2023 Your website"
        }
    }
}

from wondercms.

joho1968 avatar joho1968 commented on May 27, 2024

So it seems like nothing has been set as far as the "login URL" yet.

So, repeat your previous attempt, but use /loginURL (verbatim) instead.

from wondercms.

goney3 avatar goney3 commented on May 27, 2024

Still ends up at 404 page unfortunately.

from wondercms.

joho1968 avatar joho1968 commented on May 27, 2024

That's quite odd I have to say.

When you go to the site, does it show the warning about "Change your login URL and save it for later use..."?

(This is what WCMS does when you have not configured a specific login URL.)

from wondercms.

robiso avatar robiso commented on May 27, 2024

@goney3
What happens if you try:
http://192.168.something.something/your_user_name/?page=admin

WonderCMS uses page rewrites and I’m assumkng this might be your issue.

from wondercms.

goney3 avatar goney3 commented on May 27, 2024

@robiso thank you for the suggestion, however it still goes to a 404 page not found. I wish I knew what a page rewrite was, if I can be more helpful, please let me know if there is anything I should be copy-pasting to assist with this. Thank you for your time!

from wondercms.

robiso avatar robiso commented on May 27, 2024

:) What is the exact URL where you can see WonderCMS being installed?

http://192.0.0.168/#%23.%23%23/username/

try adding “?page=loginURL” without the quotes at the end and let me know what you see? Make sure to add this to the page URL you see the your WonderCMS.

from wondercms.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.