Advertisement:

Author Topic: After installation no access to -->/oc-admin/index.php  (Read 9714 times)

McPikul

  • Newbie
  • *
  • Posts: 14
After installation no access to -->/oc-admin/index.php
« on: January 31, 2013, 02:10:25 am »
Hi everyone
I'm new hire, today first time I install osclass and I have problem.
After clear installation and going through all steps and finish installation I can't login as Admin. On end installation page is admin password and button to login to admin panel, when I press this
transfer me to mywebsite/oc-admin/index.php with error 500.

I don't have any idea where is problem, is somebody hire who have idea what is going wrong?
I try find any information but nothing is same like my problem.

Thanks

trains58554

  • Osclass contributor
  • Hero Member
  • *****
  • Posts: 3642
  • osCanyon, the class of Osclass
Re: After installation no access to -->/oc-admin/index.php
« Reply #1 on: January 31, 2013, 03:28:29 am »
Hi McPikul,

Try checking your error log and check your folder permissions on the oc-admin folder make sure it is set to 755.

Jay

McPikul

  • Newbie
  • *
  • Posts: 14
Re: After installation no access to -->/oc-admin/index.php
« Reply #2 on: January 31, 2013, 03:54:55 am »
Hi sorry for put my topic in wrong place, permissions id set up on 755 and in error log I find this:
Quote
"[Thu Jan 31 00:22:26 2013] [error] [client 78.150.15.180] Premature end of script headers: index.php"

trains58554

  • Osclass contributor
  • Hero Member
  • *****
  • Posts: 3642
  • osCanyon, the class of Osclass
Re: After installation no access to -->/oc-admin/index.php
« Reply #3 on: January 31, 2013, 07:08:00 am »
hmm I am am not sure why it is giving you that error. Maybe someone else has experienced this error and will post here.

Jay

chintor

  • Jr. Member
  • **
  • Posts: 95
Re: After installation no access to -->/oc-admin/index.php
« Reply #4 on: January 31, 2013, 08:27:37 am »
This topic maybe help to find this kind of file permission problem

http://forums.osclass.org/installation-update-help/got-error-when-installing-this-script/

Thanks
Pragash

McPikul

  • Newbie
  • *
  • Posts: 14
Re: After installation no access to -->/oc-admin/index.php
« Reply #5 on: January 31, 2013, 02:42:06 pm »
I get now information from server support that server work fine and problem is on script side.

Maybe I try install older version, where I can find older version?
Thanks

P.S Yep I install 2.4.1 and work fine for me, then is some bug in 3.0.2 and that i reason why I cam't login in to admin panel.

ADD------->> hire is problem, I upgrade manual from 2.4.1 to 3.0.2 and update running ok I have access to admin panel but when I press " Dashboard" button I get this blank error 500.
Now I need stay online all time and I can move for admin menu but I can't touch Dashboard button because after I get blank page with 500 error. Any idea?  :(
« Last Edit: January 31, 2013, 08:38:46 pm by McPikul »

trains58554

  • Osclass contributor
  • Hero Member
  • *****
  • Posts: 3642
  • osCanyon, the class of Osclass
Re: After installation no access to -->/oc-admin/index.php
« Reply #6 on: February 01, 2013, 02:53:48 am »
try enabling the osclass debug function

http://doc.osclass.org/Debug_PHP_errors

Jay

McPikul

  • Newbie
  • *
  • Posts: 14
Re: After installation no access to -->/oc-admin/index.php
« Reply #7 on: February 01, 2013, 04:44:44 am »
Sorry for stupid question but I need copy all 3  or one from this three with show on website from your link?
Thanks

trains58554

  • Osclass contributor
  • Hero Member
  • *****
  • Posts: 3642
  • osCanyon, the class of Osclass
Re: After installation no access to -->/oc-admin/index.php
« Reply #8 on: February 01, 2013, 07:49:21 am »
Just add this line to your config.php file

define('OSC_DEBUG', true) ;

Jay

McPikul

  • Newbie
  • *
  • Posts: 14
Re: After installation no access to -->/oc-admin/index.php
« Reply #9 on: February 01, 2013, 03:08:43 pm »
After that I get more error when I going to admin dashboard. still not help me :(

Quote
/public_html/oc-includes/osclass/feeds.php on line 37
/public_html/oc-includes/osclass/feeds.php on line 39
Everything else work fine only button " dashboard " not :(
« Last Edit: February 01, 2013, 03:28:46 pm by McPikul »

trains58554

  • Osclass contributor
  • Hero Member
  • *****
  • Posts: 3642
  • osCanyon, the class of Osclass
Re: After installation no access to -->/oc-admin/index.php
« Reply #10 on: February 01, 2013, 06:42:29 pm »
Hi

Ok that is the info I needed. To fix this open up the oc-includes/osclass/feeds.php file. On line 35 change the url to this http://blog.osclass.org/feed/ save and upload the file back to your server and then your dashboard page should work again.

Jay

McPikul

  • Newbie
  • *
  • Posts: 14
Re: After installation no access to -->/oc-admin/index.php
« Reply #11 on: February 01, 2013, 07:05:28 pm »
OK thanks, this error was longer, hire is all:
Quote
[01-Feb-2013 13:25:56] PHP Warning: simplexml_load_string() [function.simplexml-load-string]: Entity: line 6: parser error : Opening and ending tag mismatch: hr line 5 and body in public_html/oc-includes/osclass/feeds.php on line 37
 
[01-Feb-2013 13:25:56] PHP Warning: simplexml_load_string() [function.simplexml-load-string]: </body> in public_html/oc-includes/osclass/feeds.php on line 37 

[01-Feb-2013 13:25:56] PHP Warning: simplexml_load_string() [function.simplexml-load-string]: ^ in /public_html/oc-includes/osclass/feeds.php on line 37

[01-Feb-2013 13:25:56] PHP Warning: simplexml_load_string() [function.simplexml-load-string]: Entity: line 7: parser error : Opening and ending tag mismatch: body line 3 and html in /public_html/oc-includes/osclass/feeds.php on line 37

[01-Feb-2013 13:25:56] PHP Warning: simplexml_load_string() [function.simplexml-load-string]: /public_html/oc-includes/osclass/feeds.php on line 37

[01-Feb-2013 13:25:56] PHP Warning: simplexml_load_string() [function.simplexml-load-string]: ^ in /public_html/oc-includes/osclass/feeds.php on line 37

[01-Feb-2013 13:25:56] PHP Warning: simplexml_load_string() [function.simplexml-load-string]: Entity: line 8: parser error : Premature end of data in tag html line 1 in /public_html/oc-includes/osclass/feeds.php on line 37

[01-Feb-2013 13:25:56] PHP Warning: simplexml_load_string() [function.simplexml-load-string]: in public_html/oc-includes/osclass/feeds.php on line 37

[01-Feb-2013 13:25:56] PHP Warning: simplexml_load_string() [function.simplexml-load-string]: ^ in /public_html/oc-includes/osclass/feeds.php on line 37

[01-Feb-2013 13:25:56] PHP Notice: Trying to get property of non-object in /public_html/oc-includes/osclass/feeds.php on line 39
 
[01-Feb-2013 13:25:56] PHP Notice: Trying to get property of non-object in /public_html/oc-includes/osclass/feeds.php on line 39

[01-Feb-2013 13:25:56] PHP Warning: Invalid argument supplied for foreach() in /public_html/oc-includes/osclass/feeds.php on line 39

This is something change? Still I need only change this link?
Thanks very much for Your help.:)
« Last Edit: February 01, 2013, 07:07:54 pm by McPikul »

trains58554

  • Osclass contributor
  • Hero Member
  • *****
  • Posts: 3642
  • osCanyon, the class of Osclass
Re: After installation no access to -->/oc-admin/index.php
« Reply #12 on: February 01, 2013, 07:19:59 pm »
yep all those errors all relate to that url change I gave you. Once you make that change you may have to remove the admin-blog_news.cache file located at oc-content/uploads/admin-blog_news.cache

Then all your error should go away as it will be able to read the blog.

Jay

McPikul

  • Newbie
  • *
  • Posts: 14
Re: After installation no access to -->/oc-admin/index.php
« Reply #13 on: February 01, 2013, 07:29:30 pm »
this is not help now I get next error
Quote
01-Feb-2013 17:22:46] PHP Fatal error:  Call to undefined function  strtotim() in /public_html/oc-content/plugins/advanced_ad_management/index.php on line 327
and still don't have access "dashboard

I set that
Quote
/**
 * 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) ;

then if you want I can send you all this error log.
Thanks
« Last Edit: February 01, 2013, 07:31:37 pm by McPikul »

trains58554

  • Osclass contributor
  • Hero Member
  • *****
  • Posts: 3642
  • osCanyon, the class of Osclass
Re: After installation no access to -->/oc-admin/index.php
« Reply #14 on: February 01, 2013, 07:32:39 pm »
ok to fix that error you have to open up the index.php file in the advanced_ad_management plugin and go to line 327 there you will see strtotim change it to strtotime

Jay