Cannot attach files within hesk 2.0
Moderator: mkoch227
Cannot attach files within hesk 2.0
Script URL:www.iveycommunications.com/hesk20
Version of script:2.0
Hosting company:hostgator
URL of phpinfo.php:cannot find this
URL of session_test.php:cannot find this
What terms did you try when SEARCHING for a solution:
attach, attachment, attahcments,
Write your message below:
I have read and I am confused as to how I find the session_test file or the phpinfo file.
Everything works but I cannot attach a file for submission and I think it is a file naming issue but I do not know how to repair.
Below is the error I get
Warning: move_uploaded_file(/home/username/public_html/hesk20/attachments/HEZPYWR1ZD_8356fefa825d888c931fb9aadaa6acfd.rtf) [function.move-uploaded-file]: failed to open stream: No such file or directory in /home/civey/public_html/hesk20/inc/attachments.inc.php on line 70
Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/tmp/phpVpddUn' to '/home/username/public_html/hesk20/attachments/HEZPYWR1ZD_8356fefa825d888c931fb9aadaa6acfd.rtf' in /home/civey/public_html/hesk20/inc/attachments.inc.php on line 70
Version of script:2.0
Hosting company:hostgator
URL of phpinfo.php:cannot find this
URL of session_test.php:cannot find this
What terms did you try when SEARCHING for a solution:
attach, attachment, attahcments,
Write your message below:
I have read and I am confused as to how I find the session_test file or the phpinfo file.
Everything works but I cannot attach a file for submission and I think it is a file naming issue but I do not know how to repair.
Below is the error I get
Warning: move_uploaded_file(/home/username/public_html/hesk20/attachments/HEZPYWR1ZD_8356fefa825d888c931fb9aadaa6acfd.rtf) [function.move-uploaded-file]: failed to open stream: No such file or directory in /home/civey/public_html/hesk20/inc/attachments.inc.php on line 70
Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/tmp/phpVpddUn' to '/home/username/public_html/hesk20/attachments/HEZPYWR1ZD_8356fefa825d888c931fb9aadaa6acfd.rtf' in /home/civey/public_html/hesk20/inc/attachments.inc.php on line 70
Thanks Chris
In the settings you need to change the server path from /home/username/public_html to your actual server path. You must either get this from your host or upload the phpinfo file to your server (you will find it in the READ THIS BEFORE POSTING topic) and it should be listed under "PHP Variables", variable _SERVER["DOCUMENT_ROOT"]
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
Thanks for the reply
I just had to have someone lead this horse to the water.
For anyone else that maybe having this problem on the settings page under the admin login. I had to put my username in the path instead of it saying "username".
/home/username/public_html/hesk20
/home/xxxxxx/public_html/hesk20
Thanks for all the help.
and the fast response.
For anyone else that maybe having this problem on the settings page under the admin login. I had to put my username in the path instead of it saying "username".
/home/username/public_html/hesk20
/home/xxxxxx/public_html/hesk20
Thanks for all the help.
and the fast response.
Thanks Chris
-
- Posts: 9
- Joined: Mon Apr 13, 2009 6:36 am
Re: Cannot attach files within hesk 2.0
I meet the same questions ,now I have solved this problem.civey wrote:Script URL:www.iveycommunications.com/hesk20
Version of script:2.0
Hosting company:hostgator
URL of phpinfo.php:cannot find this
URL of session_test.php:cannot find this
What terms did you try when SEARCHING for a solution:
attach, attachment, attahcments,
Write your message below:
I have read and I am confused as to how I find the session_test file or the phpinfo file.
Everything works but I cannot attach a file for submission and I think it is a file naming issue but I do not know how to repair.
Below is the error I get
Warning: move_uploaded_file(/home/username/public_html/hesk20/attachments/HEZPYWR1ZD_8356fefa825d888c931fb9aadaa6acfd.rtf) [function.move-uploaded-file]: failed to open stream: No such file or directory in /home/civey/public_html/hesk20/inc/attachments.inc.php on line 70
Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/tmp/phpVpddUn' to '/home/username/public_html/hesk20/attachments/HEZPYWR1ZD_8356fefa825d888c931fb9aadaa6acfd.rtf' in /home/civey/public_html/hesk20/inc/attachments.inc.php on line 70
the real reason lead this question is the error path for system/root path.
you log the HESK with administrator -----setting---system/root path:---
the default setting is /home/username/public_html/hesk20
change this option:
for example :
The path of my website (www-root) is D:\www
the hesk folder is in D:\www\hesk20\
so thesystem/root path can be changed D:/www/hesk20
at last you must save changes.
then you can add attached file.
-
- Posts: 46
- Joined: Sun May 10, 2009 3:44 pm
Still lost on Attachment Problems
I am sorry but I am still lost on resolving attachment problems.
Hesk is fantastic. However, mostly the root path remains to confuse lay persons like myself.
The language used is confusing to lay persons.
I cannot find the phpinfo file. Can somebody please provide me with the link to this file?
The two solutions offered I tried but without sucess.
And what is the position with safemode. Can we perhaps get a more detailed explanation.
Guy please help this old school fool. It will be much appreciated.
Thanks all.
Hesk is fantastic. However, mostly the root path remains to confuse lay persons like myself.
The language used is confusing to lay persons.
I cannot find the phpinfo file. Can somebody please provide me with the link to this file?
The two solutions offered I tried but without sucess.
And what is the position with safemode. Can we perhaps get a more detailed explanation.
Guy please help this old school fool. It will be much appreciated.
Thanks all.
The phpinfo file can be found in the "READ THIS BEFORE POSTING" topic:
viewtopic.php?t=138
Upload it to the server (to the same folder where Hesk is), open in browser and the correct path you should use is shown under PHP Variables in the _SERVER["DOCUMENT_ROOT"] column.
viewtopic.php?t=138
Upload it to the server (to the same folder where Hesk is), open in browser and the correct path you should use is shown under PHP Variables in the _SERVER["DOCUMENT_ROOT"] column.
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: 46
- Joined: Sun May 10, 2009 3:44 pm
Resolving attachment root problems
Ok, I did the following:
1. I located the phpinfo.php file in the "READ THIS BEFORE POSTING" topic:
viewtopic.php?t=138
2. I downloaded this file to my computer desktop and uploaded it into the Hesk Helpdesk program on my web server.
3. I then ran the phpinfo.php from my web browser.
4. I then saved the content to my desktop for future reference.
5. I then deleted the phpinfo file from my web server so as not to compromise security.
6. The required root path for the Hesk software settings is displayed under the heading “PHP Variables” with the sub heading “_SERVER["DOCUMENT_ROOT"
7. I cut and pasted this into the Hesk program’s settings under “System / root path” and then selected “save changes”.
8. I logged out en re-entered and checked that the settings is correct. [It is correctly saved]
Regrettably, when I tested the program the attachments did not upload.
I then checked the phpinfo settings and noticed under the heading “PHP Core” with sub heading “Save Mode” that it states: “on”.
Is this perhaps where the problem is. If so what exactly should this lay person do to resolve the problem? And perhaps all other lay persons?
Thanking you kindly.
1. I located the phpinfo.php file in the "READ THIS BEFORE POSTING" topic:
viewtopic.php?t=138
2. I downloaded this file to my computer desktop and uploaded it into the Hesk Helpdesk program on my web server.
3. I then ran the phpinfo.php from my web browser.
4. I then saved the content to my desktop for future reference.
5. I then deleted the phpinfo file from my web server so as not to compromise security.
6. The required root path for the Hesk software settings is displayed under the heading “PHP Variables” with the sub heading “_SERVER["DOCUMENT_ROOT"
7. I cut and pasted this into the Hesk program’s settings under “System / root path” and then selected “save changes”.
8. I logged out en re-entered and checked that the settings is correct. [It is correctly saved]
Regrettably, when I tested the program the attachments did not upload.
I then checked the phpinfo settings and noticed under the heading “PHP Core” with sub heading “Save Mode” that it states: “on”.
Is this perhaps where the problem is. If so what exactly should this lay person do to resolve the problem? And perhaps all other lay persons?
Thanking you kindly.
Do you mind sharing your phpinfo file here?
Also enable Debug mode in Hesk settings and see if you get any new error messages.
Also enable Debug mode in Hesk settings and see if you get any new error messages.
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: 46
- Joined: Sun May 10, 2009 3:44 pm
Resolving Attachment Problems
I would prefer not to post my phpinfo information here. However, my email address is jvz@southernmoney.co.za and if you would be so kind to email me I will gladly send you the phpinfo file as well as the login information.
I have actived debug but received no oadditional information.
My service provider also deactivated safemode. If need be I will active it again upon your instruction.
My files are unloaded to http://www.southernmoney.co.za/progress
Thanking you kindly.
I have actived debug but received no oadditional information.
My service provider also deactivated safemode. If need be I will active it again upon your instruction.
My files are unloaded to http://www.southernmoney.co.za/progress
Thanking you kindly.
I don't provide e-mail support for the free scripts, but you can paste the results from the phpinfo file into a private message for me.
Also let me know exactly what setting you have for the System/root path in your settings.
You can also try creating such a simple file, save it as test.php, upload to your Hesk ("progress") folder, open in browser and see if you get any errors and if a test.txt has been created in your attachments folder.
If yes delete the test.txt file and try also changing attachments/test.txt to the full path on your system, for example
$fp = fopen('/home/username/public_html/attachments/test.txt','w');
See if it's created now too.
Also let me know exactly what setting you have for the System/root path in your settings.
You can also try creating such a simple file, save it as test.php, upload to your Hesk ("progress") folder, open in browser and see if you get any errors and if a test.txt has been created in your attachments folder.
Code: Select all
<?php
error_reporting(E_ALL);
$fp = fopen('attachments/test.txt','w');
fputs($fp,'Test');
fclose($fp);
echo "test.txt created";
?>
$fp = fopen('/home/username/public_html/attachments/test.txt','w');
See if it's created now too.
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: 46
- Joined: Sun May 10, 2009 3:44 pm
Resolving Attachment Problems
I experienced problems in uploading attachmens. I did the following to resolve the problem:
1. I located the phpinfo.php file in the "READ THIS BEFORE POSTING" topic:
viewtopic.php?t=138
2. I downloaded this file to my computer desktop and uploaded it into the Hesk Helpdesk program on my web server.
3. I then ran the phpinfo.php from my web browser.
4. I then saved the content to my desktop for future reference.
5. I then deleted the phpinfo file from my web server so as not to compromise security.
6. The required root path for the Hesk software settings is displayed under the heading “PHP Variables” with the sub heading “_SERVER["DOCUMENT_ROOT"
7. I cut and pasted this into the Hesk program’s settings under “System / root path” and then selected “save changes”.
8. I logged out en re-entered and checked that the settings is correct. [It is correctly saved]
9. Upon testing it still failed to upload files. I then activated "debug" in the program setting and clicked "save".
10. I again tried to upload an attachment. It failed, but this time I got a detailed error message. Basically it referred to two paths and that they are not matching.
11. I then played around with the program settings root path to get it to fit in with the other. It worked!
12. Problem resolved! I will now deactivate debug in the program setting and will activate safemode on the server database with the help of the service provider.
Hope this will
Thanks Klemen for your kind help.
Regards from as somewhat cold South Africa.
Johan
1. I located the phpinfo.php file in the "READ THIS BEFORE POSTING" topic:
viewtopic.php?t=138
2. I downloaded this file to my computer desktop and uploaded it into the Hesk Helpdesk program on my web server.
3. I then ran the phpinfo.php from my web browser.
4. I then saved the content to my desktop for future reference.
5. I then deleted the phpinfo file from my web server so as not to compromise security.
6. The required root path for the Hesk software settings is displayed under the heading “PHP Variables” with the sub heading “_SERVER["DOCUMENT_ROOT"
7. I cut and pasted this into the Hesk program’s settings under “System / root path” and then selected “save changes”.
8. I logged out en re-entered and checked that the settings is correct. [It is correctly saved]
9. Upon testing it still failed to upload files. I then activated "debug" in the program setting and clicked "save".
10. I again tried to upload an attachment. It failed, but this time I got a detailed error message. Basically it referred to two paths and that they are not matching.
11. I then played around with the program settings root path to get it to fit in with the other. It worked!
12. Problem resolved! I will now deactivate debug in the program setting and will activate safemode on the server database with the help of the service provider.
Hope this will
Thanks Klemen for your kind help.
Regards from as somewhat cold South Africa.
Johan
-
- Posts: 46
- Joined: Sun May 10, 2009 3:44 pm
Bought The Licence
I am happy with the program and bought the licence.
Regards
Johan
Regards
Johan
Glad you got it working and thanks for purchasing a license!
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
Hello,
Just installed the script ... working good ... only the attachment-option doesnt work for me. phpinfo.php gave me the right path ... but still failure-message when i want to submit a message with an attachment. Compliments for the script because it's the only one i have found inwhich i can make more text-fields for setting-up the ticket. Would be great if the attach-option would work too.... pls help.
Just installed the script ... working good ... only the attachment-option doesnt work for me. phpinfo.php gave me the right path ... but still failure-message when i want to submit a message with an attachment. Compliments for the script because it's the only one i have found inwhich i can make more text-fields for setting-up the ticket. Would be great if the attach-option would work too.... pls help.
There could be many different problem, post a link to your phpinfo file here and we will have a look.
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