> 1 <
| Author | Message |
medj
13 posts
Location: --- Occupation: Age: |
#240 2008-03-02 23:42 GMT |
|
This doesn't really have to do with Seditio but with PHP.
Here is my very strange problem: First, let me show you my webdesign site where I use a php include to just get data from files in the folder. For example: http://nexiety.com/portfolio/index.php?project=nexarts In the portfolio folder I have a file called nexarts.php which is data with variables such as $sitename=nexarts, etc. Anyway, as you can see, it works fine. Here is the problem: I have another site to showcase some of my uncles music that he made. Since I have many songs I decided to just use the same method as I used on my webdesign site. I literally copied the files to save me time yet for some reason, it doesn't seem to work on this newer site. For example: http://retrospectivemusic.com/one/index.php?track=03-doom I have the file 03-doom.php in the folder /one just like my other site but for some reason the PHP doesn't seem to like this site. Just so you know, both sites are on the same server. After looking at it for about 2 hours and trying to figure the problem and before posting about it here, I've come to realize that for some reason my variable $track doesn't seem to be passing the parameter I pass it in the url. Any ideas? |
|
Kilandor
118 posts
http://www.seditioforge.com/ Location: United States TN Occupation: Web Coder - Gamer - Game Devloper(working on it) Age: 23 |
#241 2008-03-03 00:17 GMT |
|
The warning says the problem.
Code: Warning: include(php) [function.include]: failed to open stream: No such file or directory in /home/.morrisey/medj/retrospectivemusic.com/one/index.php on line 32 Warning: include() [function.include]: Failed opening 'php' for inclusion (include_path='.:/usr/local/php5/lib/php:/usr/local/lib/php') in /home/.morrisey/medj/retrospectivemusic.com/one/index.php on line 32 Its trying to include the file "php" so, for some reason its not getting 03-doom, to make it 03-doom.php, likely a misnamed variable, or imported wrong name. |
|
medj
13 posts
Location: --- Occupation: Age: |
#250 2008-03-05 23:14 GMT |
|
It's kinda weird. I played around it with it for a few hours and I still don't have any luck. I really wonder about this. Thanks for the help though.
|
|
> 1 <



