e107sk.com

Recent Content List Configuration

Scan plugin directories on 13 Aug 2019

Use this tool to make sure your plugins are working correctly in the database and that the install went smoothly.

It will tell you if a plugin is installed or not and any errors that are present.

This is needed too when new addons are added to new plugin version.

Normally addon list is generated during installation, but with the update is safer to use this tool. You can find your plugin in the list and check if all needed addons are there.

36a0db7d4d77

Running the scan generates a list:

A9a883960f5e

It says to you:

- if the plugin is installed

- if the plugin uses an outdated addon 

- if there is an error (there is help: If an addon shows an error, check for characters outside the PHP opening/closing tags.)

Old shortcodes (.sc) and old bbcodes (.bb) are not checked.

How to debug email settings on 11 Oct 2018

What to do if site is not sending emails.

How to check email sending

How to debug not sending email problem


With e107 you have more options how to check if your emails are sent.

One setting is in classic main preferences - default is php method

Second setting is in Mail preferences under Users related stuff - default is smtp method

And some plugins could use their own way how to send email.

e107 itself has test buttons for checking if emails are sent. Problem starts when you got no errors and your email never come.

Mail snapshots logging


So what to do? First help: DEBUG. If you got this help answer with email related question, it means that you should use inbuilt mail logging functionality. If you use Developer mode too, it's bonus to it.

So: how to initiate mail logging? Go to User tab and select option Mail / Preferences.

2a19af2cf28d

You can select if you want to send email or just make snapshot of it.

Test email from Preferences


Settings / Preferencies / Email & Contact Info

008c666e2af8

If you get this message (green), it means that e107 works correctly, you have problem with you mail server.

2158db4550ce

Open file mailoutlog.txt under your e107_system/hash/logs directory:
3d425cbbb4ab
and find your email there.
In my case: Error info: Could not instantiate mail function.

Test email from Mail preferencies


5373538e9d06

With this option you got error in your admin area directly:

8cf44abef5b4

If you have debug on (as browser addon in my case), you get full debug info in admin area.

So only solution is set SMTP connection (on both places).

B1ef38b4b824

I was sure that my smtp settings was correct. Without logging I wouldn't know that it was blocked by my hosting because their spam policy. I needed to change From address to adress registered on their hosting. The option to test SMTP connection worked only for port 25 (there is already issue about this on github, I don't use latest version, maybe it is fixed now)

Error info: SMTP Error: data not accepted server error: DATA END command failed Detail: Blocked, unknown email address in envelope-sender or From header. http://antispam****x?from=***&sender=****

From address is set in Email address for emails under Site preferences.

It looks like this helped.

778989791644

So now I am able to send emails from localhost too.

Notification emails check


Next area you should always check is sending notify emails. In Notify Tools you can do it very easy. Sometimes (mainly on localhost) I got white page after clicking on Test email, but it needs only to refresh page.

015fe9f0a04f

D59d872b30f4

In this case notification emails are sent to exact userclass, so if it's not you, set logging without actual sending emails. You will find result in your log file:

Send to admin at *** Mail-ID= - Success

Custom plugin


After plugin installation - check Notify tools - if plugin is listed there, it uses new Event manager for mail sending.
If plugin is not there, it uses classic way and you have only one option - set logging on, simulate action and then check mailoutlog.txt file.

In my case with survey plugin:
2f090c1161d9

6fd4a04de213

e107 Optimization Tutorial on 09 Jul 2018

To improve the performance of your e107 website, you can make the following changes:

Enable caching for your e107. You do this from the Admin area > Settings > Cache. Once there, you should check Cache data saved to disk file and click Set cache status to save the change.
Keep the number of active plugins as low as possible. Use only the plugins you really need.
Optimize your e107 database
Decrease the number of external and internal links on your pages. Leave only the most important ones.

Other links

Follow us