Express Hosting
"We are the official hosting company of UBB.threads. Ask us about our free migration services to migrate your UBB.threads installation."
#228377 - 08/17/0912:08 PMRe: Problem uploading photos to a gallery
[Re: GregK]
Registered: 06/07/06
Posts: 366
Loc: Tombstone, AZ
Hmmm, I posted this same pic on another site I was using the software on before I changed over to the new site. Unfortunately I do not have the other site configured so I can't compare settings, etc.
You must have just upgraded. This is what happens on occasion. All you have to do is open the control panel and select submit even if it looks correct. then it will repopulate the setting in the database. HERE is a post with the same problem and resolution with a link to another post.
I believe what happens is somehow the connection to the database hiccups while the control panel is trying to update the new fields. In fact it happened to me once. Just find the screen that applies to the problem such as image re size I believe it is the gallery section and submit again.
Registered: 06/07/06
Posts: 366
Loc: Tombstone, AZ
Sigh. Fix one problem another rears it's ugly head. I dont' longer get the error, but I don't get the photo either, just three lines showing the defaults for full size, medium size and thumbnail images. I think I'll go lay down for awhile and give it a rest and the solution will probably present itself after I try again.
Check your folder and file permissions . You can do that from the control panel also. If you have something that failed you can click on it and it will expand and show all the files.
Registered: 06/07/06
Posts: 366
Loc: Tombstone, AZ
While checking some other things out, it appears to be a server problem in that I'm not able to change the gallery sub-folders permissions to the correct one to allow the forum to write to them.
Registered: 06/07/06
Posts: 366
Loc: Tombstone, AZ
I was able to change the permissions on one of the folders on my server, which fixed the problem in one of my galleries, but to fix the 2nd one I had to completely get rid of the forum and recreate it from scratch and now it's working. I knew a short, very short, nap would help, plus about a dozen Gummy Bears didn't hurt either...LOL
You only change the gallery and default folder under gallery to 777. The rest will take on what they are when adding pictures. The additional gallery items will be built from the default folder.
Registered: 06/07/06
Posts: 366
Loc: Tombstone, AZ
Unfortunately, it was not working that way. Not sure why, but it's sorted itself out now as when I recreated the gallery forum, it, as it was supposed to, created a new set of folders on the server with the correct permissions. Now I'm fighting getting rid of the one that was fubar'd.
Registered: 06/04/06
Posts: 10164
Loc: Aberdeen, WA
Sounds like it was possibly created as the user that the webserver is running as and has it's default permissions. In that case, many times the user you are FTPing as doesn't have permission to delete it.
If it's on a shared server and you don't have permission to delete the folder then you'll probably need to create a script that deletes it (since it will run as the webserver user and will have the proper permissions). If it's just an empty directory, then you'd just create a script in the parent directory with something like:
Registered: 06/07/06
Posts: 366
Loc: Tombstone, AZ
I was able to go in via my cPanel and delete it. I've seen this happen before and it's always a pain in the rear to deal with it. Bottom line, though, both galleries are working as they should and I'm a happy camper. Well, I would be if I could get out in my motor home and really camp! LOL