MyBB Community Forums

Full Version: Can get to Admin Page, but not Forum Page
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
I installed MyBB 1.8.8 and I am able to go to the admin home page and access all the settings.
I also successfully merged my existing database and all the forum and user info was imported.

Admin page is:
http://zempest.com/mybb/admin/index.php?...ange&gid=2

My problem is that I cannot get to the forum home page.  I assume it is because there is no index.php file in the forum root directory.  That is, the file http://zempest.com/mybb/index.php is missing.

My public_html .htaccess files points to mybb.  That is it contains the lines:
RewriteCond %{HTTP_HOST} ^(www.)?zempest.com$
RewriteRule ^(/)?$ mybb/index.php [L]

Also in the mybb error log I get:
[27-Nov-2016 13:00:37 America/Chicago] PHP Warning:  require_once(/home2/danbuder/public_html/inc/init.php): failed to open stream: No such file or directory in /home2/danbuder/public_html/mybb/index.php on line 18
[27-Nov-2016 13:00:37 America/Chicago] PHP Fatal error:  require_once(): Failed opening required '/home2/danbuder/public_html/inc/init.php' (include_path='.:/opt/php56/lib/php') in /home2/danbuder/public_html/mybb/index.php on line 18

Thanks for any suggestions.
Sounds like you've just not uploaded the files to the correct place? Can you printscreen your FTP root?
Yeah I can see the issue:

/public_html/inc/init.php
/public_html/mybb/index.php

You've got some files in /mybb and some not, they all need to be inside /mybb, keeping the structure from the download.
Thanks, but everything is in the root directory already.
You don't want it in the root though, that's the issue, you want it in /mybb
(2016-12-02, 12:07 PM)Matt Wrote: [ -> ]You don't want it in the root though, that's the issue, you want it in /mybb

Sorry.  That is what I meant by root: /mybb.  All files are in there.

From the other related thread that was closed by a moderator:
I think it is because during installation the index.php file in the forum root was never created. Does anyone know where I can find it or how to create it?

Sorry to all, but I was trying to narrow down the problem to just finding the index.php file to see if that would work.

One other thing I'd like to add:

I can get to the forum archive page since it does have an index.php file:

http://www.zempest.com/mybb/archive/index.php

It is still a mystery why http://www.zempest.com/mybb/index.php does not exist.

As always, any suggestions would be greatly appreciated.

As Matt requested, I have attached a screen shot showing that there are no folders in my public_html other than an empty cgi and my old phpbb3 files.
Check your config file to be sure that all the paths are set to the correct directory.
(2016-12-04, 05:28 PM)miniml Wrote: [ -> ]Check your config file to be sure that all the paths are set to the correct directory.

.htaccess points to the missing file: http://www.zempest.com/mybb/index.php

This is the file that is needed.
So can it not just be re-uploaded from a fresh download of MyBB? I'm not sure if I'm misunderstanding the issue...
(2016-12-05, 12:28 PM)Matt Wrote: [ -> ]So can it not just be re-uploaded from a fresh download of MyBB? I'm not sure if I'm misunderstanding the issue...
Hi Matt,

I've done a fresh installation at least 8 times: 4 to the root of public_html and 4 times to public_html/mybb with the same result.

I do get index.php in the admin and archive subdirectories but not in the mybb subdirectory.

I believe there is a problem with the 1.8.8 installer for fresh installs, although the upgrade installer may work fine?

If there was an earlier version available for download I would try that.

I would like to get this issue in front of the person that created the installer to see what they have to say.

Thanks,
Dan
Pages: 1 2 3