1. The forums will be archived and moved to a read only mode in about 2 weeks (mid march).

Pureperms error

Discussion in 'Plugin Help' started by Patrycy04, Dec 14, 2016.

  1. Patrycy04

    Patrycy04 Spider Jockey

    Messages:
    38
    GitHub:
    Patrycy04
    Warning: file_put_contents(/home/q/server.propert
    ies): failed to open stream: Permission denied in
    phar:///home/q/PocketMine-MP.phar/src/pocketmine
    /scheduler/FileWriteTask.php on line 38

    Warning: fopen(/home/q/plugins/PurePerms/players.
    yml): failed to open stream: Permission denied in
    phar:///home/q/PocketMine-MP.phar/src/pocketmine
    /plugin/PluginBase.php on line 214

    Warning: stream_copy_to_stream() expects paramete
    r 2 to be resource, boolean given in phar:///home
    /q/PocketMine-MP.phar/src/pocketmine/plugin/Plugi
    nBase.php on line 214

    Warning: fclose() expects parameter 1 to be resou
    rce, boolean given in phar:///home/q/PocketMine-M
    P.phar/src/pocketmine/plugin/PluginBase.php on li
    ne 215

    Warning: file_put_contents(/home/q/plugins/PurePe
    rms/players.yml): failed to open stream: Permissi
    on denied in phar:///home/q/PocketMine-MP.phar/sr
    c/pocketmine/utils/Config.php on line 208
    [23:44:24] [Server thread/WARNING]: [PurePerms] P
    rovider 'yaml' does NOT exist. Setting the data p
    rovider to default.

    Warning: file_put_contents(/home/q/plugins/PurePe
    rms/groups.yml): failed to open stream: Permissio
    n denied in phar:///home/q/PocketMine-MP.phar/src
    /pocketmine/utils/Config.php on line 208

    Warning: file_put_contents(/home/q/plugins/PurePe
    rms/groups.yml): failed to open stream: Permissio
    n denied in phar:///home/q/PocketMine-MP.phar/src
    /pocketmine/utils/Config.php on line 208

    Warning: file_put_contents(/home/q/plugins/PurePe
    rms/groups.yml): failed to open stream: Permissio
    n denied in phar:///home/q/PocketMine-MP.phar/src
    /pocketmine/utils/Config.php on line 208

    Warning: file_put_contents(/home/q/plugins/PurePe
    rms/groups.yml): failed to open stream: Permissio
    n denied in phar:///home/q/PocketMine-MP.phar/src
    /pocketmine/utils/Config.php on line 208

    Warning: file_put_contents(/home/q/plugins/PurePe
    rms/groups.yml): failed to open stream: Permissio
    n denied in phar:///home/q/PocketMine-MP.phar/src
    /pocketmine/utils/Config.php on line 208

    Warning: file_put_contents(/home/q/plugins/PurePe
    rms/groups.yml): failed to open stream: Permissio
    n denied in phar:///home/q/PocketMine-MP.phar/src
    /pocketmine/utils/Config.php on line 208

    Warning: file_put_contents(/home/q/plugins/PurePe
    rms/groups.yml): failed to open stream: Permissio
    n denied in phar:///home/q/PocketMine-MP.phar/src
    /pocketmine/utils/Config.php on line 208
     
  2. Awzaw

    Awzaw Zombie Pigman Poggit Admin

    Messages:
    726
    GitHub:
    awzaw
    start with 'yamlv1' not 'yaml' as the provider. If that doesn't fix it, do you have the PurePerms config folder set up correctly with groups.yml etc and the correct permissions?
     
    applqpak likes this.
  3. InspectorGadget

    InspectorGadget Zombie Pigman

    Messages:
    462
    GitHub:
    InspectorGadget
    That should be the case. It seems it couldn't write/overwrite any. It would say *cough *cough something is wrong with your groups.yml - This might be changed in the new Version of PP..
     
    Last edited: Dec 15, 2016
  4. Patrycy04

    Patrycy04 Spider Jockey

    Messages:
    38
    GitHub:
    Patrycy04
    I have newest :(
     
  5. Patrycy04

    Patrycy04 Spider Jockey

    Messages:
    38
    GitHub:
    Patrycy04
    I know but this can be fool od bad permissions?
     
  6. InspectorGadget

    InspectorGadget Zombie Pigman

    Messages:
    462
    GitHub:
    InspectorGadget
    I think it probably should be your provider. If you've changed your Provider to yamlv1. It would work if you don't have errors in Group.yml. It's very crucial for you to mind the spaces when adding a new permission node. Any mistake you do with - could lead with issues like this by not readying groups.yml. As far as I know from looking into your Errors. There's nothing related with groups.yml I believe. I would suggest you to download your groups.yml or rename it to another name. Then, restart your server to allow the PurePerms plugin to load it's groups.yml back. That's the best way to actually know what's wrong if it's even groups.yml's fault or provider issue.
     
  7. robske_110 (Tim)

    robske_110 (Tim) Wither Skeleton Poggit Reviewer

    Messages:
    1,342
    GitHub:
    robske110
    It's not the problem. To all the people in this thread read the actual error. file_put_contents has thrown a warning. It says permission denied, failed to open stream. This means the php process was not able to gain permission to open the stream to a file in order to read or write. Please try to set your permissions, so that your user you are running php with has the permission to read these files. You can also run php with sudo/admin but that's not something i would do.
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.