Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
When I upload a file for a specific Task, I get this message:
String offset cast occurred dans _field_invoke_multiple() (ligne 321 dans /homepages/42/d141549472/htdocs/erpal/modules/field/field.attach.inc).
Where am I wrong?
Best regards
Comments
Comment #1
manuelBS CreditAttribution: manuelBS commentedPlease use Alpha5 and update the complete installation as described at http://www.erpal.info/en/blog/updating-erpal and report if it works.
Comment #2
pdeclarens CreditAttribution: pdeclarens commenteddid the update as per the description.This is the message I get:
The following updates returned messages
panels module
Update #7302
Added panels_pane.uuid column. Added panels_display.uuid column. Generated UUIDs for database-based panel displays and panes.
relation_add module
Update #7001
Added endpoint autocomplete menu callback access to the anonymous and authenticated user roles.
erpal_contract_helper module
Update #7001
Failed: PDOException : SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'menu_attributes' for key 'PRIMARY': INSERT INTO {l10n_update_project} (name, project_type, core, version, l10n_server, l10n_path, status) VALUES (:db_insert_placeholder_0, :db_insert_placeholder_1, :db_insert_placeholder_2, :db_insert_placeholder_3, :db_insert_placeholder_4, :db_insert_placeholder_5, :db_insert_placeholder_6); Array ( [:db_insert_placeholder_0] => menu_attributes [:db_insert_placeholder_1] => module [:db_insert_placeholder_2] => 7.x [:db_insert_placeholder_3] => 7.x-1.0-rc2+5-dev [:db_insert_placeholder_4] => [:db_insert_placeholder_5] => http://ftp.drupal.org/files/translations/7.x/menu_attributes/menu_attrib... [:db_insert_placeholder_6] => 1 ) dans drupal_write_record() (ligne 7136 dans /homepages/42/d141549472/htdocs/erpal/includes/common.inc).
Comment #3
pdeclarens CreditAttribution: pdeclarens commentedHello,
Despite the previous errors, seems the site is working...
BUT, when I am in a taks and want to add a file using the Ctrl+B keys, I get this message:
Notice : String offset cast occurred dans _field_invoke_multiple() (ligne 321 dans /homepages/42/d141549472/htdocs/erpal/modules/field/field.attach.inc).
If I upload the file using the classical method, the file is uploaded and is present under the Menu Files, but if I click on the File tab in the Task, I get a "No files available"...
regards
Comment #4
manuelBS CreditAttribution: manuelBS commentedplease create a separate issue for the file upload. also this is duplicate to [#https://drupal.org/node/2092857]
Comment #5
pdeclarens CreditAttribution: pdeclarens commentedhello,
I cannot get the Ctrl+B shortcup to work...
thanks for your help
Comment #6
pdeclarens CreditAttribution: pdeclarens commentedI made another installation, using the same alpha 5 version, on the same server, identical PHP... and there I do not run into this issue...
On the report status i see nothing that rings a bell to explain why I cannot use the Ctrl +B feature...
rgds
Comment #7
andrisek CreditAttribution: andrisek commentedDid you set the permissions right for the shortcut module? We will update this soon at installation profile.
Comment #8
pdeclarens CreditAttribution: pdeclarens commentedi work with the admin permission...
Comment #9
andrisek CreditAttribution: andrisek commentedDo you still have the problem with the file upload pdeclares?