Page 1 of 1

calendar goes in error

Posted: Tue Sep 03, 2019 5:37 pm
by steraffi
Script URL: 85.58.193.30/b810
Mods for HESK version: 2019.1.0
HESK version: 2.8.4
Hosting company: ARUBA
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution:
loading event
error loading event

Write your message below:
I Just completed an installation of new system and encountered an issue with calendar that doesn't work.
Wen I open calendar The system gives back the following message:
"An error occurred when try to load event"

If I try to set a new event, when i save it I receive the following error message:
"An error occurred when try to create event"

I tried to use both Chrome and Firefox browser with the same results.
The errror occurs using both an old script updated or a new installation.

Any suggest?
TKS

Re: calendar goes in error

Posted: Tue Sep 03, 2019 5:39 pm
by mkoch227
Check to see if there are any logs in Settings > View Message Log. If there are, post a screenshot of the error log here.

If there is not a log in the message logs, check your browser's developer console (F12 on Chrome), and post any errors you see in your console here.

Re: calendar goes in error

Posted: Wed Sep 04, 2019 6:08 am
by steraffi
tks for your answer.

-No log found on script.

-On chrome I found the following error opening both the ticket and calendar windows:

jquery-2.2.4.min.js?v=53:4 GET http://185.58.193.30/b810/api/index.php ... 0406400000 500 (Internal Server Error)

Awaiting your feedback

Re: calendar goes in error

Posted: Wed Sep 04, 2019 1:40 pm
by mkoch227
Try navigating directly to the link that is returning a 500 and see if anything appears on-screen, or if you receive a generic 500 error.

Re: calendar goes in error

Posted: Wed Sep 04, 2019 5:13 pm
by steraffi
I did the following tests (directly on server)
http://localhost/b810/api/index.php
Result:
{"message":"The endpoint '\/b810\/api\/index.php' was not found. Double-check your request and submit again.","uri":"\/b810\/api\/index.php"}

http://localhost/b810/api/index.php/v1/calendar/
Result:
{"message":"The endpoint '\/b810\/api\/index.php\/v1\/calendar\/' was not found. Double-check your request and submit again.","uri":"\/b810\/api\/index.php\/v1\/calendar\/"}

http://localhost/b810/api/index.php/v1/ ... 7987200000
(Is the entire string)
Result: NIL

The API folder is fully accessible.
below the link to download the //api/index.php
ftp://185.58.193.30/Prodotti/Software/index.php

Let me know if you need to see any other file
Regards

Re: calendar goes in error

Posted: Wed Sep 04, 2019 5:16 pm
by mkoch227
Are you using Apache, Nginx, or a different web server? If you are using Nginx, try the following at https://mods-for-hesk.readme.io/docs/ng ... leshooting

Re: calendar goes in error

Posted: Wed Sep 04, 2019 6:02 pm
by steraffi
I'm using apache 2 on OS ubuntu and mysql as DB

Re: calendar goes in error

Posted: Fri Sep 06, 2019 8:38 am
by steraffi
Any other suggestion?

Re: calendar goes in error

Posted: Sat Sep 07, 2019 6:30 pm
by steraffi
I made a new installation on a Xampp server (Win 10) and all works fine; I checked PHP version and i saw that My production server use php 5.3; Xampp uses PHP 7.X
Could be this the reason of error?

Re: calendar goes in error

Posted: Sun Sep 08, 2019 11:16 am
by OSWorX
In these days using php lower than 7.x is outdated as it can be!
Beside this, php versions 5.x are slow and full of security risks.
You should avoid to use such, wondering why your hoster still allows that .. ?

And yes, that could be a reason.

Re: calendar goes in error

Posted: Sun Sep 08, 2019 2:43 pm
by mkoch227
steraffi wrote: Sat Sep 07, 2019 6:30 pm I made a new installation on a Xampp server (Win 10) and all works fine; I checked PHP version and i saw that My production server use php 5.3; Xampp uses PHP 7.X
Could be this the reason of error?
When you installed Mods for HESK on your XAMPP server, are you using a sub-folder (like for your production box), or is at the root level? Mods for HESK should work on PHP 5.3; however it isn't recommended.

Re: calendar goes in error

Posted: Sat Nov 23, 2019 10:57 am
by hhasan
I made a new installation on a Xampp server (Win 10) and all works fine; I checked PHP version and i saw that My production server use php 5.3; Xampp uses PHP 7.X


Thanks,
Calendar