Closed (fixed)
Project:
MySite
Version:
5.x-2.16
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
11 Jan 2008 at 16:46 UTC
Updated:
21 Jan 2008 at 06:52 UTC
When clicking on Add Categories, Add Post, Add Posts by Type, Add Post Comments or Add User Posts, I still get brought to the same page showing every single content from Categories, Post etc...
Comments
Comment #1
agentrickardNow that makes sense, thanks. I have a feeling that some of the code optimizations I tried to put in really screwed things up.
Comment #2
atuyo60 commentedoh, I was wondering why such an established module was having these small problems that should have been addressed long ago... cos I just installed this module and it happened to be the latest version..
Comment #3
agentrickardThis appears to be related to the error caused by trying to statically cache certain load functions.
http://drupal.org/node/208276
Comment #4
agentrickardTry changing line 3027 in of mysite.module
function mysite_load_includes():if (!empty($value)) {To:
if (!empty($value) && empty($name)) {That should fix the issue. I am going to need to refactor that function.
Comment #5
agentrickardI believe the patch in http://drupal.org/node/208933 is the proper solution.
Comment #6
agentrickardComment #7
agentrickardAddressed in 5.x.2.17.
I am quite disappointed that the patch received no reviews.
Comment #8
atuyo60 commentedSorry, I have not used the module since so I do not know if it works...