PHP Error Help
- Started
- Last post
- 8 Responses
- stevegee
I'm stumped about this error I'm geting... The codes all worked perfectly on the clients testing server at 1and1.com but on the live server the PHP isn't initializing at first... Can anyone help?
http://www.rudolphresearch.com/d… then click on a region and look to the right of the map for the errors.
Email me or IM me if you can help please!
IM = steveg0110
- UndoUndo0
it cant find the location of the file , are you using includes or require at the top of your code?
- stevegee0
Includes... If this code will show up, here's the PHP that is in the Africa Region:
- stevegee0
So it didn't show up, but it's includes.
- komkrktprod0
1and1 sucks. I hate them.
They kept billing me after I left them for up to a year.
- ldww0
are you talking about the parse error? its hard to debug php not seeing the code, but based on the error i would guess that you should look at line 101 and the above ones for a bracked. lol.
- stewdio0
We can't see your code, but from the error message it looks like you've got some weird business happening on line 113 that's causing 3 separate include errors.
Looks like you're trying to include a directory instead of an actual file. My guess is you've hardcoded the path name and the file name is a variable but for some reason the variable is coming out NULL. You're doing something like:
include("includes/". $filename);
But when $filename is NULL your script fails. Try testing for a value of $file and see if it is in fact holding data.
- stewdio0
Well... did that help at all?
- stevegee0
Hey guys, yes and no.... it helped but the problem was actually the hosting company PHP, we switched to an AJAX load instead.
And as far as 1and1 sucking, in most cases they don't, this one in particualr, but I too was billed after I quit them and just today I got a notice from a collection agency for $29.97!!! Asses.