heres the error:
“Warning: Failed opening ‘/tx/inc/arriba.inc’ for inclusion (include_path=’.:/usr/local/lib/php’) in /home/httpd/html/barrio/tx/index.php on line 1”
the include file just has plain html…
the code:
<? include("/tx/inc/arriba.inc") ?>
You know what is causing the prob?
the server supports php… maybe i gotta use anoter include code?
system
2
I am new with PHP so I don’t know for sure… but I don’t think you can include a file in a different directory.
system
3
Are you sure that the path is correct? That may be what is causing the problem.
system
4
i can do it with ASP… (inc in dif directory)
but im having this prob with php… maybe is something in the server?..
maybe its something with the
include_path=’.:/usr/local/lib/php’
system
5
you could try 'require();" instead of include… that may work. I’m nto sure. it sounds like there is a problem with your path.
system
6
<? require("/tx/inc/arriba.inc") ?>
you mean that?
system
8
Fatal error: Failed opening required ‘/tx/inc/arriba.inc’ (include_path=’.:/usr/local/lib/php’) in /home/httpd/html/barrio/tx/index.php on line 1
hehe that was not the prob 
system
9
I think its your path then.
Make sure that its 100% accurate. Then if that doesn’t work… find a PHP board and post there. 
Sorry I can’t help more… 
system
10
yeah i think is the path also, gonna cal the hosting company and see what the F, is wrong with the path, im 100% is like that…
ill tell u in a min what they said.
system
11
awesome. I would like to know what is up as well…
system
12
hehe.
maybe they gonna send me to a php board or something 
they are a bit dumb…
the other day they said “we(support team) dont help with programming problems in our servers”
:P… and i said WTF!?
n00b!
they got me on hold…
maybe they checking the manual…
system
13
OH MAN!!!
i hate these kind of errorS!"#!"#
you kknow what the error was!?
a ■■■■ ; at the end of the include…
ERROR
<? require("/tx/inc/arriba.inc") ?>
GOOD
<? require("/tx/inc/arriba.inc"); ?>
■■■■ the DEVIL!
THANKS DUDES!!! be sure to look out for these kind of errors, they are the worst error in programming you could get…
you dont know what the error is… or where it is… and u end up deleting the file lol!, and the only error was a unclosed bracket!
i hate those!
THANKS!
system
14
LOL!!!
I hate them too man. I had a problem with an include like that too, but I knew it right off the bat so I didn’t read the message it outputted.
■■■■ SEMI-COLONS!!!
system
15
wow…can’t believe we all missed that. It happens tho.
Macromedia took it too easy on us by letting the whole “;” thing slide in Flash.
PHP is not so forgiving. :evil:
system
16
Javascript is not so forgiving with it either. Luckily it comes naturally for me to add it… sorta :-\