NamePros
Welcome, Guest! Ready to make a name for yourself in the domain business? We welcome both the hobbyist and professional domainer to join the discussion as part of the NamePros community.

Click here to create your profile to start earning reputation for posting, and trader ratings for buying & selling in our free e-marketplace. Build your trader rating with each successful sale. Our system has tracked over 100,000 sales and counting!
FAQ & TOS Register Search Today's Posts Mark Forums Read

Go Back   NamePros.com > Website Development Discussion Forums > Programming
Reload this Page ever tried to program a script......

Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics.

Advanced Search
5 members in live chat ~  


Closed Thread
 
LinkBack Thread Tools
Old 12-21-2003, 02:47 PM THREAD STARTER               #1 (permalink)
Senior Member
Join Date: May 2003
Posts: 2,187
adam_uk is a jewel in the roughadam_uk is a jewel in the roughadam_uk is a jewel in the rough
 


Breast Cancer

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
Attached Files
File Type: txt php.txt (39.3 KB, 5 views)
adam_uk is offline  
Old 12-21-2003, 04:04 PM   #2 (permalink)
Senior Member
Join Date: Aug 2002
Posts: 1,255
deadserious has a spectacular aura aboutdeadserious has a spectacular aura about
 



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);
deadserious is offline  
Old 12-22-2003, 11:21 AM THREAD STARTER               #3 (permalink)
Senior Member
Join Date: May 2003
Posts: 2,187
adam_uk is a jewel in the roughadam_uk is a jewel in the roughadam_uk is a jewel in the rough
 


Breast Cancer
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
adam_uk is offline  
Old 12-27-2003, 09:36 PM   #4 (permalink)
RyanPrice.ca - Developer
Join Date: Dec 2003
Posts: 1,328
Jeanco is a jewel in the roughJeanco is a jewel in the roughJeanco is a jewel in the rough
 



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:
<?php
print()
?>

I think if you don't use the php it has to be one line...

<? print() ?>
__________________
Ryan Price - Webmaster
www.HostDurham.com - For Hosting | www.jeanco.ca - For Webdesign
Jeanco is offline  
Old 12-31-2003, 09:49 AM   #5 (permalink)
Senior Member
Join Date: Jun 2003
Location: Markham, Ontario, Canada
Posts: 3,370
jj2ii3344 is a jewel in the roughjj2ii3344 is a jewel in the roughjj2ii3344 is a jewel in the roughjj2ii3344 is a jewel in the rough
 



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]
jj2ii3344 is offline  
Closed Thread


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


 
All times are GMT -7. The time now is 02:08 PM.

Domain name forum recommended by Domaining.com Powered by: vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0 Ad Management plugin by RedTyger