2.2RC1 Upgrade: Failure upgrading URL Rewrite
mikeage
![]()
Joined: 2005-01-23
Posts: 138 |
![]() |
I have two G2 installations using a common codebase (multisite). The first upgrade went off without any problems... the second couldn't upgrade the URL Rewrite module. Clicking on upgrade gives me: "Security Violation The action you attempted is not permitted. Back to the Gallery * in modules/core/classes/helpers/GalleryPluginHelper_simple.class at line 94 (gallerycoreapi::error) System Information |
|
mindless
![]()
Joined: 2004-01-04
Posts: 8601 |
![]() |
from the 2.2-rc-1 feedback topic: mindless wrote:
mikeage, did you extract 2.2-rc-1 on top of the existing codebase or remove the old and put 2.2-rc-1 in place? The error indicates the code for a 3rd party module is no longer there, so the site using that module got an error. |
|
mikeage
![]()
Joined: 2005-01-23
Posts: 138 |
![]() |
oh, right, forgot to answer that ;) I extracted 2.2RC1 on top of 2.1.2. |
|
mindless
![]()
Joined: 2004-01-04
Posts: 8601 |
![]() |
well, still check that the updates module is still there, i guess.. |
|
mikeage
![]()
Joined: 2005-01-23
Posts: 138 |
![]() |
Oh... ok. I was thinking it was a problem with URL Rewrites, and totally forgot that I (used to) have the updates module installed. I'd deleted it from within one multisite, forgetting that another still used it (I now use a dynamic album instead). Without re-installing it (since I don't recall which version I had), is there a way to remove whatever it left behind in the database, that the URL rewrite module is trying to update? On another note, perhaps it should be clarified in the documentation (even though it is rather obvious, if one thinks about it) that install/activate/configure is per-G2 directory, but delete operates on the shared codebase |
|
mikeage
![]()
Joined: 2005-01-23
Posts: 138 |
![]() |
Fixed. I reinstalled the updates module, upgraded URL Rewrite, then disabled and removed updates. Thanks for your help! |
|
mindless
![]()
Joined: 2004-01-04
Posts: 8601 |
![]() |
absolutely.. you've hit upon one of our high priority items to fix before 2.2 final: http://codex.gallery2.org/index.php/Gallery2:2.2_Release_Blockers#Bug:_DP:_Multisites_can_break_one_another |
|
mikeage
![]()
Joined: 2005-01-23
Posts: 138 |
![]() |
No biggie. It's actually quite obvious, but I wasn't thinking. It seems that the fact that the URL Rewrites module can be broken by another module (indeed, any module can, but rewrites is probably the most dependant on other modules) is a more serious issue. |
|