Bug with custom upload directory?

17 posts by 6 authors in: Forums > CMS Builder
Last Post: December 29, 2012   (RSS)

Re: [kblm] Bug with custom upload directory?

By Damon - May 17, 2012

Hi Kevin,

In General Settings, the Upload Directory needs to be the full path:
/home/server/public_html/client/cmsAdmin/uploads/

Also, make sure that any custom folders that you are publishing into are setup with the full directory path and include the 4 thumbnail folders, even if you aren't creating thumbnails.

Try this out and let me know if this solves it or there are any other issues.

Thanks!
Cheers,
Damon Edis - interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/

Re: [Damon] Bug with custom upload directory?

By weblm - May 17, 2012

Hi Kevin,

In General Settings, the Upload Directory needs to be the full path:
/home/server/public_html/client/cmsAdmin/uploads/

Also, make sure that any custom folders that you are publishing into are setup with the full directory path and include the 4 thumbnail folders, even if you aren't creating thumbnails.

Try this out and let me know if this solves it or there are any other issues.

Thanks!


After I change the Upload Directory in General Settings......in the section record itself......for the Directory Path....should that just be "pressroom/" ? I don't need the full path in the section record do I?

Kevin
LM

Re: [Damon] Bug with custom upload directory?

By weblm - May 17, 2012

Ok just to note.....when I change the PAth in General Settings to:

/home/server/public_html/client/cmsAdmin/uploads/

And I keep the directory path in the record as just "pressroom/"

I still get the empty folder created up in the cmsAdmin level.

FYI...I did create the "pressroom" folder in "uploads" and it has all the 4 thumbnail folders.

-Kevin
LM

Re: [kblm] Bug with custom upload directory?

By Damon - May 17, 2012

You need the full server path in the admin for uploads:
/home/server/public_html/client/cmsAdmin/uploads/

and also for the custom uploads field for pressroom needs to have the full server path:
/home/server/public_html/client/cmsAdmin/uploads/pressroom/

If you have both these set and it still not working, can you send in a support request so I can take a look:
https://www.interactivetools.com/support/email_support_form.php?priority=free&message=http://www.interactivetools.com/iforum/P93364#93364

Thanks!
Cheers,
Damon Edis - interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/

Re: [Damon] Bug with custom upload directory?

By weblm - May 17, 2012

Damon,

Ok, putting the full path in both seems to have solved the issue.

I'll let you know if it happens again, but so far looks good. The empty directory wasn't created.

You should probably make note to change the instructions for that section.

The instructions for the directory path are:

Example: custom/ (relative to Upload Dir in General Settings)
Example: /home/lmdianet/public_html/fickewirth/cmsAdmin/uploads/custom/


And for folder URL are

Example: custom/ (relative to Upload URL in General Settings)
Example: /cmsAdmin/uploads/custom/



Those are what confused me. I think in the end.....those DO need to be relative to the server settings. If I move this from our Dev server to the clients....I not only have to update the general settings.....but each and every section.

Thanks again!

-Kevin
LM

Re: [Damon] Bug with custom upload directory?

By rconring - May 18, 2012

I too am scratching my head over this issue. I assumed that, to make it more portable, one would only have to enter the subfolder and it would be appended to the root path so the root path would not be stored in the data.
I too created a ton of folders outside the uploads folder before I realized that nothing had changed ... I still have to enter the full path.
I agree ... the example is slightly misleading.
Ron Conring
Conring Automation Services
----------------------------------------
Software for Business and Industry Since 1987

Re: [kblm] Bug with custom upload directory?

By Damon - May 18, 2012

Hi,

The custom uploads directory path relative to Upload Dir in General Settings is suppose to work.

I'm going to look into this further and get one of our senior programmers to assist.

I will post an update as soon as I have know more.

Thanks for pointing this out.
Cheers,
Damon Edis - interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/

Re: [Damon] Bug with custom upload directory?

By sublmnl - July 2, 2012 - edited: July 3, 2012

I have mentioned this one too and found the weird foldering issue. How/what do I put in the general settings and then still override it per section?
This needs to go back the way it was a few dot versions ago.
Please
This doesn't make sense to me why it is this way but it works.
See attached for the section IF I leave the general settings location alone.
Attachments:

picture-3_003.png 34K

Re: [sublmnl] Bug with custom upload directory?

By Jason - July 12, 2012

Hi,

Everything is set relative to what is set up in General Settings. Normally, General Settings sets you up with the cmsAdmin/uploads/ path. If this is the case, setting a custom directory is set up relative to this.

for example, if you set a custom directory of "custom/", files would be uploaded to cmsAdmin/uploads/custom.

Hope this helps clarify.
---------------------------------------------------
Jason Sauchuk - Project Manager
interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/