Jump to content

Error: File is writeable by group


n10mesas

Recommended Posts

Hello, I'm getting this error just in the folder /n10mesasweb/:

 

SoftException in Application.cpp:267: File "/home/n10mesas/public_html/n10mesasweb/testconexion2.php" is writeable by group

 

The issue is due to folder and files permission not properly set and cPanel not allowing them to run on user end.

 

>> I've googled it, and the solution seems to be doing this: https://www.basezap.com/solved-softexception-in-application-cpp267-file-home-public_html-index-php-is-writeable-by-group/

 

 

(Worked whit Jonny host) <-- this is my testconexion2.php:

<?php

$servidor = 'localhost';

$usuario = 'n10mesas_user';

$password = '[redacted]';

$db_nombre = 'n10mesas_db';

 

$conexion = mysqli_connect($servidor,$usuario,$password,$db_nombre) or

die("Problemas con la conexión");

?>

What should I do? or How can you help me?

please. Thank you

Link to comment
Share on other sites

Firstly never post your password on a public domain. I've edited your post and removed it, though it'd still be good to change your password as this thread as been read my a few others before me.

 

Next, the error simply means that the file "testconexion2.php" has the group write permissions open, which the application doesn't expect.

 

To fix it, go to cPanel File Manager, the directory where the file is, then select the file, click "Change Permissions" and uncheck the instances of "Group".

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...