panozfan Posted October 22, 2005 Share Posted October 22, 2005 I know why people keep asking the same things over & over on this forum. It's because when you use the search feature, for example...I tried to search for information on the 'information box contents' on the index page of my oscommerce site and I typed in everything pertaining to that topic in the search area on here & I got topics on everything BUT what I was looking for. :blink: I still can't find the answer to my problem & I have been looking for over 4 hours. I simply would like to know why when I change the topic in my information box and you click on the new topic I get this error code: Warning: main(includes/languages/english/FILENAME_business): failed to open stream: No such file or directory in /hsphere/local/home/rstuf/rstuf.com/catalog/business.php on line 15 Fatal error: main(): Failed opening required 'includes/languages/english/FILENAME_business' (include_path='.:/usr/local/lib/php') in /hsphere/local/home/rstuf/rstuf.com/catalog/business.php on line 15 If anyone can help me it would be greatly appreciated. I have had so many people in the past give me awesome help on here. :thumbsup: Link to comment Share on other sites More sharing options...
♥Vger Posted October 22, 2005 Share Posted October 22, 2005 Did you do the following? 1. Create two new files, one in the root and another in includes/languages/english/ ? 2. Did you add it to includes/boxes/information.php ? 3. Did you add it to includes/languages/english.php ? 4. Did you add it to includes/filenames.php ? Vger Link to comment Share on other sites More sharing options...
tmgrood Posted October 23, 2005 Share Posted October 23, 2005 I know why people keep asking the same things over & over on this forum. It's because when you use the search feature, for example...I tried to search for information on the 'information box contents' on the index page of my oscommerce site and I typed in everything pertaining to that topic in the search area on here & I got topics on everything BUT what I was looking for. :blink: I still can't find the answer to my problem & I have been looking for over 4 hours. I simply would like to know why when I change the topic in my information box and you click on the new topic I get this error code: Warning: main(includes/languages/english/FILENAME_business): failed to open stream: No such file or directory in /hsphere/local/home/rstuf/rstuf.com/catalog/business.php on line 15 Fatal error: main(): Failed opening required 'includes/languages/english/FILENAME_business' (include_path='.:/usr/local/lib/php') in /hsphere/local/home/rstuf/rstuf.com/catalog/business.php on line 15 If anyone can help me it would be greatly appreciated. I have had so many people in the past give me awesome help on here. :thumbsup: I know, I know. I spend hours using the search option in the forums to try and find the answers to my many questions but it gives such a broad range of hits. And then when you ask you usualy get a reply like, "why didnt you search the forums. That questions been asked thousands of times". I also check the Knowledge Base and Contributions. Im glad Vger got your answer for ya. :D I'm a victim of circumstance Link to comment Share on other sites More sharing options...
♥Vger Posted October 23, 2005 Share Posted October 23, 2005 Actually, if you want to do a good search of this forum - use Google. You don't have the restriction of words less than four letters in length not being applied to the search and the hits you get are much more relevant. It has one other very good side effect - it reduces load on this server. Vger Link to comment Share on other sites More sharing options...
panozfan Posted October 23, 2005 Author Share Posted October 23, 2005 I know, I know. I spend hours using the search option in the forums to try and find the answers to my many questions but it gives such a broad range of hits.And then when you ask you usualy get a reply like, "why didnt you search the forums. That questions been asked thousands of times". I also check the Knowledge Base and Contributions. Im glad Vger got your answer for ya. :D Well I've got one thing to say for sure and that is that I hope we never lose Vger on this forum because I, personally, would be lost without them. Thank you so much for once again helping me out. :thumbsup: Did you do the following? 1. Create two new files, one in the root and another in includes/languages/english/ ? 2. Did you add it to includes/boxes/information.php ? 3. Did you add it to includes/languages/english.php ? 4. Did you add it to includes/filenames.php ? Vger I did all those things you listed & I still get that error code. Should I clear the cache for the page maybe? Any other suggestions would be appreciated. Thank you. Link to comment Share on other sites More sharing options...
♥Vger Posted October 23, 2005 Share Posted October 23, 2005 The convention for defining filenames is to use all upper case letters. It should not make a difference if you use lower case, but it may on your server. So I'd recommend that you edit: FILENAME_business to this: FILENAME_BUSINESS Also, if you use FILENAME_business in includes/filenames.php and then use FILENAME_BUSINESS in the root level file this will cause an error. Vger Link to comment Share on other sites More sharing options...
panozfan Posted October 23, 2005 Author Share Posted October 23, 2005 The convention for defining filenames is to use all upper case letters. It should not make a difference if you use lower case, but it may on your server. So I'd recommend that you edit:FILENAME_business to this: FILENAME_BUSINESS Also, if you use FILENAME_business in includes/filenames.php and then use FILENAME_BUSINESS in the root level file this will cause an error. Vger Vger that worked like a charm! You are the master! :D Thank you so much! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.