I am only just a year old using HTML, PHP, Javascript, XML, and SQL. We have multiple locations using several different terminals in a CITRIX environment to access a web HTML screen to create labels for our products. These label scripts do work and I know for sure that there isn't any type of priviledge problems per our tech services guy but there is a proble which no one seems to understand. Every location is set up identically to access the CITRIX server and then to the web server hosting the labeling scripts. About 80% of the users get the drop down box showing the list of labels which are contained in a directory but then the remaining 20% can not see the same list. The script isn't erroring out. Is there a way to display any error codes on the fopen? If we can get the error code then that would help the tech services section to figutre out what is going on. If you have see this happen before, you may have the solution.
Thanks in advance for your help.
Charlie
Are they all connecting to the same Citrix server or are there multiple Ctirix servers? The reason I ask is because several could be setup different (80%) than the others which are not working (20%).
Turn on display_errors in your php.ini file. This will display all of your errors.
You can also add this to your fopen statement to display an error but not specific:
</span></span>Code:if(($f = fopen($file,'r')) === FALSE){
die('Failed to open file for reading!');
}
you could also add <?php error_reporting(E_ALL); ?> to the top of the page in question.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks