File isn't a valid 'xx' file
5 posts by 2 authors in: Forums > CMS Builder
Last Post: August 9, 2011 (RSS)
By rjbathgate - August 7, 2011
I have recently upgraded an old installation of CMSB to 2.11 so the Save & Copy plugin can be used.
However, when trying to 'save and copy' a record, I receive the following error:
Error:
Warning copy(picture.gif): failed to open stream. No such file or directory in /path/to/root/cmsAdmin/lib/upload_functions.php on line 84
[repeated for each upload in the record]
File 'filename.gif' isn't a valid 'gif' file.<br/>
[repeated for each upload in record, inc .jpg and .png]
The files do indeed exist in /path/to/root/cmsAdmin/uploads and load fine in browser.
In general settings all looks like it should:
Program dir: /path/to/root/cmsAdmin/
Website root: /path/to/root/
Upload dir: /path/to/root/cmsAdmin/uploads/
upload folder url: /cmsAdmin/uploads/
Any idea what would cause the 'isn't a valid 'gif' [png/jpg] file? I've tried reuploading the file and no difference.
Thanks!
Rob
Re: [rjbathgate] File isn't a valid 'xx' file
By Jason - August 8, 2011
Does this happen when trying to copy any record?
If you could fill out a [url http://www.interactivetools.com/support]2nd Level Support Request[/url] we can look into this further for you.
Thanks
Jason Sauchuk - Project Manager
interactivetools.com
Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/
Re: [Jason] File isn't a valid 'xx' file
By rjbathgate - August 8, 2011
Have raised 2nd level support as requested.
Cheers
Re: [rjbathgate] File isn't a valid 'xx' file
By Jason - August 9, 2011
We've fixed this bug in the Save & Copy plugin. You can download the change here:
http://www.interactivetools.com/add-ons/detail.php?Save-Copy-Button-1030
Note: This updated plugin requires CMS Builder version 2.11
To see the changes, you can view the change log here:
http://www.interactivetools.com/add-ons/detail-changelog.php?Save-Copy-Button-1030
Hope this helps
Jason Sauchuk - Project Manager
interactivetools.com
Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/
Re: [Jason] File isn't a valid 'xx' file
By rjbathgate - August 9, 2011
Thanks