Loading

Author Topic: Installing 2.3.4 from empty root  (Read 1071 times)

toni

  • Newbie
  • *
  • Posts: 16
Installing 2.3.4 from empty root
« on: January 05, 2012, 02:14:01 am »
Hi

I had my DB corrupted during the testing, and impossible to fix, so I took advantage to make a new installation from cero for the update.

The zip with the 2.3.4 files was uploaded to the root and unzipped there. Then when executing the OSClass installation script by either accessing index.php or oc-includes/osclass/install.php from the browser, the following message comes up:

Quote
Forbidden

You don't have permission to access /oc-includes/osclass/install.php on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

Does anybody know why it happens?

Thank you.

trains58554

  • Super Moderator
  • Hero Member
  • *****
  • Posts: 1815
  • The Ghostbuster
Re: Installing 2.3.4 from empty root
« Reply #1 on: January 05, 2012, 02:22:29 am »
It is a permissions problem. Check the permissions of your files and folders.

Jay

toni

  • Newbie
  • *
  • Posts: 16
Re: Installing 2.3.4 from empty root
« Reply #2 on: January 05, 2012, 04:39:43 pm »
Hi

I have already given 777 permissions to User and 755 permissions to Group and World to the folders "osclass" and "oc-includes" and the installer has started.

Howvever, it stops at the Step 2 (Target). Clicking on the link "Next" takes me to nowhere. It gives no error, simply it does not do anything. BTW, the browser is FF.

Are those the wrong permissions? Should I give permissions to other folders? Thank you.

Cheers.
« Last Edit: January 06, 2012, 01:48:32 am by toni »

toni

  • Newbie
  • *
  • Posts: 16
Re: Installing 2.3.4 from empty root
« Reply #3 on: January 06, 2012, 02:04:25 pm »
Sorry I had forgotten this;

Apache version    2.2.19
PHP version            5.3.6
MySQL version    5.0.92-community

toni

  • Newbie
  • *
  • Posts: 16
Re: Installing 2.3.4 from empty root
« Reply #4 on: January 06, 2012, 03:00:15 pm »
That is what I see:

Calling the installer



Step 0



Step 1



To go through the step 2 I have to leave in blank the DB user, so the installer have to create it, otherswise it always gives me an error of wrong user and password.

Step 2



It doen't matter what I do or how I fill the fields, it always stops here. It never goes forward.

And now I have changed every single folder permission to 755. Possible bug???!!!

Cheers.
« Last Edit: January 06, 2012, 03:05:04 pm by toni »

Alexandr

  • Jr. Member
  • **
  • Posts: 85
Re: Installing 2.3.4 from empty root
« Reply #5 on: January 06, 2012, 05:01:40 pm »
database name
user name
password
Check with your hosting.
Or you yourself must first create a database with a username and password.
And then introduce them into the field.

toni

  • Newbie
  • *
  • Posts: 16
Re: Installing 2.3.4 from empty root
« Reply #6 on: January 07, 2012, 02:35:05 am »
database name
user name
password
Check with your hosting.
Or you yourself must first create a database with a username and password.
And then introduce them into the field.

Thank you for your replay.

I gave it an user with permissions and the password, so it could create the BD as per the PDF instructions. However, it always returned me an error "Invalid user or wrong password." So the way to progress was leaving it in blank.

Quote
Step 2: Add your access details to the database. If you haven’t created it yet, the installer will ask for another account with permissions that allows it to do it for you.

So now I went the other way, as you suggested. I created a DB and gave it the user with the permissions. I went through step 1, but stop again in Step 2 in the installer, or Strep 3 in the PDF.

When clicking on "Next" nothing happens.

Code: [Select]
<a href="#" class="button" onclick="validate_form();">Next</a>
Any idea?

Cheers.

RajaSekar

  • Hero Member
  • *****
  • Posts: 672
  • ராஜசேகர்
    • Rajclassifieds
    • Email
Re: Installing 2.3.4 from empty root
« Reply #7 on: January 07, 2012, 04:53:01 am »
@toni

I think you have not added the default database prefix code.
check there is a default prefix is available?

toni

  • Newbie
  • *
  • Posts: 16
Re: Installing 2.3.4 from empty root
« Reply #8 on: January 07, 2012, 04:35:35 pm »
@toni

I think you have not added the default database prefix code.
check there is a default prefix is available?

Thank you for your replay

I have created the DB from cPanel, where user and BD prefix are the same. It looks like this:

       

I have progressed a bit the help of this YouTube. It saved me time when changing permissions to 755. I have changed the same than in the video instead of every folder permission.

oc-admin
oc-content
oc-content/uploads
oc-includes
oc-includes/occlass

http://www.youtube.com/watch?v=pcWsyTl7-TE

I went through step 2 but now I am stuck at step 3


 

I see no option, just a white screen.

Cheers.

Alexandr

  • Jr. Member
  • **
  • Posts: 85
Re: Installing 2.3.4 from empty root
« Reply #9 on: January 07, 2012, 06:02:45 pm »
Quote
I had my DB corrupted during the testing, and impossible to fix, so I took advantage to make a new installation from cero for the update.
new installation?
You have removed the old database?
You deleted the old files script? (OSClass)

Tom

  • Newbie
  • *
  • Posts: 12
Re: Installing 2.3.4 from empty root
« Reply #10 on: January 07, 2012, 09:22:37 pm »
I have exactly the same problem with the empty screen in the 3rd step. Looks like either nobody is able to replicate the problem or everybody is simply only upgrading from older versions.

The next thing you will see is this one (when trying again with an existing DB and new prefix...)
Fatal error: Call to a member function result() on a non-object in /home/guntrade/public_html/cf/oc-includes/osclass/model/Category.php on line 125

A fresh installation 100% for sure has not been tested with either 2.3.4 or 2.3.3. :(
« Last Edit: January 07, 2012, 09:24:11 pm by Tom »

trains58554

  • Super Moderator
  • Hero Member
  • *****
  • Posts: 1815
  • The Ghostbuster
Re: Installing 2.3.4 from empty root
« Reply #11 on: January 08, 2012, 01:24:59 am »
Hi all,

I just tried a fresh install of 2.3.4 and I was experiencing some of the same problems. The problem was that the permissions for some reason are all messed up on the folders. I have notified the admins that the folder permissions are not set right and I believe that is why osclass is not installing right. After I changed the folder permissions I was then able to install osclass 2.3.4.

Jay

trains58554

  • Super Moderator
  • Hero Member
  • *****
  • Posts: 1815
  • The Ghostbuster
Re: Installing 2.3.4 from empty root
« Reply #12 on: January 08, 2012, 10:38:05 pm »
Hi all,

Anyone who is having problems tring to install osclass 2.3.4 please try 2.3.4.1.

http://sourceforge.net/projects/osclass/files/2.3/osclass.2.4.3.1.zip/download

Thanks

Jay

toni

  • Newbie
  • *
  • Posts: 16
Re: Installing 2.3.4 from empty root
« Reply #13 on: January 08, 2012, 10:52:10 pm »
Hi all,

Anyone who is having problems tring to install osclass 2.3.4 please try 2.3.4.1.

http://sourceforge.net/projects/osclass/files/2.3/osclass.2.4.3.1.zip/download

Thanks

Jay

Thank you. I had manually changed all the permissions in every single folder from the 2.3.4 version to 755 and it finally worked. However, 2.3.4.1 version should be a better solution.  :D

Swede

  • Super Moderator
  • Sr. Member
  • *****
  • Posts: 381
Re: Installing 2.3.4 from empty root
« Reply #14 on: January 09, 2012, 01:36:07 am »
Hi all,

Anyone who is having problems tring to install osclass 2.3.4 please try 2.3.4.1.

http://sourceforge.net/projects/osclass/files/2.3/osclass.2.4.3.1.zip/download

Thanks

Jay

following that link it accually downloads a zip named osclass.2.4.3.1..... i think it should be named osclass.2.3.4.1.... or have i missed something?