Invalid Request
Moderator: mkoch227
-
- Posts: 6
- Joined: Thu Feb 28, 2013 5:47 pm
Invalid Request
Hello,
I'm getting invalid request when trying to change a ticket status, department, etc. I'm using the latest version of HESK.
Error:
Invalid request.
Thank you.
I'm getting invalid request when trying to change a ticket status, department, etc. I'm using the latest version of HESK.
Error:
Invalid request.
Thank you.
Re: Invalid Request
Have you modified any of the source code?
Do you have session_autostart enabled or any PHP caching?
Do you have session_autostart enabled or any PHP caching?
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
You should follow me on Twitter here
Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools


Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools
-
- Posts: 6
- Joined: Thu Feb 28, 2013 5:47 pm
Re: Invalid Request
Hello,Klemen wrote:Have you modified any of the source code?
Do you have session_autostart enabled or any PHP caching?
No for both of those.
Regards,
IsMyWebsite Admin
Re: Invalid Request
In that case you will need to provide some further information about your setup that might give us some clues:
Script URL:
Version of script:
Hosting company:
URL of phpinfo.php:
URL of session_test.php:
You will find the phpinfo and session_test files here:
viewtopic.php?f=13&t=138
Script URL:
Version of script:
Hosting company:
URL of phpinfo.php:
URL of session_test.php:
You will find the phpinfo and session_test files here:
viewtopic.php?f=13&t=138
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
You should follow me on Twitter here
Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools


Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools
-
- Posts: 6
- Joined: Thu Feb 28, 2013 5:47 pm
Re: Invalid Request
Script URL: https://portal.ismywebsite.com/helpdeskKlemen wrote:In that case you will need to provide some further information about your setup that might give us some clues:
Script URL:
Version of script:
Hosting company:
URL of phpinfo.php:
URL of session_test.php:
You will find the phpinfo and session_test files here:
viewtopic.php?f=13&t=138
Version: 2.4.2
Hosting company: It's a dedicated server that I manage hosted with a company in the UK
URL of phpinfo.php: http://ismywebsite.com/test/phpinfo.php
URL of session_test.php: http://ismywebsite.com/test/session_test.php
Thanks
Re: Invalid Request
After testing your help desk it appears that PHP sessions aren't working on the server.
Could you upload file "session_test2.php" to the server so we can confirm that (should be in the same archive as "session_test.php")?
Could you upload file "session_test2.php" to the server so we can confirm that (should be in the same archive as "session_test.php")?
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
You should follow me on Twitter here
Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools


Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools
-
- Posts: 6
- Joined: Thu Feb 28, 2013 5:47 pm
Re: Invalid Request
Done,Klemen wrote:After testing your help desk it appears that PHP sessions aren't working on the server.
Could you upload file "session_test2.php" to the server so we can confirm that (should be in the same archive as "session_test.php")?
http://ismywebsite.com/test/session_test2.php
Re: Invalid Request
OK, sessions ARE working. This means something is preventing HESK from setting them correctly.
Are you 100% sure you didn't modify any files? Perhaps you just opened and saved some without making changes?
Try this:
1. backup existing files
2. download file hesk_settings.inc.php from the server
3. change to
4. save and upload to the server
5. test HESK and see if you get any new error messages when trying to perform actions
Are you 100% sure you didn't modify any files? Perhaps you just opened and saved some without making changes?
Try this:
1. backup existing files
2. download file hesk_settings.inc.php from the server
3. change
Code: Select all
$hesk_settings['debug_mode']=0;
Code: Select all
$hesk_settings['debug_mode']=1;
5. test HESK and see if you get any new error messages when trying to perform actions
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
You should follow me on Twitter here
Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools


Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools
-
- Posts: 6
- Joined: Thu Feb 28, 2013 5:47 pm
Re: Invalid Request
Still the same, invalid request. Nothing else.
Re: Invalid Request
Something is definitely breaking sessions, but not sure what.
I would recommend doing this:
1. download HESK again
2. upload *all* original files to the server again, *except* for hesk_settings.inc.php
3. close all browser windows, test and see if that helps
I would recommend doing this:
1. download HESK again
2. upload *all* original files to the server again, *except* for hesk_settings.inc.php
3. close all browser windows, test and see if that helps
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
You should follow me on Twitter here
Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools


Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools