calendar goes in error

Forum dedicated to Mods for HESK created by Mike Koch

Moderator: mkoch227

Post Reply
steraffi
Posts: 30
Joined: Tue Sep 18, 2012 10:50 am

calendar goes in error

Post 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
mkoch227
Posts: 666
Joined: Wed Jul 04, 2012 3:37 pm

Re: calendar goes in error

Post 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.
Mike, Lead Developer of Image HESK: A surprisingly simple, user-friendly and FREE help desk software with integrated knowledgebase.
steraffi
Posts: 30
Joined: Tue Sep 18, 2012 10:50 am

Re: calendar goes in error

Post 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
mkoch227
Posts: 666
Joined: Wed Jul 04, 2012 3:37 pm

Re: calendar goes in error

Post 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.
Mike, Lead Developer of Image HESK: A surprisingly simple, user-friendly and FREE help desk software with integrated knowledgebase.
steraffi
Posts: 30
Joined: Tue Sep 18, 2012 10:50 am

Re: calendar goes in error

Post 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
mkoch227
Posts: 666
Joined: Wed Jul 04, 2012 3:37 pm

Re: calendar goes in error

Post 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
Mike, Lead Developer of Image HESK: A surprisingly simple, user-friendly and FREE help desk software with integrated knowledgebase.
steraffi
Posts: 30
Joined: Tue Sep 18, 2012 10:50 am

Re: calendar goes in error

Post by steraffi »

I'm using apache 2 on OS ubuntu and mysql as DB
steraffi
Posts: 30
Joined: Tue Sep 18, 2012 10:50 am

Re: calendar goes in error

Post by steraffi »

Any other suggestion?
steraffi
Posts: 30
Joined: Tue Sep 18, 2012 10:50 am

Re: calendar goes in error

Post 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?
OSWorX
Posts: 24
Joined: Sat Jul 06, 2013 9:43 am

Re: calendar goes in error

Post 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.
OSWorX - OpenSource Development :: OpenCart Developer
mkoch227
Posts: 666
Joined: Wed Jul 04, 2012 3:37 pm

Re: calendar goes in error

Post 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.
Mike, Lead Developer of Image HESK: A surprisingly simple, user-friendly and FREE help desk software with integrated knowledgebase.
hhasan
Posts: 2
Joined: Sat Nov 23, 2019 10:55 am

Re: calendar goes in error

Post 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
Post Reply