# Lil SSI php help

**URL:** <https://forum.kirupa.com/t/lil-ssi-php-help/11732>\
**Category:** Uncategorized\
**Created:** [January 21, 2003, 5:10pm UTC](https://forum.kirupa.com/t/lil-ssi-php-help/11732 "2003-01-21T17:10:39Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![thediablo](https://avatars.discourse-cdn.com/v4/letter/t/c37758/32.png) [@thediablo](https://forum.kirupa.com/u/thediablo)\
**Post date:** [January 21, 2003, 5:10pm UTC](https://forum.kirupa.com/t/lil-ssi-php-help/11732/1 "2003-01-21T17:10:39Z")

</div>

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:

```php
  <? include("/tx/inc/arriba.inc") ?> 

```

You know what is causing the prob?

the server supports php… maybe i gotta use anoter include code?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [January 21, 2003, 5:23pm UTC](https://forum.kirupa.com/t/lil-ssi-php-help/11732/2 "2003-01-21T17:23:24Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [January 21, 2003, 5:26pm UTC](https://forum.kirupa.com/t/lil-ssi-php-help/11732/3 "2003-01-21T17:26:33Z")

</div>

Are you sure that the path is correct? That may be what is causing the problem.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [January 21, 2003, 5:27pm UTC](https://forum.kirupa.com/t/lil-ssi-php-help/11732/4 "2003-01-21T17:27:22Z")

</div>

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’

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [January 21, 2003, 5:30pm UTC](https://forum.kirupa.com/t/lil-ssi-php-help/11732/5 "2003-01-21T17:30:45Z")

</div>

you could try 'require();" instead of include… that may work. I’m nto sure. it sounds like there is a problem with your path.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [January 21, 2003, 5:32pm UTC](https://forum.kirupa.com/t/lil-ssi-php-help/11732/6 "2003-01-21T17:32:26Z")

</div>

```php
<? require("/tx/inc/arriba.inc") ?> 

```

you mean that?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [January 21, 2003, 5:33pm UTC](https://forum.kirupa.com/t/lil-ssi-php-help/11732/7 "2003-01-21T17:33:14Z")

</div>

yeah.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [January 21, 2003, 5:33pm UTC](https://forum.kirupa.com/t/lil-ssi-php-help/11732/8 "2003-01-21T17:33:27Z")

</div>

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 😛

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [January 21, 2003, 5:34pm UTC](https://forum.kirupa.com/t/lil-ssi-php-help/11732/9 "2003-01-21T17:34:57Z")

</div>

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… 🙂

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [January 21, 2003, 5:35pm UTC](https://forum.kirupa.com/t/lil-ssi-php-help/11732/10 "2003-01-21T17:35:52Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [January 21, 2003, 5:36pm UTC](https://forum.kirupa.com/t/lil-ssi-php-help/11732/11 "2003-01-21T17:36:24Z")

</div>

awesome. I would like to know what is up as well…

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [January 21, 2003, 5:39pm UTC](https://forum.kirupa.com/t/lil-ssi-php-help/11732/12 "2003-01-21T17:39:29Z")

</div>

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…

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [January 21, 2003, 5:45pm UTC](https://forum.kirupa.com/t/lil-ssi-php-help/11732/13 "2003-01-21T17:45:38Z")

</div>

OH MAN!!!

i hate these kind of errorS!"#!"#

you kknow what the error was!?

a ■■■■ ; at the end of the include…

```php

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!

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [January 21, 2003, 5:47pm UTC](https://forum.kirupa.com/t/lil-ssi-php-help/11732/14 "2003-01-21T17:47:09Z")

</div>

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!!!

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [January 21, 2003, 5:47pm UTC](https://forum.kirupa.com/t/lil-ssi-php-help/11732/15 "2003-01-21T17:47:22Z")

</div>

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:

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [January 21, 2003, 5:48pm UTC](https://forum.kirupa.com/t/lil-ssi-php-help/11732/16 "2003-01-21T17:48:07Z")

</div>

Javascript is not so forgiving with it either. Luckily it comes naturally for me to add it… sorta :-\
