Error when recreating thumbnails
10 posts by 4 authors in: Forums > CMS Builder
Last Post: April 2, 2009 (RSS)
By aev - February 26, 2009
I get this error when trying to recreate some thumbnails:
Error:
Notice: Undefined variable: tableNameWithoutPrefix in /home/mysite/www/cmsb/lib/menus/database/actionHandler.php on line 136
done
The site is using CMSB 1.27.
-aev-
Re: [aev] Error when recreating thumbnails
By ross - February 26, 2009
Thanks for pointing that out. This will be fixed in the next release. For the time being, I'll go over how to fix your version.
1. Open up /lib/menus/database/actionHandler.php and find this: function recreateThumbnails(). It should be on line 122.
2. A few lines below that you'll see:
// get upload count
3. Right below that add the following:
$tableNameWithoutPrefix = getTablenameWithoutPrefix($_REQUEST['tablename']);
4. Save the file and upload it.
You should be good to go. Give this a shot and let me know how you make out.
Cheers,
Ross Fairbairn - Consulting
consulting@interactivetools.com
Hire me! Save time by getting our experts to help with your project.
Template changes, advanced features, full integration, whatever you
need. Whether you need one hour or fifty, get it done fast with
Priority Consulting: http://www.interactivetools.com/consulting/
Re: [ross] Error when recreating thumbnails
By misery217 - March 23, 2009
Re: [misery217] Error when recreating thumbnails
By ross - March 23, 2009
Which version of CMS Builder are you using? The error described above is only from a specific version from what we've seen so there might be something slightly different happening.
Let me know and we'll go from there. Thanks!
Cheers,
Ross Fairbairn - Consulting
consulting@interactivetools.com
Hire me! Save time by getting our experts to help with your project.
Template changes, advanced features, full integration, whatever you
need. Whether you need one hour or fifty, get it done fast with
Priority Consulting: http://www.interactivetools.com/consulting/
Re: [ross] Error when recreating thumbnails
By misery217 - March 23, 2009
Re: [misery217] Error when recreating thumbnails
By ross - March 23, 2009
Could you send me FTP details to your sight through a private message? I'd like to take a closer look at this for you.
Thanks!
Cheers,
Ross Fairbairn - Consulting
consulting@interactivetools.com
Hire me! Save time by getting our experts to help with your project.
Template changes, advanced features, full integration, whatever you
need. Whether you need one hour or fifty, get it done fast with
Priority Consulting: http://www.interactivetools.com/consulting/
Re: [misery217] Error when recreating thumbnails
By ross - March 23, 2009
Thanks for sending me your details!
I had a look and I think the problem may have actually been that something got corrupted when you made the change. I was having trouble actually re-creating the error when I got there so I uploaded a new copy of your lib folder (the old one is called lib_bak) and applied the fix.
You should be good to go again. Let me know what you think :).
Cheers,
Ross Fairbairn - Consulting
consulting@interactivetools.com
Hire me! Save time by getting our experts to help with your project.
Template changes, advanced features, full integration, whatever you
need. Whether you need one hour or fifty, get it done fast with
Priority Consulting: http://www.interactivetools.com/consulting/
Re: [ross] Error when recreating thumbnails
By misery217 - March 23, 2009
After emptying out the browser cache and cookies, it worked just fine!
Thanks Ross!
Re: [ross] Error when recreating thumbnails
By willbegood - April 1, 2009
Re: [willbegood] Error when recreating thumbnails
By ross - April 2, 2009
I think we were talking about this file in a different thread. Would you mind posting this file there instead?
Thanks!
Cheers,
Ross Fairbairn - Consulting
consulting@interactivetools.com
Hire me! Save time by getting our experts to help with your project.
Template changes, advanced features, full integration, whatever you
need. Whether you need one hour or fifty, get it done fast with
Priority Consulting: http://www.interactivetools.com/consulting/