Page 2 of 5
Posted: Sat Jan 21, 2006 3:53 pm
by convert
Posted: Sun Jan 22, 2006 10:20 am
by Klemen
It's much easier when I have your URL and can try things out myself. Ok, let's try a few things:
1. In hesk_settings.inc.php set these two variables to:
Code: Select all
$hesk_settings['hesk_url']="https://www.cktechnology.com/cgi-bin/helpdesk";
$hesk_settings['debug_mode']="1";
(make sure the hesk_url varible starts with https://)
also add this code somewhere in the settings file:
Code: Select all
ini_set("session.use_trans_sid", true);
Then let me know so I can test it.
2. You should try installing Hesk OUTSIDE your "cgi-bin" folder, for example to:
http://www.cktechnology.com/helpdesk
3. Post the URL where you uploaded
http://www.phpjunkyard.com/extras/phpinfo.zip
and
http://www.phpjunkyard.com/extras/session_test.zip
About the license - appreciated, but you should get the script WORKING before buying one!
Regards
Posted: Sun Jan 22, 2006 4:18 pm
by convert
Thanks for trying to help me out, i really appreciate it. About the license, i'm sure i'll get it working ONE DAY, and even if i don't, your script is really cool, so you deserve the $11.60 USD.
Anyhow, i have implemented the code changes, but it's stuff that i've done all before. You can view the url now.
This is where my test settings are:
www.cktechnology.com/cgi-bin/tests/phpinfo.php
www.cktechnology.com/cgi-bin/tests/session_test.php
Posted: Sun Jan 22, 2006 4:19 pm
by convert
Klemin, the password for one of the users, mike.s is password. I don't know, maybe it will help you on the admin.php page.
Posted: Sun Jan 22, 2006 10:18 pm
by Klemen
Ok, upload this file over the original one and let me know, might give us some clues:
http://www.phpjunkyard.com/extras/admin_main_test.zip
Posted: Mon Jan 23, 2006 6:07 pm
by convert
Ok, All done... hope it helps

Posted: Mon Jan 23, 2006 10:22 pm
by Klemen
Posted: Mon Jan 23, 2006 10:29 pm
by convert
Ok, all uploaded...
Posted: Mon Jan 23, 2006 10:32 pm
by convert
Oh boy, this is annoying.. your test says everything is OK... what could this problem be?? Listen, i can give you anything you need if it will help you help me... i can even give you access to my server if you need.
Posted: Mon Jan 23, 2006 11:01 pm
by Klemen
Actually the test showed not everything is ok (duh!) because the $_SESSION array is empty!
convert wrote:Listen, i can give you anything you need if it will help you help me...
How about you buy me something from
my wish list
Just kidding, I prepared two more tests, let's see if you can login to Hesk with any of these two? Please download and upload:
1. Download and upload:
http://www.phpjunkyard.com/extras/php5_test_1.zip
Then see if you can login successfully (other admin pages might not work yet, just say if you can login).
If it works OR if it DOESN'T please try the second test anyway, download and upload:
http://www.phpjunkyard.com/extras/php5_test_2.zip
then REBOOT your computer and try login in again (again we are just after a successful login, not other admin pages).
Let me know if any (or both?) works for you.
I will keep my fingers crossed
Regards,
Posted: Mon Jan 23, 2006 11:20 pm
by convert
Ok Sir, the first one did not work.. got the same "session expired" error.
The second one is weird... i don't think it worked, but i got a bunch of errors. Please try it out yourself:
www.cktechnology.com/cgi-bin/helpdesk/admin.php
Thanks again!
Posted: Mon Jan 23, 2006 11:25 pm
by Klemen
Ok, delete
Code: Select all
ini_set("session.use_trans_sid", true);
from the settings file and try again with the 2nd test.
I am researching this problem at the moment and I see a lot of people are having problems with passing sessions in PHP5 ... if that doesn't work I have another thing to try, let me know how it goes.
Posted: Tue Jan 24, 2006 12:08 am
by convert
Nope, same error...
Posted: Tue Jan 24, 2006 1:33 am
by Klemen
Hm, ok. What to try next? I see your PHP is compiled with "CGI/FastCGI" as "Server API". I read on a forum that the solution was to use the ISAPI module instead of the cgi exe. So, if you still have the will, try uninstalling PHP and installing it with ISAPI instead of FastCGI. You will find instructions how to install with ISAPI here:
http://www.peterguy.com/php/install_IIS6.html
(the 3rd chapter)
If you decide to give it a go let me know how it goes...
Posted: Tue Jan 24, 2006 3:06 am
by convert
Ok, i really, really want this to work, but before i uninstall and reinstall, i wonder if there is anything you can suggest?? The weird thing.. the really weird thing... it worked the first time i logged in AFTER setting the session id to 1. This was a while ago, when i first installed it. What the heck is going on witht the sessions?? I see them in the session directory, so they must be passing.