mg3ddesign Posted July 4, 2012 Share Posted July 4, 2012 My export page is blank after the 5.1.1 upgrade on all my sites. Has anyone else had this problem? Quote Link to comment Share on other sites More sharing options...
Dirty Butter Posted July 4, 2012 Share Posted July 4, 2012 Just checked. Same for me. Did you use the auto upgrade or the usual setup folder method? Quote Link to comment Share on other sites More sharing options...
mg3ddesign Posted July 4, 2012 Author Share Posted July 4, 2012 Auto Upgrade on one site and the folder setup method on another Quote Link to comment Share on other sites More sharing options...
Dirty Butter Posted July 4, 2012 Share Posted July 4, 2012 Please submit a bug report. Quote Link to comment Share on other sites More sharing options...
mg3ddesign Posted July 4, 2012 Author Share Posted July 4, 2012 I understand that, and will submit a report, does anyone know how to fix it now, as I need to export my products? Quote Link to comment Share on other sites More sharing options...
Dirty Butter Posted July 4, 2012 Share Posted July 4, 2012 I don't know what needs to be done, but you might try renaming the apparently flawed products.export.inc.php file and replacing it with the 5.1.0 one from your backup and see if it will work. As long as you don't lose the original 5.1.1 file I think it should be OK to try that. Quote Link to comment Share on other sites More sharing options...
Dirty Butter Posted July 4, 2012 Share Posted July 4, 2012 I tried it on mine, and export is working. Hope you get the same result. Quote Link to comment Share on other sites More sharing options...
mg3ddesign Posted July 4, 2012 Author Share Posted July 4, 2012 I would prefer not to go backwards incase there are conflicts with other files. I have put a support ticket through. Thanks Quote Link to comment Share on other sites More sharing options...
Dirty Butter Posted July 4, 2012 Share Posted July 4, 2012 You can use the 5.1.0 file long enough to get your export and then go back to the 5.1.1 file, as you are certainly correct that mixing versions can cause all kinds of unintended consequences. Quote Link to comment Share on other sites More sharing options...
bsmither Posted July 4, 2012 Share Posted July 4, 2012 Try this... In the file adminsourcesproducts.export.inc.php, near line 101, find: $result['google_category'] = $GLOBALS['seo']->getDirectory($result['cat_id'], false, ' > ')); Change to: $result['google_category'] = $seo->getDirectory($result['cat_id'], false, ' > '); This will use the $seo variable that has the instantiation of the SEO class ($GLOBALS['seo'] might also work, but since $seo is set at the file's top, let's use that). I believe the problem is that there are two closing parenthesis at the statement end when there must needs be only one. Quote Link to comment Share on other sites More sharing options...
Dirty Butter Posted July 4, 2012 Share Posted July 4, 2012 Thanks, bsmither! I took off the extra parenthesis, and it works correctly! $result['google_category'] = $GLOBALS['seo']->getDirectory($result['cat_id'], false, ' > '); Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.