Download as pdf or txt
Download as pdf or txt
You are on page 1of 5

27/02/13

Installation help needed

Important: We're planning to make some changes in the forum.

Osclass forums
Welcome, Guest. Please login or register. Did you miss your activation email? Forever Login News:

Download Osclass 3.0.2

Login with username, password and session length

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

Topic: Installation help needed (Read 3104 times)


Installation help needed
on: June 07, 2010, 09:36:57 AM

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

Re: Installation help needed


Reply #1 on: June 10, 2010, 04:56:46 PM

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

Re: Installation help needed


Reply #2 on: June 11, 2010, 02:07:07 PM
Quote from: Link on June 10, 2010, 04:56:46 PM In the m ain osclass dire ctory on your we b se rve r, the re should be a file calle d "config-e x am ple .php". C re ate a copy of this file and re nam e it to "config.php".

ok.. do I need to modify this file? it currently contains...


forums.osclass.org/general-help/installation-help-needed/ 1/5

27/02/13

Installation help needed

<?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

Re: Installation help needed


Reply #3 on: June 11, 2010, 04:19:03 PM

Nope, just run the installer from there.


Logged

BlackDalek
Newbie Posts: 3

Re: Installation help needed


Reply #4 on: June 12, 2010, 03:57:35 AM
Quote from: dezinerite on June 11, 2010, 04:19:03 PM Nope , just run the installe r from the re .

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)

What went wrong?


Logged

Juan Ramn
Osclass Developer Hero Member Posts: 2371

Re: Installation help needed


Reply #5 on: June 18, 2010, 06:20:21 PM

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

Re: Installation help needed


Reply #6 on: July 05, 2010, 01:03:53 AM

Hi All v 1.0 Delta I too am having a problem with the installation

forums.osclass.org/general-help/installation-help-needed/

2/5

27/02/13

Installation help needed

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

Re: Installation help needed


Reply #7 on: July 05, 2010, 12:27:20 PM

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

Re: Installation help needed


Reply #8 on: May 26, 2011, 05:33:00 PM

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

Re: Installation help needed


Reply #9 on: May 30, 2011, 03:00:22 PM

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

Installation help needed

Luca
Sr. Member

Re: Installation help needed


Reply #10 on: May 30, 2011, 03:58:26 PM
Quote from: revathee on May 26, 2011, 05:33:00 PM C re ate d and uploade d config.php and se t the pe rm ission to '666'

Posts: 493

Why did you "created and uploaded" config.php?


Logged

revathee
Newbie Posts: 4

Re: Installation help needed


Reply #11 on: May 30, 2011, 09:10:25 PM

@ 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

Re: Installation help needed


Reply #12 on: May 30, 2011, 09:21:24 PM

What about if you delete config.php and start again the installation process?
Logged juanramon@osclass.org @osclass facebook masterbranch

revathee
Newbie Posts: 4

Re: Installation help needed


Reply #13 on: May 31, 2011, 06:58:58 AM

@ 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

Re: Installation help needed


Reply #14 on: May 31, 2011, 01:20:51 PM

If you enter to w w w . e x a m p l e . o r g / o c a d m i n /do you get the same error? This


4/5

forums.osclass.org/general-help/installation-help-needed/

27/02/13

Installation help needed

error is like your files doesn't have readable permissions.


Logged juanramon@osclass.org @osclass facebook masterbranch Pages: [1] 2
P RI N T

previous next Osclass forums Support forums General help Installation help needed

Jum p to:

=> General help

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

You might also like