Recent Topics

[base url]/index.php → 404

Started by on Oct 04, 2019 – Contents updated: Oct 29, 2019

Oct 04, 2019 15:46    

Hello,

my base_url - https://www.genba.org/blogs/
the folder /blogs/ has an index.php

calling https://www.genba.org/blogs/ gets the skin of https://fokus.genba.org and an 404 Page
may be because fokus.genba.org is defined as standard collection. But in this case should the system not switch to fokus.genba.org and show the startpage?

So may be using a collection from a subdomain as standard collection needs some fix?
Or does the index.php located in the base-url need some adaptions?

Help is appreciated
Thanks and Regards, Will

The following screenshot shows
fig 1 - getting standard collection with base_url and 4040
[base url]/index.php  → 404

fig 2 - list of collections where standard is set
[base url]/index.php  → 404

fig 3 - base-Url of the collection fokus.genba.org
[base url]/index.php  → 404

fig 4 - asset-urls of the collection fokus.genba.org
[base url]/index.php  → 404

Oct 23, 2019 13:28

Hello b2volution, Someone around this thread?

Oct 27, 2019 23:43

We sincerely hope you get help from the community on these forums but the dev team cannot investigate this in the realm of free support.

However, please note: If you use multiple domains, your base URL must NOT include a folder name.

Oct 28, 2019 10:07

@fplanque thanks for the information. Conclusion: the way support was given in this forum has changed. Up to now I got great help from you and others from the dev team. So this will no longer happen. That is sad, because the community is not so virulent, because it is too small to I suppose, to function as a support community.

So does it make sense to report any bug that is not really virulent for the core functions of b2e in case there is no real chance to get it answered?

In this special case there seem only few use multiple domains and subdomain based collections and those few don't seem to be interested to give support.
The only member who consequently tried to help was @amoun .

Regards, Will

Oct 28, 2019 22:42

Sorry, I have limited time for free support.

Again the scope of the software has limits and in this case: If you use multiple domains, your base URL must NOT include a folder name.

Oct 29, 2019 00:14

Hi @saunders

I can't quite get my head around reading your post from top to bottom at the moment so this is what I have.

I have sub domains vow.calstock.org.uk and elf.calstock.org.uk

They respectively redirect to https://calstock.org.uk/vow and https://calstock.org.uk/elf

So on my root folder I have folders /vow and /elf each of which has an index.php file that opens the separate sites.

This may not be what you want but if you can relate to that I may be able to look at the situation relative to my set up.

Oct 29, 2019 11:05

@fplanque
@fplanque wrote earlier:

Again the scope of the software has limits and in this case: If you use multiple domains, your base URL must NOT include a folder name.


There is no extra folder name in the root.
b2e is installed at that folder ("/blogs") so this folder is the root

@amoun
what do you mean by redirected? could you please send a screenshot of your base-Url of the collection and asset-urls of the collection?
Could you please attach you index.php?
And does your workaround match with what @fplanque mentioned above?

Thanks and Regards, Will

Oct 29, 2019 12:13

@amoun

what do you mean by redirected?
using cPanel I created sub-domains (elf, vow) then redirected them as mentioned in my previous email.

could you please send a screenshot of your base-Url of the collection and asset-urls of the collection?

base url is calstock.org.uk and all assets are default folders in root i.e. first option on each selction.

Could you please attach you index.php?

my index.php for the initial root domain calstock.org.uk is the standard.
each sub domain has a folder with it's own index.php which ias called bt the redirect. All that is different in the individual sub-domain/index.phpfile is the number for the collection being called.
i.e. $blog = 16; If you copy the root index.php you will see, around line 24

require_once dirname(__FILE__).'/conf/_config.php';
of the index.php file is in another folder/directory you will have to up the access i.e.

require_once dirname(__FILE__)../.'/conf/_config.php';

Attach one of my examples, as a text file, from a decade ago which works fine :)

As far as refering to @fplanque 's input

However, please note: If you use multiple domains, your base URL must NOT include a folder name.

The mention is of multiple domains not sub domains
Secondly my sub domains all use the same database and each is effectively just a separate collection.


Attachments:


Form is loading...

CMS software – This forum is powered by b2evolution CMS, a complete engine for your website.