hjhjhgjgjh Posted December 1, 2009 Report Posted December 1, 2009 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 Quote
hjhjhgjgjh Posted December 1, 2009 Author Report Posted December 1, 2009 Oh damn, one minute later, i could fix it. Here was my problem: while importing my old database, it somehow dropped the table phpvms_sessions so i recreated it and now everything works. Just a question. Is it possible to make a "Always stay logged in" Button? Quote
Moderators joeri Posted December 1, 2009 Moderators Report Posted December 1, 2009 hello sir in the beta the " always stay logged in" button in available look at the default skins. gr joeri Quote
hjhjhgjgjh Posted December 1, 2009 Author Report Posted December 1, 2009 ah jea got it already awesome.. this script becomes better and better Quote
Administrators Nabeel Posted December 1, 2009 Administrators Report Posted December 1, 2009 Check the changelog, the changed templates are listed in there Quote
Administrators Nabeel Posted December 1, 2009 Administrators Report Posted December 1, 2009 Also, seems like you're upgrading your customizations. Can you let me know what you had difficulty with, so I can just make a note of it for release notes, etc? Thanks buddy Quote
hjhjhgjgjh Posted December 1, 2009 Author Report Posted December 1, 2009 hi nabeel, yea i am converting everything to the new versions. from now on, it looks great and almost everything works. normally i just have to change some links (because format looks different) when i am done, i will write all changes i made to get old systems running. Quote
Administrators Nabeel Posted December 1, 2009 Administrators Report Posted December 1, 2009 Yes the links format changed (well, the format didn't but it's easier now to just call url('/path'); instead of the entire SITE_ROOT etc Quote
nicolaananda Posted August 18, 2016 Report Posted August 18, 2016 Problem FIXED on www.jezvirtual.com Just open databse, and run this command REPAIR TABLE `phpvms_sessions`; Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.