 | |  | |
March 31st, 2006, 07:23 AM
|
#1 (permalink)
| | Registered User
Join Date: Mar 2006
Posts: 7
| Help With Gallery
Hi,
I have installed the gallery module correctly and chmod the files folder in the ftp to 777 but when i try to upload a image i keep getting this message
An error occurred while attempting to create a folder for your files. If the problem persists, please notify the webmaster
Please Help Thanks |
| |
March 31st, 2006, 07:48 AM
|
#2 (permalink)
| | Registered User
Join Date: Nov 2005 Location: Canoga Park, CA
Posts: 3,244
|
Some hosts need 755.
- They do not allow 777.
|
| |
March 31st, 2006, 09:34 AM
|
#3 (permalink)
| | Registered User
Join Date: Mar 2006
Posts: 7
| Reply
Hi i have just tried changing it to 755 and i still get tht message anything else i can try?
|
| |
March 31st, 2006, 10:29 AM
|
#4 (permalink)
| | Registered User Verified Customer
Join Date: Nov 2005
Posts: 1,400
|
BroKen,
Check your PHP Info page to see if you have Safe Mode turned on or off on your server. If your server has Safe Mode turned on then you will be unable to create new folders dynamically like that from a script.
But, don't worry... if you come back and say you have Safe Mode turned on there is still a solution for you. I just don't want to tell you to use that solution yet unless you positively have to.
|
| |
March 31st, 2006, 02:05 PM
|
#5 (permalink)
| | Registered User
Join Date: Mar 2006
Posts: 7
| reply
Ok lol found it hehe this is wht it says
Server Type Linux
Safe Mode
so i think it is in safe mode
|
| |
March 31st, 2006, 03:32 PM
|
#6 (permalink)
| | Registered User Verified Customer
Join Date: Nov 2005
Posts: 1,400
|
So you see a value that is listed as "safe_mode" and it's turned on? Using PHP Info it would be listed in your "Configuration PHP Core" section (about 1/3rd of the way down the page).
|
| |
March 31st, 2006, 03:57 PM
|
#7 (permalink)
| | Registered User
Join Date: Mar 2006
Posts: 7
| Reply
Yes safe mode is on bro
|
| |
March 31st, 2006, 09:40 PM
|
#8 (permalink)
| | Junior Member Verified Customer
Join Date: Nov 2005
Posts: 18
|
i have same problem with safe mode on my new hosting provider, any ideas?
|
| |
April 1st, 2006, 11:35 AM
|
#9 (permalink)
| | Registered User
Join Date: Mar 2006
Posts: 7
|
*BumP*
|
| |
April 1st, 2006, 10:23 PM
|
#10 (permalink)
| | Registered User Verified Customer
Join Date: Nov 2005
Posts: 1,400
|
Broken,
Didn't forget about you, just offline for a bit. OK, the fix is easy enough but I'm going to ramble on for a minute about what the fix will do.
When your server has safe mode turned off then scripts like vBGallery are able to make new folders on the fly. In that scenario then when a user uploads a new image to your gallery the files are saved in a folder with a "/gallery/files/{userid}/{file}" naming convention. The advantage to that method is that if you gallery has tens of thousands of files in it then the odds that you will run up against an OS limitation on the number of files you have in one folder are lessened because the files are spread out over multiple folders. When you turn the vBGallery safe mode on then your files will be saved with a "/gallery/files/{userid}-{file}" naming convention instead. That means all of your upload files will be in one folder. Most sites will be OK with that but if you start having several thousand images all in the same folder then your OS may have a limitation with it.
With that said... to turn on vBGallery's save mode, choose ACP => vBa Gallery => Maintenance => Change File Storage Method.
|
| |
April 2nd, 2006, 07:07 AM
|
#11 (permalink)
| | Registered User
Join Date: Mar 2006
Posts: 7
| Reply
Thanks for you reply sorry for bumping i have made the changes like you said ok now i am getting this message
No Image specified. If you followed a valid link, please notify the administrator
Any ideas?? Thanks
|
| |
April 2nd, 2006, 04:55 PM
|
#12 (permalink)
| | Registered User
Join Date: Mar 2006
Posts: 7
| bump
bumpbump
|
| |
April 2nd, 2006, 08:37 PM
|
#13 (permalink)
| | Registered User Verified Customer
Join Date: Nov 2005
Posts: 1,400
|
Make sure the permissions on your /gallery/files folder permit writing to.
|
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Rate This Thread | Linear Mode | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -5. The time now is 01:21 AM. | |