login page and submit ticket empty/blank

Helpdesk for my helpdesk software

Moderator: mkoch227

Post Reply
AlienFrmMars
Posts: 7
Joined: Tue Jun 30, 2015 5:20 am

login page and submit ticket empty/blank

Post by AlienFrmMars »

Script URL: DOMAIN.com/testing
Version of script: 2.6.2
Hosting company: amazon
URL of phpinfo.php:
URL of session_test.php: DOMAIN.com/testing/session_test.php
What terms did you try when SEARCHING for a solution: admin login page empty, hesk login blank

Write your message below:
all of sudden after few days of working fine, the site started showing just an empty/blank page randomly. it happened few times and was working on/off. now we just get an empty page. cannot access any pages, that is the admin page to login nor the page to submit/check tickets.

I have downloaded the hesk_settings.inc.php and change debug to 1 and uploaded to the server, but I get no error messages.

session_test are just fine and works.
Last edited by AlienFrmMars on Thu Jul 02, 2015 5:09 am, edited 1 time in total.
Klemen
Site Admin
Posts: 10147
Joined: Fri Feb 11, 2005 4:04 pm

Re: login page and submit ticket empty/blank

Post by Klemen »

You had some problems with saving settings due to cached pages.

This could be a related issue, because some pages work just fine and error messages still don't show even with debug mode enabled:
http://myavs.com/testing/ticket.php

Did you disable all PHP caching?
Can we see your phpinfo.php?
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
AlienFrmMars
Posts: 7
Joined: Tue Jun 30, 2015 5:20 am

Re: login page and submit ticket empty/blank

Post by AlienFrmMars »

here you go.
http://DOMAIN.com/testing/phpinfo.php

have not yet disabled cache..reading up on it.
Last edited by AlienFrmMars on Thu Jul 02, 2015 5:10 am, edited 1 time in total.
Klemen
Site Admin
Posts: 10147
Joined: Fri Feb 11, 2005 4:04 pm

Re: login page and submit ticket empty/blank

Post by Klemen »

You have Zend OPCache enabled, this is probably causing the problems.

Try disabling it by creating a .htaccess file inside your "testing" folder with this content:

Code: Select all

php_flag opcache.enable Off
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
AlienFrmMars
Posts: 7
Joined: Tue Jun 30, 2015 5:20 am

Re: login page and submit ticket empty/blank

Post by AlienFrmMars »

agh, no luck. are you available to do a paid support and perhaps get this resolved?
Klemen
Site Admin
Posts: 10147
Joined: Fri Feb 11, 2005 4:04 pm

Re: login page and submit ticket empty/blank

Post by Klemen »

I'm not much of a server admin myself, but you can try two more simple things:

1. save this as "reset.php", upload to your website and open in browser:

Code: Select all

<?php
opcache_reset();
?>
2. restart the server


If THAT doesn't work, you can try disabling it completely:
1. find php.ini
2. change opcache.enable=1 to opcache.enable=0
3. restart apache

Any luck?
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
AlienFrmMars
Posts: 7
Joined: Tue Jun 30, 2015 5:20 am

Re: login page and submit ticket empty/blank

Post by AlienFrmMars »

no luck.

in order to disable OPcache from .htaccess, I had to follow this link to AllowOverride All in the www directory
http://stackoverflow.com/questions/1874 ... erride-all

then disabled it using .htaccess and phpinfo.php now shows opcache disable but still no luck.

ran the reset.php but still no luck.

could it really be a cache issue since even when I try to search for a ticket from ticket.php doesn't show the ticket? e.g. ticket ID ZPR-R87-NH2R

also when trying to access it from multiple browsers/devices/internet sources, still does not work, even devices that has not accessed the site before?

I also just installed another version of hesk http://DOMAIN.com/original/ and that works on the same server. the testing version is a modified version but worked fine for about 5-6 days and works fine when re-installed in a new directory.
Last edited by AlienFrmMars on Thu Jul 02, 2015 5:10 am, edited 1 time in total.
Klemen
Site Admin
Posts: 10147
Joined: Fri Feb 11, 2005 4:04 pm

Re: login page and submit ticket empty/blank

Post by Klemen »

AlienFrmMars wrote:works fine when re-installed in a new directory.
This makes me believe even more it's a caching issue. I can't think of another reason why the exact same code would work in one, but not another folder.

But it's not browser cache, OPcache stored compiled PHP scripts as bytecode in memory, so your server runs cached code rather than compiling PHP on-the-fly (as normally).
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
AlienFrmMars
Posts: 7
Joined: Tue Jun 30, 2015 5:20 am

Re: login page and submit ticket empty/blank

Post by AlienFrmMars »

Ok sounds good. Perhaps it is time to get Amazon support involved.

Also wouldn't caching happen almost right away and not 4-5 days after working just fine?

Also is there any other options to disable cache?
Klemen
Site Admin
Posts: 10147
Joined: Fri Feb 11, 2005 4:04 pm

Re: login page and submit ticket empty/blank

Post by Klemen »

I don't know your server setup,what has been happening on your server or what changes you made to the code so I can't really be of further help.

Original unmodified files with OPcache disabled work fine. Troubleshooting anything beyond this is unfortunately out of the scope of my support.
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
AlienFrmMars
Posts: 7
Joined: Tue Jun 30, 2015 5:20 am

Re: login page and submit ticket empty/blank

Post by AlienFrmMars »

it does appear that the OPcache was the problem. after few hours it started working all by itself. :o
Post Reply