The following warnings occurred:
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.31 (Linux)
File Line Function
/global.php 783 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.31 (Linux)
File Line Function
/global.php 783 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined variable $newpmmsg - Line: 40 - File: global.php(841) : eval()'d code PHP 8.1.31 (Linux)
File Line Function
/global.php(841) : eval()'d code 40 errorHandler->error
/global.php 841 eval
/printthread.php 16 require_once
Warning [2] Undefined array key "style" - Line: 909 - File: global.php PHP 8.1.31 (Linux)
File Line Function
/global.php 909 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined property: MyLanguage::$lang_select_default - Line: 5024 - File: inc/functions.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions.php 5024 errorHandler->error
/global.php 909 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key "additionalgroups" - Line: 7162 - File: inc/functions.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions.php 7162 errorHandler->error
/inc/functions.php 5044 is_member
/global.php 909 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key 1 - Line: 1415 - File: inc/functions.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions.php 1415 errorHandler->error
/inc/functions.php 1370 fetch_forum_permissions
/printthread.php 76 forum_permissions
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error



Form Tools
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,

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 - 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....

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