Advertisement:

Author Topic: Installation error  (Read 15891 times)

skumar

  • Newbie
  • *
  • Posts: 32
Installation error
« on: December 19, 2011, 02:06:09 pm »
I tried to install on our shared hosting and got below message. I tried two times but same error. Please advice how to fix this.

Fatal error: Call to a member function data_seek() on a non-object in /home/topperwe/public_html/adlead.in/oc-includes/osclass/classes/database/DBRecordsetClass.php on line 163

Juan Ramón

  • Osclass Developer
  • Hero Member
  • *****
  • Posts: 2382
Re: Installation error
« Reply #1 on: December 19, 2011, 07:58:18 pm »
I don't know why it's appearing this error... are you sure you're following the install instructions? http://wiki.osclass.org/Install

ken

  • Full Member
  • ***
  • Posts: 108
Re: Installation error
« Reply #2 on: December 19, 2011, 10:07:54 pm »
Go into the cpanel, then MySQL Databases, Delete the database that was setup for the install and run the reinstall of  osclass again. If you created the database manually, delete and recreate it.

skumar

  • Newbie
  • *
  • Posts: 32
Re: Installation error
« Reply #3 on: December 20, 2011, 09:08:04 am »
Thanks for quick reply. I also tried to install on others domain/server but same problem.

Pls see screen shot and highly appreciate for help.

RajaSekar

  • Hero Member
  • *****
  • Posts: 791
  • ராஜசேகர்
Re: Installation error
« Reply #4 on: December 20, 2011, 07:10:07 pm »

Hi skumar

why you are moved to openclassifieds? wait our developer will help you

Tom

  • Newbie
  • *
  • Posts: 12
Re: Installation error
« Reply #5 on: December 20, 2011, 10:04:16 pm »
Yes, I got a similar issue initially, then even installed older PHP 5 versions, now it does the database load and is stuck on an empty screen in the 3rd phase. Looks like there are major PHP related issues with this software.

trains58554

  • Osclass contributor
  • Hero Member
  • *****
  • Posts: 3642
  • osCanyon, the class of Osclass
Re: Installation error
« Reply #6 on: December 20, 2011, 11:33:30 pm »
@Tom

Usually when the installer gets stuck at the 3rd phase it means your database credentials are not quite right. I would delete the config.php file and try to run the installer again.

Jay

Tom

  • Newbie
  • *
  • Posts: 12
Re: Installation error
« Reply #7 on: December 21, 2011, 02:30:34 am »
Jay, so even it creates all tables and loads the database, you think there is a credentials problem? Also, the installation seems to be crazy picky about the file permissions. Unless I change the config.php to a 777, it does not even load anything but only shows a 500 error. So, even that 3rd phase does not finish, I can trz the oc-admin, but then there is not even a logon button, just the text fields....
What PHP version do you use to test it?

Jesse

  • Hero Member
  • *****
  • Posts: 631
  • Out of my mind, back in 5 minutes
Re: Installation error
« Reply #8 on: December 21, 2011, 02:39:49 am »
Hi Tom,

I've personally not encountered those installation issues with any of my OSClass installs... either doing the Auto-install through CPanel, or manually installing it. Here some stats of my server:

Linux with Apache 2.2.19,
PHP    5.2.17
MySQL 5.1.56

trains58554

  • Osclass contributor
  • Hero Member
  • *****
  • Posts: 3642
  • osCanyon, the class of Osclass
Re: Installation error
« Reply #9 on: December 21, 2011, 02:50:59 am »
@Tom

That has been what has caused most issues with the blank screen at the 3rd phase. I would try deleting the config.php file and try the install again.

My php version is 5.3.2

Apache 2.2.14

MySql  5.1.41

Jay

Tom

  • Newbie
  • *
  • Posts: 12
Re: Installation error
« Reply #10 on: December 21, 2011, 03:46:18 am »
Jay - well, that is not the problem....

The problem is that the installation script seems to be missing something. When trying to do a manual load of the sql files, it actually fails because a constraint does not work out.  Table t_locale is empty and not being loaded which caused all related rows with this constraing (all paged) to fail afterwards.

I will try a bit more, but I believe the load part for t_locale is missing...
-----
Sorry for taking over the thread...

anyhow, the last DB load worked (magically t_locally had the correct entry now as well) but still no site showing up, admin login without button. Well, I give up and will look for a differnt / working solution elsewhere.
« Last Edit: December 21, 2011, 04:13:10 am by Tom »

bilekas

  • Full Member
  • ***
  • Posts: 219
  • Bilekas
Re: Installation error
« Reply #11 on: December 21, 2011, 04:13:54 am »
When you are trying to install it again - you need to clear the DB that you tried it with the first time - if it runs into a table that is already there it sips the following tables and assumes the rest are there .

Best bet, delete all databases, config.php file - download OSclass again - and go again - and this time have a DB ready and set up rather than allowing the install.php file to create one - cleaner is better.

Tom

  • Newbie
  • *
  • Posts: 12
Re: Installation error
« Reply #12 on: December 21, 2011, 04:24:50 am »
Yep. tried that all without any success.

trains58554

  • Osclass contributor
  • Hero Member
  • *****
  • Posts: 3642
  • osCanyon, the class of Osclass
Re: Installation error
« Reply #13 on: December 21, 2011, 04:39:11 am »
Are you installing osclass on a localhost?

Jay

juppie

  • Newbie
  • *
  • Posts: 38
Re: Installation error
« Reply #14 on: December 21, 2011, 12:37:00 pm »
I got the same error.

/oc-includes/osclass/classes/database/DBRecordsetClass.php on line 163