VictorAS Posted January 6, 2017 Report Posted January 6, 2017 Hello, PHP 5.6, try new installing and have error: Quote Something went wrong. Undefined index: total This error reproduce in browser and via CLI install: Quote Checking InnoDB support... OK Installing database... 96/96 [========================================] 100% Completed. Configuring database... 23/23 [========================================] 100% Completed. Upgrading database... 4/4 [========================================] 100% 0/0 [========================================] 100% 2/2 [========================================] 100% 0/0 [========================================] 100% 2/2 [========================================] 100% 1/1 [========================================] 100% 1/1 [========================================] 100% 1/1 [========================================] 100% 1/1 [========================================] 100% 1/1 [========================================] 100% 2/2 [========================================] 100% 2/2 [========================================] 100% 15/15 [========================================] 100% 1/1 [========================================] 100% 1/1 [========================================] 100% 5/7 [============================> ] 71 %<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>Blesta</title> <link rel="stylesheet" href="/app/views/errors/css/application.min.css"> <link rel="stylesheet" href="/app/views/errors/css/font-awesome.min.css"> </head> <body> <div class="error-container"> <div class="program-error"> <div class="panel panel-default panel-simple"> <div class="panel-heading"> <h3><i class="fa fa-exclamation-circle"></i> Something went wrong.</h3> </div> <div class="panel-body"> <p> Undefined index: total </p> </div> </div> </div> </div> </body> </html> This error when processing upgrade3_2_0_b1.php file. Also, i copy installed Blesta 3.6 and successfully upgraded this to 4.0, so this problem only when new install. Quote
Michael Posted January 6, 2017 Report Posted January 6, 2017 Are you upgrading from 3.6.2 to 4.0.0-b4 or are you trying got install 4.0.0 or install 3.6.2? Quote
VictorAS Posted January 6, 2017 Author Report Posted January 6, 2017 When i try install 4.0.0-b4 or 4.0.0-b1 - i have this error. When i upgrade 3.6.2 to 4.0.0-b4 - it is successfully completed without errors. Quote
Michael Posted January 6, 2017 Report Posted January 6, 2017 Thank you I haven't experienced that myself. Hopefully Paul can help. Quote
Paul Posted January 7, 2017 Report Posted January 7, 2017 What version of MySQL or MariaDB? I've not experienced this, but it looks like it happens when running a migration (database upgrade). Quote
VictorAS Posted January 8, 2017 Author Report Posted January 8, 2017 OS Linux Ubuntu 16.04 LTS, root@cp:~# php -v PHP 5.6.29-1+deb.sury.org~xenial+1 (cli) MySQL: Server version: 5.7.16-0ubuntu0.16.04.1 (Ubuntu) Quote root@cp:~# php -i | grep -i mysql /etc/php/5.6/cli/conf.d/10-mysqlnd.ini, /etc/php/5.6/cli/conf.d/20-mysql.ini, /etc/php/5.6/cli/conf.d/20-mysqli.ini, /etc/php/5.6/cli/conf.d/20-pdo_mysql.ini, mysql MySQL Support => enabled Client API version => mysqlnd 5.0.11-dev - 20120503 - $Id: 76b08b24596e12d4553bd41fc93cccd5bac2fe7a $ mysql.allow_local_infile => On => On mysql.allow_persistent => On => On mysql.connect_timeout => 60 => 60 mysql.default_host => no value => no value mysql.default_password => no value => no value mysql.default_port => no value => no value mysql.default_socket => no value => no value mysql.default_user => no value => no value mysql.max_links => Unlimited => Unlimited mysql.max_persistent => Unlimited => Unlimited mysql.trace_mode => Off => Off mysqli MysqlI Support => enabled Client API library version => mysqlnd 5.0.11-dev - 20120503 - $Id: 76b08b24596e12d4553bd41fc93cccd5bac2fe7a $ mysqli.allow_local_infile => On => On mysqli.allow_persistent => On => On mysqli.default_host => no value => no value mysqli.default_port => 3306 => 3306 mysqli.default_pw => no value => no value mysqli.default_socket => no value => no value mysqli.default_user => no value => no value mysqli.max_links => Unlimited => Unlimited mysqli.max_persistent => Unlimited => Unlimited mysqli.reconnect => Off => Off mysqli.rollback_on_cached_plink => Off => Off mysqlnd mysqlnd => enabled Version => mysqlnd 5.0.11-dev - 20120503 - $Id: 76b08b24596e12d4553bd41fc93cccd5bac2fe7a $ Loaded plugins => mysqlnd,debug_trace,auth_plugin_mysql_native_password,auth_plugin_mysql_clear_password,auth_plugin_sha256_password API Extensions => mysql,mysqli,pdo_mysql mysqlnd statistics => PDO drivers => mysql, sqlite pdo_mysql PDO Driver for MySQL => enabled Client API version => mysqlnd 5.0.11-dev - 20120503 - $Id: 76b08b24596e12d4553bd41fc93cccd5bac2fe7a $ pdo_mysql.default_socket => /var/run/mysqld/mysqld.sock => /var/run/mysqld/mysqld.sock It is not critical but i think that you need know about this therefore inform you. Message about undefined index - it is Notice level error, but this prevent installing. Unfortunately, in this message no info about file and line, where this error happened. I try find this via strace and found that this error after try processing file upgrade3_2_0_b1.php. Sorry for my bad english. Quote
Paul Posted January 9, 2017 Report Posted January 9, 2017 Your MySQL version seems quite old, but I'm not sure that would have caused the issue. A notice error shouldn't prevent it from executing, so I wonder if something more was going on there. Were you eventually able to get Blesta installed? Quote
VictorAS Posted January 12, 2017 Author Report Posted January 12, 2017 Hello, MySQL server version 5.7 - it is latest stable version ( https:// dev.mysql.com/downloads/mysql/ ). Client API library version => mysqlnd 5.0.11-dev - it is rigth version for PHP 5.6 Finally, i can't install Blesta 4.0 as new install, but successfully install Blesta 3.6 and the upgrade this to Blesta 4.0. Additionally, i don't use Apache and have nginx+php-fpm. For reproduce this, if you want, i can setup a new VPS for you and then setup identical OS and software (Ubuntu 16 + VestaCP + PHP 5.6 + nginx) and provide you root access. Please, inform me if this need. On 10.01.2017 at 1:08 AM, Paul said: Your MySQL version seems quite old, but I'm not sure that would have caused the issue. A notice error shouldn't prevent it from executing, so I wonder if something more was going on there. Were you eventually able to get Blesta installed? Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.