Osclass forums

Support forums => Installation / Update help => Topic started by: AGoGo on November 25, 2011, 01:54:59 pm

Title: OSCLASS.2.3 HELP [SOLVED]
Post by: AGoGo 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

Title: Re: OSCLASS.2.3 HELP
Post by: _CONEJO 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)
Title: Re: OSCLASS.2.3 HELP
Post by: AGoGo on November 25, 2011, 02:35:57 pm
NO ERROR WAS NOT FIRED
Title: Re: OSCLASS.2.3 HELP
Post by: _CONEJO on November 25, 2011, 02:36:53 pm
?? Sorry I don't understand

Is it working fine now?
Title: Re: OSCLASS.2.3 HELP
Post by: AGoGo 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
Title: Re: OSCLASS.2.3 HELP
Post by: Juan Ramón 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...
Title: Re: OSCLASS.2.3 HELP
Post by: AGoGo 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
Title: Re: OSCLASS.2.3 HELP
Post by: Juan Ramón on November 25, 2011, 08:35:23 pm
This is when you enter to the main page?
Title: Re: OSCLASS.2.3 HELP
Post by: AGoGo 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 .....
Title: Re: OSCLASS.2.3 HELP
Post by: AGoGo on November 25, 2011, 09:52:41 pm
problem solved does not load the file on my pc ::) ;D :D
Title: Re: OSCLASS.2.3 HELP [SOLVED]
Post by: Juan Ramón on November 26, 2011, 01:55:09 am
I marked as solved in the title of the first topic :)
Title: Re: OSCLASS.2.3 HELP [SOLVED]
Post by: sundance 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?
Title: Re: OSCLASS.2.3 HELP [SOLVED]
Post by: Juan Ramón 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.
Title: Re: OSCLASS.2.3 HELP [SOLVED]
Post by: sundance 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).
Title: Re: OSCLASS.2.3 HELP [SOLVED]
Post by: Jesse 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