View Full Version : can't get past 'License Setup'
jamalM
11-19-2007, 10:06 AM
Order Number:
Automatically attempt to obtain a license key
Trial Mode:
Automatically attempt to obtain a license key
Look up an Order Number (http://www.phpcal.com/clients/lookup.php)
I cant get past this screen. I am entering the correct information. When I hit one of the buttons it sends back to the login screen. When I log in again it brings me back to this screen. I enter the information again and it kicks me back out to the log in screen and repeats the process. Help would be appreciated. Thanks!!
I am putting my order number in and hitting 'Save' that brings me out to the login screen. I have tried checking and unchecking the boxes and I have tried running in trial mode. I have tried every combination and it always brings me out to the login screen. I cant get past this page.
Brian
11-19-2007, 10:08 AM
Login Loop FAQ:
https://www.easyphpcalendar.com/support/index.php?_m=knowledgebase&_a=viewarticle&kbarticleid=52
jamalM
11-19-2007, 11:20 AM
Thanks for the reply. This is what my php info file says
session
Session Support enabled
Registered save handlers files user
Registered serializer handlers php php_binary wddx
http://172.16.17.80/info.php
Still not working
Thanks
jamalM
11-19-2007, 11:35 AM
Also I went to the sessionspath.php file and this is whats in it
<?php
//session_save_path(""); // FULL SERVER PATH TO SESSION STORAGE DIRECTORY
?>
In the php.ini file it appears to be commented out on the storage path which is also dynamic. My question is it seems like I am to manipulate the ini file in this area and and add the path to the sessionpath.php in the setup directory. If so HOW specifically? This is what is says in the ini file. There are 3 different reference to the storage which to use?
[Session]
; Handler used to store/retrieve data.
session.save_handler = files
; Argument passed to save_handler. In the case of files, this is the path
; where data files are stored. Note: Windows users have to change this
; variable in order to use PHP's session functions.
;
; As of PHP 4.0.1, you can define the path as:
;
; session.save_path = "N;/path"
;
; where N is an integer. Instead of storing all the session files in
; /path, what this will do is use subdirectories N-levels deep, and
; store the session data in those directories. This is useful if you
; or your OS have problems with lots of files in one directory, and is
; a more efficient layout for servers that handle lots of sessions.
;
; NOTE 1: PHP will not create this directory structure automatically.
; You can use the script in the ext/session dir for that purpose.
; NOTE 2: See the section on garbage collection below if you choose to
; use subdirectories for session storage
;
; The file storage module creates files using mode 600 by default.
; You can change that by using
;
; session.save_path = "N;MODE;/path"
;
; where MODE is the octal representation of the mode. Note that this
; does not overwrite the process's umask.
;session.save_path = "/tmp"
As a matter fact there are several mentions of paths and sessions in the ini file which to use?
Thanks
ve9gra
11-19-2007, 01:13 PM
Are you the owner of the server, or is this hosted somewhere?
Normally, you'd want the save_path to be somewhere in the userspace, but not available on the web... So if we take for example a user's account located at /home/somesite.com/ and their web folder is /home/somesite.com/htdocs then you'd want to have the folder at /home/somesite.com/tmp (or whatever you want to name it). Proper permission levels will have to be assigned on that folder so that the web service (most likely Apache) can write to it, but you don't want to make it available to everybody...
Permissions could be set to somesite:apache 770 <- note these aren't real accounts... change to match your setup.
jamalM
11-19-2007, 01:41 PM
Are you the owner of the server, or is this hosted somewhere?
Normally, you'd want the save_path to be somewhere in the userspace, but not available on the web... So if we take for example a user's account located at /home/somesite.com/ and their web folder is /home/somesite.com/htdocs then you'd want to have the folder at /home/somesite.com/tmp (or whatever you want to name it). Proper permission levels will have to be assigned on that folder so that the web service (most likely Apache) can write to it, but you don't want to make it available to everybody...
Permissions could be set to somesite:apache 770 <- note these aren't real accounts... change to match your setup.
Yes i have access to the server. It is an IIS6 server I am using a sub directory of my domain called calendar.
Ok I am trying to follow your example. Lets discuss the sessionspath.php file first The /tmp as you mentioned would look like what specifically in this file?
session_save_path("");
Next do I need to modify my php.ini file. If so specifically what entry and what would it look like in correspondence to the sessionpath.php file
After that is solved I can then add the proper permissions to the folder. Do you know what user I am to use since you said not to use the Everyone user?
Thanks
ve9gra
11-19-2007, 05:20 PM
Well you have a choice here. Modifying the php.ini will "fix" it for all websites hosted by your IIS (change the session.save_path option). If you set it in the sessionpath.php, sessions will only work for the calendar.
You can make a folder just about anywhere and just reference that folder in either php.ini or sessionspath.php. Now, being on a Windows server, you can't use Unix nomenclature for your folders. You'll have to use the full path but by using forwardslashes instead of backslashes or double backslashes... "C:/PHP/sessions" or "C:\\PHP\\sessions"
Permissions: it's either the IUSR or the IWAM account that you need to give full access to... I can never remember which does what. Also, make sure to remove the Everyone account from that folder.
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.