Follow the steps of installation, but prior to running the installation wizard do the following:
class2.php
). After doing this you should find a folder for your language inside the e107_languages
directory.Here is an example vhost configuration for nginx. Replace domain.com
with your own domain.
server {
listen 80;
server_name domain.com www.domain.com;
return 301 https://www.domain.com$request_uri;
}
server {
listen 443 ssl http2;
server_name www.domain.com;
root /var/www/html/domain.com;
index index.php index.html index.htm;
ssl_certificate /etc/nginx/cert/domain.com.crt;
ssl_certificate_key /etc/nginx/cert/domain.com.key;
ssl_dhparam /etc/nginx/cert/dhparam.pem;
ssl_session_cache shared:SSL:20m;
ssl_session_timeout 60m;
ssl_stapling on;
ssl_stapling_verify on;
ssl_trusted_certificate /etc/nginx/cert/trustchain.crt;
resolver 8.8.8.8 8.8.4.4;
add_header Strict-Transport-Security "max-age=31536000" always;
ssl_prefer_server_ciphers on;
ssl_ciphers ECDH+AESGCM:ECDH+AES256:ECDH+AES128:DH+3DES:!ADH:!AECDH:!MD5;
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
if (!-e $request_filename) {
rewrite ^/media/img/(a)?([d]*)x(a)?([d]*)/(.*)?$ /thumb.php?src=e_MEDIA_IMAGE/$5&$1w=$2&$3h=$4 last;
rewrite ^/media/avatar/(a)?([d]*)x(a)?([d]*)/(.*)?$ /thumb.php?src=e_AVATAR/$5&$1w=$2&$3h=$4 last;
rewrite "^/media/img/([-A-Za-z0-9+/]*={0,3}).(jpg|gif|png)?$" /thumb.php?id=$1 last;
rewrite ^/theme/img/(a)?([d]*)x(a)?([d]*)/(.*)?$ /thumb.php?src=e_THEME/$5&$1w=$2&$3h=$4 last;
rewrite ^/static/[0-9]*/(.*)$ /$1 last;
}
location / {
try_files $uri $uri/ /index.php?$args;
}
location ~ .(jpg|jpeg|png|gif|ico|css|js)$ {
expires 30d;
}
location ~ .php$ {
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi_params;
}
}
e107 uses various security methods to keep your site protected from abuse. However, some server configurations are incompatible with these methods, usually due to these servers employing similar security methods.
In order to disable only the parts which may cause you problems, we recommend you add the following code on a new line in your e107_config.php
file, and see if that helps. If not, please submit an Issue on Github - we'll do our best to find a solution for you.
define('e_SECURITY_LEVEL', 0);
First, you should make sure you are upgraded to the last release of e107 v1, which is v1.0.4. You can find these files here in the "Version 1 (legacy)" area.
Choose e107 0.7.x to 1.0.4 Upgrade
, if you're unsure which version of 0.7 you are using.
If you are using 0.6.x, it must be v0.6175 and upgraded using the e107 v0.6175 to 1.0.4 Upgrade
package.
Once you have overwritten your files and ran any necessary database upgrades, you are ready to upgrade to e107 v2.x.
As usual, you should always back up all your files and database before doing an upgrade.
GitHub is a platform for version control and collaboration. It allows people to work together on projects from anywhere. The development (source code and project management) of e107 takes place on Github. It also the place to report bugs as described on the 'Community' page on this website.
Github is also the platform that e107 uses for managing its online translations.
If you are a developer, you can also use Github for managing your own projects.