| | |||||
| ||||||||
| Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics. |
![]() |
| | LinkBack | Thread Tools |
| | THREAD STARTER #1 (permalink) |
| Senior Member Join Date: May 2003
Posts: 2,187
![]() ![]() ![]() | ever tried to program a script...... where u make a mistake but the server doesnt tell you actually what the mistake is? ????: NamePros.com http://www.namepros.com/programming/15860-ever-tried-to-program-a-script.html 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 |
| |
| | #2 (permalink) |
| Senior Member Join Date: Aug 2002
Posts: 1,255
![]() ![]() | 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); |
| |
| | THREAD STARTER #3 (permalink) |
| Senior Member Join Date: May 2003
Posts: 2,187
![]() ![]() ![]() | 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* ????: NamePros.com http://www.namepros.com/showthread.php?t=15860 darn thing... if anyone reads this and can let me know what went wrong i would like to know thanks |
| |
| | #4 (permalink) |
| RyanPrice.ca - Developer Join Date: Dec 2003
Posts: 1,328
![]() ![]() ![]() | if the code is not all on one line I believe you need this: ????: NamePros.com http://www.namepros.com/showthread.php?t=15860 PHP Code:
__________________ Ryan Price - Webmaster www.HostDurham.com - For Hosting | www.jeanco.ca - For Webdesign |
| |
| | #5 (permalink) |
| Senior Member Join Date: Jun 2003 Location: Markham, Ontario, Canada
Posts: 3,370
![]() ![]() ![]() ![]() | I got this: "No input file specified. "
__________________ www.canonlens.ws Updated daily - Get Canon lens reviews and good deals on new/used Canon lens from CanonLens.ws![/SIZE] |
| |