A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property CI_URI::$config is deprecated

Filename: core/URI.php

Line Number: 101

Backtrace:

File: /usr/share/webapps/Stikked/htdocs/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property CI_Router::$uri is deprecated

Filename: core/Router.php

Line Number: 127

Backtrace:

File: /usr/share/webapps/Stikked/htdocs/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Main::$benchmark is deprecated

Filename: core/Controller.php

Line Number: 75

Backtrace:

File: /usr/share/webapps/Stikked/htdocs/application/controllers/Main.php
Line: 10
Function: __construct

File: /usr/share/webapps/Stikked/htdocs/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Main::$hooks is deprecated

Filename: core/Controller.php

Line Number: 75

Backtrace:

File: /usr/share/webapps/Stikked/htdocs/application/controllers/Main.php
Line: 10
Function: __construct

File: /usr/share/webapps/Stikked/htdocs/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Main::$config is deprecated

Filename: core/Controller.php

Line Number: 75

Backtrace:

File: /usr/share/webapps/Stikked/htdocs/application/controllers/Main.php
Line: 10
Function: __construct

File: /usr/share/webapps/Stikked/htdocs/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Main::$log is deprecated

Filename: core/Controller.php

Line Number: 75

Backtrace:

File: /usr/share/webapps/Stikked/htdocs/application/controllers/Main.php
Line: 10
Function: __construct

File: /usr/share/webapps/Stikked/htdocs/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Main::$utf8 is deprecated

Filename: core/Controller.php

Line Number: 75

Backtrace:

File: /usr/share/webapps/Stikked/htdocs/application/controllers/Main.php
Line: 10
Function: __construct

File: /usr/share/webapps/Stikked/htdocs/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Main::$uri is deprecated

Filename: core/Controller.php

Line Number: 75

Backtrace:

File: /usr/share/webapps/Stikked/htdocs/application/controllers/Main.php
Line: 10
Function: __construct

File: /usr/share/webapps/Stikked/htdocs/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Main::$exceptions is deprecated

Filename: core/Controller.php

Line Number: 75

Backtrace:

File: /usr/share/webapps/Stikked/htdocs/application/controllers/Main.php
Line: 10
Function: __construct

File: /usr/share/webapps/Stikked/htdocs/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Main::$router is deprecated

Filename: core/Controller.php

Line Number: 75

Backtrace:

File: /usr/share/webapps/Stikked/htdocs/application/controllers/Main.php
Line: 10
Function: __construct

File: /usr/share/webapps/Stikked/htdocs/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Main::$output is deprecated

Filename: core/Controller.php

Line Number: 75

Backtrace:

File: /usr/share/webapps/Stikked/htdocs/application/controllers/Main.php
Line: 10
Function: __construct

File: /usr/share/webapps/Stikked/htdocs/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Main::$security is deprecated

Filename: core/Controller.php

Line Number: 75

Backtrace:

File: /usr/share/webapps/Stikked/htdocs/application/controllers/Main.php
Line: 10
Function: __construct

File: /usr/share/webapps/Stikked/htdocs/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Main::$input is deprecated

Filename: core/Controller.php

Line Number: 75

Backtrace:

File: /usr/share/webapps/Stikked/htdocs/application/controllers/Main.php
Line: 10
Function: __construct

File: /usr/share/webapps/Stikked/htdocs/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Main::$lang is deprecated

Filename: core/Controller.php

Line Number: 75

Backtrace:

File: /usr/share/webapps/Stikked/htdocs/application/controllers/Main.php
Line: 10
Function: __construct

File: /usr/share/webapps/Stikked/htdocs/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Main::$load is deprecated

Filename: core/Controller.php

Line Number: 78

Backtrace:

File: /usr/share/webapps/Stikked/htdocs/application/controllers/Main.php
Line: 10
Function: __construct

File: /usr/share/webapps/Stikked/htdocs/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Main::$db is deprecated

Filename: core/Loader.php

Line Number: 396

Backtrace:

File: /usr/share/webapps/Stikked/htdocs/application/controllers/Main.php
Line: 10
Function: __construct

File: /usr/share/webapps/Stikked/htdocs/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property CI_DB_mysqli_driver::$autoinit is deprecated

Filename: database/DB_driver.php

Line Number: 371

Backtrace:

File: /usr/share/webapps/Stikked/htdocs/application/controllers/Main.php
Line: 10
Function: __construct

File: /usr/share/webapps/Stikked/htdocs/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Main::$carabiner is deprecated

Filename: core/Loader.php

Line Number: 1283

Backtrace:

File: /usr/share/webapps/Stikked/htdocs/application/controllers/Main.php
Line: 10
Function: __construct

File: /usr/share/webapps/Stikked/htdocs/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Languages::$geshi_languages is deprecated

Filename: models/Languages.php

Line Number: 12

Backtrace:

File: /usr/share/webapps/Stikked/htdocs/application/models/Languages.php
Line: 12
Function: _error_handler

File: /usr/share/webapps/Stikked/htdocs/application/controllers/Main.php
Line: 12
Function: model

File: /usr/share/webapps/Stikked/htdocs/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Languages::$favorite_languages is deprecated

Filename: models/Languages.php

Line Number: 13

Backtrace:

File: /usr/share/webapps/Stikked/htdocs/application/models/Languages.php
Line: 13
Function: _error_handler

File: /usr/share/webapps/Stikked/htdocs/application/controllers/Main.php
Line: 12
Function: model

File: /usr/share/webapps/Stikked/htdocs/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Main::$languages is deprecated

Filename: core/Loader.php

Line Number: 358

Backtrace:

File: /usr/share/webapps/Stikked/htdocs/application/controllers/Main.php
Line: 12
Function: model

File: /usr/share/webapps/Stikked/htdocs/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Main::$curl is deprecated

Filename: core/Loader.php

Line Number: 1283

Backtrace:

File: /usr/share/webapps/Stikked/htdocs/application/controllers/Main.php
Line: 13
Function: library

File: /usr/share/webapps/Stikked/htdocs/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Main::$recaptcha_publickey is deprecated

Filename: controllers/Main.php

Line Number: 20

Backtrace:

File: /usr/share/webapps/Stikked/htdocs/application/controllers/Main.php
Line: 20
Function: _error_handler

File: /usr/share/webapps/Stikked/htdocs/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Main::$recaptcha_privatekey is deprecated

Filename: controllers/Main.php

Line Number: 21

Backtrace:

File: /usr/share/webapps/Stikked/htdocs/application/controllers/Main.php
Line: 21
Function: _error_handler

File: /usr/share/webapps/Stikked/htdocs/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Main::$use_recaptcha is deprecated

Filename: controllers/Main.php

Line Number: 22

Backtrace:

File: /usr/share/webapps/Stikked/htdocs/application/controllers/Main.php
Line: 22
Function: _error_handler

File: /usr/share/webapps/Stikked/htdocs/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: ini_set(): Session ini settings cannot be changed after headers have already been sent

Filename: Session/Session.php

Line Number: 282

Backtrace:

File: /usr/share/webapps/Stikked/htdocs/application/controllers/Main.php
Line: 63
Function: library

File: /usr/share/webapps/Stikked/htdocs/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: session_set_cookie_params(): Session cookie parameters cannot be changed after headers have already been sent

Filename: Session/Session.php

Line Number: 289

Backtrace:

File: /usr/share/webapps/Stikked/htdocs/application/controllers/Main.php
Line: 63
Function: library

File: /usr/share/webapps/Stikked/htdocs/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: ini_set(): Session ini settings cannot be changed after headers have already been sent

Filename: Session/Session.php

Line Number: 304

Backtrace:

File: /usr/share/webapps/Stikked/htdocs/application/controllers/Main.php
Line: 63
Function: library

File: /usr/share/webapps/Stikked/htdocs/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: ini_set(): Session ini settings cannot be changed after headers have already been sent

Filename: Session/Session.php

Line Number: 314

Backtrace:

File: /usr/share/webapps/Stikked/htdocs/application/controllers/Main.php
Line: 63
Function: library

File: /usr/share/webapps/Stikked/htdocs/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: ini_set(): Session ini settings cannot be changed after headers have already been sent

Filename: Session/Session.php

Line Number: 315

Backtrace:

File: /usr/share/webapps/Stikked/htdocs/application/controllers/Main.php
Line: 63
Function: library

File: /usr/share/webapps/Stikked/htdocs/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: ini_set(): Session ini settings cannot be changed after headers have already been sent

Filename: Session/Session.php

Line Number: 316

Backtrace:

File: /usr/share/webapps/Stikked/htdocs/application/controllers/Main.php
Line: 63
Function: library

File: /usr/share/webapps/Stikked/htdocs/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: ini_set(): Session ini settings cannot be changed after headers have already been sent

Filename: Session/Session.php

Line Number: 317

Backtrace:

File: /usr/share/webapps/Stikked/htdocs/application/controllers/Main.php
Line: 63
Function: library

File: /usr/share/webapps/Stikked/htdocs/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: ini_set(): Session ini settings cannot be changed after headers have already been sent

Filename: Session/Session.php

Line Number: 375

Backtrace:

File: /usr/share/webapps/Stikked/htdocs/application/controllers/Main.php
Line: 63
Function: library

File: /usr/share/webapps/Stikked/htdocs/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: session_set_save_handler(): Session save handler cannot be changed after headers have already been sent

Filename: Session/Session.php

Line Number: 110

Backtrace:

File: /usr/share/webapps/Stikked/htdocs/application/controllers/Main.php
Line: 63
Function: library

File: /usr/share/webapps/Stikked/htdocs/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: session_start(): Session cannot be started after headers have already been sent

Filename: Session/Session.php

Line Number: 143

Backtrace:

File: /usr/share/webapps/Stikked/htdocs/application/controllers/Main.php
Line: 63
Function: library

File: /usr/share/webapps/Stikked/htdocs/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Main::$session is deprecated

Filename: core/Loader.php

Line Number: 1283

Backtrace:

File: /usr/share/webapps/Stikked/htdocs/application/controllers/Main.php
Line: 63
Function: library

File: /usr/share/webapps/Stikked/htdocs/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Main::$pastes is deprecated

Filename: core/Loader.php

Line Number: 358

Backtrace:

File: /usr/share/webapps/Stikked/htdocs/application/controllers/Main.php
Line: 584
Function: model

File: /usr/share/webapps/Stikked/htdocs/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Main::$process is deprecated

Filename: core/Loader.php

Line Number: 1283

Backtrace:

File: /usr/share/webapps/Stikked/htdocs/application/models/Pastes.php
Line: 421
Function: library

File: /usr/share/webapps/Stikked/htdocs/application/controllers/Main.php
Line: 592
Function: getPaste

File: /usr/share/webapps/Stikked/htdocs/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: filter_var(): Passing null to parameter #3 ($options) of type array|int is deprecated

Filename: core/Input.php

Line Number: 572

Backtrace:

File: /usr/share/webapps/Stikked/htdocs/application/models/Pastes.php
Line: 522
Function: ip_address

File: /usr/share/webapps/Stikked/htdocs/application/controllers/Main.php
Line: 592
Function: getPaste

File: /usr/share/webapps/Stikked/htdocs/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property MY_Loader::$benchmark is deprecated

Filename: core/MY_Loader.php

Line Number: 108

Backtrace:

File: /usr/share/webapps/Stikked/htdocs/application/core/MY_Loader.php
Line: 108
Function: _error_handler

File: /usr/share/webapps/Stikked/htdocs/application/core/MY_Loader.php
Line: 30
Function: _ci_load

File: /usr/share/webapps/Stikked/htdocs/application/controllers/Main.php
Line: 599
Function: view

File: /usr/share/webapps/Stikked/htdocs/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property MY_Loader::$hooks is deprecated

Filename: core/MY_Loader.php

Line Number: 108

Backtrace:

File: /usr/share/webapps/Stikked/htdocs/application/core/MY_Loader.php
Line: 108
Function: _error_handler

File: /usr/share/webapps/Stikked/htdocs/application/core/MY_Loader.php
Line: 30
Function: _ci_load

File: /usr/share/webapps/Stikked/htdocs/application/controllers/Main.php
Line: 599
Function: view

File: /usr/share/webapps/Stikked/htdocs/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property MY_Loader::$config is deprecated

Filename: core/MY_Loader.php

Line Number: 108

Backtrace:

File: /usr/share/webapps/Stikked/htdocs/application/core/MY_Loader.php
Line: 108
Function: _error_handler

File: /usr/share/webapps/Stikked/htdocs/application/core/MY_Loader.php
Line: 30
Function: _ci_load

File: /usr/share/webapps/Stikked/htdocs/application/controllers/Main.php
Line: 599
Function: view

File: /usr/share/webapps/Stikked/htdocs/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property MY_Loader::$log is deprecated

Filename: core/MY_Loader.php

Line Number: 108

Backtrace:

File: /usr/share/webapps/Stikked/htdocs/application/core/MY_Loader.php
Line: 108
Function: _error_handler

File: /usr/share/webapps/Stikked/htdocs/application/core/MY_Loader.php
Line: 30
Function: _ci_load

File: /usr/share/webapps/Stikked/htdocs/application/controllers/Main.php
Line: 599
Function: view

File: /usr/share/webapps/Stikked/htdocs/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property MY_Loader::$utf8 is deprecated

Filename: core/MY_Loader.php

Line Number: 108

Backtrace:

File: /usr/share/webapps/Stikked/htdocs/application/core/MY_Loader.php
Line: 108
Function: _error_handler

File: /usr/share/webapps/Stikked/htdocs/application/core/MY_Loader.php
Line: 30
Function: _ci_load

File: /usr/share/webapps/Stikked/htdocs/application/controllers/Main.php
Line: 599
Function: view

File: /usr/share/webapps/Stikked/htdocs/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property MY_Loader::$uri is deprecated

Filename: core/MY_Loader.php

Line Number: 108

Backtrace:

File: /usr/share/webapps/Stikked/htdocs/application/core/MY_Loader.php
Line: 108
Function: _error_handler

File: /usr/share/webapps/Stikked/htdocs/application/core/MY_Loader.php
Line: 30
Function: _ci_load

File: /usr/share/webapps/Stikked/htdocs/application/controllers/Main.php
Line: 599
Function: view

File: /usr/share/webapps/Stikked/htdocs/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property MY_Loader::$exceptions is deprecated

Filename: core/MY_Loader.php

Line Number: 108

Backtrace:

File: /usr/share/webapps/Stikked/htdocs/application/core/MY_Loader.php
Line: 108
Function: _error_handler

File: /usr/share/webapps/Stikked/htdocs/application/core/MY_Loader.php
Line: 30
Function: _ci_load

File: /usr/share/webapps/Stikked/htdocs/application/controllers/Main.php
Line: 599
Function: view

File: /usr/share/webapps/Stikked/htdocs/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property MY_Loader::$router is deprecated

Filename: core/MY_Loader.php

Line Number: 108

Backtrace:

File: /usr/share/webapps/Stikked/htdocs/application/core/MY_Loader.php
Line: 108
Function: _error_handler

File: /usr/share/webapps/Stikked/htdocs/application/core/MY_Loader.php
Line: 30
Function: _ci_load

File: /usr/share/webapps/Stikked/htdocs/application/controllers/Main.php
Line: 599
Function: view

File: /usr/share/webapps/Stikked/htdocs/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property MY_Loader::$output is deprecated

Filename: core/MY_Loader.php

Line Number: 108

Backtrace:

File: /usr/share/webapps/Stikked/htdocs/application/core/MY_Loader.php
Line: 108
Function: _error_handler

File: /usr/share/webapps/Stikked/htdocs/application/core/MY_Loader.php
Line: 30
Function: _ci_load

File: /usr/share/webapps/Stikked/htdocs/application/controllers/Main.php
Line: 599
Function: view

File: /usr/share/webapps/Stikked/htdocs/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property MY_Loader::$security is deprecated

Filename: core/MY_Loader.php

Line Number: 108

Backtrace:

File: /usr/share/webapps/Stikked/htdocs/application/core/MY_Loader.php
Line: 108
Function: _error_handler

File: /usr/share/webapps/Stikked/htdocs/application/core/MY_Loader.php
Line: 30
Function: _ci_load

File: /usr/share/webapps/Stikked/htdocs/application/controllers/Main.php
Line: 599
Function: view

File: /usr/share/webapps/Stikked/htdocs/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property MY_Loader::$input is deprecated

Filename: core/MY_Loader.php

Line Number: 108

Backtrace:

File: /usr/share/webapps/Stikked/htdocs/application/core/MY_Loader.php
Line: 108
Function: _error_handler

File: /usr/share/webapps/Stikked/htdocs/application/core/MY_Loader.php
Line: 30
Function: _ci_load

File: /usr/share/webapps/Stikked/htdocs/application/controllers/Main.php
Line: 599
Function: view

File: /usr/share/webapps/Stikked/htdocs/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property MY_Loader::$lang is deprecated

Filename: core/MY_Loader.php

Line Number: 108

Backtrace:

File: /usr/share/webapps/Stikked/htdocs/application/core/MY_Loader.php
Line: 108
Function: _error_handler

File: /usr/share/webapps/Stikked/htdocs/application/core/MY_Loader.php
Line: 30
Function: _ci_load

File: /usr/share/webapps/Stikked/htdocs/application/controllers/Main.php
Line: 599
Function: view

File: /usr/share/webapps/Stikked/htdocs/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property MY_Loader::$load is deprecated

Filename: core/MY_Loader.php

Line Number: 108

Backtrace:

File: /usr/share/webapps/Stikked/htdocs/application/core/MY_Loader.php
Line: 108
Function: _error_handler

File: /usr/share/webapps/Stikked/htdocs/application/core/MY_Loader.php
Line: 30
Function: _ci_load

File: /usr/share/webapps/Stikked/htdocs/application/controllers/Main.php
Line: 599
Function: view

File: /usr/share/webapps/Stikked/htdocs/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property MY_Loader::$db is deprecated

Filename: core/MY_Loader.php

Line Number: 108

Backtrace:

File: /usr/share/webapps/Stikked/htdocs/application/core/MY_Loader.php
Line: 108
Function: _error_handler

File: /usr/share/webapps/Stikked/htdocs/application/core/MY_Loader.php
Line: 30
Function: _ci_load

File: /usr/share/webapps/Stikked/htdocs/application/controllers/Main.php
Line: 599
Function: view

File: /usr/share/webapps/Stikked/htdocs/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property MY_Loader::$carabiner is deprecated

Filename: core/MY_Loader.php

Line Number: 108

Backtrace:

File: /usr/share/webapps/Stikked/htdocs/application/core/MY_Loader.php
Line: 108
Function: _error_handler

File: /usr/share/webapps/Stikked/htdocs/application/core/MY_Loader.php
Line: 30
Function: _ci_load

File: /usr/share/webapps/Stikked/htdocs/application/controllers/Main.php
Line: 599
Function: view

File: /usr/share/webapps/Stikked/htdocs/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property MY_Loader::$languages is deprecated

Filename: core/MY_Loader.php

Line Number: 108

Backtrace:

File: /usr/share/webapps/Stikked/htdocs/application/core/MY_Loader.php
Line: 108
Function: _error_handler

File: /usr/share/webapps/Stikked/htdocs/application/core/MY_Loader.php
Line: 30
Function: _ci_load

File: /usr/share/webapps/Stikked/htdocs/application/controllers/Main.php
Line: 599
Function: view

File: /usr/share/webapps/Stikked/htdocs/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property MY_Loader::$curl is deprecated

Filename: core/MY_Loader.php

Line Number: 108

Backtrace:

File: /usr/share/webapps/Stikked/htdocs/application/core/MY_Loader.php
Line: 108
Function: _error_handler

File: /usr/share/webapps/Stikked/htdocs/application/core/MY_Loader.php
Line: 30
Function: _ci_load

File: /usr/share/webapps/Stikked/htdocs/application/controllers/Main.php
Line: 599
Function: view

File: /usr/share/webapps/Stikked/htdocs/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property MY_Loader::$recaptcha_publickey is deprecated

Filename: core/MY_Loader.php

Line Number: 108

Backtrace:

File: /usr/share/webapps/Stikked/htdocs/application/core/MY_Loader.php
Line: 108
Function: _error_handler

File: /usr/share/webapps/Stikked/htdocs/application/core/MY_Loader.php
Line: 30
Function: _ci_load

File: /usr/share/webapps/Stikked/htdocs/application/controllers/Main.php
Line: 599
Function: view

File: /usr/share/webapps/Stikked/htdocs/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property MY_Loader::$recaptcha_privatekey is deprecated

Filename: core/MY_Loader.php

Line Number: 108

Backtrace:

File: /usr/share/webapps/Stikked/htdocs/application/core/MY_Loader.php
Line: 108
Function: _error_handler

File: /usr/share/webapps/Stikked/htdocs/application/core/MY_Loader.php
Line: 30
Function: _ci_load

File: /usr/share/webapps/Stikked/htdocs/application/controllers/Main.php
Line: 599
Function: view

File: /usr/share/webapps/Stikked/htdocs/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property MY_Loader::$use_recaptcha is deprecated

Filename: core/MY_Loader.php

Line Number: 108

Backtrace:

File: /usr/share/webapps/Stikked/htdocs/application/core/MY_Loader.php
Line: 108
Function: _error_handler

File: /usr/share/webapps/Stikked/htdocs/application/core/MY_Loader.php
Line: 30
Function: _ci_load

File: /usr/share/webapps/Stikked/htdocs/application/controllers/Main.php
Line: 599
Function: view

File: /usr/share/webapps/Stikked/htdocs/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property MY_Loader::$session is deprecated

Filename: core/MY_Loader.php

Line Number: 108

Backtrace:

File: /usr/share/webapps/Stikked/htdocs/application/core/MY_Loader.php
Line: 108
Function: _error_handler

File: /usr/share/webapps/Stikked/htdocs/application/core/MY_Loader.php
Line: 30
Function: _ci_load

File: /usr/share/webapps/Stikked/htdocs/application/controllers/Main.php
Line: 599
Function: view

File: /usr/share/webapps/Stikked/htdocs/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property MY_Loader::$pastes is deprecated

Filename: core/MY_Loader.php

Line Number: 108

Backtrace:

File: /usr/share/webapps/Stikked/htdocs/application/core/MY_Loader.php
Line: 108
Function: _error_handler

File: /usr/share/webapps/Stikked/htdocs/application/core/MY_Loader.php
Line: 30
Function: _ci_load

File: /usr/share/webapps/Stikked/htdocs/application/controllers/Main.php
Line: 599
Function: view

File: /usr/share/webapps/Stikked/htdocs/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property MY_Loader::$process is deprecated

Filename: core/MY_Loader.php

Line Number: 108

Backtrace:

File: /usr/share/webapps/Stikked/htdocs/application/core/MY_Loader.php
Line: 108
Function: _error_handler

File: /usr/share/webapps/Stikked/htdocs/application/core/MY_Loader.php
Line: 30
Function: _ci_load

File: /usr/share/webapps/Stikked/htdocs/application/controllers/Main.php
Line: 599
Function: view

File: /usr/share/webapps/Stikked/htdocs/index.php
Line: 284
Function: require_once

Untitled - Stikked

Untitled

From Wet Peafowl, 9 Years ago, written in Plain Text, viewed 852 times.
URL http://stikked.luisaranguren.com/view/2b7a8a66 Embed
Download Paste or View Raw
  1. package models.api
  2.  
  3. import play.api.libs.json.{Json, Writes}
  4.  
  5. case class LineItem(sku: String, product: String, price: String)
  6.  
  7. case class TranslateResponse(clientName: String, storeNumber: String, transactionNumber: String, registerNumber: String, lineItems: List[LineItem], date: String)
  8.  
  9. case class Token(token: String)
  10.  
  11. case class EmailForm(email: String, imageBase64d: String)
  12.  
  13. trait MetadataKey[T] {
  14.   def value: T
  15.  
  16.   def name: String
  17. }
  18.  
  19. case class QueryableMetadata[T](name: String, value: T) extends MetadataKey[T]
  20.  
  21. object ResponseImplicits {
  22.   implicit val lineItemWrites: Writes[LineItem] = Json.writes[LineItem]
  23.   implicit val responseWrites: Writes[TranslateResponse] = Json.writes[TranslateResponse]
  24. }
  25.  
  26. object GitClient {
  27.   def logger = LoggerFactory.getLogger(Client.getClass)
  28.  
  29.   def apply(config: Config)(implicit ec: ExecutionContext): Client = {
  30.  
  31.   }
  32.  
  33.   private def _initClient(config: Config)(implicit ec: ExecutionContext) = {
  34.     val portalTempFile = Files.createTempDirectory("portal").toFile()
  35.     val bundleTempFile = Files.createTempDirectory("bundle").toFile()
  36.     Git.cloneRepository().setURI(remotePath).setCredentialsProvider(new UsernamePasswordCredentialsProvider("***", "***"))
  37.       .setDirectory(portalTempFile).call();
  38.     Git.cloneRepository().setURI(remotePath).setCredentialsProvider(new UsernamePasswordCredentialsProvider("***", "***"))
  39.       .setDirectory(bundleTempFile).call();
  40.  
  41.     val bundleSourceDir = portalTempFile.getAbsolutePath + "/retailportal/app/conf/messagebundles"
  42.     val additionalFiles = bundleTempFile.getAbsolutePath + "/src/main/resources"
  43.     fileUrls(bundleSourceDir, additionalFiles).reverse.map { messageFile =>
  44.     MessagesParser(messageFile.asInput, messageFile.toString).parse.map { message =>
  45.       message.key -> message.pattern
  46.     }
  47.     }
  48.  
  49.  
  50.  
  51.  
  52.   }
  53. }
  54.  
  55. class GitClient(messageBundles: Map[String, String, String, String]) {
  56.   def update(key:String, value: String, environment: String, fileSource: String) = {
  57.     GitClient(messageBundles.+(key, value, environment, fileSource))
  58.   }
  59. }
  60.  
  61. import java.io.IOException
  62. import java.io.StringReader
  63. import org.apache.lucene.search.Hits
  64. import org.apache.lucene.search.Query
  65. import org.apache.lucene.document.Field
  66. import org.apache.lucene.search.Searcher
  67. import org.apache.lucene.index.IndexWriter
  68. import org.apache.lucene.document.Document
  69. import org.apache.lucene.store.RAMDirectory
  70. import org.apache.lucene.search.IndexSearcher
  71. import org.apache.lucene.queryParser.QueryParser
  72. import org.apache.lucene.queryParser.ParseException
  73. import org.apache.lucene.analysis.standard.StandardAnalyzer
  74. //remove if not needed
  75. import scala.collection.JavaConversions._
  76.  
  77. object InMemoryExample {
  78.  
  79.   def main(args: Array[String]) {
  80.     val idx = new RAMDirectory()
  81.     try {
  82.       val writer = new IndexWriter(idx, new StandardAnalyzer(), true)
  83.       writer.addDocument(createDocument("Theodore Roosevelt", "It behooves every man to remember that the work of the " +
  84.         "critic, is of altogether secondary importance, and that, " +
  85.         "in the end, progress is accomplished by the man who does " +
  86.         "things."))
  87.       writer.addDocument(createDocument("Friedrich Hayek", "The case for individual freedom rests largely on the " +
  88.         "recognition of the inevitable and universal ignorance " +
  89.         "of all of us concerning a great many of the factors on " +
  90.         "which the achievements of our ends and welfare depend."))
  91.       writer.addDocument(createDocument("Ayn Rand", "There is nothing to take a man's freedom away from " +
  92.         "him, save other men. To be free, a man must be free " +
  93.         "of his brothers."))
  94.       writer.addDocument(createDocument("Mohandas Gandhi", "Freedom is not worth having if it does not connote " +
  95.         "freedom to err."))
  96.       writer.optimize()
  97.       writer.close()
  98.       val searcher = new IndexSearcher(idx)
  99.       search(searcher, "freedom")
  100.       search(searcher, "free")
  101.       search(searcher, "progress or achievements")
  102.       searcher.close()
  103.     } catch {
  104.       case ioe: IOException => ioe.printStackTrace()
  105.       case pe: ParseException => pe.printStackTrace()
  106.     }
  107.   }
  108.  
  109.   private def createDocument(title: String, content: String): Document = {
  110.     val doc = new Document()
  111.     doc.add(Field.UnIndexed("title", title))
  112.     doc.add(Field.Text("content", new StringReader(content)))
  113.     doc
  114.   }
  115.  
  116.   private def search(searcher: Searcher, queryString: String) {
  117.     val query = QueryParser.parse(queryString, "content", new StandardAnalyzer())
  118.     val hits = searcher.search(query)
  119.     val hitCount = hits.length
  120.     if (hitCount == 0) {
  121.       println("No matches were found for \"" + queryString + "\"")
  122.     } else {
  123.       println("Hits for \"" + queryString + "\" were found in quotes by:")
  124.       for (i <- 0 until hitCount) {
  125.         val doc = hits.doc(i)
  126.         println("  " + (i + 1) + ". " + doc.get("title"))
  127.       }
  128.     }
  129.     println()
  130.   }
  131. }
  132.  
  133. case class Message(key: String, pattern: String, input: scalax.io.Input, sourceName: String) extends Positional
  134.  
  135. /**
  136.  * Message file Parser.
  137.  */
  138. class MessagesParser(messageInput: scalax.io.Input, messageSourceName: String) extends RegexParsers {
  139.  
  140.   case class Comment(msg: String)
  141.  
  142.   override def skipWhitespace = false
  143.  
  144.   override val whiteSpace = """[ \t]+""".r
  145.  
  146.   def namedError[A](p: Parser[A], msg: String) = Parser[A] { i =>
  147.     p(i) match {
  148.       case Failure(_, in) => Failure(msg, in)
  149.       case o => o
  150.     }
  151.   }
  152.  
  153.   def end = """\s*""".r
  154.  
  155.   def newLine = namedError((("\r" ?) ~> "\n"), "End of line expected")
  156.  
  157.   def blankLine = ignoreWhiteSpace <~ newLine ^^ { case _ => Comment("")}
  158.  
  159.   def ignoreWhiteSpace = opt(whiteSpace)
  160.  
  161.   def comment = """#.*""".r ^^ { case s => Comment(s)}
  162.  
  163.   def messageKey = namedError( """[a-zA-Z0-9_.]+""".r, "Message key expected")
  164.  
  165.   def messagePattern = namedError(
  166.     rep(
  167.       """\""" ~> ("\r" ?) ~> "\n" ^^ (_ => "") | // Ignore escaped end of lines \
  168.         """\n""" ^^ (_ => "\n") | // Translate literal \n to real newline
  169.         """\\""" ^^ (_ => """\""") | // Handle escaped \\
  170.         """.""".r // Or any character
  171.     ) ^^ { case chars => chars.mkString},
  172.     "Message pattern expected"
  173.   )
  174.  
  175.   def message = ignoreWhiteSpace ~ messageKey ~ (ignoreWhiteSpace ~ "=" ~ ignoreWhiteSpace) ~ messagePattern ^^ {
  176.     case (_ ~ k ~ _ ~ v) => Message(k, v.trim, messageInput, messageSourceName)
  177.   }
  178.  
  179.   def sentence = (comment | positioned(message)) <~ newLine
  180.  
  181.   def parser = phrase((sentence | blankLine *) <~ end) ^^ {
  182.     case messages => messages.collect {
  183.       case Message(_, _, _, _) => m
  184.     }
  185.   }
  186.  
  187.   def parse = {
  188.     parser(new CharSequenceReader(messageInput.string + "\n")) match {
  189.       case Success(messages, _) => messages
  190.       case NoSuccess(message, in) => {
  191.         throw new PlayException.ExceptionSource("Configuration error", message) {
  192.           def line = in.pos.line
  193.  
  194.           def position = in.pos.column - 1
  195.  
  196.           def input = messageInput.string
  197.  
  198.           def sourceName = messageSourceName
  199.         }
  200.       }
  201.     }
  202.   }
  203.  
  204. }

Reply to "Untitled"

Here you can reply to the paste above