Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Not Solved [Error Message] Fatal Error
#1
Not Solved
I don't know what prometheus  class is or how to fix this?

Fatal error: Class 'prometheus' not found in /home/wcserver/public_html/admin.php on line 11


<?php

SESSION_START();



ob_start();



$page = 'admin';

$page_title = 'Admin';



require_once('inc/functions.php');



if(!prometheus::isAdmin()){ 

die('You are not an admin, get out of here');                       Line 11 is red.

}



if(prometheus::loggedin() && prometheus::isAdmin()){

update::run();



$message = new FlashMessages();



if(isset($_POST['search'])){
header('location: admin.php?page=users&q=' . $_POST['search']);
Reply
#2
Not Solved
referred admin.php file is not a part of MyBB. can you tell us what are you trying to add ..
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)