UPDATE: the problem seems fixed since I changed the database password: I usually setup a strong password including symbols and numbers, it happens that the password had the symbols " and ' in between the characters, after I removed those characters the error got solved.Original message below:
Hello, I am testing osclass, my main issue is trying to install the system into a subfolder, let me get the details clear:
- I manage to install the system successfully on my root domain folder (something like this:
www.mydomain.com) which is located in /home/user/public_html/
- When I try to install osclass into a subfolder on where an addon domain is pointed, which is located in: /home/user/public_html/myaddondomain.com/classifieds/ (on the browser the address is something like
www.myaddondomain.com/classifieds/) I get the infamous
"Osclass » Error Osclass database server is not available" error on the third installation step.
- For the installation process I am pointing my browser to:
www.myaddondondomain.com/classifieds/oc-includes/osclass/install.php- The server configuration is the same for both domains
- No .htaccess or anything.
- The database got filled during the second installation step after I filled the connection details, that means obviously the database credentials are right.
- I just can't pass to the third step on the installation process without getting
"Osclass » Error Osclass database server is not available".
- The server error_log is empty
- The default php version is 5.4 (also tested changing this to 5.3 and 5.2 and nothing happens).
- I tried to change the DB_HOST from "localhost" to server ip and nothing happens.
- Folder permissions are 0755 and file permissions are 0644
- I am using a hostgator shared hosting account.
- The first installation config.php have this:
<?php
/**
* The base MySQL settings of Osclass
*/
define('MULTISITE', 0);
/** MySQL database name for Osclass */
define('DB_NAME', 'database');
/** MySQL database username */
define('DB_USER', 'user');
/** MySQL database password */
define('DB_PASSWORD', '*****');
/** MySQL hostname */
define('DB_HOST', 'localhost');
/** Database Table prefix */
define('DB_TABLE_PREFIX', 'oc_');
define('REL_WEB_URL', '/');
define('WEB_PATH', 'http://mydomain.com/');
?>
And is working right
- The second installation config.php have this:
<?php
/**
* The base MySQL settings of Osclass
*/
define('MULTISITE', 0);
/** MySQL database name for Osclass */
define('DB_NAME', 'database2');
/** MySQL database username */
define('DB_USER', 'user2');
/** MySQL database password */
define('DB_PASSWORD', '*****');
/** MySQL hostname */
define('DB_HOST', 'localhost');
/** Database Table prefix */
define('DB_TABLE_PREFIX', 'oc_');
define('REL_WEB_URL', '/classifieds/');
define('WEB_PATH', 'http://myaddondomain.com/classifieds/');
?>
And is giving me the
"Osclass » Error Osclass database server is not available".
Any ideas?