Hi,

What I try to make with Profiler Builder, it's a canadien bilingual english/french installation profile, to setup automatically all multilingual setting.

Do you know if the Profile Builder module have some issues with bilingual drupal website ?

I just tried profile_builder, to make a bilingual website.

Step to reproduce the problem :

Drupal instalation :
- Installed Drupal 7.17, with the french po inside the standard installation (http://drupalfr.org/sites/default/files/drupal-7.latest.tar.gz).
- Installation in french (so Drupal automaticly activate locale module).
- Setup the multilingual : configuration//Regional and language/Languages/Detection and selection , /admin#overlay=en/admin/config/regional/language/configure
- Click on all the boxes for language detection.
- Activate Profiler Builder in module

Profile installation
- Configuration/Profiler Builder
- All boxes clicked (Create defaults like standard profile click).
- Save profile

Profile
- Then I copy the new profile created with profile builder into /profiles
- After I add the french .po into /profiles/myprofile/translation
- After I add profiler into /profiles/myprofile/libraries/profiler

After that I can install Drupal with my new profile, but I get a lot of php notices and one php warning. Thoses errors seems to are about language detection (I dont get thoses errors with manual installation).

Notice : Trying to get property of non-object dans language_default() (ligne 2694 dans /Volumes/DATA/Users/hugo/Sites/drupalBilingual/includes/bootstrap.inc).
Notice: Trying to get property of non-object in locale_language_url_fallback() (line 347 of /Volumes/DATA/Users/hugo/Sites/drupalBilingual/includes/locale.inc).
Warning: Attempt to assign property of non-object in language_initialize() (line 407 of /Volumes/DATA/Users/hugo/Sites/drupalBilingual/includes/language.inc).
Notice : Trying to get property of non-object dans drupal_lookup_path() (ligne 77 dans /Volumes/DATA/Users/hugo/Sites/drupalBilingual/includes/path.inc).
Notice : Trying to get property of non-object dans drupal_lookup_path() (ligne 77 dans /Volumes/DATA/Users/hugo/Sites/drupalBilingual/includes/path.inc).

Do you have any idea how to solve this problem ?

Can I help with something ?

Thanks you,

P.s: copy of the profile folder in attachement.

Hugo

CommentFileSizeAuthor
drupalbilingual.zip225.04 KBhugov
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

btopro’s picture

Version: 7.x-1.0-rc2 » 7.x-1.x-dev
Status: Active » Needs work

I'm not sure what causes this issue but there are outstanding issues with multi-lingual publishing of the profiler builder profile. See #1319418: Fix so Objects are Properly Handled for more details. Very open to accepting patches / help in resolving / reviewing that issue to get this problem resolved.

btopro’s picture

Status: Needs work » Fixed

Objects are now properly ignored -- http://drupalcode.org/project/profiler_builder.git/blobdiff/cb36495920a7...

The best resolution for this is to find those values that profiler builder says it ignored (sets a message) and then make sure they are in a Feature if you need them.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.