Page 1 of 1

File Manager - Current path: \uploads

Posted: Thu Jun 05, 2008 7:46 pm
by Slurpdog
I'm having troubles with my uploads directory path. It points to “\uploads”(with BACK slash) when it should be “/uploads”(with FORWARD slash).  I checked the “config.php” file and it appears to be set correctly there. See Below.
#Path to document root. This should be the directory this file is in.
#e.g. /var/www/localhost
$config['root_path'] = 'D:\My Documents\wamp\www\cmsms_site';

#Name of the admin directory
$config['admin_dir'] = 'admin';

#Where do previews get stored temporarily?  It defaults to tmp/cache.
$config['previews_path'] = 'D:\My Documents\wamp\www\cmsms_site\tmp\cache';

#Where are uploaded files put?  This defaults to uploads.
$config['uploads_path'] = 'D:\My Documents\wamp\www\cmsms_site\uploads';

#Where is the url to this uploads directory?
$config['uploads_url'] = $config['root_url'] . '/uploads';
The files upload without any troubles to the proper directory but when select the file to download with FireFox I get:
Not Found
The requested URL /cmsms_site\uploads/files/fsm_emails.txt was not found on this server.
And the url has been cleaned up to look like:

My internal pretty_urls is set to false:
$config['internal_pretty_urls'] = false;

If I use IE it works, but I believe that is because it is probably turning the back slash to a forward slash much like FF turned in into “%5C”

Any Suggestions on how to set the directory correctly?

CMSMS 1.2.5 - WAMP - Apache 2.2.6 - MySQL 4.1.20 - PHP 5.2.5

Re: File Manager - Current path: \uploads

Posted: Thu Jun 05, 2008 7:52 pm
by calguy1000
#1:  Read the forum rules, and provide some context information.

I shoulda moved this into the 'wasteland'.  but you did try to provide some information.

Re: File Manager - Current path: \uploads

Posted: Thu Jun 05, 2008 7:57 pm
by calguy1000
oops, sorry, remove my last comment.

Re: File Manager - Current path: \uploads

Posted: Thu Jun 05, 2008 8:45 pm
by Wiedmann
I'm having troubles with my uploads directory path. It points to “\uploads”(with BACK slash) when it should be “/uploads”(with FORWARD slash).

This missbehaviour is fixed in SVN for Filemanger.
--> Use the SVN version or wait for CMSMS 1.3.

I checked the “config.php” file and it appears to be set correctly there. See Below.
At the moment you can fix some things, if you just replace all "" with "/" in the "config.php".