Everything posted by Mr World
-
ErrorException: template_store_missing (0)
ErrorException: template_store_missing (0) #0 /home/rspstopl/public_html/system/Theme/Theme.php(4620) : eval()'d code(24): IPS\_Theme->getTemplate('drawncodes', 'core', 'front') #1 /home/rspstopl/public_html/applications/cms/sources/Blocks/Block.php(310): IPS\Theme\class_content_template_for_block_37->run(Array, '...', NULL) #2 /home/rspstopl/public_html/system/Widget/Widget.php(234): IPS\cms\Blocks\_Block->getTemplate(Array, '...', NULL) #3 /home/rspstopl/public_html/system/Content/Widget.php(522): IPS\_Widget->output(Array, '...') #4 /home/rspstopl/public_html/applications/cms/sources/Blocks/Block.php(242): IPS\Content\_Widget->render() #5 /home/rspstopl/public_html/system/Theme/Theme.php(4620) : eval()'d code(59): IPS\cms\Blocks\_Block::display(Object(IPS\cms\Blocks\Block)) #6 /home/rspstopl/public_html/applications/cms/sources/Pages/Page.php(1250): IPS\Theme\content_pages_55() #7 /home/rspstopl/public_html/applications/cms/sources/Pages/Page.php(2276): IPS\cms\Pages\_Page->getHtmlContent() #8 /home/rspstopl/public_html/applications/cms/modules/front/pages/page.php(116): IPS\cms\Pages\_Page->output() #9 /home/rspstopl/public_html/applications/cms/modules/front/pages/page.php(43): IPS\cms\modules\front\pages\_page->view() #10 /home/rspstopl/public_html/system/Dispatcher/Controller.php(118): IPS\cms\modules\front\pages\_page->manage() #11 /home/rspstopl/public_html/applications/cms/modules/front/pages/page.php(33): IPS\Dispatcher\_Controller->execute() #12 /home/rspstopl/public_html/system/Dispatcher/Dispatcher.php(153): IPS\cms\modules\front\pages\_page->execute() #13 /home/rspstopl/public_html/index.php(13): IPS\_Dispatcher->run() #14 {main} Looking for help or paid help.
-
Where is data for categories and sub-cats stored in the SQL database?
I meant, The data for categories like Announcements, sub cats etc where is that data as-well? because after importing forum_forums to latest IPS fresh install db this displays
-
Where is data for categories and sub-cats stored in the SQL database?
I am porting over a broken database but when I import forums_forums it isn't correctly moving
-
Where is data for categories and sub-cats stored in the SQL database?
Where is data for categories and sub-cats stored in the SQL database?
-
Unable to access ACP
fixed it myself
-
Unable to access ACP
Okay so now new error after I added the missing column back ADD COLUMN app_directory VARCHAR(250) COLLATE utf8mb4_unicode_ci; UnderflowException: (0) #0 /home/runesuit/public_html/applications/core/extensions/core/AdminNotifications/ConfigurationError.php(123): IPS\Db\_Select->first() #1 /home/runesuit/public_html/applications/core/modules/admin/system/login.php(202): IPS\core\extensions\core\AdminNotifications\_ConfigurationError::runChecksAndSendNotifications() #2 /home/runesuit/public_html/applications/core/modules/admin/system/login.php(113): IPS\core\modules\admin\system\_login->_doLogin(Object(IPS\Member)) #3 /home/runesuit/public_html/system/Dispatcher/Controller.php(118): IPS\core\modules\admin\system\_login->manage() #4 /home/runesuit/public_html/system/Dispatcher/Dispatcher.php(153): IPS\Dispatcher\_Controller->execute() #5 /home/runesuit/public_html/admin/index.php(13): IPS\_Dispatcher->run() #6 {main}
-
Unable to access ACP
I have a daily, weekly and monthly backup system and now they all overwritten.. I got lazy and just wrote functions in PHP instead of using acp... xD app_directory doesn't exist inside core_applications.
-
Unable to access ACP
Skip the backup, what other solutions do I have
-
Unable to access ACP
What can I do to solve this issue w/o old backup...
-
Unable to access ACP
everything else is functional though... O.o
-
Unable to access ACP
The forums functions fine and no it randomly happened one day, Everything is else is functional, Mind if i send you the servers details to look at this?
-
Unable to access ACP
-
Unable to access ACP
SELECT next_run FROM `core_tasks` LEFT JOIN `core_applications` ON core_applications.app_directory=core_tasks.app LEFT JOIN `core_plugins` ON core_plugins.plugin_id=core_tasks.plugin WHERE core_tasks.enabled=1 AND (core_plugins.plugin_enabled=1 OR core_applications.app_enabled=1) ORDER BY next_run ASC IPS\Db\Exception: Unknown column 'core_applications.app_directory' in 'on clause' (1054) #0 /home/runesuit/public_html/system/Db/Select.php(388): IPS\_Db->preparedQuery('/*ruensuite::rs...', Array, true) #1 /home/runesuit/public_html/system/Db/Select.php(446): IPS\Db\_Select->runQuery() #2 /home/runesuit/public_html/system/Db/Select.php(370): IPS\Db\_Select->rewind() #3 /home/runesuit/public_html/applications/core/extensions/core/AdminNotifications/ConfigurationError.php(123): IPS\Db\_Select->first() #4 /home/runesuit/public_html/applications/core/modules/admin/system/login.php(202): IPS\core\extensions\core\AdminNotifications\_ConfigurationError::runChecksAndSendNotifications() #5 /home/runesuit/public_html/applications/core/modules/admin/system/login.php(113): IPS\core\modules\admin\system\_login->_doLogin(Object(IPS\Member)) #6 /home/runesuit/public_html/system/Dispatcher/Controller.php(118): IPS\core\modules\admin\system\_login->manage() #7 /home/runesuit/public_html/system/Dispatcher/Dispatcher.php(153): IPS\Dispatcher\_Controller->execute() #8 /home/runesuit/public_html/admin/index.php(13): IPS\_Dispatcher->run() #9 {main}
-
Bulk email 'You might be interested in' showing dated threads
In forum/admin/?app=core&module=bulkmail&controller=bulkmail&do=preview&id=27 How do I go about updating this to threads I want?
-
runesuite.io redirected you too many times.
I keep getting runesuite.io redirected you too many times. Even though the PHP version is 8.1.
-
mass delete avatars and set default avatars for all?
mass delete avatars and set default avatars for all?
-
Problem retrieving currently logged in member via API.
?
-
Problem retrieving currently logged in member via API.
here is the class that communicates with the InvisionAPI. It has been curated to avoid any sensitive info exposed <?php /** * Here is the full class that communicates with the InvisionAPI * */ class InvisionAPI { private static $instance; public static function getInstance() { if (self::$instance == null) { self::$instance = new InvisionAPI(); } return self::$instance; } private $settings; private $database; private $session; public function __construct() { $this->refreshSession(); $this->session = \IPS\Session\Front::i(); $this->database = \IPS\Db::i(); $this->settings = \IPS\Settings::i(); } /** * Refreshes our IPS session, if we ever had one. * Required if for some reason our session has timed out and we have yet to revisit the suite. */ public function refreshSession() { $this->requireIPS(); \IPS\Session\Front::i(); } public function isGuest($member) { return $member->member_group_id == $this->settings->guest_group; } /** * Returns the current logged in user * This method is called when I access after login form, it always returns Guest! * @return null */ public function getCachedMember() { $this->refreshSession(); $member = \IPS\Member::loggedIn(); if ($this->isGuest($member)) { return null; } return new InvisionMember($member); } public function loadMember($username) { $member = \IPS\Member::load($username, 'name'); if ($this->isGuest($member)) { return null; } return $member; } /** * This returns true when user/pass is OK so I know it works! */ public function login($username, $password, $rememberMe = false) { $member = $this->loadMember($username); if ($member == null) { return null; } if (!$this->verifyPassword($member, $password)) { return false; } $this->setSession($member, $rememberMe); return true; } public function logout() { $member = $this->getCachedMember(); if ($member == null) { return; // We are already logged out } session_destroy(); \IPS\Request::i()->clearLoginCookies(); $member->memberSync('onLogout', array(\IPS\Http\Url::internal(''))); } /** * Sets the user session after use has been verified. * @param $member * @param $rememberMe */ public function setSession($member, $rememberMe) { $this->session->setMember($member); $device = \IPS\Member\Device::loadOrCreate($member); $member->last_visit = $member->last_activity; $member->save(); $device->anonymous = false; $device->updateAfterAuthentication($rememberMe, null); $member->memberSync('onLogin'); $member->profileSync(); /** * If I do a test here, it fails, I get guest! * $member = \IPS\Member::loggedIn(); */ } public function verifyPassword($member, $password) { return password_verify($password, $member->members_pass_hash) === true; } private function requireIPS() { require_once FORUM_PATH . 'init.php'; } }
-
Problem retrieving currently logged in member via API.
the member exists at the moment of setting the session
-
Problem retrieving currently logged in member via API.
A bit of API testing first to know it's working: \IPS\Member::load('some_username', 'name'); //works as expected, I get the user \IPS\Member::load($member_id, 'member_id'); //works as expected, I get the user Authenticating a user via the API: $session = \IPS\Session\Front::i(); $session->setMember($member); $member = \IPS\Member::load('username', 'name'); $device = \IPS\Member\Device::loadOrCreate($member); $device->anonymous = false; $device->updateAfterAuthentication($rememberMe, null); $member->memberSync('onLogin'); $member->profileSync(); At this point, if I visit the forum, I see that I am logged in as the user so the authentication works. But, if I do a $member = \IPS\Member::loggedIn(); I get guest, regardless if I do the call right after authentication or after page refresh. Any idea on what am I missing here?
-
Upon login 500 internal error new issue
Turns out (BIM) Hide Link And Code plugin is slightly broken. Sigh.
-
Upon login 500 internal error new issue
I can't log into the admin control forums to disable it how to disable all plugins via PHP likely in constants or conf_global?
-
Upon login 500 internal error new issue
Declaration of IPS\\forums\\Topic\\hook648::truncated($oneLine = false) must be compatible with IPS\\_Content::truncated($oneLine = false, $length = 500) in /home/runesu/public_html/init.php(902) : eval()'d code on line 240
-
all login areas broken
Went into /public_html/applications deleted the directory links seems to of solved my issues.
-
all login areas broken
Cause I can't go into upgrade and add the license... I uploaded this brand new as well all old files replaced, what to do?