• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Webhosting questions...

SaigonK

Diamond Member
Hello,

I am noticing that one of my folders in my gallery keeps disappearing. (Using coppermine) its a bug and they dont have a fix so that sucks. 🙁 its the edit folder and so when it does go away, people cant upload pics anymore.

Anywho, I was thinking to cure it temporarily, i could run a cron job to check for the folder and then create it if it isnt there and change its permissions to 777.

Anyone use thrillhost and have a way with their cron menu?
Or maybe pass on an idea of how to do this?

my folder is:

/public_html/gallery/albums/edit/

under:

/public_html/gallery/albums/
 
Ross, its a cPanel server, same thing everywhere 🙂

Is that folder normally empty? If so you could just make a cron to delete it, and then recreate it.
 
Originally posted by: DeviousTrap
Ross, its a cPanel server, same thing everywhere 🙂

Is that folder normally empty? If so you could just make a cron to delete it, and then recreate it.
Thats what i want to do, but I am clueless how to...

the folder is empty until it gets used a s a temp directory when someone uploads a picture, once they get done uploading, it deletes the files there...
As long as I can check every 12 hours or so (to start) for the edit folder, create it if it isnt there and CHMOD it to 777 I would eb all set....
 
Easy 🙂

Set up a cron job at whatever interval you want. Here's the command you will need:

rm -rf /home/insertcpanelusername/public_html/gallery/albums/edit/; mkdir /home/insertcpanelusername/public_html/gallery/albums/edit/; chmod 777 /home/insertcpanelusername/public_html/gallery/albums/edit/

Enjoy 🙂
 
Back
Top