![]() | |||||||
ever tried to program a script...... 1 Attachment(s) where u make a mistake but the server doesnt tell you actually what the mistake is? eg my server (soon be taking local flying lessons) wont output any errors what so every ive got this code <? print() ?> thats it no includes no nothing it should say error: undefinded call to function print() on line 1 or somthing like that but it doesnt if i do this <? $gonna = "go" echo "gonna $gonna mad" ?> it wont tell me that ive missed the ; it will just stop and give me a blackpage see for yourself http://adamuk.serveftp.com/123.php anyone got any ideas? servers runnin willitwork 2000 server ive attachted a copy of the php.ini file incase thats any help |
Hmm your phpinfo seems like it's set to show errors. Is it possible for you to provide a direct link to your phpinfo on adamuk.serveftp.com? Also, you may try adding this at the top of your PHP script to see if it makes a difference: ini_set('display_errors','1'); error_reporting (E_ALL); |
i added the error_reporting thingy bob to top of a script and it still did nothing, i guess it is something down to windows maybe because i checked the apache config and that all seemed fine and i even copied a php.ini file from one of our servers at work and it still didnt do anything must have been down to a dodgey windows file, darn thing i tried for about 4 hours last nite to solve the problem and still didnt do anything, i googled and found some bits but it didnt see to help me, so i took my server into work this morning and put willit work 2003 on and everything seems to work at the moment *touches would* darn thing... if anyone reads this and can let me know what went wrong i would like to know thanks :) |
if the code is not all on one line I believe you need this: PHP Code: |
I got this: "No input file specified. " |
| All times are GMT -7. The time now is 11:49 PM. |
Powered by: vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0