Osclass forums
Support forums => Installation / Update help => Topic started 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
-
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)
-
NO ERROR WAS NOT FIRED
-
?? Sorry I don't understand
Is it working fine now?
-
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
-
Have you renamed from Page.php.txt to Page.php? Because it seems it's not finding the file...
-
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
-
This is when you enter to the main page?
-
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 .....
-
problem solved does not load the file on my pc ::) ;D :D
-
I marked as solved in the title of the first topic :)
-
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?
-
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.
-
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).
-
_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