Skip to content

Instantly share code, notes, and snippets.

View W360S's full-sized avatar

World 360° Services W360S

View GitHub Profile
@W360S
W360S / W360S Core Fixed
Created December 27, 2017 09:48
W360S Core Fixed
IMPORTANT:
-----------------------------------------------------------------------------------------
Please be sure to read the Important Update Notes before you update:
http://theme-fusion.com/avada-doc/install-update/important-update-information/
We are always proactive in preventing security issues, however nobody can assume they will never come up.
This is why we highly recommend to stay up to date with each new theme version and plugins.
-----------------------------------------------------------------------------------------
Version 5.4 - December 19th, 2017
@W360S
W360S / Install Postgres and first login DB
Created March 13, 2018 06:25
Install Postgres and first login DB
Setting a password for the postgres user
On Linux systems, there is no default password set.
To set the default password:
Run the psql command from the postgres user account:
sudo -u postgres psql postgres
Set the password:
@W360S
W360S / keyconcept theme error
Created April 30, 2018 17:37
keyconcept theme error raise IOError('File not found: %s' % basename) OSError: File not found: platform_theme/views/theme_source.xml
Error:
Odoo Server Error
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/odoo/http.py", line 650, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/usr/lib/python3/dist-packages/odoo/http.py", line 310, in _handle_exception
raise pycompat.reraise(type(exception), exception, sys.exc_info()[2])
File "/usr/lib/python3/dist-packages/odoo/tools/pycompat.py", line 87, in reraise
raise value
@W360S
W360S / odoo error update base
Created May 29, 2018 13:37
odoo error update base
2018-05-29 13:36:14,846 7783 ERROR std.wcloud.vn odoo.modules.registry: Failed to load registry
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/odoo/tools/convert.py", line 744, in parse
self._tags[rec.tag](rec, de, mode=mode)
File "/usr/lib/python3/dist-packages/odoo/tools/convert.py", line 438, in _tag_act_window
id = self.env['ir.model.data']._update('ir.actions.act_window', self.module, res, xml_id, noupdate=self.isnoupdate(data_node), mode=self.mode)
File "/home/en-addons/addons/base/ir/ir_model.py", line 1430, in _update
record.write(values)
File "/home/en-addons/addons/base/ir/ir_actions.py", line 54, in write
res = super(IrActions, self).write(vals)
@W360S
W360S / Field `sel_groups_81` does not exist
Created October 11, 2018 04:09
Field `sel_groups_81` does not exist
Error:
Odoo Server Error
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/odoo/models.py", line 1036, in _validate_fields
check(self)
File "/home/en-addons/addons/base/ir/ir_ui_view.py", line 335, in _check_xml
self.postprocess_and_fields(view.model, view_doc, view.id)
File "/home/en-addons/addons/base/ir/ir_ui_view.py", line 1042, in postprocess_and_fields
self.raise_view_error(message, view_id)
@W360S
W360S / Mobilkul logs error
Created October 19, 2018 08:09
Mobilkul logs error
2018-10-19 08:07:53,368 4200 ERROR sasamviet.com werkzeug: Error on request:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/werkzeug/serving.py", line 193, in run_wsgi
execute(self.server.app)
File "/usr/local/lib/python3.6/dist-packages/werkzeug/serving.py", line 181, in execute
application_iter = app(environ, start_response)
File "/usr/lib/python3/dist-packages/odoo/service/server.py", line 250, in app
return self.app(e, s)
File "/usr/lib/python3/dist-packages/odoo/service/wsgi_server.py", line 166, in application
return application_unproxied(environ, start_response)
@W360S
W360S / Kubernetes Course from a DevOps guru (Kubernetes + Docker)
Created January 2, 2019 09:08
Torrent Kubernetes Course from a DevOps guru (Kubernetes + Docker)
magnet:?xt=urn:btih:3b347890c97c44698628a631e4be714648c086e9&dn=%5BUdemyCourseDownloader%5D%20Kubernetes%20Course%20from%20a%20DevOps%20guru%20(Kubernetes%20+%20Docker)&tr=udp%3A%2F%2Ftracker.coppersurfer.tk%3A6969%2Fannounce&tr=udp%3A%2F%2Ftracker.vanitycore.co%3A6969%2Fannounce&tr=udp%3A%2F%2F9.rarbg.com%3A2710%2Fannounce&tr=udp%3A%2F%2Ftracker.pirateparty.gr%3A6969%2Fannounce&tr=udp%3A%2F%2Ftracker.uw0.xyz%3A6969%2Fannounce&tr=udp%3A%2F%2Fopen.stealth.si%3A80%2Fannounce&tr=udp%3A%2F%2Ftracker.tiny-vps.com%3A6969%2Fannounce&tr=udp%3A%2F%2Fopen.demonii.si%3A1337%2Fannounce
@W360S
W360S / Malware Attach Via WPML module
Created April 9, 2019 10:59
Malware Attach Via WPML module
This file has been truncated, but you can view the full file.
-- MySQL dump 10.16 Distrib 10.1.38-MariaDB, for Linux (x86_64)
--
-- Host: localhost Database: daukhibi_database
-- ------------------------------------------------------
-- Server version 10.1.38-MariaDB
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8mb4 */;
@W360S
W360S / Issues
Created June 4, 2019 13:06
Issues
Traceback (most recent call last):
File "/home/odoo/odoo12/odoo/addons/base/models/qweb.py", line 346, in _compiled_fn
return compiled(self, append, new, options, log)
File "<template>", line 1, in template_website_layout_104
File "<template>", line 2, in body_call_content_103
File "/home/odoo/odoo12/odoo/fields.py", line 984, in __get__
self.determine_value(record)
File "/home/odoo/odoo12/odoo/fields.py", line 1085, in determine_value
record._prefetch_field(self)
@W360S
W360S / kubectl apply -f cert-manager.yaml error
Created September 24, 2019 02:24
> kubectl apply -f cert-manager.yaml error
> kubectl apply -f https://github.com/jetstack/cert-manager/releases/download/v0.10.0/cert-manager.yaml
customresourcedefinition.apiextensions.k8s.io/certificaterequests.certmanager.k8s.io configured
customresourcedefinition.apiextensions.k8s.io/certificates.certmanager.k8s.io configured
customresourcedefinition.apiextensions.k8s.io/challenges.certmanager.k8s.io configured
customresourcedefinition.apiextensions.k8s.io/clusterissuers.certmanager.k8s.io configured
customresourcedefinition.apiextensions.k8s.io/issuers.certmanager.k8s.io configured
customresourcedefinition.apiextensions.k8s.io/orders.certmanager.k8s.io configured
namespace/cert-manager unchanged
serviceaccount/cert-manager-cainjector unchanged
serviceaccount/cert-manager unchanged