File attachments working but = zero bajt - why ?

Helpdesk for my helpdesk software

Moderator: mkoch227

Post Reply
brydzysta
Posts: 3
Joined: Mon Jan 11, 2010 8:39 am

File attachments working but = zero bajt - why ?

Post by brydzysta »

Script URL:
Version of script: 2.1
Hosting company: intranet
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution:

Write your message below:

add new ticket and attachments in HESK = OK
click attachments, save attachment in my disk = 0 bajt
login in my server
cd /home/user/public_html/helpdesk
ls -l
drwxrwxrwx 2 nobody nobody 4096 jan 11 09:55 attachments
cd /home/user/public_html/helpdesk/attachments
ls -l
-rw-r--r-- 1 nobody nobody 98091 jan 11 09:36 4JGED7D18X_6b802d9c52126cee5b6a02182a5b5b8c.jpg
-rw-r--r-- 1 nobody nobody 112091 jan 11 09:41 6JTU9EEPH1_38d272a0b2eddadea4778ac3586da3c3.jpg
-rw-r--r-- 1 nobody nobody 206 jan 09 2010 index.htm
more hesk_settings.inc.php
$hesk_settings['server_path']='/home/user/public_html/helpdesk';

why my attachments = 0 bajt when save in my disk
Klemen
Site Admin
Posts: 10142
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

Looks like Hesk can't read the attachments from the attachments directory, does it have read rights there?

Check in MySQL table hesk_attachments if "size" column has correct values for file size.

But can't really help without testing it, knowing server/PHP configuration, ...
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image 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
brydzysta
Posts: 3
Joined: Mon Jan 11, 2010 8:39 am

sorry all is OK

Post by brydzysta »

sorry all is OK
mea culpa (my paranoid security )
my php.ini
disable_functions = readfile
:oops:
Post Reply