Jump to content

TweezerMan

Members
  • Posts

    1,763
  • Joined

  • Last visited

Everything posted by TweezerMan

  1. Submit a ticket to the Help Desk and they will tell you what the mail server limits are.
  2. Sorry! I found this FAQ in the PHP manual that is probably most applicable to your issue: Even though your error is 'Cannot modify header information' rather than 'Cannot add header information', this FAQ answer is still applicable. It could be simply a blank line or space, but whatever it is, it's at line 18, rather than at the beginning or end of the script. A couple of examples of what could cause this error: >17: ?> 18: 19: <?php >18: ?> <?php
  3. Welcome to the forums, vphmubkc! At line 18 in your script, there is some statement that is sending actual content to the browser (echo, print, content or HTML outside of <?php ... ?> tags, etc.). This triggers all HTTP headers to be automatically sent, as the HTTP headers must all be sent before any content or HTML is sent to the browser. At line 30 of your script, there is a function that is trying to add or modify the HTTP headers (probably header() ). Since all HTTP headers were already sent to the browser at line 18 of your script (along with whatever content or HTML was output), the HTTP headers can no longer be added to or modified, and this triggers the PHP error message you're seeing. Hope this helps...
  4. You'd need to use mod_rewrite directives in your .htaccess file to redirect a user to a different URL but not show the redirected URL in the user's browser. I believe the following would accomplish what you want: >RewriteEngine on RewriteBase / RewriteCond %{REQUEST_URI} !^/directory1/.* RewriteRule ^.*$ directory1/$1 The Index Manager in CPanels allows you to configure what the webserver will display when you request a directory (a URL without a file name on the end of it, such as such as "http://www.my-TCH-domain.com/directory1/"), but there is no index.html file in that directory. "No Indexes" will give the user a "403 Forbidden" error message if a user tries to browse a directory and not display any file listing. "Standard Indexing" and "Fancy Indexing" will list the files in the directory, with "Standard" being a plain text listing, and "Fancy" including some graphical icons in the listing. Any option you configure for a particular directory's indexes will also apply to that directory's subdirectories, unless you explicitly configure the subdirectories with a different option. Hope this helps...
  5. You can't really "turn off" MT other than to uninstall (delete) it. Similarly, since you have WP installed, it is "on", so it looks like the best course is to "accept it and go on". Somewhere down the line, you may decide that it's okay to remove MT and the pages generated by MT, but I wouldn't recommend doing that just yet.
  6. Welcome to the forums, Madame Renee!
  7. The current default Main Index template for MT3 uses the following code to display a category listing: ><div id="categories"> <h2>Categories</h2> <MTSubCategories> <MTSubCatIsFirst><ul></MTSubCatIsFirst> <MTIfNonZero tag="MTCategoryCount"> <li><a href="<$MTCategoryArchiveLink$>" title="<$MTCategoryDescription$>"><MTCategoryLabel></a> <MTElse> <li><MTCategoryLabel> </MTElse> </MTIfNonZero> <MTSubCatsRecurse> </li> <MTSubCatIsLast></ul></MTSubCatIsLast> </MTSubCategories> </div> If you copy this code into a Category Archive template, the MTSubCategories container tag will list only the subcategories of the archive category. Since your categories apparently have no subcategories, MT displays an empty list. To make your category archives list all categories (like what appears on your Main Index page), I'd suggest replacing the <MTSubCategories> and </MTSubCategories> tags with <MTTopLevelCategories> and </MTTopLevelCategories>.
  8. I compared your code to the original theme template.html - you appear to be missing the code for the actual menu. This is what you say your template has: This is what's in the original template: Side note: You also should have a closing </span> tag in there somewhere.
  9. The HTML looks okay, and even if it wasn't, it shouldn't have made the menus disappear. If you remove the </tr> and <tr> tags you added, do the menus come back?
  10. Thanks, John - you made my day!
  11. If I understand correctly what you're wanting to do, it looks to me like your menu is displaying to the right of your logo because the logo and the menu are in adjacent table cells within the same table row: I'd suggest putting the logo and menu into separate table rows - ending the table row after the logo with a </tr> tag, and starting a new table row (with a <tr> tag) for your menu:
  12. Welcome to the forums, Alan!
  13. Welcome to the forums, cayugadan!
  14. Welcome to the forums, jlory!
  15. Welcome to the forums, doc01!
  16. Welcome to the forums, ohpul!
  17. From the Microsoft Knowledge Base: TCH's web servers are Apache servers, so it would appear you cannot use FrontPage's File Upload form on web pages that are on your TCH account.
  18. Welcome to the forums, Link!
  19. Welcome to the forums, Anya!
  20. Welcome to the forums, Shiryon!
  21. Welcome to the forums, ori!
  22. Welcome to the forums, marc2!
  23. Welcome to the forums, pkatcher!
  24. The latest update on this issue from Six Apart: This has also been posted as a Known Issue in the MT Forums.
  25. Linking to a web site and framing another person's web site are different things. I doubt that using mod_rewrite to check the referer string would be of much help when you're trying to stop someone from framing your site. I've looked at the site where the framing is occuring. I don't believe that it is done with malicious intent. There are two domains can be used to reach the other web site. One domain uses a frameset to redirect browsers from one domain to the other while keeping the original domain's URL in the address bar. The second domain, which is the target of the first domain's redirect, does not enclose the page in a frame at all. I don't think using frames to redirect browsers from one domain to another is the best way to do it, but it's not my site. Still, whether there's malicious intent or not, browsers who try to reach the site through the domain that does use frames will have other links from other sites framed, and this is something that most people don't like and do object to. If you don't want your site framed by this site (or any other site), the best thing to do is add a little javascript to your web page that will break your page out of any frames that it may find itself in. Here is an example of one such javascript, which would go between the <head> and </head> tags in your web pages: ><script type="text/javascript"> <!-- if (self != top) {top.location.href = self.location.href;} //--> </script> If you'd rather redirect the user to a specific page, like you were trying to do by having mod_rewrite check the referer, the script could be modified like this: ><script type="text/javascript"> <!-- if (top.location.href.indexOf('bad-domain.de') > -1) { top.location.href = 'http://your-TCH-domain.com/Forbidden.html'; } //--> </script> If your page is loaded in a frame from the 'bad-domain.de' web site, then the script will break out of the frame and load your 'Forbidden.html' page in the user's browser. You still may want to block referer links from the other site, which mod_rewrite should easily be able to do. I don't know why you get 500 errors, but you've never posted the full .htaccess code you're using when you received them, so it's difficult for someone else to figure out where the problem is. Hope this helps...
×
×
  • Create New...