Hi
i would warning on a bug when enabling some other modules than locale updater...like this :
Fatal error: Call to undefined function dsm() in C:\wamp\www\xxx\sites\all\modules\l10n_update\l10n_update.module on line 117
i dont know if its important or not..
thanks
Comments
Comment #1
desus commentedWhen the error occurs, the module does not install.
Fatal error: Call to undefined function dsm() in /home/design/public_html/sites/all/modules/l10n_update/l10n_update.module on line 117
This module is my favorite :(
Comment #2
desus commentedl10n_update.module on line 117
_______________________________________________________________________________________________________
-------------------------------------------------------------------------------------------------------------------------------------
http://drupalcontrib.org/api/function/dsm/6
_______________________________________________________________________________________________________
dsm($input, $name = NULL)
▸ 3 functions call dsm()
devel_execute_form_submit in contributions/devel/devel.module
Process PHP execute form submissions.
messaging_debug_devlog_msg in contributions/messaging/messaging_debug/messaging_debug.module
Message processor, just log incoming messages
vsm in contributions/views/views.module
Debug messages
Code:
contributions/devel/devel.module, line 1655
-------------------------------------------------------------------------------------------------------------------------------------
Comment #3
barrapontoit's a dev branch, i'm not surprised to see a dsm there. but line 117 should read:
else drupal_set_message("storage");
if it works, please post a patch...
Comment #4
desus commentedsolved the problem
Comment #5
wundo commentedThere is no need to add that comment line, IMHO we should just remove that line.
See updated patch.
Comment #6
wundo commentedCleaning up some other comments too
Comment #7
aiphesfeedback on this issue :
Warning: Got a packet bigger than 'max_allowed_packet' bytes query: INSERT INTO d6bl_watchdog (uid, type, message, variables, severity, link, location, referer, hostname, timestamp) VALUES (1, 'php', '%message in %file on line %line.', 'a:4:{s:6:\"%error\";s:12:\"user warning\";s:8:\"%message\";s:3177016:\"Got a packet bigger than 'max_allowed_packet' bytes\nquery: UPDATE d6bl_batch SET token = 'ca13acd130d2264d9773f6d3ee35751d', batch = 'a:10:{s:4:\\"sets\\";a:1:{i:0;a:11:{s:7:\\"sandbox\\";a:0:{}s:7:\\"results\\";a:0:{}s:7:\\"success\\";b:0;s:10:\\"operations\\";a:3:{i:0;a:2:{i:0;s:27:\\"_l10n_update_batch_download\\";i:1;a:1:{i:0;O:8:\\"stdClass\\":17:{s:4:\\"name\\";s:13:\\"image_fupload\\";s:4:\\"info\\";a:10:{s in /homez.342/lyceeler/www/includes/database.mysqli.inc on line 128
is there any link between the the fist issue ?
it's a multisite install, on multidomain hosting on OVH.Each site has is proper DB
Comment #8
tsvenson commentedRan into this issue using the current dev. dsm() is still in there.
Comment #9
aiphesis it a dev version ? where can i find it ? then i could replace the actual version whith this newer ?
EDIT: i've still the issue, and on a single install too..help please
this is the module code:
Comment #10
tsvenson commentedYes, its the dev version and you can find it on the project page. Its the only one listed.
Just comment out or remove the dsm() as described in the patch in comment #6 and it will work.
Comment #11
aiphesi've applied the patch, the code is the one i've in the .module file...error still there, i go to flush cache and retry..
Comment #12
aiphesstill there : this is the ultimate warning i got:
Warning: MySQL server has gone away query: INSERT INTO d6pf_watchdog (uid, type, message, variables, severity, link, location, referer, hostname, timestamp) VALUES (1, 'php', '%message in %file on line %line.', 'a:4:{s:6:\"%error\";s:12:\"user warning\";s:8:\"%message\";s:184530:\"MySQL server has gone away\nquery: UPDATE d6pf_sessions SET uid = 1, cache = 0, hostname = '62.160.67.31', session = 'messages|a:1:{s:5:\\"error\\";a:161:{i:0;s:232:\\"user warning: MySQL server has gone away\\nquery: SELECT filename, name, type, status, throttle, schema_version FROM d6pf_system WHERE type = 'module' in /homez.195/provence/www/site/modules/system/system.module on line 752.\\";i:1;s:964:\\"user warning: MySQL server has gone away\\nquery: INSERT INTO d6pf_system (name, info, type, filename, status, throttle, bootstrap) VALUES ('admin_menu& in /homez.195/XXXX/www/site/includes/database.mysqli.inc on line 128
i've a shared hosting on OVH .So i cant do anything, and this message come when i do an update.php
Comment #13
tsvenson commentedSince the warning says "MySQL server has gone away query" it is more a problem with your hosting. Drupal simply can't connect to the MySQL server.
Comment #14
aiphesok 2 differents problem so.good to know.hope they arent connected.
Comment #15
aiphesfor #7 , perhaps found the cause , there is a probleme with the commented code on line 237 of
the sign * in () cause a break in the commented block, so i've added another * more,and code seem to be right ..
after second attempt,the module page is displayed,hope its the way to this issue..
Comment #16
j0nathan commentedSame issues as #0 and #7 (haven't tried any patch yet), subscribing.
Comment #17
wasare commentedSame issue as #0, commenting the line fixed for now.
Comment #18
sutharsan commentedApplied patch #6 which removes all occurrences of dsm(). Wundo and others thanks for your patches. Please note that module maintainers prefer the "unified" patch format. See http://drupal.org/patch/create at "Patch readability".
Comment #19
sutharsan commented