Error: SoftException in Application(dot)cpp:303 UID of script is small than min_uid

The error message "Error: SoftException in Application(dot)cpp:303 UID of script is small than min_uid" means that the script that is causing the error is owned by a user with a lower UID than the minimum UID that is allowed. This can happen if the script was uploaded by a user with a lower UID, or if the permissions on the script file were changed.

GID errors can also occur.

You can receive such an error if the ownership of your files are not setup properly.

To correct the issue be sure the ownership of your files are correct. To do so, use the
To fix this issue, make sure you have correct user and group ownership for the file that you are trying to access. With our service you would want to use the following:

chown usernmame:username filename.php

or to update the entire account use the following:

chown username:username * -R

 

To fix this error, you need to change the ownership of the script file to a user with a UID that is equal to or greater than the minimum UID. You can do this using the chown command. For example, if the minimum UID is 100, you would run the following command:

 

chown 100 script.php

 

Once you have changed the ownership of the script file, the error should be resolved.

Here are some additional things to check if you're still getting the error after changing the ownership of the script file:

 

  • Make sure that the script file has the correct permissions. The permissions should be set to 644 or 755.

  • Make sure that the PHP process is running with the correct user ID. The PHP process should be running with the same user ID as the user who owns the script file.

  • If you're using a content delivery network (CDN), make sure that the CDN is configured to serve the script file with the correct permissions.

 

If you've checked all of these things and you're still getting the error, contact Ultra Web Hosting for assistance.

  • 173 Users Found This Useful

Was this answer helpful?

Related Articles

What is the Path to ImageMagick?

The path to ImageMagick on Ultra Web Hosting is /usr/bin/. This means that you can access...

How can I find my MariaDB - MySQL version?

Method 1: Through cPanel   Log in to your Ultra Web Hosting account. Click on the cPanel...

How do I import into a MariaDB - MySQL database?

import a database with Ultra Web Hosting phpMyAdmin: Log in to your control panel with...

How do I backup a MariaDB - MySQL Database?

Here are the steps on how to backup a MySQL database using phpMyAdmin in your Ultra Web Hosting...

Test MySQL Connection

The following is a great way to verify a MySQL / MariaDB database connection issue. Create a file...