Lost Password?


Go Back   CodeCall Programming Forum > Web Development Forum > PHP Forum

PHP Forum Use this forum to discuss all aspects of PHP Development. PHP is a server-side, cross-platform, HTML embedded scripting language that lets you create dynamic web pages.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-06-2007, 10:31 AM
cpd2591 cpd2591 is offline
Newbie
 
Join Date: Aug 2007
Location: Wilkes-Barre, PA area
Posts: 5
Rep Power: 0
cpd2591 is on a distinguished road
Smile fopen question

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Sponsored Links
  #2 (permalink)  
Old 08-08-2007, 09:41 AM
Jordan's Avatar   
Jordan Jordan is offline
Administrator
 
Join Date: Nov 2005
Location: Hendersonville, NC
Posts: 9,228
Last Blog:
Ext JS or Ext GWT
Rep Power: 20
Jordan is just really niceJordan is just really niceJordan is just really niceJordan is just really nice
Send a message via ICQ to Jordan Send a message via AIM to Jordan Send a message via MSN to Jordan
Default

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:

PHP Code:
 if(($f fopen($file,'r')) === FALSE){
        die(
'Failed to open file for reading!');
    } 
</span></span>
__________________
CodeCall Blog | CodeCall Wiki | Shareware Site | Linux Forum | Write a Blog
The CodeCall Wiki is now fully integrated with vBulletin users! Check it out and add some new pages!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 08-09-2007, 01:46 AM
TkTech TkTech is offline
 
Join Date: Jun 2006
Posts: 992
Last Blog:
Having trouble with yo...
Rep Power: 20
TkTech is on a distinguished road
Send a message via MSN to TkTech
Default

you could also add <?php error_reporting(E_ALL); ?> to the top of the page in question.
__________________
CodeCall Blog | CodeCall Wiki | Shareware | Linux Forum
Chat with other CodeCall members on IRC; connect to irc.codecall.net and join #codecall
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
PHP fopen() problems FlyByWire128 PHP Forum 11 07-24-2007 07:14 PM
Question about String handling... Spitfire Java Help 2 06-08-2007 06:17 PM
Curious Question priorityone The Lounge 10 01-07-2007 11:40 AM
Silly question Ronin C# Programming 4 09-21-2006 05:01 PM


All times are GMT -5. The time now is 04:27 PM.

Contest Stats

WingedPanther ........ 2753.6
Xav ........ 2704
Brandon W ........ 1702.32
John ........ 1207.73
marwex89 ........ 1175.24
morefood2001 ........ 966.05
dcs ........ 655.75
Steve.L ........ 475.59
orjan ........ 418.58
Aereshaa ........ 383.54

Contest Rules

CodeCall Goal

Goal: 100,000 Posts
Complete: 98%

Ads