Welcome Guest, Not a member yet? Register   Sign In
Database error occurred.
#5

(06-24-2015, 06:11 PM)capt.enos Wrote: Finaly i can access database, but i got new error,

A Database Error Occurred
Error Number: 1146
Table 'cpp_db.UI_USERS' doesn't exist
select SALT as RESULT from UI_USERS where USERNAME='admin'
Filename: helpers/system_helper.php
Line Number: 153

I open file helpers/system_helper.php and i change all UI_USERS to lowercase because in my database all table is in lowercase, after i changed it nothing happen still same error.

by the way thanks for your answer. i appreciate it.

Most databases don't care about the case for table and column names, but it is a good idea to be consistent. This error is pretty straight-forward, though. Are you sure the UI_USERS table exists in the database named cpp_db? Does the user have permission to access this table in this database?

In general, when trying to setup a site with code that already works for someone else, I start with the assumption that the error is in the configuration, and don't touch code until I'm absolutely certain that I've covered all of the potential configuration issues.
Reply


Messages In This Thread
Database error occurred. - by capt.enos - 06-23-2015, 07:56 PM
RE: Database error occurred. - by capt.enos - 06-24-2015, 01:09 AM
RE: Database error occurred. - by CroNiX - 06-24-2015, 09:00 AM
RE: Database error occurred. - by capt.enos - 06-24-2015, 06:11 PM
RE: Database error occurred. - by mwhitney - 06-29-2015, 01:13 PM



Theme © iAndrew 2016 - Forum software by © MyBB