login page and submit ticket empty/blank
Moderator: mkoch227
-
- Posts: 7
- Joined: Tue Jun 30, 2015 5:20 am
login page and submit ticket empty/blank
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.
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.
Re: login page and submit ticket empty/blank
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?
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 
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


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
-
- Posts: 7
- Joined: Tue Jun 30, 2015 5:20 am
Re: login page and submit ticket empty/blank
Last edited by AlienFrmMars on Thu Jul 02, 2015 5:10 am, edited 1 time in total.
Re: login page and submit ticket empty/blank
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:
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 
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


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
-
- Posts: 7
- Joined: Tue Jun 30, 2015 5:20 am
Re: login page and submit ticket empty/blank
agh, no luck. are you available to do a paid support and perhaps get this resolved?
Re: login page and submit ticket empty/blank
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:
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?
1. save this as "reset.php", upload to your website and open in browser:
Code: Select all
<?php
opcache_reset();
?>
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 
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


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
-
- Posts: 7
- Joined: Tue Jun 30, 2015 5:20 am
Re: login page and submit ticket empty/blank
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.
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.
Re: login page and submit ticket empty/blank
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.AlienFrmMars wrote:works fine when re-installed in a new directory.
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 
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


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
-
- Posts: 7
- Joined: Tue Jun 30, 2015 5:20 am
Re: login page and submit ticket empty/blank
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?
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?
Re: login page and submit ticket empty/blank
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.
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 
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


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
-
- Posts: 7
- Joined: Tue Jun 30, 2015 5:20 am
Re: login page and submit ticket empty/blank
it does appear that the OPcache was the problem. after few hours it started working all by itself. 
