Advertisement:

Author Topic: OSCLASS.2.3 HELP [SOLVED]  (Read 6815 times)

AGoGo

  • Full Member
  • ***
  • Posts: 148
  • AGoGo
OSCLASS.2.3 HELP [SOLVED]
« on: November 25, 2011, 01:54:59 pm »
 OR THE NEW VERSION OSCLASS.2.3 ....

and gives me

Fatal error: Call to a member function result() on a non-object in /var/www/vhosts/tuttoagogo.it/httpdocs/oc-includes/osclass/model/Page.php on line 191

« Last Edit: November 26, 2011, 01:54:44 am by Juan Ramón »

_CONEJO

  • Administrator
  • Hero Member
  • *****
  • Posts: 4689
Re: OSCLASS.2.3 HELP
« Reply #1 on: November 25, 2011, 02:19:31 pm »
Replace the file oc-includes/osclass/model/page with this one (change the name from Page.php.txt to Page.php since I can not upload php directly)

AGoGo

  • Full Member
  • ***
  • Posts: 148
  • AGoGo
Re: OSCLASS.2.3 HELP
« Reply #2 on: November 25, 2011, 02:35:57 pm »
NO ERROR WAS NOT FIRED

_CONEJO

  • Administrator
  • Hero Member
  • *****
  • Posts: 4689
Re: OSCLASS.2.3 HELP
« Reply #3 on: November 25, 2011, 02:36:53 pm »
?? Sorry I don't understand

Is it working fine now?

AGoGo

  • Full Member
  • ***
  • Posts: 148
  • AGoGo
Re: OSCLASS.2.3 HELP
« Reply #4 on: November 25, 2011, 02:43:33 pm »
Add file: Page.php.txt
I and 2 other errors:



Warning: require_once(/var/www/vhosts/tuttoagogo.it/httpdocs/oc-includes/osclass/model/Page.php) [function.require-once]: failed to open stream: No such file or directory in /var/www/vhosts/tuttoagogo.it/httpdocs/oc-load.php on line 120

Fatal error: require_once() [function.require]: Failed opening required '/var/www/vhosts/tuttoagogo.it/httpdocs/oc-includes/osclass/model/Page.php' (include_path='.:/usr/share/pear:/usr/share/php') in /var/www/vhosts/tuttoagogo.it/httpdocs/oc-load.php on line 120



page.php with the error:


Fatal error: Call to a member function result() on a non-object in /var/www/vhosts/tuttoagogo.it/httpdocs/oc-includes/osclass/model/Page.php on line 191
« Last Edit: November 25, 2011, 02:46:42 pm by AGoGo »

Juan Ramón

  • Osclass Developer
  • Hero Member
  • *****
  • Posts: 2382
Re: OSCLASS.2.3 HELP
« Reply #5 on: November 25, 2011, 04:56:10 pm »
Have you renamed from Page.php.txt to Page.php? Because it seems it's not finding the file...

AGoGo

  • Full Member
  • ***
  • Posts: 148
  • AGoGo
Re: OSCLASS.2.3 HELP
« Reply #6 on: November 25, 2011, 08:20:06 pm »
help .......

1-deleted everything from the server:
2-uploaded everything from '0 version (osclass.2.3)

but the error persists

Fatal error: Call to a member function result() on a non-object in /var/www/vhosts/tuttoagogo.it/httpdocs/oc-includes/osclass/model/Page.php on line 191
« Last Edit: November 25, 2011, 08:40:48 pm by AGoGo »

Juan Ramón

  • Osclass Developer
  • Hero Member
  • *****
  • Posts: 2382
Re: OSCLASS.2.3 HELP
« Reply #7 on: November 25, 2011, 08:35:23 pm »
This is when you enter to the main page?

AGoGo

  • Full Member
  • ***
  • Posts: 148
  • AGoGo
Re: OSCLASS.2.3 HELP
« Reply #8 on: November 25, 2011, 08:46:28 pm »
yes you can see for yourself: on tuttoagogo.it

down ... page


clicks on the link
   
Pages

     'Manage pages
     "Create page

Emails & Alerts

Fatal error: Call to a member function result() on a non-object in /var/www/vhosts/tuttoagogo.it/httpdocs/oc-includes/osclass/model/Page.php on line 191

I do not know if she can help you locate the error!!!

help .....
« Last Edit: November 25, 2011, 09:18:57 pm by AGoGo »

AGoGo

  • Full Member
  • ***
  • Posts: 148
  • AGoGo
Re: OSCLASS.2.3 HELP
« Reply #9 on: November 25, 2011, 09:52:41 pm »
problem solved does not load the file on my pc ::) ;D :D

Juan Ramón

  • Osclass Developer
  • Hero Member
  • *****
  • Posts: 2382
Re: OSCLASS.2.3 HELP [SOLVED]
« Reply #10 on: November 26, 2011, 01:55:09 am »
I marked as solved in the title of the first topic :)

sundance

  • Sr. Member
  • ****
  • Posts: 384
Re: OSCLASS.2.3 HELP [SOLVED]
« Reply #11 on: November 26, 2011, 08:58:37 pm »
I was getting:
Fatal error: Call to a member function result() on a non-object in ..../oc-includes/osclass/model/OSCLocale.php on line 90

So I added the page.php file to see if it would fix it. Now I get:
Fatal error: Call to a member function data_seek() on a non-object in ..../oc-includes/osclass/classes/database/DBRecordsetClass.php on line 163

Any clue how to fix it?
« Last Edit: November 26, 2011, 11:02:08 pm by sundance »

Juan Ramón

  • Osclass Developer
  • Hero Member
  • *****
  • Posts: 2382
Re: OSCLASS.2.3 HELP [SOLVED]
« Reply #12 on: November 28, 2011, 01:57:11 pm »
I was getting:
Fatal error: Call to a member function result() on a non-object in ..../oc-includes/osclass/model/OSCLocale.php on line 90

So I added the page.php file to see if it would fix it. Now I get:
Fatal error: Call to a member function data_seek() on a non-object in ..../oc-includes/osclass/classes/database/DBRecordsetClass.php on line 163

Any clue how to fix it?

Were do you get this error? During the installation? It seems like if the oc_t_locale hadn't been populated correctly.

sundance

  • Sr. Member
  • ****
  • Posts: 384
Re: OSCLASS.2.3 HELP [SOLVED]
« Reply #13 on: November 28, 2011, 11:59:32 pm »
Yes, during install, right before choosing categories and after indicating what locations to have (chose United states, cities: Rexburg, st. anthony, Ashton, Idaho Falls, Rigby).

Jesse

  • Hero Member
  • *****
  • Posts: 631
  • Out of my mind, back in 5 minutes
Re: OSCLASS.2.3 HELP [SOLVED]
« Reply #14 on: November 29, 2011, 02:14:36 am »
_CONEJO,

I can confirm for you that the above Page.php file fixed the issue. I just did an automated upgrade from 2.2.3 to 2.3 through the CPanel software, Softaculous, and had received the same error as the original poster. Replacing the Page.php file fixed the error. Thanks!

Jesse