Page 1 of 1
Strange Upload Problem
Posted: Wed May 30, 2007 2:56 pm
by orionellis

First of all - love CMSMS.
I have the following setup:
MySQL 5.0.41
PHP 5.2.2
PHP 4.4.7
phpMyAdmin 2.10.1
I just ugraded to CMSMS 1.0.6 from 1.0.5
Problem definition
"My uploads are not getting on the server but are showing up in the filemanager list."
Symptoms
First I go to "filemanager --> test folder". Next I select "browse". I select the file that I want to upload - "test.pdf" (10kb). Finally, I click send. The new file shows up in the filemanager list; however, it is not actually there.
When I click on the test.pdf link in filemanager, I get, "Object not found".
I checked my c:\xampp\tmp directory and there are several sessions there with names like "sess_89888457394ce69554e37d3facae0e3d".
Steps I have taken
I checked my php.ini under file uploads. Here is the configuration:
;;;;;;;;;;;;;;;;
; File Uploads ;
;;;;;;;;;;;;;;;;
; Whether to allow HTTP file uploads.
file_uploads = On
; Temporary directory for HTTP uploaded files (will use system default if not
; specified).
upload_tmp_dir = "c:\xampp\tmp"
; Maximum allowed size for uploaded files.
upload_max_filesize = 32M
I checked all of the sticky threads before posting.
I even did a search on this forum for "upload".
I have not found a solution so now I must post my question/challenge.
Here is a movie of my problem:
Note: This is not the actual site where the problem is occuring.
Re: Strange Upload Problem
Posted: Wed May 30, 2007 3:07 pm
by Pierre M.
Hello,
I've just given 1.1rc2 a try and I can't replicate your 1.0.6 problem.
When you say "file manager --> test folder", where does this "test folder" comes from ? You have created it, haven't you ?
When you say "it is not actually there", do you mean it is not below the uploads/ folder ? What is there in uploads ?
Please retry with "testfolder" without spaces. May be it is about Windows/Xampp sorcery about filenames/filepaths.
Hope this helps.
Pierre M.
edit : filenames/filepaths/file permissions.
Re: Strange Upload Problem
Posted: Wed May 30, 2007 3:21 pm
by orionellis
The folder is actually called "newsletters".
Here is the actual path: "C:\xampp\htdocs\uploads\newsletters\2007\test.pdf"
There are no spaces in any directory name or file name. I really think I know what the cause is but I do not know how to fix it.
I previously had the entire site in a sub directory htdocs/cmsmadesimple. Recently, I copied everything up to the root directory and re-installed using install.php. I really believe that this could be the cause since I moved the site up a directory.
What do you think? Thanks for the quick reply!
What is 1.1rc2?
Re: Strange Upload Problem
Posted: Wed May 30, 2007 3:48 pm
by alby
orionellis wrote:
Here is the actual path: "C:\xampp\htdocs\uploads\newsletters\2007\test.pdf"
There are no spaces in any directory name or file name. I really think I know what the cause is but I do not know how to fix it.
I previously had the entire site in a sub directory htdocs/cmsmadesimple. Recently, I copied everything up to the root directory and re-installed using install.php. I really believe that this could be the cause since I moved the site up a directory.
1. Check path and url path in [root]/config.php
2. I remember that FCKEditor (I use TinyMCE from 1.0.2) open file link from uploads/File/ and not in uploads/
orionellis wrote:
What is 1.1rc2?
Next version of CMSMS
Alby
Re: Strange Upload Problem
Posted: Wed May 30, 2007 3:59 pm
by Pierre M.
orionellis wrote:
Recently, I copied everything up to the root directory and re-installed using install.php.
I agree with alby : double check paths in config.php.
Pierre M.
Re: Strange Upload Problem
Posted: Wed May 30, 2007 4:04 pm
by orionellis
Alby,
You are correct.
Here is the solution. The path was still in config.php from my old installation.
Thanks
CMSMS Rules...The other CMSs know this already...