Page 1 of 1
problem installation
Posted: Sat Aug 06, 2016 8:14 pm
by rafaelsainz
good day i triing to install i have followed all the steps on
https://www.nubuilder.net/downloads.php but when i try to open
http://127.0.0.1/nubuilder/nuinstall.php i get error 500 on webpage unzip the files again but no luck any thoghts will be appreciated.
Re: problem installation
Posted: Mon Aug 08, 2016 3:44 am
by shane
the only way to debug 500 errors is to check your web server logs to see the reasons for the error.
Re: problem installation
Posted: Thu Aug 25, 2016 8:20 pm
by rafaelsainz
thanks for your help now i checked the log and it shows the following
[Thu Aug 25 13:12:27.095859 2016] [:error] [pid 2092:tid 916] [client 127.0.0.1:49326] PHP Fatal error: Call to undefined function mysql_connect() in C:\\Apache24\\htdocs\\nubuilder\\nuinstall_lib.php on line 52
i assume that it could be because the config file is not right or unspecified information but i checked and i placed my user name and password as well as the database name wich im sure is correct will appreciate your help.
Re: problem installation
Posted: Fri Aug 26, 2016 8:28 am
by shane
your version of php does not have php complied into it.
Re: problem installation
Posted: Mon Sep 05, 2016 5:38 am
by nick123
Hi Shane,
I am getting the same error during installation. I am using Xampp v 7.0.9 which runs PHP 7.0.9.
From my understanding, mysql_connect() was deprecated in php v5.something, and scrapped all together in v7, which I am assuming is the cause of this problem.
Is there a recommended version of PHP to use? Or another solution? From reading some docs on your website, nuBuilder supports php-pdo, however the version i downloaded (
https://github.com/nuSoftware/nuBuilder ... master.zip) uses mysql_connect, and I see no way to change this.
If using an older version of PHP is the solution, is this a safe long term strategy, or will older versions become unsupported an insecure?
Or am i completely on the wrong track here?
Sorry, I really only know enough about this stuff to be dangerous.
Thanks
Nick
Re: problem installation
Posted: Sun Sep 18, 2016 8:12 am
by Malachy47
Same issue here. Error 500. New install on Ubuntu 16.04 using Apache 2.4 , MySQL 5.7 and PHP 7.0 (i.e. the standard repo versions).
The Apache2 error log does indeed point to a problem with my_sql_connect() as shown below;
[Sun Sep 18 07:05:57.748381 2016] [:error] [pid 9365] [client 127.0.0.1:35212] PHP Fatal error:
Uncaught Error: Call to undefined function mysql_connect() in /var/www/html/nubuilder/nuinstall_lib.php:52\nStack trace:\n#0 /var/www/html/nubuilder/nuinstall_lib.php(19): nuinstall->checkDatabaseConnection()\n#1 /var/www/html/nubuilder/nuinstall.php(17): nuinstall->checkInstall()\n#2 {main}\n thrown in /var/www/html/nubuilder/nuinstall_lib.php on line 52
Re: problem installation
Posted: Wed Sep 28, 2016 7:25 am
by admin
Malachy47,
Have you followed this?
https://www.nubuilder.net/downloads.php
Steven
Re: problem installation
Posted: Sun Oct 16, 2016 8:35 am
by Malachy47
Hi Steven,
Thank you for taking the time to reply. I have followed the example and the problem I encounter is the warning described here
http://php.net/manual/en/function.mysql-connect.php. I wonder could the code verify PHP version before assuming version is < 7.0 and invoke mysqli_connect() when version >= PHP 7?
Thanks,
-- Tom