File manager now says invalid file since migration
Permalink
Hi
I've built a site on a linux machine and moved it to a windows server to go live but since its been moved if you try to upload a file it comes back with an error for invalid file. I've tried and checked a few things:
1) making sure the extension is allowed
2) that the folders all have the right permissions
3) that the tmp directory is set in the php.ini file
But none of these have helped, any other suggestions out there, the error message isn't very helpful.
I've built a site on a linux machine and moved it to a windows server to go live but since its been moved if you try to upload a file it comes back with an error for invalid file. I've tried and checked a few things:
1) making sure the extension is allowed
2) that the folders all have the right permissions
3) that the tmp directory is set in the php.ini file
But none of these have helped, any other suggestions out there, the error message isn't very helpful.
Did you also migrate the data?
yes the files and the database we moved.
I would pick one file that isn't working and replace it by uploading the same file again. If it doesn't work, you'll know it's probably the config. If it does work, there's most likely a problem finding the data.
Tried to upload a file already uploaded using the replace option and I still get the invalid file error message.
this is the php info if that helps, been looking at this for 5 hrs and still no where..
http://www.restoreplc.com/concrete5/info.php...
this is the php info if that helps, been looking at this for 5 hrs and still no where..
http://www.restoreplc.com/concrete5/info.php...
Hm... did you try to upload a new file that isn't referenced anywhere on the site? Does it have the same result?
Yup, tried a new file and an old file. Tried a few different types too. :(
Not sure if this is the issue or not, but we've had problems in the past where concrete was using camel case and the SQL server didn't like that...
managed to solve all this by clicking rescan on the images... *shakes head* worked a treat, not sure why.
I solved this in the end by clicking rescan images, not sur what it did but it worked. grrrr
solved it! just clicked rescan images and this seems to fix the problem, no idea why