Jump to content

You must be logged in to access this feature !


hjhjhgjgjh

Recommended Posts

Okay i just tried the beta version and everything was fine until a point when suddenly this came up

"You must be logged in to access this feature !"

and i cannot login anymore. I changed some files but only in the design, not in the code so something is wrong. My first step to debug that was to search in all files for the msg

"You must be logged in to access this feature !" and i found about 10 files. After that, I put a number after every of those messages to identify on which position he shits himself. I found out that it was Profile.php

class Profile extends CodonModule
{

public function index()
{
	if(!Auth::LoggedIn())
	{
		$this->set('message', 'You must be logged in to access this feature! 3');
		$this->render('core_error.tpl');
		return;
	}

(As you can see there, I added the number 3 on my debug list). So now i thought that it might be, because i imported the database from my old phpVMS version and maybe the password coding is different so i reimported the table phpvms_pilots from another instance of phpvms beta but still i couldnt log in. I also created a new user and confirmed him via phpmyadmin but same problem. Whats wrong here?  :(

Wbr

Tebin

Link to comment
Share on other sites

  • 6 years later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...