Error with installation, step 3

Helpdesk for my helpdesk software

Moderator: mkoch227

Post Reply
markdewet
Posts: 6
Joined: Sun May 22, 2022 1:37 am

Error with installation, step 3

Post by markdewet »

Script URL: /helpdesk/install
Version of script: 3.2.5
Hosting company: Hosted at home
URL of phpinfo.php: Not sure how to link to my PC, but phpinfo.php displays fine
URL of session_test.php: As Above
What terms did you try when SEARCHING for a solution:

Write your message below:
Good day. My setup is as follows:
Windows 10
IIS 10
PHP 8.1.6
MySQL 8.0.29
Hesk 3.2.5
my issue is as follows:
I can run the install script fine, up the point where it tells me that the permissions on the hesk.settings.ic.php file, the attachments and the cache folder need to be modified, which I do according to the post here: viewtopic.php?f=13&t=1406.
However, as soon as I click on "test again" I get a 500-internal error. So I enabled detailed error pages for the 500 error in IIS and this is what I get (424 of them):
PHP Deprecated: DateTime::__construct(): Passing null to parameter #1 ($datetime) of type string is deprecated in C:\inetpub\wwwroot\gmcomputers\helpdesk\inc\setup_functions.inc.php on line 86
Please could someone advise what I am doing wrong, or have done wrong? I used the Hesk Helpdesk once before with no issues whatsoever on Server 2008 R2 so cannot understand why it will not work now.
Thanking you
Klemen
Site Admin
Posts: 10142
Joined: Fri Feb 11, 2005 4:04 pm

Re: Error with installation, step 3

Post by Klemen »

The depreciated notice is most likely not causing the issue, but you should disable such notices anyway for an operational server by changing error_reporting in your php.ini, then restarting the server:

Code: Select all

error_reporting = E_ALL & ~E_NOTICE & ~E_DEPRECATED
Once you hide depreciated and notices, do you see any other error messages?
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
markdewet
Posts: 6
Joined: Sun May 22, 2022 1:37 am

Re: Error with installation, step 3

Post by markdewet »

Good day, Klemen,
I changed the error_reporting, as instructed by yourself, to error_reporting = E_ALL & ~E_NOTICE & ~E_DEPRECATED however, it still outputs exactly the same error and amount of errors, so I am not sure what I am doing wrong. I did restart the IIS Web server and clear my browser's cache.
Klemen
Site Admin
Posts: 10142
Joined: Fri Feb 11, 2005 4:04 pm

Re: Error with installation, step 3

Post by Klemen »

Maybe you are editing the wrong php.ini file?

Save this as phpinfo.php and run it, it will show you what ini files are being processed under "Loaded Configuration File":

Code: Select all

<?php echo phpinfo(); ?>
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
markdewet
Posts: 6
Joined: Sun May 22, 2022 1:37 am

Re: Error with installation, step 3

Post by markdewet »

Hi Klemen, well I have no idea what I did, but as soon as I did an IISRESET on my PC, the installation suddenly worked 100%, so thank you for your time and assistance.
Post Reply