C
codacoda
Guest
install off: psa_installer_v2.0.0_build75050509.20_os_FedoraCore_2_i686
PSA_7.5.3
comes with PHP Version 4.3.10
A majour issue insofar as hosting websites is concerned, hopefully somebody can shed some light on the problem...
the $_FILES array in PHP comes empty after a form submission using a script that works on any other server.
there are the obvious PHP.INI settings (polled from phpinfo upon execution of the script), all checked and played with:
just about any iteration of the above has already been tried.
upload_tmp_dir is understood to be /tmp as default.
during the script execution as a new file is being created, you can see it appear inside of /tmp
however, as soon as script stops execution, the file is being deleted and $_FILES remains blank.
http://uk.php.net/manual/en/features.file-upload.common-pitfalls.php mentions of a few possible problems that can cause this. in particular this is worrying:
looking at httpd.conf, a few proxy and cache modues are being loaded.
I hope i am not the first to come to that problem and i hope it is nothing as obscure as a requestimit or header limit imposed by an include file...
has anyone else experienced this and what are your suggestions? need to get this ressolved as soon as possible as i need to demo some content management for a client tomorrow...
thanks in advance
PSA_7.5.3
comes with PHP Version 4.3.10
A majour issue insofar as hosting websites is concerned, hopefully somebody can shed some light on the problem...
the $_FILES array in PHP comes empty after a form submission using a script that works on any other server.
there are the obvious PHP.INI settings (polled from phpinfo upon execution of the script), all checked and played with:
Code:
file_uploads On On
max_execution_time 300 300
max_input_time 600 600
memory_limit 64M 64M
open_basedir /home/httpd/vhosts/drillingsystems.co.uk/httpdocs:/tmp no value
upload_max_filesize 300M 300M
upload_tmp_dir no value no value
just about any iteration of the above has already been tried.
upload_tmp_dir is understood to be /tmp as default.
during the script execution as a new file is being created, you can see it appear inside of /tmp
however, as soon as script stops execution, the file is being deleted and $_FILES remains blank.
http://uk.php.net/manual/en/features.file-upload.common-pitfalls.php mentions of a few possible problems that can cause this. in particular this is worrying:
Here is another that may make your upload fall over. If you are using Squid or similar proxy server make sure that this is not limiting the size of the HTTP headers. This took me weeks to figure out!
looking at httpd.conf, a few proxy and cache modues are being loaded.
I hope i am not the first to come to that problem and i hope it is nothing as obscure as a requestimit or header limit imposed by an include file...
has anyone else experienced this and what are your suggestions? need to get this ressolved as soon as possible as i need to demo some content management for a client tomorrow...
thanks in advance