"Select a file you wish to upload" error!
"Select a file you wish to upload" error!
Hello! I changed webserver, copied files to new server and imported SQL dump to new database.
Everything else worked fine, but picture UPLOAD is not working anymore. I use newest 1.1RC4 release. Everytime I try to upload file, phpWcms says that "Select a file you wish to upload".
Files and dirs are chmodded and all paths are correct. Server has phpupload on.
Do you have any ideas??
Everything else worked fine, but picture UPLOAD is not working anymore. I use newest 1.1RC4 release. Everytime I try to upload file, phpWcms says that "Select a file you wish to upload".
Files and dirs are chmodded and all paths are correct. Server has phpupload on.
Do you have any ideas??
Here are my image configs from conf.inc.php:
$phpwcms["imagick"] = 0; //if 0 = GD, 1 = ImageMagick
$phpwcms["imagick_path"] = ""; //Path to ImageMagick
$phpwcms["use_gd2"] = 1; //if 0 = GD1, 1 = GD2
and here are screenshots:

Everything should be OK, but when I press upload files ::

same error every time. And it is not becouse my firewall settings, becouse it works still to my old server..
$phpwcms["imagick"] = 0; //if 0 = GD, 1 = ImageMagick
$phpwcms["imagick_path"] = ""; //Path to ImageMagick
$phpwcms["use_gd2"] = 1; //if 0 = GD1, 1 = GD2
and here are screenshots:
Everything should be OK, but when I press upload files ::

same error every time. And it is not becouse my firewall settings, becouse it works still to my old server..
How actually you fixed the problem?? I dont have ImageMagick active and conf-file is now pointing to right GD version (GD1).snobba wrote:I had this problem to once and I think it was that the GD or ImageMagick configs were different. Did you try to tweek them in your config file? I had ImageMagick on when the server didn't have it...I think...
Do you know now the problem?? any ideas to fix it??Pappnase wrote:please could you make a screeshot!?
i try to follow you buu i can't!*smile*
Thanks!
Jakob
Ok. I think it has something to do with servers security settings. I have tested it with iE, netscape and Opera. Same version works with my other servers.Pappnase wrote:what for an browser did you use!? will you try if this work an my domain!? you can test it there if you want!
It seems that server loses uploaded file somewhere and include/inc_tmpl/files.private.upload.tmpl.php (...or something) does not find it anymore when testing with is_uploaded_file() function (This it where phpwcms says "select file you wish to upload"). File should be in $_FILES or $HTTP_POST_FILE but it is not.
- Oliver Georgi
- Site Admin
- Posts: 9913
- Joined: Fri 3. Oct 2003, 22:22
- Contact:
You are maybe right... from my phpinfo():Oliver Georgi wrote:maybe upload is forbidden or restricted
Code: Select all
file_uploads 1 1
upload_max_filesize 512KB 512KB
Code: Select all
upload_tmp_dir no value no value