 | |  | |
January 27th, 2005, 02:57 AM
|
#1 (permalink)
| | Member Verified Customer
Join Date: Dec 2004
Posts: 80
| Error creating folder on upload
I just installed the gallery to a Linux server, and am obviously hung up on the file paths. I chmod'd the /home/gorp/public_html/gallery/files folder to 777
I know what the file path is - I have added several other hacks that require the full file path to be added, and never had a problem before. This is what I have for settings for file paths:
Files Path
The full path (NOT the URL!) to the folder in which your images will be stored: Code: Content visible to verified customers only.
Files URL
The URL to the folder in which your images will be stored: Code: Content visible to verified customers only.
FTP User Folder Path
The path (NOT the URL!) to your user's upload folder (used for FTP uploads): Code: Content visible to verified customers only.
FTP User Folder URL
The URL to your user's upload folder (used for FTP uploads): Code: Content visible to verified customers only.
I have tried several different options (trailing slashes, etc.) and each time I get the dreaded message: Quote: |
An error occurred while attempting to create a folder for your files. If the problem persists, please notify the webmaster
| Am I doing something obviously wrong here?
Any help/ideas/input would be appreciated.
|
| |
January 27th, 2005, 07:07 AM
|
#2 (permalink)
| | Senior Member Verified Customer
Join Date: Aug 2003 Location: Portugal
Posts: 492
| Re: Error creating folder on upload
If you have chmod your files folder correctly, you should be able to upload.
As for the ftp user folder, you need to create it and chmod it as well, have you done that?
On my site, I've placed this folder inside the files folder. I don't know if it's a mandatory requirement for Gallery.
Last but not least, is safe mode off on your server?
|
| |
January 27th, 2005, 09:48 AM
|
#3 (permalink)
| | Member Verified Customer
Join Date: Dec 2004
Posts: 80
| Re: Error creating folder on upload Quote: |
Originally Posted by rbl If you have chmod your files folder correctly, you should be able to upload.
As for the ftp user folder, you need to create it and chmod it as well, have you done that?
On my site, I've placed this folder inside the files folder. I don't know if it's a mandatory requirement for Gallery.
Last but not least, is safe mode off on your server? | How do I find out if safe mode is on or off? Also- why do I have to create those folders? There are already folders named "files" "images" and "users" in the "gallery" folder. Do I have to make different folders than those? I chmod'd the "files" folder, but I didn;t see anything about chmod-ing the ftp user folder. I thought that the ftp user folder was not that important unless I was going to allow users to ftp in to my site. The wrong setting for the ftp user folder should not affect my ability to upload from my hard drive, should it?
|
| |
January 27th, 2005, 09:51 AM
|
#4 (permalink)
| | Guest | Re: Error creating folder on upload
Admin CP => Import & Maintenance => View PHP Info
On that page, hit ctrl + F to search the page for 'safe_mode'.
| |
| |
January 27th, 2005, 09:57 AM
|
#5 (permalink)
| | Senior Member Verified Customer
Join Date: Aug 2003 Location: Portugal
Posts: 492
| Re: Error creating folder on upload
Admincp -> Import and Maintenance -> View phpinfo -> search for safe_mode
The first value (at least) must be "Off" otherwise you won't be able to run Gallery.
A friendly advice, you should *always* check if your server meets the requirements *before* buying software. vBa Gallery products page clearly states that safe mode must be off.
If your server has it on, ask your host to turn it off. If they don't comply, search for another host. Edit: by the speed he types, that Brian dude must have 7 fingers in each hand |
| |
January 27th, 2005, 10:00 AM
|
#6 (permalink)
| | Member Verified Customer
Join Date: Dec 2004
Posts: 80
| Re: Error creating folder on upload Quote: |
Originally Posted by rbl Admincp -> Import and Maintenance -> View phpinfo -> search for safe_mode
The first value (at least) must be "Off" otherwise you won't be able to run Gallery.
A friendly advice, you should *always* check if your server meets the requirements *before* buying software. vBa Gallery products page clearly states that safe mode must be off.
If your server has it on, ask your host to turn it off. If they don't comply, search for another host. Edit: by the speed he types, that Brian dude must have 7 fingers in each hand  | Safe mode is off. now what?
Why do I have to create those folders? There are already folders named "files" "images" and "users" in the "gallery" folder. Do I have to make different folders than those? I chmod'd the "files" folder, but I didn;t see anything about chmod-ing the ftp user folder. I thought that the ftp user folder was not that important unless I was going to allow users to ftp in to my site. The wrong setting for the ftp user folder should not affect my ability to upload from my hard drive, should it?
|
| |
January 27th, 2005, 10:12 AM
|
#7 (permalink)
| | Senior Member Verified Customer
Join Date: Aug 2003 Location: Portugal
Posts: 492
| Re: Error creating folder on upload
> The wrong setting for the ftp user folder should not affect my ability to upload from my hard drive, should it?
I don't think so because the uploaded file goes to the files folder.
Inside the files folder, Gallery creates other folders with numbers, for example, if you are user 13, it will upload your file to gallery/files/1/3/file.ext.
That's why your files must be properly chmod'ed.
Check the files chmod and try to delete the ftp user folder settings (path and url) and if you still can't upload, then ftp is not your problem.
|
| |
January 27th, 2005, 10:12 AM
|
#8 (permalink)
| | Member Verified Customer
Join Date: Dec 2004
Posts: 80
| Re: Error creating folder on upload Quote: |
Originally Posted by gorp Safe mode is off. now what?
Why do I have to create those folders? There are already folders named "files" "images" and "users" in the "gallery" folder. Do I have to make different folders than those? I chmod'd the "files" folder, but I didn;t see anything about chmod-ing the ftp user folder. I thought that the ftp user folder was not that important unless I was going to allow users to ftp in to my site. The wrong setting for the ftp user folder should not affect my ability to upload from my hard drive, should it? | here is a pic of my safe mode settings: Code: Content visible to verified customers only.
here is a pic of my folders and permissions as viewed in my ftp client: Code: Content visible to verified customers only.
As you can see I chmod'd the users folder to 777 also, just to see if that made a difference, but it did not.
|
| |
January 27th, 2005, 10:12 AM
|
#9 (permalink)
| | Guest | Re: Error creating folder on upload
Assuming the paths and such are correct then there's not any reson that I can think of why it shouldn't work. If you'd like to submit a support ticket via the Members' Area here though I'll be glad to take a look and see what the problem is.
| |
| |
January 27th, 2005, 10:24 AM
|
#10 (permalink)
| | Member Verified Customer
Join Date: Dec 2004
Posts: 80
| Re: Error creating folder on upload Quote: |
Originally Posted by rbl > The wrong setting for the ftp user folder should not affect my ability to upload from my hard drive, should it?
I don't think so because the uploaded file goes to the files folder.
Inside the files folder, Gallery creates other folders with numbers, for example, if you are user 13, it will upload your file to gallery/files/1/3/file.ext.
That's why your files must be properly chmod'ed.
Check the files chmod and try to delete the ftp user folder settings (path and url) and if you still can't upload, then ftp is not your problem. | I created a file named "1" inside of the gallery/files folder and still get the error.
I hate to throw in the towel and ask for a support ticket at this point - any other ideas? This should not be that hard. I was able to get vba cmps and cinq's articles hack going with no problems, and those rely on having to have the correct file paths, etc., so I don't see why this is such a problem.
|
| |
January 27th, 2005, 10:37 AM
|
#11 (permalink)
| | Senior Member Verified Customer
Join Date: Aug 2003 Location: Portugal
Posts: 492
| Re: Error creating folder on upload
Well, you have done more than most that submit a ticket in the first sneeze but if you want to be really sure, try to chmod the files dir with another application or server utility.
If that doesn't work, submit the ticket and let Brian have a look.
|
| |
January 27th, 2005, 10:56 AM
|
#12 (permalink)
| | Member Verified Customer
Join Date: Dec 2004
Posts: 80
| Re: Error creating folder on upload
I give up- just created a support ticket.
|
| |
January 27th, 2005, 12:23 PM
|
#13 (permalink)
| | Member Verified Customer
Join Date: Dec 2004
Posts: 80
| Re: Error creating folder on upload
what's the ETA on support for this issue? I am putting off many other things until this is fixed.
|
| |
January 27th, 2005, 12:31 PM
|
#14 (permalink)
| | Guest | Re: Error creating folder on upload
Fixed and replied to the ticket before you posted this. | |
| |
January 27th, 2005, 12:32 PM
|
#15 (permalink)
| | Member Verified Customer
Join Date: Dec 2004
Posts: 80
| Re: Error creating folder on upload
thanks so much.. those leading spaces will kill ya! |
| |
January 27th, 2005, 12:35 PM
|
#16 (permalink)
| | Senior Member Verified Customer
Join Date: Aug 2003 Location: Portugal
Posts: 492
| Re: Error creating folder on upload Quote: |
Originally Posted by Brian Fixed and replied to the ticket before you posted this.  | I told you he has 7 fingers |
| |
January 27th, 2005, 12:40 PM
|
#17 (permalink)
| | Member Verified Customer
Join Date: Dec 2004
Posts: 80
| Re: Error creating folder on upload Quote: |
Originally Posted by rbl I told you he has 7 fingers  | Thanks guys! VBA Gallery is awesome!
|
| | |
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 03:49 PM. | |