jarmonkeys Posted January 7, 2015 Share Posted January 7, 2015 Hi, I've just upgraded from 4.3.0 to 5.2.15. When i try and edit any modules e.g. SagePay gateway I just get a blank page with no errors (debugging is on). Has anyone come across this? Thanks, Jon Quote Link to comment Share on other sites More sharing options...
Al Brookbanks Posted January 7, 2015 Share Posted January 7, 2015 When you upgrading there is a crucial part of the upgrade instructions that tells you to delete certain files and folders. I am assuming you didn't delete the existing v4 modules. I expect this can be fixed by deleting the contents of the /modules/* folder. Once done upload the default /module folder contents from v5 and all should be fine. Quote Link to comment Share on other sites More sharing options...
jarmonkeys Posted January 7, 2015 Author Share Posted January 7, 2015 Hi Al, thanks for getting back to me. I performed the upgrade on a dev server and only copied the images and global.inc.php from the v4 site. All other folders/files are from the 5.2.15 zip. I've deleted and re-uploaded just in case but still have the same issue. Cheers, Jon Quote Link to comment Share on other sites More sharing options...
bsmither Posted January 7, 2015 Share Posted January 7, 2015 You say you have no errors. And you say debugging is on. Are you relying on the debug section to show you the error that may be causing the empty page? I will ask that you find PHP's error_log and look at recent log entries. Quote Link to comment Share on other sites More sharing options...
jarmonkeys Posted January 8, 2015 Author Share Posted January 8, 2015 Hi, I can't find any errors in the log file or if i enable them on-page in php.ini. is there anything else I can try? Cheers, Jon Ah, just tried a bit of code in admin.php to force display errors and got this: E_ERROR Error in file controller.admin.session.true.inc.php at line 92: Cannot use string offset as an array Not sure what it means though. Cheers, Jon Quote Link to comment Share on other sites More sharing options...
bsmither Posted January 8, 2015 Share Posted January 8, 2015 This may have to do with a request being made to cubecart.com for a list of modules and how 'popular' they are -- a ranking or /stats/. The returned list is checked for its validity in several places, but not for the code on line 92. However, this is not a fatal error and should not prevent the page from displaying. Still, it needs fixed. In controller.admin.session.true.inc.php: On line 91: Was: a blank line Now: /* On line 95: Was: } Now: } */ This problem should affect all versions of CC5. the request for /stats/ could be cached, but clearing the cache will have the code get a fresh listing. Then this error, again, not fatal, will happen. Quote Link to comment Share on other sites More sharing options...
Al Brookbanks Posted January 8, 2015 Share Posted January 8, 2015 Hmm.. I need to create this content! Ok this should fix it: https://www.cubecart.com/stats Quote Link to comment Share on other sites More sharing options...
jarmonkeys Posted January 8, 2015 Author Share Posted January 8, 2015 Thanks guys, Commenting out that code did the trick. Cheers, Jon Quote Link to comment Share on other sites More sharing options...
Al Brookbanks Posted January 8, 2015 Share Posted January 8, 2015 It *should* work now whether commented out or not. Quote Link to comment Share on other sites More sharing options...
jarmonkeys Posted January 8, 2015 Author Share Posted January 8, 2015 Only if commented out I'm afraid :-( Quote Link to comment Share on other sites More sharing options...
Al Brookbanks Posted January 8, 2015 Share Posted January 8, 2015 OK thanks for the feedback.. Appreciated. I'll do some tests. 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.