File Manager - Current path: \uploads

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
Slurpdog

File Manager - Current path: \uploads

Post 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
Last edited by Slurpdog on Thu Jun 05, 2008 7:56 pm, edited 1 time in total.
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: File Manager - Current path: \uploads

Post 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.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: File Manager - Current path: \uploads

Post by calguy1000 »

oops, sorry, remove my last comment.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Wiedmann
Forum Members
Forum Members
Posts: 233
Joined: Wed Mar 26, 2008 1:49 am

Re: File Manager - Current path: \uploads

Post 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".
Locked

Return to “CMSMS Core”