Advertisement:

Author Topic: Can't reach admin page after manual update from 2.4.1 to 3.0  (Read 10282 times)

tomt

  • Newbie
  • *
  • Posts: 10
Re: Can't reach admin page after manual update from 2.4.1 to 3.0
« Reply #15 on: July 16, 2012, 10:36:58 am »
Train is correct.

Although what I did was used an ftp client to mass edit folder and file permissions from 775 (default) to 755.

vyper

  • Jr. Member
  • **
  • Posts: 85
Re: Can't reach admin page after manual update from 2.4.1 to 3.0
« Reply #16 on: July 16, 2012, 11:46:44 am »
strange

Yersterday could login to oc-admin, today load but is white page.....

I don`t make any modification....

error log


Code: [Select]
[16-Jul-2012 01:48:29] PHP Warning:  session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cookie - headers already sent by (output started at /public_html/sitename/oc-includes/osclass/helpers/hSearch.php:1) in /public_html/sitename/oc-includes/osclass/core/Session.php on line 39
[16-Jul-2012 01:48:29] PHP Warning:  session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cache limiter - headers already sent (output started at /public_html/sitename/oc-includes/osclass/helpers/hSearch.php:1) in /public_html/sitename/oc-includes/osclass/core/Session.php on line 39
[16-Jul-2012 10:48:29] PHP Warning:  Cannot modify header information - headers already sent by (output started at /public_html/sitename/oc-includes/osclass/helpers/hSearch.php:1) in /public_html/sitename/oc-includes/osclass/core/Cookie.php on line 94
[16-Jul-2012 10:48:29] PHP Warning:  session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cookie - headers already sent by (output started at /public_html/sitename/oc-includes/osclass/helpers/hSearch.php:1) in /public_html/sitename/oc-includes/osclass/core/Session.php on line 39
[16-Jul-2012 10:48:29] PHP Warning:  session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cache limiter - headers already sent (output started at /public_html/sitename/oc-includes/osclass/helpers/hSearch.php:1) in /public_html/sitename/oc-includes/osclass/core/Session.php on line 39
[16-Jul-2012 10:48:29] PHP Warning:  Cannot modify header information - headers already sent by (output started at /public_html/sitename/oc-includes/osclass/helpers/hSearch.php:1) in /public_html/sitenamet/oc-includes/osclass/core/BaseModel.php on line 72
« Last Edit: July 16, 2012, 11:55:20 am by vyper »

garciademarina

  • Administrator
  • Hero Member
  • *****
  • Posts: 974
Re: Can't reach admin page after manual update from 2.4.1 to 3.0
« Reply #17 on: July 16, 2012, 01:08:01 pm »
Hi,

Can you follow this instructions for enabling debug log, http://doc.osclass.org/Debug_PHP_errors

Once activated, try to login at oc-admin, and look if there are errors o not ( oc-content/debug.log )

regards

vyper

  • Jr. Member
  • **
  • Posts: 85
Re: Can't reach admin page after manual update from 2.4.1 to 3.0
« Reply #18 on: July 16, 2012, 01:17:26 pm »
Garcia

I add this line in config.php
Code: [Select]
/**
 * Copy this code to config.php file
 * This will log all error notices and warnings to a file called debug.log in oc-content
 */
define('OSC_DEBUG', true) ;
define('OSC_DEBUG_LOG', true) ;


And errors from oc-content/debug.log are:

Code: [Select]
[16-Jul-2012 03:14:40] PHP Warning:  session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cookie - headers already sent by (output started at /public_html/sitename/oc-includes/osclass/helpers/hSearch.php:1) in /public_html/sitename/oc-includes/osclass/core/Session.php on line 39
[16-Jul-2012 03:14:40] PHP Warning:  session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cache limiter - headers already sent (output started at /public_html/sitename/oc-includes/osclass/helpers/hSearch.php:1) in /public_html/sitename/oc-includes/osclass/core/Session.php on line 39
[16-Jul-2012 12:14:40] PHP Warning:  Cannot modify header information - headers already sent by (output started at /public_html/sitename/oc-includes/osclass/helpers/hSearch.php:1) in /public_html/sitename/oc-includes/osclass/core/Cookie.php on line 94
[16-Jul-2012 12:14:40] PHP Warning:  session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cookie - headers already sent by (output started at /public_html/sitename/oc-includes/osclass/helpers/hSearch.php:1) in /public_html/sitename/oc-includes/osclass/core/Session.php on line 39
[16-Jul-2012 12:14:40] PHP Warning:  session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cache limiter - headers already sent (output started at /public_html/sitename/oc-includes/osclass/helpers/hSearch.php:1) in /public_html/sitename/oc-includes/osclass/core/Session.php on line 39
[16-Jul-2012 12:14:40] PHP Warning:  Cannot modify header information - headers already sent by (output started at /public_html/sitename/oc-includes/osclass/helpers/hSearch.php:1) in /public_html/sitename/oc-includes/osclass/core/BaseModel.php on line 72

bgd

  • Jr. Member
  • **
  • Posts: 63
Re: Can't reach admin page after manual update from 2.4.1 to 3.0
« Reply #19 on: July 16, 2012, 03:51:26 pm »
I receive this error when I try to load homepage.

Fatal error: Call to a member function numRows() on a non-object in /public_html/oc-includes/osclass/model/Admin.php on line 61

what I can do ?

garciademarina

  • Administrator
  • Hero Member
  • *****
  • Posts: 974
Re: Can't reach admin page after manual update from 2.4.1 to 3.0
« Reply #20 on: July 16, 2012, 03:56:42 pm »
Hi @bgd,

What hosting are you using ?

I'm thinking that your mysql user doesn't have enough permission.

Regards
« Last Edit: July 16, 2012, 03:59:13 pm by garciademarina »

bgd

  • Jr. Member
  • **
  • Posts: 63
Re: Can't reach admin page after manual update from 2.4.1 to 3.0
« Reply #21 on: July 16, 2012, 03:59:58 pm »

000webhost.com is my host

I change also de index.php for transition to 3.X, and now the homepage and admin page is not loading
Thank you for your reply
« Last Edit: July 16, 2012, 04:04:32 pm by bgd »

BuySellAndSwap

  • Sr. Member
  • ****
  • Posts: 389
Re: Can't reach admin page after manual update from 2.4.1 to 3.0
« Reply #22 on: July 16, 2012, 04:08:09 pm »
I'm using 000webhost www.stuff4sale.gb.net has a fresh 3.0 install and sellrent.co.uk has been upgraded and still have this problem... When I upgraded stuff4sale.gb.net I still have exactly the same database as before I just deleted everything and started again so I don't think that's the problem but I don't know what else it could be

bgd

  • Jr. Member
  • **
  • Posts: 63
Re: Can't reach admin page after manual update from 2.4.1 to 3.0
« Reply #23 on: July 16, 2012, 04:11:35 pm »
sometimes the index page is working, but after few minutes dont load again.

BuySellAndSwap

  • Sr. Member
  • ****
  • Posts: 389
Re: Can't reach admin page after manual update from 2.4.1 to 3.0
« Reply #24 on: July 16, 2012, 04:18:07 pm »
If I install from scratch and back up the database and upload folder and theme will the database back up work with this version? As I think that's going to be the easiest way for now thank you

garciademarina

  • Administrator
  • Hero Member
  • *****
  • Posts: 974
Re: Can't reach admin page after manual update from 2.4.1 to 3.0
« Reply #25 on: July 16, 2012, 05:27:55 pm »
Hi

@bgd, I created a new installation on 000webhost.com and as you, sometimes I can access to frontpage and sometimes not ... without no reason apparently

I'm beginning to think that is a hosting issue ... ?

Regards

PD: Can you contact with hosting support ?

bgd

  • Jr. Member
  • **
  • Posts: 63
Re: Can't reach admin page after manual update from 2.4.1 to 3.0
« Reply #26 on: July 16, 2012, 05:40:22 pm »
I just contact the hosting support : *Your ticket has been submitted successfully. You will get reply in 24 hours.* .
When I will have a helping answer I will post here.

Thank you for your answer and for your time garcia

vyper

  • Jr. Member
  • **
  • Posts: 85
Re: Can't reach admin page after manual update from 2.4.1 to 3.0
« Reply #27 on: July 16, 2012, 05:50:32 pm »
ust upload oc-admin, but not work

Still white page...

and is not from hosting, because another website work, and the same upgrade 2.4.1 to 3.0

Delete all plugins from ftp same problem.
Rename another them in bcute from ftp but no changes

in cookie.php is that code
Code: [Select]
  setcookie($this->name, $cookie_val, $this->expires, '/') ;  error lin 94 on debug.log
in session.php
Code: [Select]
            session_start() ; error line 39
« Last Edit: July 16, 2012, 06:07:48 pm by vyper »

bgd

  • Jr. Member
  • **
  • Posts: 63
Re: Can't reach admin page after manual update from 2.4.1 to 3.0
« Reply #28 on: July 16, 2012, 06:06:50 pm »
Just upload oc-admin, but not work


Try to upload and the rest of filles.

read here more http://doc.osclass.org/Updating_OSClass

don't forget to update also  your theme to 3.X http://doc.osclass.org/Updating_your_themes_to_OSClass_3.x

BuySellAndSwap

  • Sr. Member
  • ****
  • Posts: 389
Re: Can't reach admin page after manual update from 2.4.1 to 3.0
« Reply #29 on: July 16, 2012, 06:08:13 pm »
I think easiest way as I said back up data base etc... And install again as you see www.stuff4sale.gb.net is working with ads and is using 000webhost with the same database as before but everything was deleted...

Will the database upload from a 2.4 version to to version 3 or will I have a problem with this please?