Advertisement:

Author Topic: Can't login after install, OSClass 2.2.3  (Read 2833 times)

pc_guy

  • Newbie
  • *
  • Posts: 1
Can't login after install, OSClass 2.2.3
« on: October 31, 2011, 04:00:27 am »
I need some help getting OSC to work. Install went smoothly, but once installed. I can't login as admin or newly registered user. Everything else appears to be working, pages load, registration works.
Not sure if it's permission related. I type the user name and pass., the login page just refreshes. I checked the SHA1 hash and the password that I'm typing is correct.
Permissions on dir/files???

Any help would be appreciated.

_CONEJO

  • Administrator
  • Hero Member
  • *****
  • Posts: 4689
Re: Can't login after install, OSClass 2.2.3
« Reply #1 on: November 09, 2011, 06:22:49 pm »
Hi pc_guy,

No it should not have anything to do with dir/files permissions, do you have htaccess enabled?

Juan Ramón

  • Osclass Developer
  • Hero Member
  • *****
  • Posts: 2382
Re: Can't login after install, OSClass 2.2.3
« Reply #2 on: November 16, 2011, 04:19:29 am »
Perhaps it's related to sessions issues... Sometimes the folder where the sessions are saved is not writable. In that case, everything related to sessions such as login won't work.

Can you try to put this code in the config.php file?

session_save_path ( ABS_PATH . 'oc-content/uploads/' ) ;

via topic,270

ncoutin

  • Newbie
  • *
  • Posts: 2
  • beginner
Re: Can't login after install, OSClass 2.2.3
« Reply #3 on: September 02, 2012, 05:28:24 pm »
Hello

I have resolved my problem by applying solution gived in the following line topic.

http://forums.osclass.org/general-help/can-not-log-into-admin/msg2910/#msg2910

It works well. 

Thanks

nico

serdartekin

  • Newbie
  • *
  • Posts: 1
Re: Can't login after install, OSClass 3.0.1
« Reply #4 on: September 13, 2012, 06:00:28 pm »
Hello if i want to login to Admin Account i becomme this:


Warning: file_put_contents() [function.file-put-contents]: SAFE MODE Restriction in effect. The script whose uid is 10006 is not allowed to access /var/www/vhosts/....eu/httpdocs/oc-content/uploads/HTML owned by uid 33 in /var/www/vhosts/....eu/httpdocs/oc-includes/htmlpurifier/HTMLPurifier/DefinitionCache/Serializer.php on line 104

Warning: file_put_contents(/var/www/vhosts/....eu/httpdocs/oc-content/uploads/HTML/4.3.0,6f02bc1b49726938501a0944fe83870e,1.ser) [function.file-put-contents]: failed to open stream: No such file or directory in /var/www/vhosts/....eu/httpdocs/oc-includes/htmlpurifier/HTMLPurifier/DefinitionCache/Serializer.php on line 104

Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/....eu/httpdocs/oc-includes/htmlpurifier/HTMLPurifier/DefinitionCache/Serializer.php:104) in /var/www/vhosts/....eu/httpdocs/oc-includes/osclass/core/BaseModel.php on line 72

can anyone help me?


I HAVE FIX THE PROBLEM   THE phpsafemod of my Server was "on" I hav disable it and now all is working!
thanks tekin
« Last Edit: September 13, 2012, 07:04:27 pm by serdartekin »