php "Application Error" / Read Permissions

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Frank Hagan
    Senior Member
    • Mar 2004
    • 724

    #1

    php "Application Error" / Read Permissions

    I'm attempting to include a .php file in another php file and getting the error:

    Application Error: You must enable read permission to the /aom directory.

    I suspect its the program itself, since "/aom" is a subdirectory below the one the program is in. The /aom directory does indeed have read permissions.

    I have a question into the developer, but was wondering if anyone else has run into this.
  • AndrewT
    Administrator
    • Mar 2004
    • 3655

    #2
    That looks like an error that would be generated from the script itself and not an actual PHP error. If this is the case, the developers are definetly your best bet.

    Comment

    • Frank Hagan
      Senior Member
      • Mar 2004
      • 724

      #3
      I think so ... I can include other php scripts in Joomla. And it is saying "Application error". The application is an encoded php file, so I can't peek under the hood to see what is going on.

      Joomla does have a nice "wrapper" function that must use an iframe, but has a setting to set it to "full height all the time" (you avoid the tell-tale iframe scroll bars that way, and there doesn't seem to be a performance penalty). So I'm using that and it looks OK.

      Comment

      • Dr. Jones
        Junior Member
        • Apr 2007
        • 11

        #4
        I apologize if this sounds like a dumb suggestion, but did you check the permissions on the files within the directory, and make sure they're at least globally readable?

        Comment

        • Frank Hagan
          Senior Member
          • Mar 2004
          • 724

          #5
          Yep, all the permissions were correct. I don't know if its related to the encryption used for the php file or not (its a commercial script), but nothing seemed to work. I found a work-around ... its on a Joomla site, so I used their native "wrapper" function that creates a self-resizing i-frame around the content (so you don't have the tell-tale scroll bars in the middle of the content.)

          Comment

          Working...