PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Installs and Upgrade - vBulletin 3.0.X (http://www.photopost.com/forum/installs-upgrade-vbulletin-3-0-x/)
-   -   Error creating folder on upload (http://www.photopost.com/forum/installs-upgrade-vbulletin-3-0-x/117393-error-creating-folder-upload.html)

gorp January 27th, 2005 01:57 AM

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? :confused:

Any help/ideas/input would be appreciated.

rbl January 27th, 2005 06:07 AM

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?

gorp January 27th, 2005 08:48 AM

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?

Brian January 27th, 2005 08:51 AM

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'.

rbl January 27th, 2005 08:57 AM

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 ;)

gorp January 27th, 2005 09:00 AM

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?

rbl January 27th, 2005 09:12 AM

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.

gorp January 27th, 2005 09:12 AM

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.

Brian January 27th, 2005 09:12 AM

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.

gorp January 27th, 2005 09:24 AM

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.

rbl January 27th, 2005 09:37 AM

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.

gorp January 27th, 2005 09:56 AM

Re: Error creating folder on upload
 
I give up- just created a support ticket.

gorp January 27th, 2005 11:23 AM

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.

Brian January 27th, 2005 11:31 AM

Re: Error creating folder on upload
 
Fixed and replied to the ticket before you posted this. ;)

gorp January 27th, 2005 11:32 AM

Re: Error creating folder on upload
 
thanks so much.. those leading spaces will kill ya! :D

rbl January 27th, 2005 11:35 AM

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 ;)

gorp January 27th, 2005 11:40 AM

Re: Error creating folder on upload
 
Quote:

Originally Posted by rbl
I told you he has 7 fingers ;)

Thanks guys! VBA Gallery is awesome!


All times are GMT -5. The time now is 08:53 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97