Notice: My personal stance on AI generated artwork. Retweet and share if you agree. Let us discuss, and not immediately scream bloody murder.

Now Viewing: Need help getting Booru working
Keep it civil, do not flame or bait other users. If you notice anything illegal or inappropriate being discussed, contact an administrator or moderator.

Lord_Bo - Group: Member - Total Posts: 0
user_avatar
Need help getting Booru working
Posted on: 06/19/09 01:36PM

I managed to get it up and running on my website, but every time i try to upload i am given this message:

"An error occured. The image could not be added because it already exists or it is corrupted."

I am not sure how i can deal with this. Thumbnails and images folders both have write permission. There is only one thing i might suspect, but i am not sure how to solve it.
$main_cache_dir = "D:\\cache\\";

How do i change that on my server, when i am not sure of it's location, is there a special tag i can use to make it use the location the other files are placed?



lozertuser - Group: The Fake Administrator - Total Posts: 2218
user_avatar
Posted on: 06/19/09 02:22PM

You could probably just change it to the word cache. Another way would be to have a parse error in the script which may reveal the full path it is in.



Lord_Bo - Group: Member - Total Posts: 0
user_avatar
Posted on: 06/19/09 03:26PM

I added that to the config.php. But it appears that i am still recieving the error:

"An error occured. The image could not be added because it already exists or it is corrupted."

Any suggestions?, it's an all clean install, I've only changed the cache part in config.php, and I'm sure they got write access. The forum part works fine too.



Lord_Bo - Group: Member - Total Posts: 0
user_avatar
Posted on: 06/19/09 03:30PM

That post was a bit too speedy, just for the try i made all folders writable, and guess what? it worked... I assume it was the tmp folder, but, just for you lozertuser, update the help file concerning that, i think it will help other people than me.



lozertuser - Group: The Fake Administrator - Total Posts: 2218
user_avatar
Posted on: 06/19/09 03:45PM

You should create the cache directory somewhere outside public_html, or inside it. It doesn't matter really. Chmod 775 the cache folder and set in the config:

$cache_dir = "/home/username/public_html/cache/";



add_replyAdd Reply


1