Page 1 of 1
Invalid base directory
Posted: Sat Aug 06, 2005 11:51 pm
by rescue
I was trying to put an images folder inside of Image Manager and it didn't show up. Now when I try to upload images I get this message:
Invalid base directory: /home/virtual/site180/fst/var/www/html/cmsms/uploads/images
Any help would be great. Thanks.
Re: Invalid base directory
Posted: Sun Aug 07, 2005 1:44 am
by rescue
Actually I get this:
Warning: move_uploaded_file(/home/virtual/site180/fst/var/www/html/cmsms/uploads/images//bottombox.gif): failed to open stream: No such file or directory in /home/virtual/site180/fst/var/www/html/cmsms/admin/imagefiles.php on line 85
Warning: move_uploaded_file(): Unable to move '/tmp/phpSGaPQ7' to '/home/virtual/site180/fst/var/www/html/cmsms/uploads/images//bottombox.gif' in /home/virtual/site180/fst/var/www/html/cmsms/admin/imagefiles.php on line 85
Warning: Cannot modify header information - headers already sent by (output started at /home/virtual/site180/fst/var/www/html/cmsms/admin/imagefiles.php:85) in /home/virtual/site180/fst/var/www/html/cmsms/lib/classes/class.admintheme.inc.php on line 158
Warning: Cannot modify header information - headers already sent by (output started at /home/virtual/site180/fst/var/www/html/cmsms/admin/imagefiles.php:85) in /home/virtual/site180/fst/var/www/html/cmsms/lib/classes/class.admintheme.inc.php on line 161
Warning: Cannot modify header information - headers already sent by (output started at /home/virtual/site180/fst/var/www/html/cmsms/admin/imagefiles.php:85) in /home/virtual/site180/fst/var/www/html/cmsms/lib/classes/class.admintheme.inc.php on line 164
Warning: Cannot modify header information - headers already sent by (output started at /home/virtual/site180/fst/var/www/html/cmsms/admin/imagefiles.php:85) in /home/virtual/site180/fst/var/www/html/cmsms/lib/classes/class.admintheme.inc.php on line 165
Warning: Cannot modify header information - headers already sent by (output started at /home/virtual/site180/fst/var/www/html/cmsms/admin/imagefiles.php:85) in /home/virtual/site180/fst/var/www/html/cmsms/lib/classes/class.admintheme.inc.php on line 168
Warning: Cannot modify header information - headers already sent by (output started at /home/virtual/site180/fst/var/www/html/cmsms/admin/imagefiles.php:85) in /home/virtual/site180/fst/var/www/html/cmsms/lib/classes/class.admintheme.inc.php on line 173
maybe that is clearer? this sucks. otherwise very happy with cmsms.
Re: Invalid base directory
Posted: Sun Aug 07, 2005 3:06 am
by sjg
The first thing to check is that the uploads directory specified in your base config (config.php) actually points to a legitimate directory.
if, from the command line, you do an "ls -ld /home/virtual/site180/fst/var/www/html/cmsms/uploads/images" does it give a valid directory? (if you don't have command line access, verify it's there using your FTP program or whatever).
The next thing to look at is permissions. But the error message is saying that it's not a valid directory, so I suspect there's a disconnect between what's in the config.php file and the actual path to that directory.
Oh... an actually, trhere's usually an "images" directory there as part fo the initial install. I suppose it's possible that trying to upload a directory with that name could cause a problem. It shouldn't ... In any case, check to see if the directory exists. If not, create it, and give it world-writable permissions.
Good luck!
Re: Invalid base directory
Posted: Sun Aug 07, 2005 4:41 am
by rescue
sjg wrote:
The first thing to check is that the uploads directory specified in your base config (config.php) actually points to a legitimate directory.
if, from the command line, you do an "ls -ld /home/virtual/site180/fst/var/www/html/cmsms/uploads/images" does it give a valid directory? (if you don't have command line access, verify it's there using your FTP program or whatever).
The next thing to look at is permissions. But the error message is saying that it's not a valid directory, so I suspect there's a disconnect between what's in the config.php file and the actual path to that directory.
Oh... an actually, trhere's usually an "images" directory there as part fo the initial install. I suppose it's possible that trying to upload a directory with that name could cause a problem. It shouldn't ... In any case, check to see if the directory exists. If not, create it, and give it world-writable permissions.
Good luck!
thanks, so much sjg, i will try that now and let you know how it went. cheers.
Re: Invalid base directory
Posted: Sun Aug 07, 2005 4:44 am
by rescue
sjg: that did it. appreciate the love, man. best.