Error_log Cleaner Script

Started on the old forum in October 2012 · view the original in the archive · old links redirect here

7 replies · 850 views · started 14 years ago · 1 min read

7 participants
Hammad Developer · 89 posts #1

I was Getting Super Bore So i made this error_log cleaner , error_log files are useful but sometimes it become headache and you cant delete of them manually coz there are so many error_log files exist, so i coded this simple script which can delete all error log files in 1 sec

Usage: upload cleaner.zip to host,extract that in root and then point your browser to yoursite.tld/cleaner... Done

By the way I coded this in 3 minutes

WapdeviL.iN Most Updated Services Portal.. Want To increase Site Users ???

Attachments: cleaner.zip
k4ng4hid Newbie · 3 posts #2

thanks 4 share, i'll try it

k4ng4hid Newbie · 3 posts #4

i have try it, but there are some error appear. error massage : Fatal error: Uncaught exception 'UnexpectedValueException' with message 'RecursiveDirectoryIterator::__construct(../.cagefs) [<#>]: failed to open dir: Permission denied' in /home/crut/public_html/cleaner.php:3 Stack trace: #0 [internal function]: RecursiveDirectoryIterator->__construct('../.cagefs') #1 /home/crut/public_html/cleaner.php(3): RecursiveDirectoryIterator->getChildren() #2 {main} thrown in /home/crut/public_html/cleaner.php on line 3

what is the wrong?

Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close