Advertisement:

Author Topic: Optimus  (Read 224464 times)

Offline AleksNet

  • Newbie
  • *
  • Posts: 4
Re: Optimus
« Reply #740 on: July 16, 2020, 11:39:56 PM »
If I understand correctly, then during the installation the table "optimus_keywords" should have been created in the database?
But nothing was created in the DB
Try to copy database.php to a forum root and run via browser.

I did as they wrote.
Outputs:
Code: [Select]
Database Error
Duplicate column name 'optimus_description'
File: /var/www/xxxxx/data/www/xxxxx.ru/database.php
Line: 121
Back to

If you expand the error description
Code: [Select]
Mistake
Error type: Database
Error message: Database error: Duplicate column name 'optimus_description'
File: /var/www/ххххх/data/www/ххххх.ru/database.php
Line: 121
URL error on page: http://ххххх.ru/database.php
Trace data
# 0: smf_db_error ()
Call from /var/www/ххххх/data/www/ххххх.ru/Sources/Subs-Db-mysql.php on line 489
# 1: smf_db_query ()
Call from /var/www/ххххх/data/www/ххххх.ru/Sources/DbPackages-mysql.php on line 330
# 2: smf_db_add_column ()
Call from /var/www/ххххх/data/www/ххххх.com/database.php on line 121

Offline Bugo

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 1,659
  • Gender: Male
    • dragomano on GitHub
    • Support me on Ko-fi
Re: Optimus
« Reply #741 on: July 17, 2020, 12:53:29 AM »
Well, try to create necessary tables by hand, via phpMyAdmin, etc.

Code: [Select]
DROP TABLE IF EXISTS `smf_optimus_keywords`;
CREATE TABLE `smf_optimus_keywords` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) NOT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;


DROP TABLE IF EXISTS `smf_optimus_log_keywords`;
CREATE TABLE `smf_optimus_log_keywords` (
  `keyword_id` int(10) unsigned NOT NULL,
  `topic_id` mediumint(8) unsigned NOT NULL,
  `user_id` mediumint(8) unsigned NOT NULL,
  PRIMARY KEY (`keyword_id`,`topic_id`,`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

Offline Kailash Aghera

  • Semi-Newbie
  • *
  • Posts: 53
  • Gender: Male
    • aghera on Facebook
    • @webhosttalk on Twitter
Re: Optimus
« Reply #742 on: August 07, 2020, 08:30:29 AM »
This mod is not working with SMF 2.1 RC2:

SMF Version: SMF 2.1 RC2
Mod Version:  optimus_2.9.3_smf21

No other mod. This is a fresh installation. The issue is with Sitemap. Running a sitemap task manually, generates the following error logs:

The callable \Bugo\Optimus\Integration::scheduledTask could not be called.

While accessing sitemap URL, it give 404 error page.

Kailash

Offline vicram10

  • Charter Member
  • SMF Hero
  • *
  • Posts: 6,047
  • Gender: Male
    • vmrm10 on Facebook
    • vicram10 on GitHub
    • vicram10 on LinkedIn
    • @vicram_10 on Twitter
    • Noticias Tecnologicas, Tutoriales e Internet
Re: Optimus
« Reply #743 on: August 07, 2020, 03:47:22 PM »
This mod is not working with SMF 2.1 RC2:

SMF Version: SMF 2.1 RC2
Mod Version:  optimus_2.9.3_smf21

No other mod. This is a fresh installation. The issue is with Sitemap. Running a sitemap task manually, generates the following error logs:

The callable \Bugo\Optimus\Integration::scheduledTask could not be called.

While accessing sitemap URL, it give 404 error page.

Kailash

Yes, same problem for me, the previous version works fine (Optimus 2.8.4 [28.05.20]).


Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 73,189
Re: Optimus
« Reply #744 on: August 07, 2020, 03:57:40 PM »
You need to install the latest version of SMF from GitHub to properly work with v2.9.3.

As in, not 2.1 RC2 from the download page.
No good deed goes unpunished
All helpful urges should be circumvented

Offline vicram10

  • Charter Member
  • SMF Hero
  • *
  • Posts: 6,047
  • Gender: Male
    • vmrm10 on Facebook
    • vicram10 on GitHub
    • vicram10 on LinkedIn
    • @vicram_10 on Twitter
    • Noticias Tecnologicas, Tutoriales e Internet
Re: Optimus
« Reply #745 on: August 09, 2020, 09:10:13 AM »
You need to install the latest version of SMF from GitHub to properly work with v2.9.3.

As in, not 2.1 RC2 from the download page.

ah okay, I see, I have the 2.1 from download page, thanks Arantor.

Offline forumovod

  • Semi-Newbie
  • *
  • Posts: 28
    • Community of forum owners
Re: Optimus
« Reply #746 on: September 04, 2020, 01:45:02 AM »
If a visible counter with an informer is inserted in Optimus, the quote doesn't work in the posts.

SMF 2.1 RC2 from github, Optimus 2.9.3.
Community of forum owners (сообщество владельцев форумов на любых движках) https://forumovod.ru

Offline Bugo

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 1,659
  • Gender: Male
    • dragomano on GitHub
    • Support me on Ko-fi
Re: Optimus
« Reply #747 on: September 04, 2020, 07:38:35 AM »
Thanks, it will be fixed in the next release.

Offline gorbi

  • Jr. Member
  • **
  • Posts: 185
    • https://www.facebook.com/s.gorbachevsky on Facebook
    • @gorbachevsky on Twitter
Re: Optimus
« Reply #748 on: September 04, 2020, 10:38:26 AM »
Why Optimus 2.6.2 do not work with Opcache?

Offline Bugo

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 1,659
  • Gender: Male
    • dragomano on GitHub
    • Support me on Ko-fi
Re: Optimus
« Reply #749 on: September 07, 2020, 10:01:23 AM »
It works well. Just re-create a sitemap by hand (if you mean that a sitemap is not creating with Opcache enabled).

Offline gorbi

  • Jr. Member
  • **
  • Posts: 185
    • https://www.facebook.com/s.gorbachevsky on Facebook
    • @gorbachevsky on Twitter
Re: Optimus
« Reply #750 on: September 08, 2020, 05:39:35 AM »
With php 7 work, with php5.6 do not work. Any 2.6.2 any 2.6.5

Offline Bugo

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 1,659
  • Gender: Male
    • dragomano on GitHub
    • Support me on Ko-fi
Re: Optimus
« Reply #751 on: September 08, 2020, 09:48:18 AM »
Just re-create a sitemap by hand

Or, a backup plan - open Sources/Optimus/Task.php, and add this line into scheduled_optimus_sitemap() function:
Code: [Select]
@ini_set('opcache.enable', false);
Code: [Select]
function scheduled_optimus_sitemap()
{
global $boarddir, $sourcedir;

@ini_set('opcache.enable', false);

Offline pocttopus

  • Full Member
  • ***
  • Posts: 499
  • Low pressure
    • @pocttopus on Twitter
    • mkreef.com
Re: Optimus
« Reply #752 on: September 10, 2020, 02:07:00 AM »
Hello,
I am having these issues:

Code: [Select]
Type of error: General
8: Constant OP_VERSION already defined
/home/xxxx/public_html/Sources/Optimus/Integration.php (Line 33)

Code: [Select]
Type of error: General
8: Constant OP_NAME already defined
/home/xxxx/public_html/Sources/Optimus/Integration.php (Line 32)

How can I solve this?
Thanks.

Offline Portugal

  • Jr. Member
  • **
  • Posts: 252
Re: Optimus
« Reply #753 on: September 26, 2020, 03:25:46 PM »
Hi people,

I need yours help, Bugo can you hel me?

After try to instal the new version (2.6.5) without uninstal the older version (12/2019) ive got this fatal error:
[26-Sep-2020 20:09:24 Europe/Lisbon] PHP Fatal error:  Cannot redeclare scheduled_optimus_sitemap() (previously declared in /home/xxxxxxxxxxxx/public_html/Sources/Optimus/Scheduled.php:25) in /home/xxxxxxxxx/public_html/Sources/Optimus/Task.php on line 32

What can i do to solve this? My forum is now down.



Thanks in advance
Portugal

Offline Kindred

  • The Mean One
  • Support Specialist
  • SMF Legend
  • *
  • Posts: 60,208
  • Gender: Male
    • Kindred-999 on GitHub
Re: Optimus
« Reply #754 on: September 26, 2020, 07:38:48 PM »
Did you take a backup before you did that?

If not (shame on you,  ALWAYS BACKUP) then you will have to manually remove ALL  the duplicated code
Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Offline Bugo

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 1,659
  • Gender: Male
    • dragomano on GitHub
    • Support me on Ko-fi
Re: Optimus
« Reply #755 on: September 27, 2020, 12:37:02 AM »
At first, remove /Sources/Optimus dir.
Then, extract files from the new Optimus package, to the forum dir.

Offline Portugal

  • Jr. Member
  • **
  • Posts: 252
Re: Optimus
« Reply #756 on: September 27, 2020, 03:32:15 PM »
Thanks friends

Yesterday ive rebamad the file "scheduled.php" and the forum starts running withowt this file. Today ive changed all the folder as Bugo says... and works perfectllly.


Thanks Bugo and all

Offline Randem

  • Jr. Member
  • **
  • Posts: 305
  • Gender: Male
    • Randem Systems
Re: Optimus
« Reply #757 on: October 01, 2020, 06:06:37 AM »
Hi, I installed Optimus version 2.9.3 [08.07.20]  on SMF 2.1 RC2 and got 27 errors in the error log on install which keep repeating these three errors.

 Type of error: Undefined
2: Use of undefined constant OP_NAME - assumed 'OP_NAME' (this will throw an Error in a future version of PHP) /index.php?pretty;action=admin&area=optimus;d77834cdcf9=c87b7e15170ed1bc0937fd2bc707bbdf
/home/fts/public_html/Sources/Optimus/Settings.php (Line 164)
   
admin
Today at 09:51 am
75.80.73.210
c87b7e15170ed1bc0937fd2bc707bbdf
Type of error: Undefined
2: Use of undefined constant OP_VERSION - assumed 'OP_VERSION' (this will throw an Error in a future version of PHP) /index.php?pretty;action=admin&area=optimus;d77834cdcf9=c87b7e15170ed1bc0937fd2bc707bbdf
/home/fts/public_html/Sources/Optimus/Settings.php (Line 146)
   
admin
Today at 09:51 am
75.80.73.210
c87b7e15170ed1bc0937fd2bc707bbdf
Type of error: Undefined
2: Use of undefined constant OP_NAME - assumed 'OP_NAME' (this will throw an Error in a future version of PHP) /index.php?pretty;action=admin&area=optimus;d77834cdcf9=c87b7e15170ed1bc0937fd2bc707bbdf
/home/fts/public_html/Sources/Optimus/Settings.php (Line 122)
https://randemsystems.com/support/       -   Discusware to SMF Converter / BotBanish Support
https://blaxtonjames.com                         - Money, Knowledge And Power; Why You Are Missing All Three
https://joystickgangsta.com                      - An Experience You Can't Refuse
https://botbanish.com                                 - The Ultimate BOT Defender for SMF, OpenCart, WordPress  & Websites

Always ignore those who attempt to tell you what to think and believe those who will allow you think for yourself

Offline Bugo

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 1,659
  • Gender: Male
    • dragomano on GitHub
    • Support me on Ko-fi
Re: Optimus
« Reply #758 on: October 01, 2020, 07:39:34 AM »
These and some other errors are fixed in v2.9.4 that is available for sponsors on Patreon yet.

Offline gorbi

  • Jr. Member
  • **
  • Posts: 185
    • https://www.facebook.com/s.gorbachevsky on Facebook
    • @gorbachevsky on Twitter
Re: Optimus
« Reply #759 on: October 01, 2020, 01:32:07 PM »
Для СМФ2.0 есть спецпредложение?