Re: [Maurice] image recreate error how to handel
1 posts by 1 authors in: Forums > CMS Builder
Last Post: March 17, 2011 (RSS)
By Jason - March 17, 2011
Hi Maurice,
The issue here is that the file path stored in your uploads table is your old file path. These will all have to be changed to your new file path before you're able to recreate your thumbnails. Here are some steps to doing this:
1) Create a back up of your database (if you're using 2.07 you can backup the uploads table separately). Keep a copy of this file. This is important so we can revert back to the database's current state if anything goes wrong.
2) Take a copy of this backup and rename it (ie, add EDIT to the end). Open the file up in a text editor.
3) Go through the file and find the where it's inserting records into the uploads table. (you can do a search for _uploads to find this).
4) In those lines, find the value where the file path is your old file path. Change this to be your new file path.
5) Once this is done, upload your edited backup file to the backup folder. Restore this file.
6) Make sure that all of your uploads and thumb folders have write permissions.
7) Try re-creating your thumbnails normally.
Hope this helps
The issue here is that the file path stored in your uploads table is your old file path. These will all have to be changed to your new file path before you're able to recreate your thumbnails. Here are some steps to doing this:
1) Create a back up of your database (if you're using 2.07 you can backup the uploads table separately). Keep a copy of this file. This is important so we can revert back to the database's current state if anything goes wrong.
2) Take a copy of this backup and rename it (ie, add EDIT to the end). Open the file up in a text editor.
3) Go through the file and find the where it's inserting records into the uploads table. (you can do a search for _uploads to find this).
4) In those lines, find the value where the file path is your old file path. Change this to be your new file path.
5) Once this is done, upload your edited backup file to the backup folder. Restore this file.
6) Make sure that all of your uploads and thumb folders have write permissions.
7) Try re-creating your thumbnails normally.
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/
Jason Sauchuk - Project Manager
interactivetools.com
Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/