Jump to content

Need help with a few errors


johnre

Recommended Posts

rename(/home/brian/public_html/files//rartemp,/home/brian/public_html/files//) [<a href='function.rename'>function.rename</a>]: Directory not empty on line 188 in file /home/brian/public_html/index.php

 

shell_exec() has been disabled for security reasons on line 190 in file /home/brian/public_html/index.php

 

rmdir(/home/brian/public_html/files///) [<a href='function.rmdir'>function.rmdir</a>]: Directory not empty on line 196 in file /home/brian/public_html/index.php

 

These are my errors, i cant seem to figure out how to stop them from coming up in my piece of code, can anyone help me out

Link to comment
https://forums.phpfreaks.com/topic/240606-need-help-with-a-few-errors/
Share on other sites

It is simple:

1. you can only rename an empty directory http://www.php.net/manual/en/function.rename.php

2. shell_exec() has been disabled for security reasons by your provider. You can't change that. http://php.net/manual/en/function.shell-exec.php

3. you can only remove an empty directory. http://www.php.net/manual/en/function.rmdir.php

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.