webERP Forum

Full Version: Installing on a VPS (utunbu+lnmpa)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
hello,
i'm installing webERP on a Utunbu ased VPS.

system: utunbu 10.04.4
lnmap 9
php:http://23.19.58.121/p.php
Error on installing:
Fatal error: Call to undefined function db_query() in /home/wwwroot/webERP/includes/UserLogin.php on line 47

[attachment=171]
help me



sorry ,I english bad.


Have you closed down the browser and restarted and still can't get in??
Is your mysql installation working? Can you run phpMyAdmin on the server?
This function db_query() is actually DB_query() but PHP functions are case insensitive - the function is in

Code:
webERP/includes/DB_Connect_mysql.inc

or

Code:
webERP/includes/DB_Connect_mysqli.inc

Does your mysql server support either of these two mysql function libraries?
(04-19-2013, 02:15 PM)phil Wrote: [ -> ]Have you closed down the browser and restarted and still can't get in??
Is your mysql installation working? Can you run phpMyAdmin on the server?
This function db_query() is actually DB_query() but PHP functions are case insensitive - the function is in

Code:
webERP/includes/DB_Connect_mysql.inc

or

Code:
webERP/includes/DB_Connect_mysqli.inc

Does your mysql server support either of these two mysql function libraries?

phil:

I do everything as your asked ,weberp is till wrong.
I append php/mysql/apache config files , You help me look there is a mistake.

[attachment=172]

[attachment=173]

[attachment=174]

my server phpinfo :http://23.19.58.121/phpinfo.php



Are all the scripts there?

in particular the ones
Quote:This function db_query() is actually DB_query() but PHP functions are case insensitive - the function is in
Code:
webERP/includes/DB_Connect_mysql.inc
or

Code:
webERP/includes/DB_Connect_mysqli.inc
(04-19-2013, 07:48 PM)phil Wrote: [ -> ]Are all the scripts there?

in particular the ones
Quote:This function db_query() is actually DB_query() but PHP functions are case insensitive - the function is in
Code:
webERP/includes/DB_Connect_mysql.inc
or

Code:
webERP/includes/DB_Connect_mysqli.inc

the scripts here.

[attachment=175]
tks phil..

my weberp has running .the error occurs because i'm installed Nginx.

maybe the weberp hold no brief for LNMPA (Linux+Nginx+Mysql+PhP+Apache).

so .I installed them be installed separately on my utunbu vps.

it's runing OK.
Well Nginx runs webERP just fine... must be something to do with the php config.
Glad you got it going - sorry I couldn't help!