Skip to Content Skip to Menu

No 404 anymore

  • nag
  • nag
  • OFFLINE
  • Posts: 15
  • Thanks: 3
  • Karma: 0
8 years 6 months ago #281495 by nag
No 404 anymore was created by nag
Hi Community,

There's no way to get a 404 error page anymore.

When a user calls an unexisting page, he doesn't see the 404 error page but. Joomla sends directly the "HTTP/1.1 200 OK" reply with the message "Thanks to connect or register to see or modify your profile".

When a connected user calls the same page, he gets the same 200 code and see the content of his user profile page, with modules that should only be displayed on the homepage. That's weird.

I didn't try to setup my own error page: no <error.php> file in my template and I didn't modify the <templates/system/error.php> file.

No special rewrite rule in my .htaccess.

No SEO extension (sh404sef, AceSEF...)

When I disable Community Builder, everything works fine: I see the 404 page.

When I enable CB and disable the CB plugins I can (all but language, templates and CB Core), the bug is here.

Config:
* Joomla 3.5.1
* Community Builder 2.0.14

Do you have any idea of what I could do to get a 404 page when necessary?

Please Log in or Create an account to join the conversation.

  • villy
  • villy
  • OFFLINE
  • Posts: 35
  • Thanks: 7
  • Karma: 1
8 years 5 months ago #282110 by villy
Replied by villy on topic No 404 anymore
Hi

I don`t know if that will fix the problem but bear in mind that it is highly recomended to:
- Turn off Joomla registrations
- Turn off Joomla emails to new users

In other words there might be a conflict if both Joomla and CB Users are activated.

Read more about that in Primer Book

Please Log in or Create an account to join the conversation.

  • nag
  • nag
  • OFFLINE
  • Posts: 15
  • Thanks: 3
  • Karma: 0
8 years 5 months ago #282161 by nag
Replied by nag on topic No 404 anymore
What's the link with my 404 problem?

Please Log in or Create an account to join the conversation.

  • villy
  • villy
  • OFFLINE
  • Posts: 35
  • Thanks: 7
  • Karma: 1
8 years 5 months ago #282176 by villy
Replied by villy on topic No 404 anymore

When a user calls an unexisting page, he doesn't see the 404 error page but. Joomla sends directly the "HTTP/1.1 200 OK" reply with the message "Thanks to connect or register to see or modify your profile".

That does not seem to be a CB message, that is why I suggested to read instructions of configuration.

And that

When a connected user calls the same page, he gets the same 200 code and see the content of his user profile page, with modules that should only be displayed on the homepage. That's weird.

shows that there is a conflict

Please Log in or Create an account to join the conversation.

  • nag
  • nag
  • OFFLINE
  • Posts: 15
  • Thanks: 3
  • Karma: 0
8 years 5 months ago #282207 by nag
Replied by nag on topic No 404 anymore
Thanks for the Primer Book, that's the manual I missed, especially for the tabs positions (and some other points).

I didn't find how to turn off Joomla emails to new users (I found how to turn off Joomla emails to administrator when somebody subscribes.) So I didn't change this setting.

When I turn off Joomla registrations, the bug is unfortunately the same.

Please Log in or Create an account to join the conversation.

  • villy
  • villy
  • OFFLINE
  • Posts: 35
  • Thanks: 7
  • Karma: 1
8 years 5 months ago #282208 by villy
Replied by villy on topic No 404 anymore
Instructions found here

To turn off the Joomla emailing, you need to:

Go to Extensions → Plugin Manager page.
Search and locate the User - Joomla! plugin
Edit the plugin to set the Notification Mail to User parameter to No.
Save & Close.

Hope it helps

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum