Re: post attachments don't work [message #32347 is a reply to message #32338] |
Wed, 21 June 2006 18:34 |
Ilia
Messages: 13241 Registered: January 2002
Karma:
|
Senior Member Administrator Core Developer |
|
|
var_dump() dumps the data to screen not to the error log, so you won't find it inside the log file. If you want to write to a file, do something like this:
<?php $fp = fopen("log_file", "a");
fwrite($fp, var_export($variable, true));
fclose($fp); ?>
attach.inc.t is a "source" file, the file that actually runs is a the compiled file "attach.inc", so after editing attach.inc.t you need to go into the theme editor and rebuild the theme.
From the last run we know files are being uploaded, but the forum cannot seem to download them? You may want to check the "referer upload check option" in the forum settings and turn it off if it is enabled. Also, you may want to add debug code to getfile.php.t which is responsible for the actual file download.
FUDforum Core Developer
|
|
|