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:
Obviously it doesn't work
BUT if I change in this way, it works:
========== 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