Guest Posted April 2, 2007 Posted April 2, 2007 Today was my 1st day. Had no problem adding categories for product. Decided I woul edit my home page text before adding all my products. I followed the Vod Oscommerce tutorial exactly. Downloaded the index file, edited the text and the header only and uploaded the index file. Now when I view my online catalog all I have is: Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. The webmaster is me, Ha Ha! What could I possibley have done wrong? The tutorial specifically said not to edit in hte file manager and I didn't. I checked and doudle checked and I edited the text exactly as I was supposed to and the index file shows it was last updated today.
fromthenorth Posted April 2, 2007 Posted April 2, 2007 Today was my 1st day. Had no problem adding categories for product. Decided I woul edit my home page text before adding all my products. I followed the Vod Oscommerce tutorial exactly. Downloaded the index file, edited the text and the header only and uploaded the index file. Now when I view my online catalog all I have is: Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. The webmaster is me, Ha Ha! What could I possibley have done wrong? The tutorial specifically said not to edit in hte file manager and I didn't. I checked and doudle checked and I edited the text exactly as I was supposed to and the index file shows it was last updated today. Most likely you have not escaped text characters that must be escaped. If you have : Hi! How are you ? It's me. you have to escape the quotation mark - so it needs to be typed like this : Hi! How are you ? It\'s me. You can post your text_main here if you like.
Guest Posted April 2, 2007 Posted April 2, 2007 copy your TEXT_MAIN here I only changed: define('TEXT_MAIN', 'Welcome to my discount perfume shop where you will find designer fragrances from A-Z! From Angel perfume to Zegna perfume and every fragrance in between!<BR><BR>Women, you can stop wasting time searching department stores for perfume sales to be able to afford your fragrance! Shop at chic-perfumefragrance.com where every perfume fragrance is sold at a discount price every day!<BR><BR>Men, save money at chic-perfumefragrance.com and surprise the special woman in your life by giving her more than one perfume for your fragrance gift! You can even have your perfume fragrance professionally gift wrapped if you like!<BR><BR>Save Even More on your perfume fragrances because when you shop at chic-perfumefragrance.com you receive FREE ground shipping on every order!'); And this: define('HEADING_TITLE', 'Women\'s Discount Perfume Fragrances with FREE Ground Shipping!'); They both look fine to me???
fromthenorth Posted April 2, 2007 Posted April 2, 2007 I only changed: define('TEXT_MAIN', 'Welcome to my discount perfume shop where you will find designer fragrances from A-Z! From Angel perfume to Zegna perfume and every fragrance in between!<BR><BR>Women, you can stop wasting time searching department stores for perfume sales to be able to afford your fragrance! Shop at chic-perfumefragrance.com where every perfume fragrance is sold at a discount price every day!<BR><BR>Men, save money at chic-perfumefragrance.com and surprise the special woman in your life by giving her more than one perfume for your fragrance gift! You can even have your perfume fragrance professionally gift wrapped if you like!<BR><BR>Save Even More on your perfume fragrances because when you shop at chic-perfumefragrance.com you receive FREE ground shipping on every order!'); And this: define('HEADING_TITLE', 'Women\'s Discount Perfume Fragrances with FREE Ground Shipping!'); They both look fine to me??? Yup - nothing wrong with this. Well - I guess you're missing a file required by index.php - or there is an error in it. Open store/index.php in your text editor, and go through the file making sue all the include and require files are on your server. You could also take a look at your Apache error logs - likely through your host control panel.
snappygirl Posted April 2, 2007 Posted April 2, 2007 Hello, I am receiving this error [2007-04-02 17:56:22]: error: directory is writable by others: (/home/pgcpkcwy/public_html) What should I do? I renames a file in the public_html by mistake and I don't have a clue on how to correct it. I just starting today so should I just delete and restart ? Thank you :blush:
ngnecco Posted April 3, 2007 Posted April 3, 2007 A promess is a Promess. Mine is FIXED !! This is what it was happening : From the first moment I edited the index.php file, I did the download it (FTP)---edit---upload process; it turned out that the process CHANGED the attributes of the uploaded file to 777 and it has to be 644. I manually changed them back and voila !! Hopefully this works for you too. Let me know !! Nelson skype : ngnecco www.flowersfruitsandcakes.com www.josegifts.com www.chologifts.com (Soon with Oscommerce)
usernamenone Posted April 3, 2007 Posted April 3, 2007 Your web page is giving a 500 internal server error code. put back the original index.php on the server and see what happens. Why were you editing the index.php? A promess is a Promess. Mine is FIXED !! This is what it was happening : From the first moment I edited the index.php file, I did the download it (FTP)---edit---upload process; it turned out that the process CHANGED the attributes of the uploaded file to 777 and it has to be 644. I manually changed them back and voila !! Hopefully this works for you too. Let me know !! Nelson skype : ngnecco www.flowersfruitsandcakes.com www.josegifts.com www.chologifts.com (Soon with Oscommerce)
Guest Posted April 3, 2007 Posted April 3, 2007 I sent a ticket to Voda support and by the time they responded to my ticket, my online catalogue/site had fixed itself! They answered me with there are no errors. I checked my online catalogue/site and they were right. Approximately 16 hours after I made the original main_text change it somehow fixed itself. Anyway for future reference, so I don't have to wait 16 hours to view my online catalogue/site, could you explain what the attributes is and how to manually change them back incase I have the same problem again? A promess is a Promess. Mine is FIXED !! This is what it was happening : From the first moment I edited the index.php file, I did the download it (FTP)---edit---upload process; it turned out that the process CHANGED the attributes of the uploaded file to 777 and it has to be 644. I manually changed them back and voila !! Hopefully this works for you too. Let me know !! Nelson skype : ngnecco www.flowersfruitsandcakes.com www.josegifts.com www.chologifts.com (Soon with Oscommerce)
ngnecco Posted April 3, 2007 Posted April 3, 2007 I sent a ticket to Voda support and by the time they responded to my ticket, my online catalogue/site had fixed itself! They answered me with there are no errors. I checked my online catalogue/site and they were right. Approximately 16 hours after I made the original main_text change it somehow fixed itself. Anyway for future reference, so I don't have to wait 16 hours to view my online catalogue/site, could you explain what the attributes is and how to manually change them back incase I have the same problem again? You will have to use some tool provided by your hosting company to edit files attributes; in my case my hosting is with hostgator.com and I use cpanel provided by them; there is also the chance that your web development app, lets you change each file attribbs. I don't exactly know what the different numbers mean, but I am sure they have to be brought back to 644 from wherever they were. Nelson
usernamenone Posted April 4, 2007 Posted April 4, 2007 I checked my online catalogue/site and they were right. Approximately 16 hours after I made the original main_text change it somehow fixed itself. Sorry your file did not fix its self. You host server went down and they did not want to tell you or they didn't know until you opened a ticket. By attributes do you mean permissions?
Recommended Posts
Archived
This topic is now archived and is closed to further replies.