News:

Wondering if this will always be free?  See why free is better.

Main Menu

Optimus

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

Previous topic - Next topic

owemeone

I contacted my host and my problem has been solved.

perfec2

I don't have simpleportal installed, and mistakenly chose Portal integration >>Simpleportal. I got 500 server error when I clicked save.
As a result whenever a user click post to start a new thread, it will display 500 server, when you view board index you will see that the new thread is posted.

Please how can I fix this?

Note that posting reply doesn't have any problem as it works fine.

owemeone

Quote from: perfec2 on January 07, 2017, 11:36:24 AM
I don't have simpleportal installed, and mistakenly chose Portal integration >>Simpleportal. I got 500 server error when I clicked save.
As a result whenever a user click post to start a new thread, it will display 500 server, when you view board index you will see that the new thread is posted.

Please how can I fix this?

Note that posting reply doesn't have any problem as it works fine.

You're not able to change the settings? Are you able to install simpleportal?

If not, then you'll have to dig into your database.

QuoteHow do you change the settings of a mod if you aren't able to access the settings via natural methods?

> phpmyadmin
> open up relevant database
> search mod name (for this example: Cumulus Congestus)
> Words or values to search for (wildcard: "%"): Cumulus Congestus
> Find: At least one of the words
> ***_Settings

>browse

>edit whichever field you need to edit

Just make sure you've got a backup :)

There might be another solution, and I am an amateur, so yer.. :p

acsieben

Hi,
After starting to use PHP 7.1 I had to make this change to get a lot of warnings related to "optimus_buffer()" from being generated:

function optimus_buffer(&$buffer) -> function optimus_buffer($buffer)

I.e. I removed the ampersand.

Edit:
Another error that is popping up a lot in the logs is:
Quote8: Undefined index: optimus_sitemap_title
File: /home/**myforum**/public_html/smf/Sources/Admin-Optimus.php
Line: 42

perfec2

Quote from: owemeone on January 13, 2017, 09:48:03 AM
Quote from: perfec2 on January 07, 2017, 11:36:24 AM
I don't have simpleportal installed, and mistakenly chose Portal integration >>Simpleportal. I got 500 server error when I clicked save.
As a result whenever a user click post to start a new thread, it will display 500 server, when you view board index you will see that the new thread is posted.

Please how can I fix this?

Note that posting reply doesn't have any problem as it works fine.

You're not able to change the settings? Are you able to install simpleportal?

If not, then you'll have to dig into your database.

QuoteHow do you change the settings of a mod if you aren't able to access the settings via natural methods?

> phpmyadmin
> open up relevant database
> search mod name (for this example: Cumulus Congestus)
> Words or values to search for (wildcard: "%"): Cumulus Congestus
> Find: At least one of the words
> ***_Settings

>browse

>edit whichever field you need to edit

Just make sure you've got a backup :)

There might be another solution, and I am an amateur, so yer.. :p

Thank you for your help, this I believe can solve setting saving issue. How about when a user clicks "post" to start a new thread and it displays 500 server errors at thesame time get posted? currently I uninstalled the mod so that users can post without seeing errors. Please how can I solve this aspect?

perfec2

Is there a way to remove all the mod instances in the database, as if it hasn't installed before?

aetherdan

Doe this mod work when using SSL?

Once installed and activated, none of the features seem to be working.

Kindred

be more specific please?

Because I have all of my sites on SSL and optimus brave is working just fine
Сл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."

aetherdan

See attachments. The mod just doesn't seem to be working at all, also sitemap was never generated.

No error when checking apache log.

Kindred

#389
It looks like you have done some bad things...
1- removing index.php from the URL is useless when it comes to seo and may cause issues
2- turn off the set URLs in smf admin, they are useless these days.

3- what do you think this mod does? It does not change the URL at all... 
Сл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."

aetherdan

Ahhh, I thought it was similar to pretty urls. Thanks mate, must be working as intended.

ll i get now is

8: Undefined index: optimus_sitemap_title

Kindred

No, this changes  the meta description, etc tags... not the URL ... because pretty URLs are also, basically, useless for seo
Сл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."

aetherdan

Quote from: Kindred on March 23, 2017, 11:24:56 PM
No, this changes  the meta description, etc tags... not the URL ... because pretty URLs are also, basically, useless for seo

Cheers mate, learn something enw every day.

Linkjay

I keep meaning to try this. Looks awesome!
I play games in my free time and volunteer my knowledge and support to the gaming communities of the internet.

You can contact me by these methods:
Use my Contact Script • PM me here • Add me on Steam

khalimerot

#394
Hi everyone,

When i send a new topic, or change a sitemap option in Optimus i have this error:

Table 'icka_smf.smf_bbs_items' doesn't exist
File: /var/sentora/hostdata/icka/public_html/icka_eu/Sources/Subs-Optimus.php
Ligne: 852


My SMF is a 2.0.14 and i Re run the upgrade.php to re update the database...but the problem is still there...

And i have uninstall and reinstall the mod, with no luck..

Edit: After searching i think i have to change the Subs-Optimus.php file to search in smf_topics, but i'm not sure....
Edit2: Not working, it search for id wich could possibly be id_topics, date, and last_edit which are not present in smf_topics

// Simple Classifieds
if (!empty($modSettings['optimus_sitemap_classifieds'])) {
$request = $smcFunc['db_query']('', '
SELECT id, date, last_edit
FROM {db_prefix}bbs.items
WHERE status = {int:approved}
ORDER BY date',
array(
'approved' => 1
)
);

khalimerot

#395
The problem seems to come from the Simple Classifed Sitemap option...but I cannot deactivate this option...each time it return selected...

The options seems to not be stored in the database...so i don't know where i can change it..

Edit: Found the parameters in the DB smf_settings at Optimus_sitemap_classifieds and change it to 0, solved my problems..

Do not activate the SMF Classifieds option if you don't have this mod...it was a miss click from me...and this option cannot be change without manually editing the database...

whoey

Quote from: perfec2 on January 07, 2017, 11:36:24 AM
I don't have simpleportal installed, and mistakenly chose Portal integration >>Simpleportal. I got 500 server error when I clicked save.
As a result whenever a user click post to start a new thread, it will display 500 server, when you view board index you will see that the new thread is posted.

Please how can I fix this?

Note that posting reply doesn't have any problem as it works fine.
We had Optimus Brave 1.8.7 installed, updating to 1.9.x caused 500 errors when starting a new topic. Have temporarily reverted to 1.8.7 since it's not causing us any headaches. I guess something in the old config barfs with the new versions...

acsieben

Quote from: aetherdan on March 23, 2017, 11:19:32 PM
Ahhh, I thought it was similar to pretty urls. Thanks mate, must be working as intended.

ll i get now is

8: Undefined index: optimus_sitemap_title


To clear this warning from the error log I changed two entries of this string in Sources/Admin-Optimus.php:

$txt['optimus_sitemap_title']

To:

isset($txt['optimus_sitemap_title'])?$txt['optimus_sitemap_title']:""

Kindred

or, a better solution would be to actually define $txt['optimus_sitemap_title'] in modifications.YOURLANGUAGE.php
Сл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."

SaidJan

Sometimes, I get this error with SMF 2.1 beta 3. How to fix it?

8: Undefined variable: mobile_type
file: .../Sources/Subs-Optimus.php
Line: 466

==>466:            'wap'      => $scripturl . '/?' . $mobile_type,


Advertisement: