Giter Site home page Giter Site logo

Comments (7)

dvz avatar dvz commented on June 14, 2024

Are there more details for this or any other errors?

If you open MyBB's main directory (rather than /install), does it also result in a 500 error?

This may be caused by another scripts incorrectly loaded before/after MyBB in the server configuration.

from mybb.

KamillaPup avatar KamillaPup commented on June 14, 2024

That's all I have. This is a fresh install and I'm going to /install. Also the config.php file is 0 bytes. Is that by design?

from mybb.

dvz avatar dvz commented on June 14, 2024

Also the config.php file is 0 bytes. Is that by design?

Yes, it's populated during installation.

This is a fresh install and I'm going to /install.

If it's redirecting there from the main directory, it may be specific to the installation (otherwise, MyBB or the server).

It's not an usual error, so it's likely related to the server.

You can create a new test.php file, upload it, and access it to generate some information:

<?php

// included files diagnostics
var_dump(
	get_included_files()
);

// function definition diagnostics
$name = 'error';

$methods = [
	'getFileName',
	'getNamespaceName',
	'getStartLine',
	'getEndLine',
	'getExtension',
	'isInternal',
];

if (function_exists($name)) {
	$reflection = new ReflectionFunction($name);
	
	$data = [];
	
	foreach ($methods as $method) {
		$data[$method] = $reflection->$method();
	}
	
	var_dump($data);
} else {
	echo "Function {$name} is not defined";
}

and paste the output here.

from mybb.

KamillaPup avatar KamillaPup commented on June 14, 2024

array(1) { [0]=> string(59) "/var/www/vhosts/example.com/httpdocs/install/test.php" } array(6) { ["getFileName"]=> bool(false) ["getNamespaceName"]=> string(0) "" ["getStartLine"]=> bool(false) ["getEndLine"]=> bool(false) ["getExtension"]=> object(ReflectionExtension)#2 (1) { ["name"]=> string(11) "kolabformat" } ["isInternal"]=> bool(true) }

from mybb.

dvz avatar dvz commented on June 14, 2024

Looks like an extension kolabformat adds a function with a conflicting name - see if you can disable it for the server where MyBB is supposed to be run.

from mybb.

KamillaPup avatar KamillaPup commented on June 14, 2024

That was it! I went into the Plesk extensions, disabled Plesk Premium Email by Kolab, and it worked.

Although I was using that extension. Would there be anyway to get them to work together?

from mybb.

dvz avatar dvz commented on June 14, 2024

Keeping MyBB's function renamed would be difficult, so it may be best to reach out to the provider/Plesk/extension maintainers about addressing the underlying issue, or creating separate configurations for the mail-related software.

Apparently relevant issue: https://git.kolab.org/T5746

from mybb.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.