|
-
Aug 7th, 2002, 12:53 PM
#1
Thread Starter
Fanatic Member
Notice
I updated PHP, and when I installed, I started to reason a tons and tons of notices in my scripts all about undefined things, but the script works.
I reinstalled and stopped the reporting of notices, my question is, does it matter? my online server does not report notices either, infact I think most dont. But should I fix these things or what?
-
Aug 7th, 2002, 01:04 PM
#2
Frenzied Member
you could, all it is is just a warning. you could define them all or turn off the notices. also what version is your ISP on? the warnings didn't start until php 4.1.x
-
Aug 7th, 2002, 01:06 PM
#3
Thread Starter
Fanatic Member
well my online server has the newest version, though, I dont own, it or anything I just use it. Its Hostrocket, anyway even your script was generating tons of warnings
-
Aug 7th, 2002, 01:10 PM
#4
Frenzied Member
yup it will. I didn't sdefine all of them as I have it turned off on mine as well.
-
Aug 7th, 2002, 01:12 PM
#5
Thread Starter
Fanatic Member
still cant get it working BTW, it refuses to find the txt file. I need a linux box
-
Aug 7th, 2002, 01:16 PM
#6
Frenzied Member
let me find what folder it looks in. did you upgrade mysql?
-
Aug 7th, 2002, 01:21 PM
#7
Frenzied Member
read this as it might explain where it is. I would have used temporary tables but my ISP doesn't allow that so I was stuck. if I jsut used a regular insert statement it would timeout if the file was over 10,000 lines.
http://www.mysql.com/doc/en/LOAD_DATA.html
you might wanna try to take out the LOCAL and see what it does
-
Aug 7th, 2002, 01:22 PM
#8
Thread Starter
Fanatic Member
yup, I sent you a pm on NXS, it was aout the notices, I didnt know what was going on You can disregard it now
-
Aug 7th, 2002, 01:26 PM
#9
Frenzied Member
ok thanks, I will still look at it and see what it said.
hmmm very interesting. I will see if I can fix that. hmm are you sure tha tis my program? because line 322 is in the middle of 15 lines of pure html.
-
Aug 7th, 2002, 01:35 PM
#10
Thread Starter
Fanatic Member
no it was mine, I was wondering what was happening, before I learn about the notices.
-
Aug 7th, 2002, 01:47 PM
#11
Thread Starter
Fanatic Member
WOOT. I got it to work!
I had to change to 'C:/mysql/$datafile'
and then I stuck the file in there, and it works now.
-
Aug 7th, 2002, 01:53 PM
#12
Frenzied Member
well usually the notices that come up are warnings was undefined variables. but indexes are wierd
-
Aug 7th, 2002, 01:54 PM
#13
Thread Starter
Fanatic Member
two more errors to sort out
Fatal error: Call to undefined function: create_bargraph() in C:\Program Files\Apache Group\Apache2\htdocs\test\graph.php on line 139
Fatal error: Call to undefined function: create_bargraph() in C:\Program Files\Apache Group\Apache2\htdocs\test\graph.php on line 180
-
Aug 7th, 2002, 01:58 PM
#14
Frenzied Member
holly shiz nit..
I see, so that file must not ahve been updated. well itsn't that all cool and everything. I will send you a link to download the newest version. over at NXS
-
Aug 7th, 2002, 01:59 PM
#15
Thread Starter
Fanatic Member
Originally posted by phpman
well usually the notices that come up are warnings was undefined variables. but indexes are wierd
Could it because I never use single quotes where you guys seem to
-
Aug 7th, 2002, 02:03 PM
#16
Frenzied Member
no usually on those will be variables that = flase or be empty. you could use them it won't hurt. without seeing the code it is hard to tell what it is.
-
Aug 7th, 2002, 02:11 PM
#17
Thread Starter
Fanatic Member
well this is the line its complaining about
$user=$myrow["user"];
-
Aug 7th, 2002, 03:07 PM
#18
Frenzied Member
nah that should be ok. maybe it is the line above or below it?
-
Aug 7th, 2002, 05:07 PM
#19
Thread Starter
Fanatic Member
the line above, and below are basicly the same as above just different values
-
Aug 7th, 2002, 08:12 PM
#20
Frenzied Member
that doesn't make since as I use the exact samething
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|