uploaded files goes in strange folders (2)

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
8/28/2009 2:23:27 AM
Gravatar
Total Posts 122

uploaded files goes in strange folders (2)

hi Joe, sorry to boar you agian.. help !!!

I'm coming up another time with my problem about uploading files in localhost

The problem appears changing from version 2.3.1.0 (where all worked great) and 2.3.1.5
First of all I confirm that it happenes only when I work (as I use to do) in local enviroment (meaning on my PC where I have a test installation)

In production (on my hosting site) it DOES NOT happen and all is right

So I describe the problem in localhost enviroment (standard local enviroment.. created on XP with microsoft platform installer 2.0 RC and net framework 3.5 sp1, first with 2.3.1.0 (where all worked great) and upgraded to 2.3.1.5 )

=========== SCENARIO
using user ADMIN when I upload files throught file manager under administration menu, it:
1) shows me at the top my full directory "C:\Inetpub\wwwroot\mojoportal\Data\Sites\1 "
2) places the files exactly where I tell him

so all works fine !!

BUT

using user ADMIN when I upload files from INSIDE a module (using TINY or FCK), it:
a) creates a DATA folder in the root of wwwroot,
b) places files exactly where I tell him, but in this way it places them in

C:\Inetpub\wwwroot\Data\Sites\1 

Just to be clear, before I had always a standard structure:
-C
--Inetpub
---wwwroot
----mojoportal
-----Data
------Sites
-------1

now a strange one:
-C
--Inetpub
---wwwroot
----mojoportal
-----Data
------Sites
-------1
----Data
-----Sites
------1

=========== EXAMPLE
1) I want to load in a page an .swf (or an image.. it's the same)
2) I open with FCK, click on flash ICON, go to search on server
3) It don't shows me (as when I perform with File Manager in administration menu ) the directory, but an empty folder (the first time) witch he created (as mentioned above, the C:\Inetpub\wwwroot\Data\Sites\1 ..)
4) I choose a file to upload from my desktop, and he upload it to this strange C:\Inetpub\wwwroot\Data\Sites\1 ..
5) I click ok on the file and in FCK url it comes up with the address:  "/mojoportal/Data/Sites/1/sample.swf"
6) nice, because if I give ok in my page the flash does not work (the file does not exist in "C:\Inetpub\wwwroot\mojoportal\Data\Sites\1.." becouse it was loaded in "C:\Inetpub\wwwroot\Data\Sites\1 "

well:

in html this operation produces:
<p><embed src="/mojoportal/Data/Sites/1/sample.swf" type="application/x-shockwave-flash" play="true" loop="true" menu="true"></embed></p>

Obviously it doesn't work

BUT if I change in this way, it works:
<p><embed src="../Data/Sites/1/sample.swf" type="application/x-shockwave-flash" play="true" loop="true" menu="true"></embed></p>

========== EXAMPLE 2
1) I try to load some photos in photoalbum
2) I choose the photo from my desktop and give upload
3) the upload hangs...
4) I must kill the browser
5) appears the uploading window telling the upload is completed

BUT

a) the upload created new folders in c:\Inetpub\wwwroot\mojoportal\Data\Sites\1\GalleryImages (the new folders are called with numbers, and in each of them I find 3 of the usual classic folders "fullsizeimages" + "webimages" + "thumbnails")

======== some arguments
what it seems to me is that something changed between version 2.3.1.0 (where all worked great) and 2.3.1.5

may be the way to get the path... with full-path or just relative-path ???

---------------------------------------

I hope you can help me because now I must do all the work in production directly without testing it..

and I'm al little worried about it

Thank you very much in advance

Michele from Rome

8/28/2009 7:27:00 AM
Gravatar
Total Posts 18439

Re: uploaded files goes in strange folders (2)

Hi Michele,

I configured my local path structure as you explained and I am able to produce the problem. I am loooking into it now.

Thanks,

Joe

8/28/2009 10:02:48 AM
Gravatar
Total Posts 18439

Re: uploaded files goes in strange folders (2)

I have fixed this in my local copy and will be making a new release with this fix and some other fixes and improvements for the editor asap.

Best,

Joe

8/29/2009 12:08:34 PM
Gravatar
Total Posts 18439

Re: uploaded files goes in strange folders (2)

This is now fixed in version 2.3.1.6. Will be fixed in svn trunk by tonight.

Best,

Joe

8/29/2009 2:58:03 PM
Gravatar
Total Posts 122

Re: uploaded files goes in strange folders (2)

thank you very much...

bye michele

You must sign in to post in the forums. This thread is closed to new posts.