Script not working

Helpdesk for my helpdesk software

Moderator: mkoch227

Post Reply
smartchoices
Posts: 3
Joined: Wed Oct 04, 2017 4:31 am

Script not working

Post by smartchoices »

Script URL: www.smart-choices.org/helpdesk
Version of script:
Hosting company:
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution:

Write your message below: Just downloaded script, PHP'd to the server directory, changed permissions, but when I try to follow the install directions and click on the "accept the terms" nothing happens and I get this error:

Warning: Cannot modify header information - headers already sent by (output started at /homepages/16/d227001368/htdocs/helpdesk/inc/common.inc.php:1436) in /homepages/16/d227001368/htdocs/helpdesk/inc/common.inc.php on line 1954

and it never leaves the page.... ???
Klemen
Site Admin
Posts: 10145
Joined: Fri Feb 11, 2005 4:04 pm

Re: Script not working

Post by Klemen »

Your PHP setup is not completed correctly (PHP on the server, not HESK).

Add a default timezone to your php.ini file and restart the server, for example

Code: Select all

date.timezone ="UTC"
or

Code: Select all

date.timezone ="America/New_York"
List o supported timezones is here.

You might also want to consider turning off strict errors in php.ini for a production server.
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
smartchoices
Posts: 3
Joined: Wed Oct 04, 2017 4:31 am

Re: Script not working

Post by smartchoices »

Any other suggestions? My website is hosted on 1and1.com. I'm not sure I can change
the default php.ini file and for sure probably can't reboot the server. Anyway, I've got
a number of other PHP programs running that don't seem to have a problem. The install
stuff is located in the <root directory>/helpdesk/install.php and it won't even run to set up
mysql stuff or other settings. Does the timezone stuff keep the initial install from running?
Do I need to add in the "actual" path to HTDOCS and if so, in what module? Thanks.
smartchoices
Posts: 3
Joined: Wed Oct 04, 2017 4:31 am

Re: Script not working

Post by smartchoices »

...sorry...install is located at <root directory>/helpdesk/install/install.php (forgot the "install" directory in the list)
Klemen
Site Admin
Posts: 10145
Joined: Fri Feb 11, 2005 4:04 pm

Re: Script not working

Post by Klemen »

You can try and create a custom php.ini file and see if 1and1 picks it up:

1. create a new text file
2. add

Code: Select all

date.timezone ="UTC"
inside
3. save the file as "php.ini" (NOT php.ini.txt, that will not work) and upload it to "helpdesk/install" folder
4. test
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