Not Solved [Error Message] Undefined Error Messages
#1
Not Solved
I plan on resurrecting a forum currently using (MyBB version 1.8.5)

https://eclypticstudios.com/forums/

Here is what I am running into;

1. Error messages on index page (and many more on admincp page)
2. Won't keep me signed in. (I login, then when I click on a different location within the forum I get logged out, both admincp and index)
3. I can't disable any plugins via admincp, since I get auto logged out
4. I would like to update to the newest MyBB version (I have not attempted to yet)

These are the error messages I receive on the index page;

The following warnings occurred:

Warning [2] Undefined variable $awaitingusers - Line: 94 - File: global.php(779) : eval()'d code PHP 8.3.36 (Linux)
         
Warning [2] Undefined array key "style" - Line: 837 - File: global.php PHP 8.3.36 (Linux)


Warning [2] Undefined property: MyLanguage::$lang_select_default - Line: 4976 - File: inc/functions.php PHP 8.3.36 (Linux)
         
Warning [2] Undefined array key "index.php" - Line: 898 - File: global.php PHP 8.3.36 (Linux)

I am unsure where to begin,

Thanks a ton guys.
Reply
#2
Not Solved
Try changing your bburl in inc/settings.php from http://eclypticstudios... to https://eclypticstudios...  Lots of browsers don't want to mix in insecure content anymore.  (You'll want to change it in the ACP as well - if that's enough to get you into it.) 

Your theme files seem to be missing from the cache - goto Admin Cp -> templates and styles -> yourtheme -> global.css and save changes.  That should rebuild those cache files. 

Hopefully that gets you closer.  This probably won't make the warnings go away.  The Admin CP warnings may be more interesting.
Reply
#3
Not Solved
Thanks for the reply Dave,

Alright, so I changed my inc/settings.php bburl from "http://eclypticstudios.com/forums" to "https://eclypticstudios.com/forums" and I still get the warnings and am still auto logged out in admincp.

However I am able to stay logged in on the index page. So that's good for that.

More errors show up though, mainly "showthread.php" and "functions.php" errors.

Here are my issues.

1. I login to admincp, when I click any link in the admincp I get auto logged out.
2. The multitude of "showthread.php" and "functions.php" errors along with "cannot modify header" errors on the admincp page.
3. On index page when I log in, above my avatar says "Offline" even though I am logged in.

I am guessing it has something to do with one or more of the following;

1. my php version ( PHP 8.3.36 (Linux) )
2. the forum cookies/cache settings
3. the mybb version (1.8.5)
4. the plugin versions

These are my settings in /inc/settings.php

['bbname'] = "Forums";
['bburl'] = "https://eclypticstudios.com/forums";

['cookiedomain'] = ".eclypticstudios.com";
['cookiepath'] = "/forums/";
['cookieprefix'] = "";

inc/settings.php chmod is currently set to 644. (Should I change this to 666) ?
inc/languages/ chmod is currently set to 755 (Is this correct) ?
cache/ chmod is currently set to 755 (Should I change this to 777) ?
cache/themes/ (I don't have a themes folder inside of the cache folder, it says "This directory is empty")
uploads/ chmod is currently set to 755 (Should I change this to 777) ?
uploads/avatars chmod is currently set to 755 (Should I change this to 777) ?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)