Jump to content

NAWAC

Clients
  • Joined

  • Last visited

  1. I looked at a previous problem I had, it was a namespace issue too. I got it fixed by doing the same thing here. I changed this... namespace IPS\profilestatistics; class _Application extends \IPS\Application { }To this, below... namespace IPS\profilestatistics; use IPS\Application as TheApplication; class Application extends TheApplication { }^ That did the trick. I'm back into my site. Thanks for detecting that and letting me know. I appreciate it! 🙂
  2. @Jim M I believe it was InvisionDevs profilestatistics. It wasn't really installed to begin with. It was just laying dormant in the applications listing. I ran the following command in MySQL to see which tables were updated right after I could not access my site: SELECT * FROM information_schema.tables WHERE TABLE_SCHEMA = 'myforum' ORDER BY tables.UPDATE_TIME DESC The only table updated was the core_applications table. I'm not sure what that means. Can you explain what to do?
  3. I did that, and now I can't log into my site on the forum or the admin panel.
  4. I'm running the new IC5. How do I delete old applications that are no longer available in IC5, but still show up on my Admin Panel>System>Applications>Applications not currently installed? The plugins have been deleted from /plugins file directory, but they still show up in the Applications list.
  5. So, the API Reference says the following, below. Where is the author ID in the API Call? I don't see the author ID anywhere in the POST in the documentation. POST https://oldmemberforum.woodape.org/api/index.php?/forums/posts/{id}/reactAdd a reaction If the author has already reacted to this content, any existing reaction will be removed first ParametersName Type Description id int ID of the reaction to add Code Message Description 1S425/2 NO_REACTION The reaction ID does not exist 1S425/3 NO_AUTHOR The author ID does not exist 1S425/4 REACT_ERROR Error adding the reaction 1S425/5 INVALID_ID Object ID does not exist
  6. In the API logs, I'm getting 403 forbidden
  7. Can someone please show me the correct way to send to the API to react to a post. Here's what I'm using so far. $communityUrl = 'https://mycommunityurl.com/api/index.php?'; $post_id = 1000; $endpoint = "/forums/posts/$post_id/react"; $apiKey = 'myapi_key'; // the API key $url = $communityUrl . $endpoint; $curl = curl_init( $url ); $parameters_ary = array( 'key' => $apiKey // the API key for JoinTheTeam ,'id' => '1' // the reaction ID ,'member_id' => '123' // the member_ID giving the reaction ); //set the url, number of POST vars, POST data curl_setopt($curl, CURLOPT_RETURNTRANSFER, true); curl_setopt($curl, CURLOPT_POST, count($parameters_ary)); curl_setopt($curl, CURLOPT_POSTFIELDS, http_build_query($parameters_ary)); $res = curl_exec($curl); //execute post curl_close($curl); //close connection But I keep getting the following error: Array ( [errorCode] => 1S425/4 [errorMessage] => REACT_ERROR_cannot_react ) What am I doing wrong?
  8.    NAWAC reacted to a post in a topic: IC5, HTML editor?
  9. NAWAC posted a post in a topic in General Questions
    In IC4, as an admin, I was able to compose posts using HTML (source code), in IC5 it seems that allowing HTML in posts (even for admins) is not even possible. Is that correct or am I missing something? The IC5 standard editor seems very limited. I can't even indent a paragraph.
  10.    NAWAC reacted to a post in a topic: Switching Servers, Permission Denied
  11. Long story short, I had to restore a backup of my database (from last night luckily) and manually re-upload IC 5.0.4 I had running on my site before all this mess-up started. My site is up and running again now.
  12. You cannot untick it, it's simply a list of items to upgrade. I added in the table from a backup, however, it didn't help. I still get the errors during the upgrade.
  13. I go to /admin/upgrade again and it shows this... You have an unfinished upgrade from 03/26/25 09:12 Upgrading Applications Core Forums Calendar Gallery Downloads Convert Cms Nexus Topicsview Upgrade Status Status: 3 Application: topicsview Current Version: Not set Notice that Application: topicsview is in the list of applications to update. Is there anyway to take it out of the queue of applications to update?
  14. Me neither. Right now I cannot access my site because it's caught in an upgrade and I can't upgrade due to the error. So, I'm caught between an rock and a hard place with no where to go.
  15. To go along with this, I see this in the Admin Logs... Error (1146) Table 'mysite.topicsview_log' doesn't exist: changeColumnsAndIndexes ["topicsview_log",{"view_date":{"name":"read_time","type":"INT","length":null,"decimals":null,"values":null,"allow_null":false,"default":"0","comment":"","unsigned":false,"auto_increment":false},"read_time":{"name":"view_time","type":"INT","length":null,"decimals":null,"values":null,"allow_null":false,"default":"0","comment":"","unsigned":false,"auto_increment":false}}]and this... Error: Table 'mysite.topicsview_log' doesn't exist #0 /var/www/vhosts/mysite.com/system/Db/Db.php(2169): IPS\Db->query() #1 /var/www/vhosts/mysite.com/system/Application/Application.php(1806): IPS\Db->changeColumnsAndIndexes() #2 /var/www/vhosts/mysite.com/applications/core/sources/Setup/Upgrade.php(565): IPS\Application->installDatabaseUpdates() #3 /var/www/vhosts/mysite.com/applications/core/sources/Setup/Upgrade.php(369): IPS\core\Setup\Upgrade->step1() #4 /var/www/vhosts/mysite.com/applications/core/modules/setup/upgrade/upgrade.php(60): IPS\core\Setup\Upgrade->process() #5 /var/www/vhosts/mysite.com/system/Helpers/MultipleRedirect/MultipleRedirect.php(104): IPS\core\modules\setup\upgrade\upgrade->IPS\core\modules\setup\upgrade\{closure}() #6 /var/www/vhosts/mysite.com/applications/core/modules/setup/upgrade/upgrade.php(90): IPS\Helpers\MultipleRedirect->__construct() #7 /var/www/vhosts/mysite.com/system/Dispatcher/Controller.php(139): IPS\core\modules\setup\upgrade\upgrade->manage() #8 /var/www/vhosts/mysite.com/system/Dispatcher/Setup.php(261): IPS\Dispatcher\Controller->execute() #9 /var/www/vhosts/mysite.com/admin/upgrade/index.php(38): IPS\Dispatcher\Setup->run() #10 {main}and lastly... Table 'mysite.topicsview_log' doesn't exist Any help is greatly appreciated.
  16. Ok, I got the new Applications.php file uploaded and it's not showing that error now. However, in the Admin Panel it said I need to upgrade to 5.0.4, so I started the upgrade, now I have the following error during the upgrade and it says the following... #0 /var/www/vhosts/mysite.com/applications/core/sources/Setup/Upgrade.php(846): IPS\Application::load() #1 /var/www/vhosts/mysite.com/applications/core/sources/Setup/Upgrade.php(433): IPS\core\Setup\Upgrade->IPS\core\Setup\{closure}() #2 /var/www/vhosts/mysite.com/applications/core/sources/Setup/Upgrade.php(896): IPS\core\Setup\Upgrade->appLoop() #3 /var/www/vhosts/mysite.com/applications/core/sources/Setup/Upgrade.php(369): IPS\core\Setup\Upgrade->step3() #4 /var/www/vhosts/mysite.com/applications/core/modules/setup/upgrade/upgrade.php(60): IPS\core\Setup\Upgrade->process() #5 /var/www/vhosts/mysite.com/system/Helpers/MultipleRedirect/MultipleRedirect.php(104): IPS\core\modules\setup\upgrade\upgrade->IPS\core\modules\setup\upgrade\{closure}() #6 /var/www/vhosts/mysite.com/applications/core/modules/setup/upgrade/upgrade.php(90): IPS\Helpers\MultipleRedirect->__construct() #7 /var/www/vhosts/mysite.com/system/Dispatcher/Controller.php(139): IPS\core\modules\setup\upgrade\upgrade->manage() #8 /var/www/vhosts/mysite.com/system/Dispatcher/Setup.php(261): IPS\Dispatcher\Controller->execute() #9 /var/www/vhosts/mysite.com/admin/upgrade/index.php(38): IPS\Dispatcher\Setup->run() #10 {main} /var/www/vhosts/mysite.com/system/Application/Application.php::317
  17. @Adriano Faria Here you go... Application.php