Advertisement:

Author Topic: subfolder installation  (Read 2157 times)

IceCreamV

  • Newbie
  • *
  • Posts: 1
subfolder installation
« on: October 01, 2014, 08:07:47 pm »
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:

Code: [Select]
<?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:

Code: [Select]
<?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?

 :-\
« Last Edit: October 10, 2014, 07:19:46 pm by IceCreamV »

MissTS

  • Newbie
  • *
  • Posts: 32
Re: subfolder installation
« Reply #1 on: October 12, 2015, 06:44:53 am »
this seems to be an issue i and others are having also...

i had it uploaded on the site not long ago and took it down to try something..
now i want it back up and cleared all out, starting fresh, but it will not install.

I CAN NOT UNDERSTAND WITH SO MANY USING THIS, WHY THEY WILL NOT FIX THE TWEAT ISSUE IN THIS.
iTS BASIC ISSUE.  I FINALLY FOUND IT...  AND MEANT TO POST IT. 
NOW I AM UPLOADING AGAIN.. HAVING SAME PROBLEM AND CAN NOT RECALL WHAT I DID.
OSCLASS HAS TO KNOW THIS IS A PROBLEM IN INSTALL.

TO INSTALL:
YOU UPLOAD FILES AND DO NOT DO A THING!!!!!!!
SIMPLY  GO TO SITE AND HOPEFULLY, IF INSTALLED CORRECTLY....  YOU SHOULD GET THE INSTALL.PHP IN YOUR SITE PATH http://www.yoursite.whateverdotUhave

THE PROBLEM IS THEN IN THE next step.
If i figure out the tweat issue again here, i will post it!
that is where most have issue if they do not change anything...

some people like myself went ahead and inputted the conf page.  dont do that. the install will do that for you.  if you did that, delete the config.. reinstall the config-sample.php page, and try it again.  it will get you once again to the install first page.

that much i know





« Last Edit: October 14, 2015, 07:16:31 pm by MissTS »

netadder

  • Newbie
  • *
  • Posts: 2
Re: subfolder installation
« Reply #2 on: October 24, 2015, 02:32:05 am »
I need the sub folder add on

can you post links here please ?