Professional Documents
Culture Documents
Solução Osclass
Solução Osclass
Osclass forums
Welcome, Guest. Please login or register. Did you miss your activation email? Forever Login News:
Home
Help
Login
Register
Search
Osclass forums Support forums General help Installation help needed previous next Pages: [1] 2
P RI N T
Author BlackDalek
Newbie Posts: 3
Where do I find step by step installation help documentation? I've not installed anything to a website manually before. I uploaded all the files to a folder on my website, and it put up a list of items with green ticks and two items had red crosses (config.php missing and config.php not writable) I don't know how to get this file and I can't find installation instructions.
Logged
Link
Newbie Posts: 2
In the main osclass directory on your web server, there should be a file called "config-example.php". Create a copy of this file and rename it to "config.php". Then, right click on the file and find the option to set "permissions" on the file. You either need to set the permissions to "666" or tick "write". Save the changes and rerun the installer.
Logged
BlackDalek
Newbie Posts: 3
27/02/13
<?php define('DB_HOST', 'localhost'); define('DB_USER', 'root'); define('DB_PASSWORD', ''); define('DB_NAME', 'osclass_db'); define('DB_TABLE_PREFIX', 'oc_'); define('ABS_WEB_URL', 'http://localhost'); define('REL_WEB_URL', ''); define('WEB_PATH', ABS_WEB_URL);
Logged
dezinerite
Guest
BlackDalek
Newbie Posts: 3
ok, I changed permissions for config.php to 666, and ran it. now I get 1. Welcome > 2. Database information > 3. Basic configuration > 4. Congratulations! Access denied for user 'root'@'localhost' (using password: YES)
Juan Ramn
Osclass Developer Hero Member Posts: 2371
Hi, Is it possible you don't put the right password? This errors seems to be related to your user/pass login connection to database.
Logged juanramon@osclass.org @osclass facebook masterbranch
Daronna
Newbie Posts: 1
forums.osclass.org/general-help/installation-help-needed/
2/5
27/02/13
I have copied and renamed the config file, I have made sure it is (permissions "666") I get green check marks on everything, Welcome steps 1 - 7 My Database information is correct It seems to halt on Step 3 - Basic configuration, nothing happens. It doesn't write to my config.php file, it doesn't create the table/s in the database, nothing at all happens. I would appreciate any help on this Thank you Daronna
Logged
Juan Ramn
Osclass Developer Hero Member Posts: 2371
Hi Daronna, Are you installing it in localhost? I had the same problem you described. I solve it changing the configuration of the DB parameters. Where puts localhost for where is the database, I replace writing "127.0.0.1". I hope it works for you too. Regards,
Logged juanramon@osclass.org @osclass facebook masterbranch
revathee
Newbie Posts: 4
For me I have uploaded all files to the root. Created the database and assigned all privileges to the user. Created and uploaded config.php and set the permission to '666' When I ran the installation, the first step checked all the basic requirement and threw green tick marks. Now in the second step I get the error - Cannot connect to the database. Check if the user has privileges. The user has been given all the privileges, but. What do I do now?
Logged
Juan Ramn
Osclass Developer Hero Member Posts: 2371
The problem is with the database connection, maybe is not localhost, you can try with 127.0.0.1. If not, check with your hosting provider if your database connection is different (for example in dreamhost is not localhost I think).
Logged juanramon@osclass.org @osclass facebook masterbranch
forums.osclass.org/general-help/installation-help-needed/
3/5
27/02/13
Luca
Sr. Member
Posts: 493
revathee
Newbie Posts: 4
@ Ramn When I tried with 127.0.0.1 in place of 'localhost' I got this error Cannot connect to database. Error number: 1146. Still need help! Thanks!
Logged
Juan Ramn
Osclass Developer Hero Member Posts: 2371
What about if you delete config.php and start again the installation process?
Logged juanramon@osclass.org @osclass facebook masterbranch
revathee
Newbie Posts: 4
@ Ramn I deleted config.php and started the installation process. It went through the stages and gave an admin user name and password. But when i ran the website the following is the error shown: Warning: require(/home/my-database/public_html/classifieds/occontent/themes/modern/main.php) [function.require]: failed to open stream: No such file or directory in /home/my-database/public_html/classifieds/ocincludes/osclass/helpers/hDefines.php on line 198 Fatal error: require() [function.require]: Failed opening required '/home/mydatabase/public_html/classifieds/oc-content/themes/modern/main.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/mydatabase/public_html/classifieds/ocincludes/osclass/helpers/hDefines.php on line 198
Logged
Juan Ramn
Osclass Developer Hero Member Posts: 2371
forums.osclass.org/general-help/installation-help-needed/
27/02/13
previous next Osclass forums Support forums General help Installation help needed
Jum p to:
go
SMF 2.0.2 | SMF 2011, Sim ple Machine s SMFAds for Fre e Forum s XHTML R SS W AP2
forums.osclass.org/general-help/installation-help-needed/
5/5