Forum for discussing general topics related to Couch.
6 posts Page 1 of 1
PHP 8.1.0 gives errors on attempted installation. PHP 7.4.26 seems to work OK. Is this the highest version of PHP which can be used with Couch?
Could you please confirm if the error occurs using the latest v2.3 version?
:) If I can download and install 2.3 I'll give it a try.

Errors reported using PHP 8.1.0 with Wampserver (no problems when using PHP 7.4.26):-
( ! ) Notice: Only variable references should be returned by reference in C:\wamp64\www\jordan\couch\auth\auth.php on line 132
Call Stack
# Time Memory Function Location
1 0.0001 368296 {main}( ) ...\index.php:0
2 0.0002 386288 require_once( 'C:\wamp64\www\jordan\couch\header.php ) ...\index.php:7
3 0.0235 467952 require_once( 'C:\wamp64\www\jordan\couch\install.php ) ...\header.php:333
4 0.0239 610208 KParser->get_HTML( ) ...\install.php:650
5 0.0279 675256 KNode->get_HTML( ) ...\parser.php:966
6 0.0279 676168 KNode->get_HTML( ) ...\parser.php:446
7 0.0279 679240 KTags->form( $params = [0 => ['lhs' => 'name', 'op' => '=', 'rhs' => 'frm_login'], 1 => ['lhs' => 'class', 'op' => '=', 'rhs' => 'simple-form'], 2 => ['lhs' => 'action', 'op' => '=', 'rhs' => ''], 3 => ['lhs' => 'method', 'op' => '=', 'rhs' => 'post'], 4 => ['lhs' => 'anchor', 'op' => '=', 'rhs' => '0'], 5 => ['lhs' => 'onSubmit', 'op' => '=', 'rhs' => 'this.k_install.disabled=true; return true;']], $node = class KNode { public $type = 1; public $name = 'form'; public $attributes = [0 => [...], 1 => [...], 2 => [...], 3 => [...], 4 => [...], 5 => [...]]; public $text = ''; public $ID = '_18_1248'; public $line_num = 18; public $char_num = 1248; public $children = [0 => class KNode { ... }, 1 => class KNode { ... }, 2 => class KNode { ... }] } ) ...\parser.php:467
8 0.0291 724248 KNode->get_HTML( ) ...\tags.php:5610
9 0.0291 724720 KTags->k_if( $params = NULL, $node = class KNode { public $type = 1; public $name = 'if'; public $attributes = [0 => [...]]; public $text = ''; public $ID = '_18_1276'; public $line_num = 18; public $char_num = 1276; public $children = [0 => class KNode { ... }, 1 => class KNode { ... }, 2 => class KNode { ... }, 3 => class KNode { ... }, 4 => class KNode { ... }, 5 => class KNode { ... }, 6 => class KNode { ... }, 7 => class KNode { ... }, 8 => class KNode { ... }, 9 => class KNode { ... }, 10 => class KNode { ... }, 11 => class KNode { ... }, 12 => class KNode { ... }, 13 => class KNode { ... }, 14 => class KNode { ... }, 15 => class KNode { ... }, 16 => class KNode { ... }, 17 => class KNode { ... }, 18 => class KNode { ... }, 19 => class KNode { ... }, 20 => class KNode { ... }, 21 => class KNode { ... }, 22 => class KNode { ... }, 23 => class KNode { ... }, 24 => class KNode { ... }, 25 => class KNode { ... }, 26 => class KNode { ... }] } ) ...\parser.php:467
10 0.0291 724720 KNode->get_HTML( ) ...\tags.php:1089
11 0.0291 725160 KTags->php( $params = [], $node = class KNode { public $type = 1; public $name = 'php'; public $attributes = []; public $text = ''; public $ID = '_18_1298'; public $line_num = 18; public $char_num = 1298; public $children = [0 => class KNode { ... }] } ) ...\parser.php:467
12 0.0291 743008 eval( 'C:\wamp64\www\jordan\couch\tags.php(3268) : eval()'d code ) ...\tags.php:3268
13 0.0291 743008 k_install( $name = 'xxx', $pwd = 'xxx', $email = 'xxx@gmail.com' ) ...\tags.php(3268) : eval()'d code:1
14 1.0636 716808 KAuth->__construct( $required_access_level = ???, $prompt = ??? ) ...\install.php:540
15 1.0670 717192 KAuth->_authenticate_cookie( ) ...\auth.php:79
The particular error that you reported above is actually just a 'notice' that can be ignored (actually should have been ignored but perhaps some specific configuration of your server is preventing that from happening).

Could you please try placing the following (at the end) in 'couch/config.php' file? -
Code: Select all
ini_set('display_errors', 0); 
error_reporting(0);

Does this help? Please let me know.
Just about to call it a day. Will have a look tomorrow.
KK wrote:
Could you please try placing the following (at the end) in 'couch/config.php' file? -
Code: Select all
ini_set('display_errors', 0); 
error_reporting(0);

Does this help? Please let me know.


That seems to solve the problem fine. No errors reported and all appears to be working as expected. Have only done a brief check but if anything crops up I'll post a message.

Thanks KK - on the ball as always! ;)
6 posts Page 1 of 1
cron