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.

designportfolio
 
slafleche replied on at Permalink Reply
slafleche
Did you also migrate the data?
designportfolio replied on at Permalink Reply
designportfolio
yes the files and the database we moved.
slafleche replied on at Permalink Reply
slafleche
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.
designportfolio replied on at Permalink Reply
designportfolio
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...
slafleche replied on at Permalink Reply
slafleche
Hm... did you try to upload a new file that isn't referenced anywhere on the site? Does it have the same result?
designportfolio replied on at Permalink Reply
designportfolio
Yup, tried a new file and an old file. Tried a few different types too. :(
slafleche replied on at Permalink Reply
slafleche
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...
designportfolio replied on at Permalink Reply
designportfolio
managed to solve all this by clicking rescan on the images... *shakes head* worked a treat, not sure why.
designportfolio replied on at Permalink Reply
designportfolio
I solved this in the end by clicking rescan images, not sur what it did but it worked. grrrr
designportfolio replied on at Permalink Best Answer Reply
designportfolio
solved it! just clicked rescan images and this seems to fix the problem, no idea why