• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Php error

GOD Wille

Excellent OT User
Joined
Jan 11, 2010
Messages
2,826
Solutions
2
Reaction score
815
Location
Sweden
A PHP Error was encountered
Severity: Warning
Message: file_put_contents(/var/www//cache/status): failed to open stream: Permission denied
Filename: system/status.php
Line Number: 94

Help Please ^^
 
failed at chmod 777 -R status = no such file or directory

i cant registrate myself at the site because there is no security image...

maybe that have something to do with this error?
 
Message: file_put_contents(/var/www//cache/status): failed to open stream: Permission denied

says that you no have permission.
chmod 777 -R permission to the file.

Where is located the file Status.php?
 
It's not the status.php file, but rather the extension-less status file located where it says; /var/www//cache/status.
Code:
cd /var/www/cache/
chmod 777 -R status
If that would not work, add a temporary extension to the status file, e.g. status.txt and chmod it using
Code:
cd /var/www/cache/
chmod 777 -R status.txt
and then remove the extension.
 
i added a status.txt to www/cache and then did cd /var/www/cache/
chmod 777 -R status.txt

then removed the status.txt from cache, and still got same error what did i do wrong
 
You're not supposed to add a new file, but rather change the existing one. Or perhaps you don't have the file, simply create it (extension-less).
 
Back
Top