Page 5 of 5

Re: It did now it dont

Posted: Sat Mar 25, 2006 8:43 pm
by ron351
ron351 wrote:
Klemen Stirn wrote:In your previous post you said it works ok:
viewtopic.php?t=624&start=45#2983

What did you do there to make it work?
So far so good.
I have opened and closed sessions maybe 20 times now.

One thing I noticed here is that if I go directly to the url to login as admin all looks ok.
Now
If I use the link in my email notifying me of a new message, when I click the link it goes to admin login and the message session expired appears.

Maybe this is normal, it scared me when i seen that dredded message, but I was able to log in without problems.

I will see after reboot if email links throw something into a loop with the session expired thing.
But I am still smiling.
Ron

Posted: Sun Mar 26, 2006 7:53 pm
by Klemen
If it works now I don't see any reasons why it wouldn't in a month. Usually if you are having problems with wrong password all you need to do is close all browser windows and try again or reboot your PC.

I discovered that the problem of sessions not being passed from one page (login) to another (for example main admin page) is a very often problem in the entire PHP community and I found like 20 different fixes that work for different people. A real pain in the a** :wink:

I got ya

Posted: Sun Mar 26, 2006 9:10 pm
by ron351
Klemen Stirn wrote:If it works now I don't see any reasons why it wouldn't in a month. Usually if you are having problems with wrong password all you need to do is close all browser windows and try again or reboot your PC.

I discovered that the problem of sessions not being passed from one page (login) to another (for example main admin page) is a very often problem in the entire PHP community and I found like 20 different fixes that work for different people. A real pain in the a** :wink:
I am only in to about 2 years with php now, still 70% to learn, and SQL I trial and error with that. Once mastered, there will be no stopping me.
This was the first program I ever did have a password issue with, but that may of been a memory glitch that time, I will never know.

At any rate, I tried today to log in, and good to go.
Thanks for standing by me and all your help in the past.
Like I said before, and I won't forget, in about a month or just a bit longer I will make a donation to a super program.

I hope all my visitors see and visit your site from the link under your program and you gain even more $$ for your work.
Ron

Re: I got ya

Posted: Mon Mar 27, 2006 2:47 pm
by Klemen
Thanks for the kudos.
ron351 wrote:I hope all my visitors see and visit your site from the link under your program and you gain even more $$ for your work.
If I wanted to earn money with this program I wouldn't be giving it away for free would I? But yes, some extra $ doesn't hurt :wink:

Posted: Wed Mar 29, 2006 8:29 pm
by dirko
Klemen Stirn wrote:If you have problem with a script of mine feel free to post it here, as you see I do provide support and try to help anyone who has such problems (even though my scripts are free of charge).

Regards
Hallo Klemen. Here a request from Hungary. We are a starter in the sat-dsl bizz, and we found your Hesk Top of the Bill, no kidding.
Proudly we announced the "boss" in Germany that we managed to open a Trouble Ticketing system for the (coming) clients.
But the program says allways "session expired".
We have read on this board, but we do not understand a lot, that's why we ask you kindly to help us. The url of our selfmade site is www.satdsl.hu
If you are willing to help us, we could give you in PM the data for access to the server.
I hope you can/will help us. we spent so much time trying, we are desparate.
Thanks a lot,
dirko at dirko dot hu
hungary
:(

error if we wnt to view the ticket

Posted: Wed Mar 29, 2006 8:50 pm
by dirko
we get the error like this, when we want to look at the ticket.:

Parse error: parse error, unexpected '}' in /home/admin/domains/satdsl.hu/public_html/hesk/ticket.php on line 236


but in this ticket.php there is no such line..??

dirko
hungary

Posted: Thu Mar 30, 2006 4:36 pm
by Klemen
Hi,

1. have you been editing ticket.php? Try with the original one...

2. What solutions for the session expired error have you tried so far?

Regards

Posted: Fri Apr 07, 2006 1:50 pm
by n3rxs
ok I set up a clean RH server with the version of PHP you mentioned and I am gettign new funky errors.

Parse error: parse error, unexpected '}' in /var/www/html/support/inc/common.inc.php on line 188

Fatal error: Call to undefined function: hesk_session_start() in /var/www/html/support/admin.php on line 38


I am also getting that PHP Fatal error call to undefined function in my error logs for line 70 of admin.php.

If I fix line 70 by using // to comment it out then I get

Fatal error: Call to undefined function: session_regenerate_id() in /var/www/html/hesk/inc/common.inc.php on line 251
if I comment that one out I get the two at the top.

I have tried all your fixes here and no luck.

Posted: Fri Apr 07, 2006 2:25 pm
by n3rxs
ok I tried this circle again with a clean install and now I can log in, thanks.

Posted: Sat Apr 08, 2006 11:31 pm
by dirko
Klemen Stirn wrote:
One thing to try would be changing line 71 in admin.php from

Code: Select all

session_regenerate_id();
to

Code: Select all

// session_regenerate_id();
The session_regenerate_id(); was causing problems before...

See if that works and let me know.

Regards
:arrow: For us it worked, and we will donate too.

All fine now. :D

Thanks a lot
dirko
hungary

:arrow: test to help us please:
www.satdsl.hu/hesk
www.satdsl.hu/heskDE
www.satdsl.hu/heskNL
www.satdsl.hu/heskHU

Posted: Sun Apr 09, 2006 8:49 am
by dirko
Hi again,
uhmm... that's what we experienced last night: all worked fine.
And happely we donated... :D

However, this morning, after starting the PC's, we got the same
error: session expired. :evil:

No way to open tickets as admin or other user with rights.

Really, we have spelled this forum, and tried every possible solution, but without result, however, last night before closing down, it worked.

And it is the perfect piece of software for us. But no way.

:?: Are there any more suggestions, or help, sothat we get this thing going?

Thanks in advance,
dirko
hungary

Posted: Sun Apr 09, 2006 11:42 am
by Klemen
If it worked yesterday I don't see any reasons why it wouldn't today? All I can suggest is to do a CLEAN installation once again, change the session_regenerate_id() line and try again.

Thanks for purchasing the license. Just to make things clear - purchasing one doesn't mean you will get any better support than others. In case you don't get the script working contact me and I will refund your payment.

Regards