Advertisement:

Author Topic: Can't login to my admin panel - Help please  (Read 19253 times)

HBC_News

  • Newbie
  • *
  • Posts: 4
Can't login to my admin panel - Help please
« on: May 17, 2013, 09:25:35 pm »
I seem to have installed OSClass correctly but it won't let me login to my admin panel or register a test account. The database is setup correctly and I know the username and password are correct.

What gives?

Thank you,

     Todd

sirjones

  • Full Member
  • ***
  • Posts: 102
Re: Can't login to my admin panel - Help please
« Reply #1 on: May 18, 2013, 04:18:49 pm »
yes the same case happen to me, any help plz?

Legion

  • Hero Member
  • *****
  • Posts: 622
  • I am founder of top20remedies.com buyeradvise.com
Re: Can't login to my admin panel - Help please
« Reply #2 on: May 23, 2013, 12:29:05 am »
check your config.php and its file permission

sirjones

  • Full Member
  • ***
  • Posts: 102
Re: Can't login to my admin panel - Help please
« Reply #3 on: May 28, 2013, 08:39:11 pm »
thank You Legion

I can loged in if i connected to internet
any idea?

joecarideo

  • Newbie
  • *
  • Posts: 1
Re: Can't login to my admin panel - Help please
« Reply #4 on: June 01, 2013, 02:08:17 am »
I've checked the config.php permission and changed it to 644 from 666. Nothing seems to allow me to log in to the admin dashboard. Can't register new test account either. Any other suggestions?

Anti-NWO

  • Newbie
  • *
  • Posts: 38
Re: Can't login to my admin panel - Help please
« Reply #5 on: June 06, 2013, 07:32:10 am »
HERE'S YOUR SOLUTION, BUT FIRST A FEW COMMENTS:

It doesn't have anything to do with permissions. It's the code. I'm sorry to have to say this, but it's typical for a fresh install of OSClass to not work correctly. Every version I've tried, fails to allow you into the admin panel after installing. Also, the search function appears to be completely broken.

Solution for accessing admin panel:
Replace the code at the top of your config file with the following:
<?php
    session_save_path ( ABS_PATH . 'oc-content/uploads/' );
/**
 * The base MySQL settings of Osclass
 */
define('MULTISITE', 0);

Now: Enter your admin user and pass. You'll probably get a CSFR token error now. Just enter your user and pass again, and you SHOULD get in....

If your version of 3.1.2 is like mine, your search will still be broken, resulting in "page not found" errors every time you perform a search, even when the search word exists...

BETTER SOLUTION:
Use version 3.0.2. It's the most functioning version I've found. But, you'll also have to modify your config.php file to access your admin panel in that version as well.

You'll need to ad the following to line #2 of that config file:
    session_save_path ( ABS_PATH . 'oc-content/uploads/' );

You can see my version of 3.0.2 running here: http://pmclassifieds.com

And if you want to see the search function of 3.1.2 in action,  you can access it here: http://pmclassifieds.com/test

Run the search on both and you'll see what I mean. I don't know what else is wrong with 3.1.2 because I'm already done testing it.

I hope the info helps.

Good luck.

Tom
« Last Edit: June 06, 2013, 07:36:38 am by Anti-NWO »

joelle

  • Newbie
  • *
  • Posts: 4
Re: Can't login to my admin panel - Help please
« Reply #6 on: June 06, 2013, 11:53:11 pm »
Hello,

Ok, this question may sound dumd to you lol, but I am a novice. Where and how do I access that config file? I have just uploaded Osclass.3.1.2 and when I clicked on the "finish and access database" link after running my Install, I just get a black page. No Error message, nothing. Just a boring black page. How do I sort it out please?
Thnx

joelle

  • Newbie
  • *
  • Posts: 4
Re: Can't login to my admin panel - Help please
« Reply #7 on: June 07, 2013, 12:22:46 am »
Lol oki guys,

Found the Config file into my webroot files, duh!!. Lol.

 So I copy/paste the instructions, edited the file and saved this :

<?php
session_save_path ( ABS_PATH . 'oc-content/uploads/' );
/**
 * The base MySQL settings of Osclass
 */
define('MULTISITE', 0);

I checked that database name and username were correct, so did not change that.

But I still cannot access my Admin page. Am I doing something wrong?

Thank you so much!

Joelle

Aficionado

  • Guest
Re: Can't login to my admin panel - Help please
« Reply #8 on: June 07, 2013, 09:40:44 am »
Hello,

Ok, this question may sound dumd to you lol, but I am a novice. Where and how do I access that config file? I have just uploaded Osclass.3.1.2 and when I clicked on the "finish and access database" link after running my Install, I just get a black page. No Error message, nothing. Just a boring black page. How do I sort it out please?
Thnx

Guys why don't you ask for help from your hoster ? All those installation problems are 100% from the hosting plan.


TechGuy23

  • Full Member
  • ***
  • Posts: 229
  • We are STARPCLASS 2016
Re: Can't login to my admin panel - Help please
« Reply #9 on: June 08, 2013, 02:11:40 pm »
if your getting more problems logging into your account and your a MySql savvy you can always go and edit the database admin tables

arun

  • Newbie
  • *
  • Posts: 10
Re: Can't login to my admin panel - Help please
« Reply #10 on: September 25, 2013, 09:53:47 pm »
hi
I am also facing same problem  i changed the config file also but i stil cnt login after filling user name and password it only blank page.. can any one help me out??

ugogo.info

  • Sr. Member
  • ****
  • Posts: 369
  • I just let my mind wander, and it didn’t come back
Re: Can't login to my admin panel - Help please
« Reply #11 on: September 26, 2013, 11:06:23 pm »
Hi Arun

A suggestion, not sure if you tried this - can you set your php settings to debug, maybe you will get an error message then you can figure out what the problem is.

I set mine to debug via my cpanel on host, but if you can't do that you can contact your host to do it. 

Then if you don't know what the error means,come and paste it here for someone to help you.

arun

  • Newbie
  • *
  • Posts: 10
Re: Can't login to my admin panel - Help please
« Reply #12 on: September 28, 2013, 09:14:27 pm »
Notice: Trying to get property of non-object in /home/ourads/public_html/oc-includes/osclass/model/Admin.php on line 107

Warning: Cannot modify header information - headers already sent by (output started at /home/ourads/public_html/oc-includes/osclass/utils.php:1656) in /home/ourads/public_html/oc-includes/osclass/utils.php on line 1658


Hi Im getting these errors after i try to log in admin page

ni3lalge

  • Newbie
  • *
  • Posts: 1
Re: Can't login to my admin panel - Help please
« Reply #13 on: October 29, 2013, 08:36:55 pm »
Anti-NWO : Thanx dude, your idea worked...

arun

  • Newbie
  • *
  • Posts: 10
Re: Can't login to my admin panel - Help please
« Reply #14 on: December 21, 2013, 06:48:24 pm »
No One to help ??