Even ?page=loginURL doesn't work...

Ask for help or provide support to other members.
Post Reply
YESb
Posts: 2
Joined: Sun Nov 03, 2024 10:13 pm

Even ?page=loginURL doesn't work...

Post by YESb »

Hi Specialists ;) ,
I'm facing a concern with Wcms where the login page does not appear...
Concretely :
  • last version of Wcms (downloaded sun. 03 nov. 2024 on the official website)
  • Apache
  • PHP 8.3
  • 2 files (yes I can see .htaccess) and 3 directories on the server
  • netim.fr for my domain name and server (no known problems with other customers on Wcms, according to the support)
  • SSL certificate (Let's encrypt)
  • 404 Not found for /loginURL or /?page=loginURL
  • I can see the homepage
  • I can reach the how-to page as well
Why, please ? :(
Thanks in advance for your ideas/solution.
Best.
User avatar
nox
Posts: 76
Joined: Sat May 23, 2020 9:02 pm

Re: Even ?page=loginURL doesn't work...

Post by nox »

Hey YESb, welcome!

This might be silly, but still worth a shot. Did you access a dashboard at all after installing Wcms?
I'm asking because the first thing I do is to change default loginURL and forget what did I change it to :)

Can you access data > database.js where your wcms installation is?
If so, open database.js and check if login is "login": "loginURL", or something else.
YESb
Posts: 2
Joined: Sun Nov 03, 2024 10:13 pm

Re: Even ?page=loginURL doesn't work...

Post by YESb »

Hi Nox,

Thanks a lot for all!

I've faced this problem at the very first try : I have uploaded the two files and the directory. I have launched my site with its address. I have reached the normal Home page. I've tried to login, and... error 404.

No change nowhere. Just now I've checked in the file you're writting about : "login": "loginURL", ...

Sorry for that answer... ;-)
User avatar
yebba24
Posts: 2
Joined: Sun Jun 29, 2025 12:52 pm

Re: Even ?page=loginURL doesn't work...

Post by yebba24 »

Hi,

I'm facing the same problem slightly different:
After uploading Wcms to my Raspberry Pi I can reach the Home page. By clicking "Click here to login" I get a "404 page not found".
Using "?page=loginURL" I get the login page, but after entering the password there is again a "404 page not found".
I have checked all system requirements for Apache and PHP (8.2) modules.

Uploading the same package to a local XAMPP-Server or to my web hoster works fine in all ways.
What can be wrong in Apache or PHP Settings?

Thanks for any ideas ...
User avatar
wiz
Posts: 812
Joined: Sat Oct 30, 2010 12:23 am

Re: Even ?page=loginURL doesn't work...

Post by wiz »

Hi to both,

@yebba24, your specific issue is that .htaccess it not working, which takes care of clean URLs, this is confirmed by your home page working, since its on example.com/home and example.com?page=loginURL working. Try something like this: https://ubiq.co/tech-blog/how-to-enable ... ampp-wamp/

@YESb your issue seems similar, however it seems, can you please verify with your host that:
you have
- cURL extension
- mbstring extension
- Zip extension
- mod_rewrite module enabled this one is important.

Both of these cases indicate that the htaccess is not taking effect, the first one seems trivial.
User avatar
yebba24
Posts: 2
Joined: Sun Jun 29, 2025 12:52 pm

Re: Even ?page=loginURL doesn't work...

Post by yebba24 »

Hi wiz,

thanks for your advice. I'm not registered to ubiq, but I found the problem in /etc/apache2/apache2.conf where Directory setting was

Code: Select all

AllowOverride None
After changing to

Code: Select all

<Directory /var/www/>
        Options Indexes FollowSymLinks
        AllowOverride All
        Require all granted
</Directory>

everything works fine.
User avatar
wiz
Posts: 812
Joined: Sat Oct 30, 2010 12:23 am

Re: Even ?page=loginURL doesn't work...

Post by wiz »

@yebba24 happy to hear this was resolved for you. Happy WonderCMS-ing.
Post Reply