Problem when setup HESK with permissions of attachments, cache and hesk_settings.inc.php

Helpdesk for my helpdesk software

Moderator: mkoch227

Post Reply
Win32Sector
Posts: 1
Joined: Fri Dec 22, 2017 2:00 pm

Problem when setup HESK with permissions of attachments, cache and hesk_settings.inc.php

Post by Win32Sector »

Script URL:
Version of script: 2.7.5
Hosting company: my company local server
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution: Error: File hesk_settings.inc.php is not writable by PHP

Hello!

I have a problem with HESK Installation.

I have install HESK on the test server and it works, but when I do new installation on production server, when I run servername/install in my browser, I have a problem with permissions of attachments, cache and hesk_settings.

On the both servers centos 7, Apache/2.4.6 (CentOS), php 5.6.32

I try change full path in the install.php, but it does'nt work for me.

What problem with it may be?

lhesk files list:

Code: Select all

[root@localhost html]# ll
total 248
drwxrwxr-x.  2 apache apache  4096 Dec 22 08:32 admin
drwxrwxrwx.  2 apache apache    23 Dec 22 08:32 attachments
drwxrwxrwx.  2 apache apache    23 Dec 22 08:32 cache
-rw-rw-r--.  1 apache apache  3634 Nov 25 09:14 change_status.php
drwxrwxr-x.  2 apache apache   143 Dec 22 08:32 docs
-rw-rw-r--.  1 apache apache  4329 Nov 25 09:14 download_attachment.php
-rw-rw-r--.  1 apache apache  2066 Nov 25 09:14 file_limits.php
-rw-rw-r--.  1 apache apache    54 Nov 25 09:14 footer.txt
-rw-rw-r--.  1 apache apache    52 Nov 25 09:14 header.txt
-rw-rw-r--.  1 apache apache    54 Nov 25 09:14 head.txt
-rw-rw-r--.  1 apache apache 10724 Nov 25 09:14 hesk_javascript.js
-rw-rw-rw-.  1 apache apache  7263 Nov 25 09:14 hesk_settings.inc.php
-rw-rw-r--.  1 apache apache 15363 Nov 25 09:14 hesk_style.css
drwxrwxr-x.  2 apache apache  4096 Dec 22 08:32 img
drwxrwxr-x. 12 apache apache  4096 Dec 22 08:32 inc
-rw-rw-r--.  1 apache apache 44432 Nov 25 09:14 index.php
drwxrwxr-x.  2 apache apache   109 Dec 22 08:41 install
-rw-rw-r--.  1 apache apache  1673 Nov 25 09:14 ip_whois.php
-rw-rw-r--.  1 apache apache 21614 Nov 25 09:14 knowledgebase.php
drwxrwxr-x.  3 apache apache    33 Dec 22 08:32 language
-rw-rw-r--.  1 apache apache   288 Oct 25  2010 path.php
-rw-rw-r--.  1 apache apache  6871 Nov 25 09:14 print.php
-rw-rw-r--.  1 apache apache  1034 Nov 25 09:14 print_sec_img.php
-rw-rw-r--.  1 apache apache  2580 Nov 25 09:14 rate.php
-rw-rw-r--.  1 apache apache   201 Nov 25 09:14 readme.html
-rw-rw-r--.  1 apache apache  7588 Nov 25 09:14 reply_ticket.php
-rw-rw-r--.  1 apache apache   323 Nov 25 09:14 robots.txt
-rw-rw-r--.  1 apache apache 17874 Nov 25 09:14 submit_ticket.php
-rw-rw-r--.  1 apache apache  2470 Nov 25 09:14 suggest_articles.php
-rw-rw-r--.  1 apache apache  4149 Nov 25 09:14 suggest_email.php
-rw-rw-r--.  1 apache apache 28667 Nov 25 09:14 ticket.php
Klemen
Site Admin
Posts: 10145
Joined: Fri Feb 11, 2005 4:04 pm

Re: Problem when setup HESK with permissions of attachments, cache and hesk_settings.inc.php

Post by Klemen »

Not sure what this is, could be something in the way your server is setup? No way to tell without actual access to the server and access logs.

Is there anything on the server looking for world-writable files/folders and blocking access to them?

Does it make any difference if you chmod hesk_settings.inc.php to 644 instead of 666?
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
Post Reply