Issue with folder permissions assigned to a group

There is probably a simple and obvious answer to this, but I have not been able to find it by searching.
Here's the situation:
We are new to Active Directory in my company.  We have a machine joined to a Domain.  On the Domain Controller, we have a security group called Accounting.  On the domain joined machine, I have added the Accounting security group to the machine's
local Remote Desktop Users group.  This works fine, all user accounts that are part of Accounting can now login with RDC.
Next, I create a folder, c:\test.  I disable permission inheritance on c:\test, then remove all permissions entries except for CREATOR OWNER and SYSTEM.  I do not change any permissions granted to these two.  Now, I add the Accounting security
group to this folder, and grant that group Full Control permissions.
When one of the members of the Accounting security group logs in and attempts to open c:\test with windows Explorer, it states they do not have permission to access the folder, and it requests an Administrator account and password.
I even went into advanced security settings to the Effective Access tab, entered the user account of one the Accounting security group's members, and effective access states that said user account has full control permissions.
It seems to me that a member of a security group that is granted Full Control permissions on a folder *should* be able to open said folder without incident.  What am I missing?
ADDITIONAL INFO: The Accounting security group has a scope of Domain Local, in case that is important.

Hi,
Glad to hear that this issue has been solved and thanks for sharing in the forum. Your time and efforts are highly appreciated.
Best regards,
Justin Gu

Similar Messages

  • Help with folder permissions issue

    Hello, I'm new to BI and I'm having issues with folder permissions.
    Here is what we are trying to do:
    We have two folders, lets say Folder A and Folder B. We have two application roles, Role1 and Role2.
    Folder A should have full control for Role1, Folder B should not be visible for Role2. Folder B should have full control to Role2, Folder A should not be visible for Role1.
    Under permissions for those two folders we have set it up accordingly. For Folder A, Role 1 has "Full Control", Role 2 has "No Access". Folder B, Role 2 has "Full Control", Role 1 has "No Access".
    Everything works fine if a user has one or the other role.
    But when a user has both the roles, they need to see both the folder but only see 1.
    What am I doing wrong? Thanks for the help in advance.

    if it's any consolation, seems to happen in the mac version, too. i use manually get album artwork on some new files imported from a CD - i renamed it exactly the same way it is in the itunes store, which previously always worked without fail. now, nothing. just says the requested resource can't be found. so, likely it's a bug.

  • Issue with folder action created with automator

    Hello all,
    I'm having an issue with folder actions that i created with automator and it's driving me crazy. Apple says they can't help with things created by the user so this is my only shot at figuring this out.
    Running a Mini 2.3G quad i7, 8GB ram on OSX Mavericks 10.9.2
    My goal is to set up an action to add text to the filename of a file placed into a particular folder. So I open automator and choose folder action. Then I choose the folder I want the action applied to at the top. Then I go to Files and Folders in the library and choose rename finder items and drag it over to the workflow. I select add text, then add the text I want added to the file name and choose before name because I want the added text to preceede the original filename text. I save it then go to the folder I applied it to and right clikc go to services then folder actions and verify that the service is attached to that particular folder and it is.
    Should work right? No. When I place a file in that folder the action runs and adds the text like I want it to... but then it starts to add it over and over again in an infinite loop. It also adds a file with the extension .ds_store to the folder that also has the name added over and over.
    I've tried deleteing all the folder actions and even deleteing all the folder actions themselves saved by the automator in the workflow file in the user library.
    I'm stumped... no idea what to do. A while ago I had used the automator to batch rename files and it worked perfectly. I tried the same steps i listed above to set this action up on a machine in an Apple retail store and it worked... so I know I have the set up right.
    Any help is greatly appreciated.
    Thanks,
    Justin

    Hi JK257
    This is why it happens:
    The folder action is looking for new items in the folder. You drop in a file called "File1". So it renames it "sometext File1". Then it sees this new file called "sometext File1" and thinks "Hey, this is a new file - I'll call it 'sometext sometext File1' because I have to rename every new file." Then it sees this new file called "sometext sometext File1" and thinks...
    You get the picture.
    (the .ds_store is a normally hidden database file which is getting revealed by the same process.)
    The solution is to move the files out of the renamer folder into a receiving folder after they have been renamed:
    Hope this helps,
    H

  • File and folder permissions for specific AD groups

    Having a special folder over multiple servers that certain user groups can access with specific permissions I'd like to audit the security mappings using get-acl commandlet. It's easy for a single folder but I would need subfolders and files too. I know
    I can assign a variable say $object = dir c:\MyShare -recurse  and then would need to somehow pipe each object to get-acl and filter for the AD groups I'm interested in. Ideally if the results were then passed on to csv. Can someone help with getting
    this to work?
    yaro

    Hi Yaro,
    I checked your script, and found you haven't defined the variable $folder before use, please refer to the script below:
    $folders = dir D:\TEST1 -recurse | where {$_.psiscontainer -eq $true}
    foreach($folder IN $folders){
    $folder|Get-Acl | Select-Object -ExpandProperty Access | where {$_.identityreference -match "sys|Adm"}
    Get-Acl $folder.fullname | Select-Object -ExpandProperty Access | where {$_.identityreference -match "sys|Adm"} |
    Select-Object @{n="object";e={ $folder.fullname }},
    @{n="security_principal";e={ $_.identityreference }},
    @{n="type";e={ $_.accesscontroltype }},
    @{n="rights";e={ $_.filesystemrights }}
    And to list the nested groups on local computer, please check this function writed by Boe Prox, which will also list the property "isGroup":
    Get-LocalGroupMembership
    If there is anything else regarding this issue, please feel free to post back.
    Best Regards,
    Anna Wang
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • Severe Security Issue with Sharing Permissions and Windows

    I recently discovered a severe Security issue with the windows sharing an permission settings:
    I have two users, an admin user and a parental controlled user. On my mac mini, i have a external harddrive connected. On the harddrive, i have three folders, Itunes, Iphoto (Package) and a Temp Folder. I want to share the Harddrive RW for the admin, but only R for the parental user. But the Temp folder should be accessible for RW for the parental as well.
    1. I set the Drive checkbox "ignore ownership" off.
    2. I set the permissions of the drive to admin RW, parental R and Everyone to "no access"
    3. I apply to enclosed Items
    4. I set the permission of the Temp folder to admin RW, parental RW and Everyone to "no access"
    5. I apply to enclosed Items
    6. I go to "File Sharing" in the Preferences and activate SMB sharing for both users
    7. I delete all previous shares
    8. I add the Disk and use the proposed permissions which are admin RW, parental R, Everyone "no access"
    9. I add the Temp folder and use the proposed permissions which are admin RW, parental RW, Everyone "no access" - Funny, there is a new Group called "Temp" created which has custom access on both sharepoints
    10. I connect to the mac over a Windows machine (NTLM auth set appropriatly). Now I try to create a folder on the root of the Disk share, I get a denied message.
    BUT WHEN I GO INTO A SUBFOLDER (eg. ITUNES or IPHOTO), WHICH HAS ALSO JUST "R" PERMISSION FOR THE PARENTAL USER, I AM ABLE TO RW, DELETE AND DO EVERYTHING!!!
    TO RECAPITULATE: THE SHARING PERMISSIONS ARE "R", AND THE FILE PERMISSIONS IN THE RESPECTIVE FOLDERS FOR THE RESPECTIVE USER ARE ALSO JUST "R". BUT THE USER CAN DO EVERYTHING IN THE SUBFOLDERS!!!

    I recently discovered a severe Security issue with the windows sharing an permission settings:
    I have two users, an admin user and a parental controlled user. On my mac mini, i have a external harddrive connected. On the harddrive, i have three folders, Itunes, Iphoto (Package) and a Temp Folder. I want to share the Harddrive RW for the admin, but only R for the parental user. But the Temp folder should be accessible for RW for the parental as well.
    1. I set the Drive checkbox "ignore ownership" off.
    2. I set the permissions of the drive to admin RW, parental R and Everyone to "no access"
    3. I apply to enclosed Items
    4. I set the permission of the Temp folder to admin RW, parental RW and Everyone to "no access"
    5. I apply to enclosed Items
    6. I go to "File Sharing" in the Preferences and activate SMB sharing for both users
    7. I delete all previous shares
    8. I add the Disk and use the proposed permissions which are admin RW, parental R, Everyone "no access"
    9. I add the Temp folder and use the proposed permissions which are admin RW, parental RW, Everyone "no access" - Funny, there is a new Group called "Temp" created which has custom access on both sharepoints
    10. I connect to the mac over a Windows machine (NTLM auth set appropriatly). Now I try to create a folder on the root of the Disk share, I get a denied message.
    BUT WHEN I GO INTO A SUBFOLDER (eg. ITUNES or IPHOTO), WHICH HAS ALSO JUST "R" PERMISSION FOR THE PARENTAL USER, I AM ABLE TO RW, DELETE AND DO EVERYTHING!!!
    TO RECAPITULATE: THE SHARING PERMISSIONS ARE "R", AND THE FILE PERMISSIONS IN THE RESPECTIVE FOLDERS FOR THE RESPECTIVE USER ARE ALSO JUST "R". BUT THE USER CAN DO EVERYTHING IN THE SUBFOLDERS!!!

  • Please help! Issues with file permissions on the 'Edit' file created by LR for editing in Photoshop?

    I am running a Macbook Pro with Mountain Lion. I use a Netgear ReadyNas as my storage device. I can Save, Re Save, Delete and add files without any concern on the ReadyNas from within PS or LR. However when I use the 'Edit in Photoshop" command on LR. I chose the 'Edit a copy with edits', LR creates the new duplicate 'edit' file in the same directory as the original. It opens in PS, I edit as required, however when I save the file to return to LR, I am informed that the file is locked and that I need to edit settings on file or folder, even though the settings are working for all other edits etc. I have had Netgear on this for 3 hours this evening and they cannot see any issues with the setting on the ReadyNas. Does anyone know what permissions are changed or why they are changing when the file is being created by LR?
    Sorry bit of a long winded one - but I hope that all makes sense?

    h264 is highly compressed and might be the reason your skimming isn't smooth, it may also take a bit more time to convert. I don't have to worry all that much about space so I haven't particularly tried it and can't say whether there are any drawbacks of doing so.
    If you google 'mpegstreamclip tutorials', you will see quite a few tutorials you can look at, they do tend to be specific to one task which may not exactly fit in with what you are trying to do, but looking at a few might give you a better understanding of what some options do and when to use them if at all.

  • Page Transport does not replace the old Page, same issue with Folder trans

    Hi All,
    I have an issue with the Portal Transport for page and folder.
    First issue:
    I have a page with 2 iviews(iview1 and iview2) added to it as delta links. This page is tranported to test environment and it looks fine with 2 iviews in test. Now I remove iview2 from page and add iview3 to it. Now the page has iview1 and iview3 in it. Now when I tranport the page to test portal, I see all the 3 iviews assigned to the page. Does the portal transport replace the whole page or just appends to it. If that is the case, how do we solve the problem of removing the iview, other than manually going and removing it from the test portal.
    The same issue happens with the folder as well. I have 3 pages in a folder . I transported the folder to test portal and the test portal has 3 pages as well. Now when I delete one page and do the transport to test, I still see all the 3 pages in the folder.
    Let me know if this is a standard issue with the portal , or if there is solution to this issue.
    thanks,
    AE

    Hi Michael,
    The issue is resolved by first deleting the page then created a brand new page with the name name, adding the 2 iviews and transporting to the test portal. Now the page on the test portal also shows 2 iviews.
    The old page had some delta link references to some iviews, even though I removed the iviews from the page. I noticed this by adding the page to the transport package and set the option "resolve references" to "Yes". When the export the tranport package, I saw all the iviews which I have deleted also in the transport package. I do not know why.
    Anyway I am closing this thread, as the problem has been solved.
    thanks,
    AE

  • 10.5 DHCP issues with Wireless - self assigned IPs?

    We're having an issue with Mac OSX 10.5.4 clients, running the latest software updates, not getting an IP address via DHCP on our wireless network.
    We're using Cisco APs, with multiple VLANs & SSIDs. They authenticate, but get automatic self-assigned IP addresses. None of our PC clients are experiencing this issue, nor older 10.4.x OSX clients. This looks like a bug, from what I was able to discover:
    http://forums.macrumors.com/showthread.php?t=384947
    Is Apple aware of this, and/or working on a fix? I've seen many issues over the last year or so with Airport clients and wireless connectivity..

    This is a "user to user" help forum that is designed as a self-help system, independent of Apple's Technical Support system. No one here can say what Apple knows or is doing about a specific issue (pure speculation is discouraged). We share experience and suggest possible solutions or workarounds.
    One way to ensure that your issue is brought to Apple's attention is to use their feedback form for OSX - http://www.apple.com/feedback/macosx.html
    Since the link you posted is from late last year, there have been many updates to Leopard. Some of the updates mention network reliability. Even though Apple has stated that the Pram chips don't control network connections, I have had some luck by Zapping The Pram - http://support.apple.com/kb/HT1379 - Remember to check your System Prefs for things like date/time settings after you Zap.

  • User with 2 permissions assigned via groups, not able to utilize the higher privilege

    User has been assigned Publishing Editor, this was assigned by being a member of a group, where group's permission is publishing editor. 
    In addition, the user has been assigned Reviewer, this also was assigned by being a member of a group, where group's permission is Reviewer. 
    The issue: The user can only perform functions related to the Reviewer role, and can't perform functions available via the Publishing Editor.
    Any Ideas what is going on? 
    *Removing the user from the Reviewer group is not an option. 

    Hi,
    The easiest way is to grant the single user Publishing Editor permission of that folder directly, check if the issue persists.
    Right click on the folder, Properties -> Permissions -> Add the user with Publishing Editor permission.
    Regards,
    Melon Chen
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • Issues with using a assigned package

    I have a task where I've been given pre compiled classes to create a program with. However, I'm having issues using them, and I'm not sure what's going on...
    Theoretically, the following code should work (to test the class for example):
    import question.*;
    public class Quiz {
         final private static int NoOfQuestions = 5;
         public static void main(String[] args) {
              // Create the library
              Question question = new QuestionLibrary();
              // For each question:
              for (int i = 0; i < NoOfQuestions; i++) {
                   // Show where we are
                   System.err.println("Before getQuestion()" + i);
                   // Getf the question
                   String q[] = question.getQuestion();
                   // Show where we are again, and print the first line of the question.
                   System.err.println("After getQuestion()" + i + "\n\n" + q[0] + "\n");
              // It worked
              System.err.println("All good - finishing");
    }The questionLibrary constructor goes and loads some plain text question files and dishes them out in a random order upon calls to getQuestion().
    The javadoc provided shows that getQuestion should return an array of Strings, each line of the question in a different string.
    When the code is compiled and run, the call to getQuestion() throws a null pointer exception, however, on different occasions the call will work as expected. Over many runs of the program, all the questions in the files have been printed out at some point (since they are given randomly), so I know it's not the question files having bad formatting, or one question that breaks the program. The question files total 5 questions, but the run of the program has never passed 3 questions before it fails.
    I know it's probably hard to know exactly what's going on, but is there anything I've forgotten? Or anything I should check?
    Damian

    Damo The Viking,
    I love your nic... though I'm not all sure that there ever were any good ones.
    Is this an exercise in testing? If so, Have you considered that maybe this bug was "injected" explicitly too give you a bug to find? If that's the case it's really not very subtle "bug" is it... every random so many times (I'd guess one in four probability) chuck an error. Even Blind Freddy could find that.
    If you're not sure what's going on I suggest you decompile the provided class files... I've uploaded my old decompiler (it's shareware, pay up after 30 days use) to [DJ_java_decompiler_377.zip|http://groups.google.com/group/comp_lang_java_exchange/web/DJ_java_decompiler_377.zip] [1.7 MB].
    Aside: Please does anyone know of a good "modern" decompiler? Preferably ingrated into Eclipse?... Mine doesn't seem to know about generics, and it's GUI is "a bit poxy".
    If this isn't actually an exercise in testing, then impress the beejazus out of your lecturer by extending the provided class, and overriding the method which has the error.
    If you want more guidance from me I'm going to need to see an SSCCE; the stack trace of the NPE; and of course the jar containing the question package (join my google group and post it up there).
    Cheers. Keith.

  • Issue with the variable assignment in th Bex broadcaster

    hi ,
    i am working on Bex broadcaster . while creating a setting for a report, in the variable assignment under the General precalculation tab, the value given is not getting transferred.
    i tried it in development portal its working fine.
    do anyone have any ideas abt this.

    Hi Apurva,
    Find any solution for your problem? We are experiencing a similar issue too.
    Thanks,
    Vivek

  • Oracle Forms 6i/11i Apps: Horizontal scroll bar is hiding last record in the form, issue with folder switcher

    Horizontal scroll bar is hiding last record in the form. Attached the screenshot which shows the issue.
    Regards,
    Venkat K

    If this is a custom form, you will have to alter the design. If this is a seeded form, pl open an SR with Support

  • LMS 3.2 - restorebackup.pl issues with /var permissions on Solaris 10

    Hi,
    I have been attempting a restore using the restorebackup.pl script but it was repeatedly failing 70% of the way through the RME restore.
    I discovered that the script was changing the directory permissions for /var and /var/adm from root:sys 755 to root:root 700 causing the restart of daemons to fail because of denied permissions.
    What could be causing this change in permissions to /var and /var/adm to occur? Is it an error with the script?
    I was able to successfully restore using the restorebackup.pl script after changing the /var and /var/adm permissions back to root:sys 755 BUT only after the restorebackup script had changed them to root:root 700 during execution.
    The failed log is attached.

    There is no where in the restore code where anything is explicitly chmod'd to 0700.  In fact, the RME restore code will attempt to preserve ownership of /var and /var/adm.  Perhaps the permissions in your RME filebackup.tar file are already 0700 for /var and /var/adm?

  • Security issue with the SGA and multiple installation group.

    Hi,
    Documentation ARE WRONG:
    http://download.oracle.com/docs/cd/E11882_01/rac.112/e10743/preparing.htm#TDPRC131
    # useradd -u 1100 –g oinstall -G dba -d /home/oracle -r oracle
    http://download.oracle.com/docs/cd/E11882_01/install.112/e10816/typinstl.htm#CWSOL156
    # useradd -u 1100 -g oinstall -G dba oracle
    The "-g" and "-G" must be exchange!
    In an advanced installation with multiple Oracle users call them ( ora1, ..., orai, ..., oran )
    with multiple OSdba group defined users call them ( dba1, ..., dbai, ..., dban)
    Associate each oracle user to a dba group with the same number and the install group as oracle told it.
    User ora1 group dba1
    User orai group dbai
    User oran group dban
    Now make the software installationS with the group OSinstall ( install) as written in the documentation, in 3 Oracle_home
    Call the oracle_home1, oracle_home2, oracle_home3
    Now check semaphores, Sharedmemory and files!
    ipcs -msa
    IPC status from <running system> as of Thu Apr 29 12:14:06 CEST 2010
    T ID KEY MODE OWNER GROUP CREATOR CGROUP NATTCH SEGSZ CPID LPID ATIME DTIME CTIME
    Shared Memory:
    m 16777246 0x6525858 rw-rw-- oracle2 install oracle2 install 36 5368725504 3479 4298 12:10:01 12:10:31 16:30:45
    T ID KEY MODE OWNER GROUP CREATOR CGROUP NSEMS OTIME CTIME
    Semaphores:
    s 50331701 0xb7892c1a ra-ra-- oracle2 install oracle2 install 202 16:30:47 16:30:45
    s 50331700 0xb7892c19 ra-ra-- oracle2 install oracle2 install 202 no-entry 16:30:45
    s 50331699 0xb7892c18 ra-ra-- oracle2 install oracle2 install 202 12:13:48 16:30:45
    ls -l $OSD/oradata/*/*/* | sed s/oracle/oracle2/
    -rw-r----- 1 oracle2 install 11600384 Apr 14 18:30 /app1/oracle/admin/ora11g/oradata/ORA11G/changetracking/o1_mf_5wcsdcfh_.chg
    -rw-r----- 1 oracle2 install 11600384 Apr 15 15:08 /app1/oracle/admin/ora11g/oradata/ORA11G/changetracking/o1_mf_5wf7787k_.chg
    -rw-r----- 1 oracle2 install 11600384 Apr 29 13:05 /app1/oracle/admin/ora11g/oradata/ORA11G/changetracking/o1_mf_5wg8jggf_.chg
    -rw-r----- 1 oracle2 install 16695296 Apr 29 13:05 /app1/oracle/admin/ora11g/oradata/ORA11G/controlfile/o1_mf_5wg4j9go_.ctl
    -rw-r----- 1 oracle2 install 524296192 Apr 29 03:05 /app1/oracle/admin/ora11g/oradata/ORA11G/datafile/o1_mf_aud__dol_5wg4mntr_.dbf
    -rw-r----- 1 oracle2 install 104865792 Apr 29 03:05 /app1/oracle/admin/ora11g/oradata/ORA11G/datafile/o1_mf_aud__dol_5wg4mp3v_.dbf
    -rw-r----- 1 oracle2 install 209723392 Apr 29 03:05 /app1/oracle/admin/ora11g/oradata/ORA11G/datafile/o1_mf_example_5wg4ml5z_.dbf
    -rw-r----- 1 oracle2 install 419438592 Apr 29 13:05 /app1/oracle/admin/ora11g/oradata/ORA11G/datafile/o1_mf_stat_dba_5wg4mmhg_.dbf
    -rw-r----- 1 oracle2 install 2097160192 Apr 29 13:05 /app1/oracle/admin/ora11g/oradata/ORA11G/datafile/o1_mf_sys_undo_5wg4kf8n_.dbf
    -rw-r----- 1 oracle2 install 2097160192 Apr 29 03:05 /app1/oracle/admin/ora11g/oradata/ORA11G/datafile/o1_mf_sys_undo_5wg4lss2_.dbf
    -rw-r----- 1 oracle2 install 1363156992 Apr 29 13:05 /app1/oracle/admin/ora11g/oradata/ORA11G/datafile/o1_mf_sysaux_5wg4k1xf_.dbf
    -rw-r----- 1 oracle2 install 1048584192 Apr 29 13:05 /app1/oracle/admin/ora11g/oradata/ORA11G/datafile/o1_mf_system_5wg4jp26_.dbf
    -rw-r----- 1 oracle2 install 209723392 Apr 28 22:01 /app1/oracle/admin/ora11g/oradata/ORA11G/datafile/o1_mf_temp0_5wg4l302_.tmp
    -rw-r----- 1 oracle2 install 209723392 Apr 15 16:06 /app1/oracle/admin/ora11g/oradata/ORA11G/datafile/o1_mf_temp1_5wg4lsod_.tmp
    -rw-r----- 1 oracle2 install 104865792 Apr 29 03:05 /app1/oracle/admin/ora11g/oradata/ORA11G/datafile/o1_mf_users_5wg4l33f_.dbf
    -rw-r----- 1 oracle2 install 104858112 Apr 29 13:05 /app1/oracle/admin/ora11g/oradata/ORA11G/onlinelog/o1_mf_1_5wg4jb44_.log
    -rw-r----- 1 oracle2 install 104858112 Apr 28 21:00 /app1/oracle/admin/ora11g/oradata/ORA11G/onlinelog/o1_mf_2_5wg4jdn6_.log
    -rw-r----- 1 oracle2 install 104858112 Apr 28 22:00 /app1/oracle/admin/ora11g/oradata/ORA11G/onlinelog/o1_mf_3_5wg4jgw8_.log
    -rw-r----- 1 oracle2 install 104858112 Apr 29 03:00 /app1/oracle/admin/ora11g/oradata/ORA11G/onlinelog/o1_mf_4_5wg4jk64_.log
    -rw-r----- 1 oracle2 install 104858112 Apr 29 13:01 /app1/oracle/admin/ora11g/oradata/ORA11G/onlinelog/o1_mf_5_5wg4jmcd_.log
    ls -l $OH/bin/oracle | sed s/oracle/oracle2/
    -rwsr-s--x 1 oracle2 install 256263032 Apr 14 13:54 /app1/oracle/product/11.2.0_64/db_1/bin/oracle*
    That the evidence the documentation provide you a wrong way to do it!
    François LANGE

    The right document syntax for this is:
    UNIX: Do I Need To Use The "oinstall" Group? (Doc ID 463052.1)
    FRançois

  • Issue with folder in remote view

    Ive just created a new web page which needs the use of a database so i saved my website under a separate name and tested it on MAMP first to make sure it all works. I then wanted to upload this to my live site, i did this by copying the new folder (admin)  and pasted it into my live site. I then uploaded them and tried opening the page from the live site but it wont open. (Please see image below.) The other thing i noticed is when i look at my files panel in 'local view' everything looks fine but when i look at it in 'remote view' the admin folder (which holds all the new files) doesnt look right, the folder appears as one file and is blank?
    ```

    Im not sure if it is that or if it has something to do with the code because this is what ive put in the connection/milesdata.php -
    <?php
    # FileName="Connection_php_mysql.htm"
    # Type="MYSQL"
    # HTTP="true"
    $hostname_milesdata = "cust-mysql-123-12";
    $database_milesdata = "milesdata";
    $username_milesdata = "username";
    $password_milesdata = "password";
    $milesdata = mysql_pconnect($hostname_milesdata, $username_milesdata, $password_milesdata) or trigger_error(mysql_error(),E_USER_ERROR);
    ?>
    This is the code for the page i currently cant open (insert_donation.php) -
    <?php require_once('../Connections/milesdata.php'); ?>
    <?php
    $con=mysqli_connect("cust-mysql-123-12","milesdata","username","password");
    // Check connection
    if (mysqli_connect_errno())
       echo "Failed to connect to MySQL: " . mysqli_connect_error();
    mysqli_query($con,"DELETE FROM donation WHERE dateCreated < DATE_SUB(NOW(), INTERVAL 1 DAY");
    mysqli_close($con);
    ?>
    <?php
    if (!isset($_SESSION)) {
      session_start();
    $MM_authorizedUsers = "";
    $MM_donotCheckaccess = "true";
    // *** Restrict Access To Page: Grant or deny access to this page
    function isAuthorized($strUsers, $strGroups, $UserName, $UserGroup) {
      // For security, start by assuming the visitor is NOT authorized.
      $isValid = False;
      // When a visitor has logged into this site, the Session variable MM_Username set equal to their username.
      // Therefore, we know that a user is NOT logged in if that Session variable is blank.
      if (!empty($UserName)) {
        // Besides being logged in, you may restrict access to only certain users based on an ID established when they login.
        // Parse the strings into arrays.
        $arrUsers = Explode(",", $strUsers);
        $arrGroups = Explode(",", $strGroups);
        if (in_array($UserName, $arrUsers)) {
          $isValid = true;
        // Or, you may restrict access to only certain users based on their username.
        if (in_array($UserGroup, $arrGroups)) {
          $isValid = true;
        if (($strUsers == "") && true) {
          $isValid = true;
      return $isValid;
    $MM_restrictGoTo = "index.php";
    if (!((isset($_SESSION['MM_Username'])) && (isAuthorized("",$MM_authorizedUsers, $_SESSION['MM_Username'], $_SESSION['MM_UserGroup'])))) {  
      $MM_qsChar = "?";
      $MM_referrer = $_SERVER['PHP_SELF'];
      if (strpos($MM_restrictGoTo, "?")) $MM_qsChar = "&";
      if (isset($_SERVER['QUERY_STRING']) && strlen($_SERVER['QUERY_STRING']) > 0)
      $MM_referrer .= "?" . $_SERVER['QUERY_STRING'];
      $MM_restrictGoTo = $MM_restrictGoTo. $MM_qsChar . "accesscheck=" . urlencode($MM_referrer);
      header("Location: ". $MM_restrictGoTo);
      exit;
    ?>
    <?php
    if (!function_exists("GetSQLValueString")) {
    function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
      if (PHP_VERSION < 6) {
        $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
      $theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);
      switch ($theType) {
        case "text":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;   
        case "long":
        case "int":
          $theValue = ($theValue != "") ? intval($theValue) : "NULL";
          break;
        case "double":
          $theValue = ($theValue != "") ? doubleval($theValue) : "NULL";
          break;
        case "date":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;
        case "defined":
          $theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
          break;
      return $theValue;
    $editFormAction = $_SERVER['PHP_SELF'];
    if (isset($_SERVER['QUERY_STRING'])) {
      $editFormAction .= "?" . htmlentities($_SERVER['QUERY_STRING']);
    if ((isset($_POST["MM_insert"])) && ($_POST["MM_insert"] == "form1")) {
      $insertSQL = sprintf("INSERT INTO donation (name, url) VALUES (%s, %s)",
                           GetSQLValueString($_POST['name'], "text"),
                           GetSQLValueString($_POST['url'], "text"));
      mysql_select_db($database_milesdata, $milesdata);
      $Result1 = mysql_query($insertSQL, $milesdata) or die(mysql_error());
      $insertGoTo = "insert_success.php";
      if (isset($_SERVER['QUERY_STRING'])) {
        $insertGoTo .= (strpos($insertGoTo, '?')) ? "&" : "?";
        $insertGoTo .= $_SERVER['QUERY_STRING'];
      header(sprintf("Location: %s", $insertGoTo));
    ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>Insert data</title>
    <style type="text/css">
    @import url("../Style sheet.css");
    a:link {
              color: #D91327;
    a:visited {
              color: #D91327;
    a:hover {
              color: #CEB239;
    a:active {
              color: #D91327;
    </style>
    </head>
    <body>
    <div id="container"><img src="../banner.jpg" width="1082" height="187" alt="banner" />
    <p> </p>
    <p class="admin_heading">Insert Record to Database</p>
    <p> </p>
    <form action="<?php echo $editFormAction; ?>" method="post" name="form1" id="form1">
      <table align="center">
        <tr valign="baseline">
          <td height="25" align="right" nowrap="nowrap" bgcolor="#E6CC7F">Deceased Name:</td>
          <td height="25" bgcolor="#E6CC7F"><input type="text" name="name" value="" size="70" /></td>
        </tr>
        <tr valign="baseline">
          <td height="25" align="right" nowrap="nowrap" bgcolor="#F5E7B8">Deceased Unique Url:</td>
          <td height="25" bgcolor="#F5E7B8"><input type="text" name="url" value="" size="70" /></td>
        </tr>
        <tr valign="baseline">
          <td nowrap="nowrap" align="right"> </td>
          <td><input type="submit" class="submit" value="Insert record" /></td>
        </tr>
      </table>
      <input type="hidden" name="MM_insert" value="form1" />
    </form>
    <p> </p>
    <p class="maintext">If you wish to just update data in database please click <a href="update_donation.php">here</a></p>
    </div>
    </body>
    </html>
    The only difference between this page i cant open and the other page donation_2.php that i can open is that there is an extra piece of php code put in to delete the data after 1 day, which when i remove to see if it swill work without, loads and works fine?

Maybe you are looking for