News:

SMF 2.1.3 has been released! Take it for a spin! Read more.

Main Menu

Optimus

Started by Bugo, February 15, 2011, 03:48:12 PM

Previous topic - Next topic

AleksNet

Quote from: Bugo on July 16, 2020, 12:50:07 AM
Quote from: AleksNet on July 15, 2020, 11:39:16 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:
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

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

Bugo

Well, try to create necessary tables by hand, via phpMyAdmin, etc.


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;

Kailash Aghera

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

vicram10

Quote from: Kailash Aghera 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

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


Arantor

Quote from: Bugo on July 08, 2020, 10:27:49 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.

vicram10

Quote from: Arantor on August 07, 2020, 03:57:40 PM
Quote from: Bugo on July 08, 2020, 10:27:49 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.

forumovod

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

Bugo

Thanks, it will be fixed in the next release.

gorbi

Why Optimus 2.6.2 do not work with Opcache?

Bugo

It works well. Just re-create a sitemap by hand (if you mean that a sitemap is not creating with Opcache enabled).

gorbi

With php 7 work, with php5.6 do not work. Any 2.6.2 any 2.6.5

Bugo

Quote from: Bugo on September 07, 2020, 10:01:23 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:
@ini_set('opcache.enable', false);

function scheduled_optimus_sitemap()
{
global $boarddir, $sourcedir;

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

pocttopus

Hello,
I am having these issues:


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



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.

Portugal

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

Kindred

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
Слaва
Украинi

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."

Bugo

At first, remove /Sources/Optimus dir.
Then, extract files from the new Optimus package, to the forum dir.

Portugal

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

Randem

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://financialtrainingcenter.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

Bugo

These and some other errors are fixed in v2.9.4 that is available for sponsors on Patreon yet.

gorbi

Для СМФ2.0 есть спецпредложение?

Advertisement: