Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Installing on a VPS (utunbu+lnmpa)
04-18-2013, 06:55 PM,
#1
Installing on a VPS (utunbu+lnmpa)
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

   
help me



sorry ,I english bad.


Reply
04-19-2013, 02:15 PM,
#2
RE: Installing on a VPS (utunbu+lnmpa)
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 Daintree
webERP Admin
Logic Works Ltd
http://www.logicworks.co.nz
Reply
04-19-2013, 05:24 PM,
#3
RE: Installing on a VPS (utunbu+lnmpa)
(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.

   

   


.zip   conf.zip (Size: 22.97 KB / Downloads: 2)

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



Reply
04-19-2013, 07:48 PM,
#4
RE: Installing on a VPS (utunbu+lnmpa)
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
Phil Daintree
webERP Admin
Logic Works Ltd
http://www.logicworks.co.nz
Reply
04-20-2013, 10:42 AM,
#5
RE: Installing on a VPS (utunbu+lnmpa)
(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.

   
Reply
04-20-2013, 06:28 PM,
#6
RE: Installing on a VPS (utunbu+lnmpa)
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.
Reply
04-20-2013, 07:06 PM, (This post was last modified: 04-20-2013, 07:07 PM by phil.)
#7
RE: Installing on a VPS (utunbu+lnmpa)
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!
Phil Daintree
webERP Admin
Logic Works Ltd
http://www.logicworks.co.nz
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)