MyBB Community Forums

Full Version: Frustrations after reinstalling 1.8.24
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Further to my post about a clean install: https://community.mybb.com/thread-229722.html

I now have the following issues.

(1) Plugins are not displayed in the ACP. I have attempted to install new plugins, and to reactivate legacy plugins, but none of them are showing up on the plugins page. I have used all the maintentance tools -- including cache manager, optimize database, file verification -- but with no success.

(2) Cannot load site logo from /images folder. I have re-uploaded the site logo (named logo.png) repeatedly and I have tweaked the file permissions, but to no effect.

(3) Video content is displayed as embedded when not logged in, but is displayed as links in the post to logged-in users. How is this possible? Is it the result of the inability to install the Simple Audio Visual embedder plugin?

Thanks in advance for further advice.
website link ?

and give a test User login details
I am unsure on 2) and 3), but regarding your first issue, this is the result of a PHP error of something within your plugin's folder. This might be related either to something MyBB-related or to something plugin-related, so it's hard to tell without knowing the specific error.

Try adding this (very briefly) to the top of your admin/index.php file. It will force PHP to display errors and we can take a closer look.

ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
error_reporting(E_ALL);
No expert - so support team - please correct as necessary. 

In your other thread, you mention a clean install, but also restoring the files and database.  My comments in that thread were aimed at getting you back to square one.  By restoring the files and db over a new install, I fear you've re-introduced problems that should have been dealt with pre-upgrade. 

When I hear the words legacy and plugins in the same sentence, I cringe.  Because I've been there.  As a suggestion, I'd try to disable all plugins globally.  Related thread - link.

Not sure that'll work as intended, so be prepared to navigate .../inc/plugins, and find them.  All of them.  You'll have to rename to get them out of the picture.  I'd do this one at a time, checking your ACP as you go.  If a plugin is the fault point, what's remaining should reappear at some point - if you're lucky.  But it's a crap shoot.

Of course not all plugins follow convention, and may have files elsewhere.  MyAlerts comes to mind.  But IMO, you need to get those plugins showing.  So you can deactivate or uninstall them.  If you can't do that with a given plugin, you'll always have a problem in my admittedly limited experience.  I feel points 1 and 3 are related - you need to resolve this plugin issue.  Outdated and incompatible plugins is my guess, but you need to get to the bottom of it.

As for point 2, check the Board Logo setting in your Theme Properties.  I personally don't like to lump it in with /images, but that's me.  If that's all correct, not sure what else it may be.

No doubt they're shortcuts to what you're trying to do, but I've never had any luck making them work.  Only been messing with this stuff for just over a year, but managed to get from 1806 to 1824.  But not without plenty of trial and error in a test system.  Iterative methodology - as a colleague of mine once quipped. Toungue

Once again - good luck...
Can you printscreen the file system inside ./inc/plugins/? Sometimes the list will break if there's a file there that shouldn't be, for example a .txt or readme file.

Could you also printscreen the setting you've got for the logo URL and the folder the image is in?
Thanks for the replies and advice so far.

First of all, point (3) in my OP was an operator error. The options 'display images' and 'display video' were deselected under User CP/Edit Options.

Responses to other remarks follow.

(2020-11-03, 04:24 AM)PARADOXP Wrote: [ -> ]website link ?

and give a test User login details

Here you go:

https://shadowstew.com/index.php

testuser
/ MyBBcommunity1

Have fun.

(2020-11-03, 04:33 AM)Darth Apple Wrote: [ -> ]I am unsure on 2) and 3), but regarding your first issue, this is the result of a PHP error of something within your plugin's folder. This might be related either to something MyBB-related or to something plugin-related, so it's hard to tell without knowing the specific error.

Try adding this (very briefly) to the top of your admin/index.php file. It will force PHP to display errors and we can take a closer look.

ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
error_reporting(E_ALL);

I have no coding skills, much less knowledge of PHP. Do I insert these lines immediately after the branding and copyright text? Thus, as in bold?

Quote:<?php
/**
* MyBB 1.8
* Copyright 2014 MyBB Group, All Rights Reserved
*
* Website: http://www.mybb.com
* License: http://www.mybb.com/about/license
*
*/

ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
error_reporting(E_ALL);


define("IN_MYBB", 1);
define("IN_ADMINCP", 1);

At this stage, I am considering deleting everything from /public_html and then starting from scratch. Would that be rash?

(2020-11-03, 01:43 PM)nixer55 Wrote: [ -> ]When I hear the words legacy and plugins in the same sentence, I cringe.  Because I've been there.  As a suggestion, I'd try to disable all plugins globally.  Related thread - link.

Not sure that'll work as intended, so be prepared to navigate .../inc/plugins, and find them.  All of them.  You'll have to rename to get them out of the picture.  I'd do this one at a time, checking your ACP as you go.  If a plugin is the fault point, what's remaining should reappear at some point - if you're lucky.  But it's a crap shoot.

Thanks. I've tried that global disable switch, although no plugins were active at all, much less selectable.

(2020-11-03, 06:14 PM)Matt Wrote: [ -> ]Can you printscreen the file system inside ./inc/plugins/? Sometimes the list will break if there's a file there that shouldn't be, for example a .txt or readme file.

Could you also printscreen the setting you've got for the logo URL and the folder the image is in?

As requested, please find in attached files:

- screenshot series from /inc/plugins/ (PDF)
- screenshot for logo settings in ACP (JPEG)

The logo URL is as follows:

Quote:<a href="https://shadowstew.com/index.php"><img src="https://shadowstew.com/images/logo.png" alt="The Shadow Stew" title="The Shadow Stew" /></a>
Regarding the errors, a developer can help you discover the errors. It might be something small and we might be able to fix it quickly. If it's something bigger, it might be better to start over, so it depends.

What you pasted is correct, and will enable PHP to display the errors. Let us know what it shows! We'll try to direct you in the right direction. Smile
Staying out of the plugin issue - lol.  But your logo.png exists, but is being redirected with a 302 code.  Suspect this is something to do with the redirect to https but don't know the specific fix in your situation.  In Chrome, you can open in a new tab and see it.  In Firefox, you can manipulate the URL to http: (it'll redirect to ssl immediately), but the logo will display.  

cheers...
I think the plugins issue is because there seems to be several copies of some plugins, but with different file names. This will mean it'll load the files but the PHP functions declared inside will have the same names, which will then error because they're being declared again. I can see "fast quote", "profile views" and "stop forum (spam maybe?)" are there multiple times, so there should only be one copy of these.

Saying that though, they all have a date in 2018 on them... is strange that's not caused an error before really.

So, an alternative is to delete one-by-one the files that have been added recently (there's several uploaded in the last day or two), and check each time to see if the plugin list works again, as there may be a problem with one of them.
Also I was looking at the images issue which was really strange because as said above the images were returning a 302 redirect, but only when being loaded the CSS file, they worked fine when visiting them directly. But I just refreshed again and they're all working now? Has something just been changed?
Pages: 1 2