RSS

LuxCal Forum

The place for questions, suggestions and news about the LuxCal Event Calendar

User:   Password:   Remember Me?   
LuxCal Forum / General / Problems / Login Problems
Posted:  20 Dec 2011 19:40
Hello,

I've problems with the login (administrator),
I log in and going back to standard site (public).
I can repeat and repeat again the same result

Not logged in is the result

Cookies is turned on to accept

My System is :

Win7 or 2008k
PHP Version 5.3.8
MySQL is the newest.

Config is


<?php
/*
= LuxCal event calendar configuration file =
The LuxCal event calendar is a LuxSoft product
*/

//LuxCal config file version
define("LCC","2.5.3");

//Database credentials
$hn = "localhost";
$db = "kalender";
$un = "root";
$pw = "******";

$dbPrefix = ""; //prefix for database table names

$calendarTitle = "Localhost Web Calendar"; //Calendar title displayed in the top bar

$calendarUrl = "http://localhost/kalender/"; //Calendar location (URL)

$calendarEmail = "Admin@localhost"; //Sender in email notifications

$timeZone = "Europe/Amsterdam"; //Calendar time zone

$chgEmailList = ""; //Destin. email addresses for calendar changes

$chgNofDays = 1; //Number of days to look back for calendar changes

$adminCronSum = 1; //Send cron job summary to admin (0: no, 1: yes)

$oneStepEdit = 1; //One-step event editing (0: disabled 1: enabled)

$userMenu = 1; //Display user filter menu

$catMenu = 1; //Display category filter menu

$langMenu = 0; //Display ui-language selection menu

$defaultView = 2; //Calendar view at start-up (1: year, 2: month, 3: week 4: day, 5: upcoming, 6: changes)

$language = "Deutsch"; //User interface language

$selfReg = 0; //Self-registration (0: disabled, 1: enabled)

$selfRegPrivs = 1; //Self-reg rights (1: view, 2: post self, 3: post all)

$maxNoLogin = 0; //Number of days not logged in, before deleting user account (0: never delete)

$miniCalPost = 0; //Mini calendar event posting (0: disabled, 1: enabled)

$yearStart = 0; //Start month in year view (1-12 or 0, 0: current month)

$colsToShow = 3; //Number of months to show per row in year view

$rowsToShow = 4; //Number of rows to show in year view

$weeksToShow = 10; //Number of weeks to show in month view

$upcomingDays = 7; //Number of days to look ahead in upcoming view

$startHour = 6; //Day/week view start hour

$dwTimeSlot = 30; //Day/week time slot in minutes

$dwTsHeight = 20; //Day/week time slot height in pixels

$weekNumber = 1; //Week numbers on(1) or off(0)

$showOwner = 1; //Show event owner (0: no, 1: yes)

$showCatName = 1; //Show cat name in various views (0: no, 1: yes)

$showLinkInMV = 1; //Show URL-links in month view (0: no, 1: yes)

$eventColor = 1; //Event colors (0: user color, 1: cat color)

$dateFormat = 1; //Event date format (1: dd-mm-yyyy, 2: mm-dd-yyyy, 3: yyyy-mm-dd)

$dateUSorEU = 1; //Calendar date format (0: Monday, May 16, 2011, 1: Monday 16 May 2011)

$dateSep = "."; //Date separator (. - or /)

$time24 = 1; //Time format (0: 12-hour am/pm, 1: 24-hour)

$weekStart = 1; //Week starts on Sunday(0) or Monday(1)
?>
Posted:  21 Dec 2011 00:02   Last Edited By: Roel B.
Hello Jedi66,
Most probably php sessions are not enabled in the PHP installation of your server.
This means the calendar will not remember that that you logged in as admin and throw you back to public view.

In the pages directory you will find the file phpinfo.php. Try to launch this file as follows: xxx.yoursite.yy/yourcalendar/pages/phpinfo.php.

This will give you all PHP installation settings. Search for sessions and check if they are enabled.
Roel
Posted:  03 Jan 2012 12:15
So is it needed to be re installed ?
__________________
Campervan Rental New Zealand
Posted:  03 Jan 2012 15:56
No there is no need to re-install. Just take care that PHP sessions are enabled/working.