The following warnings occurred: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.31 (Linux)
|
Upload directory problem - Printable Version +- Form Tools (https://forums.formtools.org) +-- Forum: Form Tools (https://forums.formtools.org/forumdisplay.php?fid=1) +--- Forum: Installation (https://forums.formtools.org/forumdisplay.php?fid=4) +--- Thread: Upload directory problem (/showthread.php?tid=1640) |
Upload directory problem - Dogen - Sep 16th, 2011 [attachment=144][attachment=145]Hi Ben, I started a new thread for this because I thought it might be a separate issue than my others. I created a directory "photos" under our formtools directory. Chmod 777 and then when into the admin console to verify the directory. It's not seeing the directory nor able to access it via URL. See attached screen captures. RE: Upload directory problem - Ben - Sep 19th, 2011 Hi Dogen, Huh! Yes, it look like you've configured it properly. I've run into things like this before, where the "physical" address doesn't actually map to the path supplied on the command line. I believe this can occur when there are symbolic links in the path, or something along those lines - most times I never got to the bottom of it. It may not be the issue, but it would be good to check. Try this: upload a PHP file to the Form Tools root folder (same folder as process.php) ith the following content. PHP Code: <?php print_r($_SERVER); ?> Then load it in your browser. That will output a bunch of variables with the paths that the running PHP process *thinks* they have. One or more of them will contain the path to the current running script. Check the path - does that look exactly like /var/www/html/apps/forms - or does it maybe just start with /html/apps or something like that? - Ben RE: Upload directory problem - Dogen - Sep 19th, 2011 Looks like the path is correct: [SCRIPT_FILENAME] => /var/www/html/apps/forms/phpinfo.php D. (Sep 19th, 2011, 10:04 AM)Ben Wrote: Hi Dogen, RE: Upload directory problem - Ben - Sep 19th, 2011 Hmm.... Wait, weren't you having problems with IE7 on other pages? Could you try that page in another browser - one that isn't causing problems? - Ben RE: Upload directory problem - Dogen - Sep 19th, 2011 The SCRIPT FILENAME path is the same in IE7, FF and Chrome. Is that what you wanted to test? (Sep 19th, 2011, 10:18 AM)Ben Wrote: Hmm.... |