Thanks to John and Michael of whimsicalities, I am one step closer to solving the uploading issue. The problem I think is caused by my file structure. My DOCUMENT_ROOT should not be $DOCUMENT_ROOT since my OSC catalog is stored under
localhost/OSC/
1. My question is how to define in the configure.php file. The following is what I have, which is not working. (I could not even "Create Complete tab-delimited .txt file in temp dir" under EP. The file it said created is not in the temp directory, which is chmod777)
define('DIR_FS_DOCUMENT_ROOT', $DOCUMENT_ROOT); // where the pages are located on the server
define('DIR_WS_ADMIN', '/OSC/catalog/admin/'); // absolute path required
define('DIR_FS_ADMIN', $DOCUMENT_ROOT . '/OSC/catalog/admin/'); // absolute pate required
define('DIR_WS_CATALOG', '/OSC/catalog/'); // absolute path required
define('DIR_FS_CATALOG', $DOCUMENT_ROOT . '/OSC/catalog/'); // absolute path required
define('DIR_WS_IMAGES', '/OSC/catalog/images/');
I tried several combinations, (/OSC, /home/OSC...) but nothing really worked.
2. My other suspicion is for the OSC server, which shows up under admin/tool/server info. Right now php variable environment shows
_ENV["DOCUMENT_ROOT"] /
I think it should be
_ENV["DOCUMENT_ROOT"] /OSC
How can I change that?
Thanks again.