zsero Posted August 10, 2005 Posted August 10, 2005 Hi, I just finished installing osCommerce at my ISP and I have some problems with images inside include directory. It means that buttons (from language dir) are not visible. I tried it with a test.gif and server says error 500 / internal server error. (If I try to access a non-existent file it is the same error, not 404. Is it a .htaccess issue? How can I solve it? I only have a .htaccess file in /include and the content is untouched. <Files *.php>Order Deny,Allow Deny from all </Files>
niknakgroup Posted August 10, 2005 Posted August 10, 2005 Probably an error in your configure.php file check the line for languages. Please note - if I have suggested a contrib above, it doesnt mean it will work! Most of the contribs are not ones I've used, but may be useful for your particular problem.... Have you tried a refined search? Chances are your problem has already been dealt with elsewhere on the forums..... if (stumped == true) { return(square_one($start_over) } else { $random_query = tep_fetch_answer($forum_query) }
zsero Posted August 11, 2005 Author Posted August 11, 2005 Probably an error in your configure.php file check the line for languages. <{POST_SNAPBACK}> What do you mean? To move the language dir out of include? The configure file is untouched, and have a working installation with the same structure & configure file on my localhost with no problem. I mean if I rename the .htaccess in /include everything works, but I think it is very risky. If I use then pages work, just the buttons not (and language is loaded correctly).
niknakgroup Posted August 11, 2005 Posted August 11, 2005 sorry, mucked up. Please ignore this post! Please note - if I have suggested a contrib above, it doesnt mean it will work! Most of the contribs are not ones I've used, but may be useful for your particular problem.... Have you tried a refined search? Chances are your problem has already been dealt with elsewhere on the forums..... if (stumped == true) { return(square_one($start_over) } else { $random_query = tep_fetch_answer($forum_query) }
zsero Posted August 11, 2005 Author Posted August 11, 2005 ahah - sorry, just re-looked at your .htaccess file again - i checked my store and the original download of oscommerce, and there isnt an .htaccess in the language folder. If you remove it, what exactly are you giving away if anybody can get into it? Your english definitions of osc code? Your images (which can be taken with a simple right click and save anyway)? You aren't risking anything which isn't already publically available - so long as you have protection on your includes folder, you are OK. <{POST_SNAPBACK}> No! I mean I only have a .htaccess in the include folder which causes error in the lang/mod/lang/images folder too! So I have only one .htaccess file, which is in include folder and what if I delete the problem is gone (but then there is no .htaccess in the include which I think is very risky). I tried <file *.gif>.... allow but I didn't succeed. What is the correct definition to allow .gif files for everyone? Anyway I can move out the language folder to root, it solves the problem.
niknakgroup Posted August 12, 2005 Posted August 12, 2005 damn - realised my own mistake and edited it, but got caught in the act!! :blush: Please note - if I have suggested a contrib above, it doesnt mean it will work! Most of the contribs are not ones I've used, but may be useful for your particular problem.... Have you tried a refined search? Chances are your problem has already been dealt with elsewhere on the forums..... if (stumped == true) { return(square_one($start_over) } else { $random_query = tep_fetch_answer($forum_query) }
zsero Posted August 12, 2005 Author Posted August 12, 2005 damn - realised my own mistake and edited it, but got caught in the act!! :blush: <{POST_SNAPBACK}> No problem, thanks for your help. Probably I will edit the configure.php and set the language dir to /language. This server has a strange .htaccess behaviour, I hope I will not run into errors in other places.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.