Closed (duplicate)
Project:
Variable
Version:
7.x-2.0
Component:
Code
Priority:
Major
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
12 May 2012 at 15:11 UTC
Updated:
14 Nov 2012 at 09:32 UTC
Jump to comment: Most recent file
Comments
Comment #1
jose reyero commentedWe are not touching that page (unless using multilingual, domain variables...). Please explain better.
Comment #2
Wolfgang Reszel commentedI'm using the following modules which depend on Variables:
Internationalization, String translation, Block languages, Translation sets, Multilingual content, Menu translation, Translation redirect, Synchronize translations, Variable store, Variable realm, Variable translation, Views translation, Webform Localization.
I don't know what could also be helpful.
Comment #3
jose reyero commentedIf you use variable-dev you should use also i18n-dev.
Now if you could define better 'breaks' and 'I can't...' (what exactly happens, errors, etc..?) or provide screenshots..
Comment #4
Wolfgang Reszel commentedI tried the latest dev of pathauto, variables and i18n. It doesn't help. Here some screenshots with and without Dev version (only variables, the other remain Dev).
Comment #5
Wolfgang Reszel commentedThe problem seems to be in variable_realm.module. As I got an PHP error with 1.2 which says the function "variable_realm_get_variable_list()" is missing I tried to replace variable_realm.module in 7.x-1.2 with the file from the latest dev. After clearing the cache the settings disappear from the patterns admin page.
Comment #6
Wolfgang Reszel commentedHi,
I reverted some functions from Dev (May 16) to the functions from 7.x-1.2. It now works again, but I have to say that I don't know what I'm doing. ;-) I just tried to revert the code step by step until it works again (every time clearing the cache was necessary).
I reverted the following functions:
&variable_realm()
variable_realm_values()
variable_realm_build()
variable_realm_get()
variable_realm_status()
variable_realm_switch()
I've attached the fixed module. Btw. the new Dev from May 21 did not solve this issue.
Comment #7
jose reyero commentedThere were some version issues, try with latest i18n-dev and variable-2.x
Comment #8
jose reyero commentedIt should be definitely fixed in latest version.
Comment #9
jdanthinne commentedBug is back with i18n-dev and variable-2.x.
As soon as I enable Variable Realm, /admin/config/search/path/patterns is empty and alias aren't generated correctly anymore.
I came from this issue : #1267966: Pathauto patterns are not showing up but I can't find any php outside of functions that could cause this bug…
Comment #10
attiks commentedvariable_realm_boot and/or
variable_realm_init might be the reason, try enabling the module again, comment out the code inside those functions. Try loading the page again.
Comment #11
jdanthinne commentedYes, but disabling those functions makes the module itself useless… so a better solution would be to find the Variable bug that triggers the Pathauto bug.
Comment #12
attiks commented@jdanthinne i know it isn't a fix, was just to confirm where the problem is coming from, see #1267966: Pathauto patterns are not showing up for some background info
Comment #13
Wolfgang Reszel commentedDue to the dependencies (Pathauto, i18n Variable Translation) this issue is a real show ... eh ... update stopper. ;-)
Comment #14
Wolfgang Reszel commentedComment #15
jdanthinne commentedI confirm that. Upgraded to latest stable version (Variable 7.x-2.0 and i18n 7.x-1.6), and Pathauto page is broken!
Comment #16
planctus commentedSame here with latest stable updates: Variable 7.x-2.0 and i18n 7.x-1.6
It was all pretty messy about this update, doing that with drush caused a blocking situation where one module was asking for the other's "updates" before it could be updated and fatal errors occurred for undefined functions.
I wouldn't expect to run into this issue with pathauto after fixing that...
Da.
Comment #17
dimitriseng commentedI also just updated to Variable 7.x-2.0 and i18n 7.x-1.6 and getting the same issue...
Comment #18
marktheshark commentedSame as #17.
Comment #19
Pls commentedSame problem as #17 for me too, would love to see some suggestions how to solve this problem. Thanks!
Comment #20
jose reyero commentedSee http://drupal.org/node/1267966#comment-6171858
Comment #21
jose reyero commentedThinking better, we should be fixing this on variable module as it may cause unexpected issues in other modules too.
See #1664154: Fix variable hooks invoked during bootstrap (Variable realm breaks pathauto)
Comment #22
gonz commentedIt was Variable for me too - just wanted to share.
Has anyone tried the latest DEV of Variable?
Comment #23
planctus commentedyes, i did..and it fixed my issues..
Da.
Comment #24
fernando vesga commentedWell, i didn't work for me.
But this one did, http://drupal.org/node/1267966#comment-5797580. From Pathauto issues page