Email Causing Problem

Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.

  1. #1

    Default Email Causing Problem

    I have created my own webemail client, it gives me error when i try to open the
    link of the email to read it, actually it do two things, when i open for an
    reading, it creates the directory with the name of username whos session is
    valid yet for any atttchments and any othr stuff, and then when i compose a
    mail and provide the attchment, it tries to create the folder with the username
    session_uploads folder and generates error while doing this:

    it again gives me the error description is located below : i have my hosting
    on linux plateform


    help me out right:

    The specified Directory attribute value
    /home/httpd/vhosts/mydomain.net/subdomains/joker/httpdocs/joke could not be
    created.
    The most likely cause of this error is that the
    '/home/httpd/vhosts/mydomain.net/subdomains/joker/httpdocs/joke' already exists
    on your file system. The exception occurred during a cfdirectory
    action="create".

    The error occurred in
    /home/httpd/vhosts/mydomain.net/subdomains/joker/httpdocs/file1.cfm: line 24


    22 : <cfset TAB = Chr(9)>
    23 : <cfif NOT DirectoryExists(AttachDir)>
    24 : <cfdirectory action="create" directory="#AttachDir#" mode="777">
    25 : </cfif>

    this is the problem i am off to:



    nightwolf666 Guest

  2. Similar Questions and Discussions

    1. Virtual sites/subdomains causing CF problem with paths
      We are running MX7, and have setup some subdomains based on directories from root. For example, we have a web site that has the following:...
    2. Found problem in Mail-SpamAssassin-2.xx causing build failure onwin32
      A quick look at the test results on CPAN for Mail-SpamAssassin at http://testers.cpan.org/show/Mail-SpamAssassin.html reveals a common point of...
    3. Overlapping flash movies causing problem.
      I'm having a problem with overlapping flash movies that I'm using in Director. Basically, I have a background image on channel 1. I also have...
    4. Weird Header Problem Causing Gap in Sliding
      I'm having a problem with FMP6.0v4 on Mac OS 9.2.2 and Windows 2000. It's also happening on FMP5 and 5.5, but I'm going to be using 6. Depending on...
    5. [PHP] help with email problem
      > Be real - the legislation is a waste of time and money and will never be take Yes, but they're taking money *from* American companies, for the...
  3. #2

    Default Re: Email Causing Problem

    > I have created my own webemail client, it gives me error when i try to
    open the
    > link of the email to read it, actually it do two things, when i open for
    an
    > reading, it creates the directory with the name of username whos session
    is
    > valid yet for any atttchments and any othr stuff, and then when i compose
    a
    > mail and provide the attchment, it tries to create the folder with the
    username
    > session_uploads folder and generates error while doing this:
    >
    > it again gives me the error description is located below : i have my
    hosting
    > on linux plateform
    >
    >
    > help me out right:
    >
    > The specified Directory attribute value
    > /home/httpd/vhosts/mydomain.net/subdomains/joker/httpdocs/joke could not
    be
    > created.
    > The most likely cause of this error is that the
    > '/home/httpd/vhosts/mydomain.net/subdomains/joker/httpdocs/joke' already
    exists
    > on your file system. The exception occurred during a cfdirectory
    > action="create".
    >
    > The error occurred in
    > /home/httpd/vhosts/mydomain.net/subdomains/joker/httpdocs/file1.cfm: line
    24
    >
    >
    > 22 : <cfset TAB = Chr(9)>
    > 23 : <cfif NOT DirectoryExists(AttachDir)>
    > 24 : <cfdirectory action="create" directory="#AttachDir#" mode="777">
    > 25 : </cfif>
    That looks like a Plesk managed server. I think the user under which CF is
    running doesn't not have the right to create that directory. You'll need to
    allow him to write to that dir.

    --
    <mack />


    Neculai Macarie Guest

  4. #3

    Default Re: Email Causing Problem

    Yes it is an pleased managed server, What you said, i question to my admin and
    he said that you can build and create the directories under any name, but i
    think that dosn't seems to work any way ?

    what i do?:Q

    nightwolf666 Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139