MyBB Community Forums

Full Version: Help need some major help
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello,

I attemted to do this:
http://community.mybb.com/thread-105587.html

I then got this error when completed when on my admin page to log in:
Warning [2] require_once() [function.require-once]: Unable to access /var/www/vhosts/ultimategamingforums.co.uk/httpdocs/admin/inc/class_page.php - Line: 31 - File: swarclife101/index.php PHP 5.2.17 (Linux)
File Line Function
/swarclife101/index.php 31 errorHandler->error
/swarclife101/index.php 31 require_once
Warning [2] require_once(/var/www/vhosts/ultimategamingforums.co.uk/httpdocs/admin/inc/class_page.php) [function.require-once]: failed to open stream: No such file or directory - Line: 31 - File: swarclife101/index.php PHP 5.2.17 (Linux)
File Line Function
/swarclife101/index.php 31 errorHandler->error
/swarclife101/index.php 31 require_once

Fatal error: require_once() [function.require]: Failed opening required '/var/www/vhosts/ultimategamingforums.co.uk/httpdocs/admin/inc/class_page.php' (include_path='.:') in /var/www/vhosts/ultimategamingforums.co.uk/httpdocs/swarclife101/index.php on line 31


I then went back and deleted the following and added the default and says same error.

HELP
I replaced the default (from the mybb) index.php & class_page.php and it still same errror
You may want to restore the backup you made before you tried these changes.. If you don't have a backup then it's HIGHLY recommended that you start developing your site with that practice in mind. Backup before making major changes (core edits count as a major change).
(2012-07-01, 12:29 AM)Seanfromleeds Wrote: [ -> ]I replaced the default (from the mybb) index.php & class_page.php and it still same errror

Then you didn't do it correctly. The files you should re-upload are: ./admin/inc/class_page.php and ./admin/index.php. Make sure that you uploaded them and overwrote the old files.