• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Installation of the latest SiteBuilder

M

MaRiOs

Guest
Ok we ve just created a db named sitebuilder and a user sbuser on it...

but after the installation the site gives the error :

Warning: mysql_pconnect(): Access denied for user: 'sb_user@localhost' (Using password: YES) in /usr/local/sitebuilder/kernel/db/mysql.php on line 25
Could not connect to the database

The logs are like that :

[1-July-2005 9:19:13] Log of installation process
[1-July-2005 9:19:13] Create dirs...........
[1-July-2005 9:19:13] The dir "temp" is created ...Ok
[1-July-2005 9:19:13] The dir "work" is created ...Ok
[1-July-2005 9:19:13] The dir "users" is created ...Ok
[1-July-2005 9:19:13] Create config file..........
[1-July-2005 9:19:13] Process sql-query: USE sitebuilder
[1-July-2005 9:19:13] Result:...... Ok
[1-July-2005 9:19:13] Cant detect version of database. Suppose that database version is 0
[1-July-2005 9:19:13] Process sql-query: use sitebuilder
[1-July-2005 9:19:13] Result:...... Ok
[1-July-2005 9:19:13] Process sql-query: ALTER TABLE sb_users CHANGE login login VARCHAR( 255 ) NOT NULL
[1-July-2005 9:19:13] Result:...... Error: Table 'sitebuilder.sb_users' doesn't exist (code=1146)
[1-July-2005 9:19:13] Error on query >> ALTER TABLE sb_users CHANGE login login VARCHAR( 255 ) NOT NULL
[1-July-2005 9:19:13] Process of installation is interrupted, as already there is a database with a name "sitebuilder"
[1-July-2005 9:19:13] Alter table sb_users
[1-July-2005 9:19:13] Process sql-query: INSERT INTO sb_settings (prop_value, prop_name) VALUES ('en_US', 'sb_language')
[1-July-2005 9:19:13] Result:...... Error: Table 'sitebuilder.sb_settings' doesn't exist (code=1146)
[1-July-2005 9:19:13] Error on query >> INSERT INTO sb_settings (prop_value, prop_name) VALUES ('en_US', 'sb_language')

I tried to edit the /usr/local/sitebuilder/kernel/db/mysql.php to change the db user but the file is encrypted...

What can i do to clear it and install it again ?
 
Hi MaRiOs

I have a same problem like you, how to fix that ?

Thank's
fred
 
for first contact Modernbill,
they will send you an php file that u can run it and change the password.
If you are still unable to change it or login,
that it means that (if I remember good) u didnt uploaded the files on the server as you should (binanry or ascii i dont remember check the manual)

that solved my problem,I re-uploaded in the right way.
 
Back
Top