Page 1 of 1
"Select a file you wish to upload" error!
Posted: Tue 4. May 2004, 20:41
by jtnygren
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??
Posted: Wed 5. May 2004, 08:22
by jtnygren
Could it be becouse register globals is off (not possible to change in this situation)? It seems that phpWCMS loses file parameter on the way to upload.
Dont you have any ideas? Oliver??
Thanks for the best CMS!
Posted: Wed 5. May 2004, 08:49
by Pappnase
hello
please could you make a screeshot!?
i try to follow you buu i can't!*smile*
Posted: Wed 5. May 2004, 10:35
by snobba
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...
/ Martin
Posted: Wed 5. May 2004, 10:54
by pSouper
maybe you don't own the files anymore. can you view the ownership of the file?
can you use CHOWN to reclaim the files?
Posted: Wed 5. May 2004, 11:04
by jtnygren
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..
Posted: Wed 5. May 2004, 11:05
by jtnygren
pSouper wrote:maybe you don't own the files anymore. can you view the ownership of the file?
can you use CHOWN to reclaim the files?
I can upload same files to my other installs on different servers...
Posted: Fri 7. May 2004, 11:45
by jtnygren
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...
How actually you fixed the problem?? I dont have ImageMagick active and conf-file is now pointing to right GD version (GD1).
Pappnase wrote:please could you make a screeshot!?
i try to follow you buu i can't!*smile*
Do you know now the problem?? any ideas to fix it??
Thanks!
Jakob
Posted: Fri 7. May 2004, 11:52
by Pappnase
hello
no sorry i have not really an answer for this problem!? what for an browser did you use!? will you try if this work an my domain!? you can test it there if you want!
Posted: Fri 7. May 2004, 12:57
by jtnygren
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!
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.
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.
Posted: Fri 7. May 2004, 19:52
by Oliver Georgi
maybe upload is forbidden or restricted
Check your phpinfo().
Oliver
Posted: Mon 10. May 2004, 20:14
by jtnygren
Oliver Georgi wrote:maybe upload is forbidden or restricted
You are maybe right... from my phpinfo():
Code: Select all
file_uploads 1 1
upload_max_filesize 512KB 512KB
... BUT ...
I'll try to fix this.. Thanks Oliver