Jump to content


Photo

Unseen variables


  • Please log in to reply
1 reply to this topic

#1 waffle72

waffle72
  • New Members
  • Pip
  • Newbie
  • 9 posts

Posted 24 April 2006 - 08:20 PM

Here is my problem.

I am developping a web site, the structure is as follow

index.php
[blockquote]include of language file
include of head file
include of middle file
[blockquote]
include of right file
include of center file
[blockquote]depending of a case
[blockquote]include of home file
include of apropos file[/blockquote][/blockquote]
include of left file
[/blockquote]
include of footer file[/blockquote]

In my langguage file, I have all my text in variables.
What's happening is that those variable are not "visible" in the home and apropos files. But they are visible in any other files.
If I do my include language file directly in my home or apropos files, everthink works fine so it is not the way a code.
If I put the home and apropos file in the same directory as my right file, for exemple, nothing change, so it is not the place where they are.
What I don't really get is that it works fine on my localhost but not when I transfert on my hosting server. I have tried other hosting server, same problem.

Since from my point of view when you do an include of a file, it is the same as copiing this file into your code I don't see why the variables are not recognised !

You can have a look here : [a href=\"http://www.labaroude.com/sara/index.php?option=apropos\" target=\"_blank\"]http://www.labaroude.com/sara/index.php?option=apropos[/a]
I am a bit lost here. Any idea would be very welcome.


#2 Guest_askjames01_*

Guest_askjames01_*
  • Guests

Posted 24 April 2006 - 09:17 PM

You better put all the codes brother and the error message too.
So that the people here can understand your problem easily.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users