Jump to content


  • Posts

  • Joined

  • Last visited

Posts posted by dorich

  1. Problem Statement: I have a number of email accounts associated with one of my domains. One of the accounts is an address that is used as the default address. The problem is that when I look at Horde I don't see a folder for this account and two other accounts have no folder.


    These three accounts are essentially spam catchers and the emails in them are not directed to my local client so I rarely look at them.

    I rec'd a message saying the mailbox was full but could not find a folder containing the emails.


    Shouldn't I see a folder for each email account associated with the domain?


    I ran a test by setting up a new email account and a folder was immediately added to the list of folders in horde.


    How do I find the missing folders?



  2. I'm finding that changes I make to my Wordpress templates take a very long time to percolate through to the page rendered in the browser and I wondered if there is anything in the TCH setup that effects this.


    My workflow starts with making changes in Eclipse and saving them to the server. I made an independent check of the template file on the server by downloading the file via CyberDuck and the downloaded file shows that the change I made has been saved to the server side template file.


    I reloaded the browser - no change

    Cleared the browser cache - no change

    Went to a different browser and inserted the same URL - the newly downloaded page appeared without the change.


    I've had this happen on a couple of TCH servers recently.


    Any suggestions as to the source of the problem?



  3. Try looking at Latest Visitors in addition to the Error Log. There are occasionally some situations (it has varied with server configuration) where the user gets one response, but that response triggers a different error, and only the last response is logged.


    As a made-up example (because I can't recall a specific real one), let's say a 500 error occurs, but there is no file (page) set up on the server for sending a response of 500. That would cause a 404-Not Found, and the log would only show the 404. The page the user sees probably says something like "...in addition, a 404 error occurred..."


    So: request the page and compare what (if anything) is in the Error Log for that request against what's shown in Latest Visitors for that exact same request and for any of its dependency files, also compared against what you actually saw in your browser. Comparing the 3 could shed some light on what's going on.


    Is there any chance that the way you call the file on your home page is different from how you do it everywhere else, such as if there's a typo in the home page link but it's fine on all other pages? Or the link is specified by an absolute path on the home page and a relative path everywhere else? Or the link in the script is specified by a relative path that is correct for most pages but isn't a valid path relative to the home page location? Or other things along those lines?


    Thanks so much for your response, I appreciate you helping me fill in my knowledge gaps.


    This problem appears to have been caused by my inconsistent use of the url format. The blog is in a subdomain but I set up the the blog with the url in the format


    www . example . com / subdomain


    instead of


    subdomain . example . com


    For the most part I make links using the www format but occasionally I've used the subdomain format.


    I discovered that consistently using the subdomain format appears to solve the problem.

  4. Request: I need some help understanding how to trouble shoot the following problem.


    Symptoms: I load a feedback form with each page of my blog, the form is loaded using Javascript. However, on the home page the first time you visit the SITE the form will not load. HOWEVER, if you enter the site by going to a different page then the form loads and if you then return to the home page, using the menu, the form loads as expected. So this condition occurs on entry to the site and, as far as I can detect, only occurs on the home page.

    Using firebug I see a reported internal error 500. After some researching I found that I needed to look in the server error log so I went to the C-panel and reviewed the log. If I load the home page to create the error again there is no mention of it in the server error log (I assume I'm looking in the right place, in the C panel under Logs?).



    • Should the '500' error show in the error log
    • If '500' errors should be in the log what is the reason mine is not appearing
    • Any suggestions on how to troubleshoot this type of problem.


    Other Thoughts:

    I suspect that the problem is that the file containing the form is not being found for the home page on the initial request. However, I'm baffled as to how this could occur. Since the form is loaded via a script the same process is used for every page so how could one page cause the file to be not found. If the form never loaded on the home page that might give some clue but once its loaded on another page then it will load on the home page.


    I don't believe that this is a scripting problem per se but this still seemed to be the best place to ask the question.


    I'd appreciate any answers to my questions above and any guidance on how I might troubleshoot to find the source of my problem.



  5. background:

    I want to collect information on browser and OS from page viewers.

    It seems the way to do this is to use the "get_browser" function in php.

    However, to get the full array of data it appears that the php.ini file has to edited to point to a browscap.ini file.


    I've successfully done this on my development setup using a local MAMP installation.


    My production version will be on a Wordpress site hosted on TC.


    My Question


    If I use the "get_browser" function in a php script for the production version will the array attribute work because the php.ini file points to the browscap file? Alternatively can the php.ini file be edited?


    As you can probably tell from my questions I'm a neophyte on this subject and would appreciate some guidance.



  6. I'm submitting a site map to google using a Wordpress plugin.


    The site map is being rejected for two errors. One is undefined and the other gives a reference to html error 500



    We encountered an error while trying to access your Sitemap. Please ensure your Sitemap follows our guidelines and can be accessed at the location you provided and then resubmit.

    HTTP Error: 500

    Problem detected on: Mar 21, 2011


    I don't know what this means but research on html error 500 suggests that it’s a problem on the server side.


    Is this likely to be something concerned with TCH or is it likely to relate to the Wordpress files on the site.


    The site involved is a subdomain running Wordpress 3.0.1



  7. If you are unable to access your subdomain as http://tools.example.com here's a little tip.


    Rename the "tools" folder something else temporarily. Then go into cPanel and create a subdomain called "tools". Once cPanel creates the subdomain rename the "tools" folder it creates to something else. Now rename your original "tools" folder back to what it was. Launch your browser using the preferred URL and your subdomain should load.


    Once it's working you can delete the folder you renamed that cPanel created.


    I take it you probably used Fantastico to install Wordpress in your "tools" folder.


    @ TCH - Bruce


    Thanks for your response.


    My apologies but I miscommunicated.


    My question is not about accessing the subdomain - at least I don't think it is.


    My question is: "do I have the correct code for redirecting"


    The reason is that google is "suggesting" that a user define a "preferred URL" so that when google crawls the site they (google) don't repeat the content for different versions of what is essentially the same domain. In my case a bad result would be that google crawls the site for tools/example.com and then crawls it as example.com/tools.


    For root domains google lets you specify your preferred url. However, if you have a subdomain the option is not available and so they suggest a 301 redirect.


    Apologies if my explanations are vague but I just learning this part and I'm still fuzzy.


    With regard to your last point I manually installed both Wordpress sites.


    Any pointers on the redirect question would be appreciated.



  8. Since google only offers their "preferred url" feature on a root domains they suggest that you do a 301 redirect in the .htaccess file to handle the preferred domain.


    I've searched around and can't find a tutorial that deals specifically with only redirecting for a subdomain, most examples seem to focus on just handling URLs at the root level.


    In my case my preferred url will be http://tools.example.com


    I assume therefore that I have to redirect http://www.example.com/tools to the preferred url?


    Searching the web suggests the following code is close to what I want:


    >Options +FollowSymLinks 
    RewriteEngine on
    RewriteCond %{HTTP_HOST} .
    RewriteCond %{HTTP_HOST} !^example\.com
    RewriteRule (.*) http://example.com/$1 [R=301,L]


    For the subdomain rewrite does this code become:


    Options +FollowSymLinks 
    RewriteEngine on
    RewriteCond %{HTTP_HOST} .
    RewriteCond %{HTTP_HOST} !^example\.com\tools
    RewriteRule (.*) http://tools.example.com/$1 [R=301,L]


    My assumption is that the above code, or the correct version of it, is inserted into the .htaccess file at the end - ie no additional code is needed.


    The subdomain and the root domain are both running Wordpress blogs.


    I'd appreciate any pointers to detailed reference material, or direct answers, on how to tackle this problem so that I can be sure I've got the code correct.



  9. Please see if this thread has something to do with it.



    Thanks for the feedback.


    I'm not sure I'm knowledgeable enough to know the implications of the changes.


    Of the three items mentioned


    1. Regarding php scripts. I have not created any php scripts. I suppose its possible EE uses php scripts. I'll assume for the moment that this is not related to the problem.

    2. Regarding permissions. The only place I can see where permissions are set to 777 is in a cache folder that is inside of the EE installation folder. I don't understand the purpose of this folder, and I assume that its created on installation.

    3. I haven't made any changes to .htaccess file for the EE installation.


    So I feel as though I don't know the implications of the aforementioned changes or what to do to investigate further.


    I'd appreciate any help or guidance you can provide.



  10. I'm puzzled about where to start trouble shooting this problem.


    I went to my website this morning to find the browser displaying blank web pages.


    The site is built using the core Expression Engine (1.6)


    Looking at files on the server it appears that everything is intact


    I'm guessing that something is wrong with EE.


    The reason for this is that I have one page outside of the EE environment, a landing page, and it displays as expected. So this suggests the EE might be the source of problem.


    My guess is that I have to reinstall EE and recover the database content from the database backup



    However, before I start that process I thought I would ask if anyone has any other suggestions on a possible cause for this problem.



  11. Looking at the instructions on the C Panel backup wizard there are options to make a full or partial backup.

    However, the note under the full backup appears to indicate that you cannot restore the site from the full backup.

    Is my interpretation correct?

    What is the best practice for site backup using the backup wizard?



  12. I took a quick look in the options for Horde and it looks like you can only tell Horde how many emails per page you want it to show and not "all" as I thought, (ie you can set it to 20, 40, 41 or how many you want).


    I would personally perform what you want to do in Squirrel mail instead since there is an "Select all" option there. Then you would not have to do page by page.



    Thanks for the advice.


    I still have a problem because for some reason, and this is part of my confusion, I can see two trash folders.

    The emails I want to delete are in a trash folder that is contained within the inbox. There is no purge command alongside that folder.

    There is another trash folder at the same level as the "inbox" and that has a purge command.


    I'm confused as to why there are two trash folders and how to manage each of them.



    Any pointers would be greatly appreciated.



  13. If all emails already are in the trash you should only need to click purge.


    Thanks for your response.


    I must admit to some confusion about this so perhaps this is just cockpit error.


    I'm looking at the email in the trash using Horde.

    When looking at the list of emails I note two things:

    Each has a checkbox

    In the bottom right of the window there is an action labeled "Purge Deleted". This requires that you check the box on each email and before clicking the "Purge Deleted" button. Once clicked it appears that items are purged.


    I don't see a button for Purge that will just erase what is in the trash.


    I'd appreciate it if you would point me in the right direction.



  14. I googled this and found the following.




    Keep in mind that a huge memory limit is a poor substitute for good coding. A poorly written script may inefficiently squander memory which can cause severe problems for frequently executed scripts. However, some applications are run infrequently and require lots of memory like importing and processing a big data file.


    As I understand, this started to happen just recently, have you updated anything concerning Expression Engine lately? If so I would check with them. If you have not updated EE lately I would ask the techs here at TCH.


    Thanks for your response.

    And thanks for your suggestions on "good coding" practice.

    No recent changes to Expression Engine so I'll talk to technical support.

  15. I'm running Expression Engine for my site and I've just started getting the following error message when I attempt to show a page in the browser:


    Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 203980 bytes) in /home/XXXXXXXXXXXXXXXXXXXX/core/core.template.php on line 699


    Is this is a restriction set by the server and if so is it something I can adjust?

    Or is this likely to be a fault with Expression Engine?



  16. I have over 1000 emails that are in the trash but apparently not deleted.


    Is the correct way to remove them from the server to mark them as deleted and then purge them?


    Is there a way to delete these emails with one command rather than having to go page by page delete them and then purge them?





  17. Not knowing your domain you are probably on a shared server which means the certificate is tied to the server and not your domain. You can eliminate the error setting your mail servers to the ones listed in the certificate.



    Hi Bruce:


    Thanks for moving my post to the appropriate forum.


    This is a shared server, do you want the domain name?


    I need a little more guidance in solving this issue.


    When I open the certificate the only domain I see is * dot tcXXXXXXXXX dot com. I don't see any reference to a server.


    I have the following questions:

    1. When you reference a server are you referring to this domain name or should I be looking for something else?
    2. Are you suggesting that I change my incoming and outgoing settings to mail dot tcxxxxxxx dot com. Instead of mail dot mydomain dot com?
    3. When I show the certificate there is a checkbox at the top that is unchecked. The text assocated with the box says something to the effect "Always Trust *dot tcxxxxxx dot com"? Should I check that box. I'm using mail.app is OSX.



    Thanks for your help.

  • Create New...