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.
I updated today Chaos tools version 6.x-1.5, Panel - 6.x-3.5 and when I tried to modify a mini panel I noticed that the background refreshes but the icon is still going and the panel doesn't save. In Performance I have Optimize JavaScript files active. If I sets this inactive the panel works fine, but I have javascripts errors on load the interface. Can somebody help me?
Comments
Comment #1
sdboyer CreditAttribution: sdboyer commentedUgh. Seems we didn't get entirely to the bottom of this in #804198: Ajax doesn't work reliable using Safari. Well, I'm going to keep this issue open and have any further discussion that's specific to js aggregation here.
magdab - can you please report EVERYTHING about the environment in which the error is occurring? client and server. So, modules you have installed, browser and version you're using to access the site, etc.
Also, this is a ctools issue.
Comment #2
magdab CreditAttribution: magdab commentedI use Linux 2.6.27-gentoo, PHP Version 5.2.13-pl0-gentoo, Drupal 6.16
Modules:
-Add to Any Share/Bookmark Button 6.x-2.4
-Admin Role 6.x-1.2
-AES encryption 6.x-1.4
-Backup and Migrate 6.x-2.2
-Block Region 6.x-2.3
-Block Theme 6.x-1.0-beta1
-Boost 6.x-1.18
-Browscap 6.x-1.1
-Calendar 6.x-2.2
-CAPTCHA 6.x-2.2
-CKEditor - WYSIWYG HTML editor 6.x-1.0
-Chaos tools 6.x-1.5,
-Computed Field 6.x-1.0-beta3
-Content Construction Kit (CCK) 6.x-3.x-dev
-Date 6.x-2.4
-DB Maintenance 6.x-1.2
-FileField 6.x-3.3
-Footnotes 6.x-2.3
-Global Redirect 6.x-1.2
-Glossify Internal Links Auto SEO 6.x-2.3
-Google Analytics 6.x-2.2
-ImageAPI 6.x-1.6
-ImageCache 6.x-2.0-beta10
-ImageField 6.x-3.3
-Insert Block 6.x-1.x-dev
-InsertNode 6.x-1.2
-Internationalization 6.x-1.4
-jCarousel 6.x-1.1
-jQuery UI 6.x-1.3
-Lightbox2 6.x-1.9
-Link 6.x-2.8
-Menu Breadcrumb 6.x-1.3
-Navigate 6.x-1.0-beta6
-Nice Menus 6.x-2.x-dev
-OpenX 6.x-1.01
-Page Title 6.x-2.3
-Panels 6.x-3.5
-Path redirect 6.x-1.0-beta6
-Pathauto 6.x-2.x-dev
-Printer, e-mail and PDF versions 6.x-1.10
-Quick Tabs 6.x-2.0-rc4
-Rules 6.x-1.1
-Search 404 6.x-1.9
-simplehtmldom API 6.x-1.11
-Snapshot 6.x-0.1
-SpamSpan filter 6.x-1.4
-Statistics Advanced Settings 6.x-1.5
-Switchtheme 6.x-1.1
-Tagadelic 6.x-1.2
-Taxonomy Manager 6.x-2.2
-Text Resize 6.x-1.5
-Token 6.x-1.12
-Total Control Admin Dashboard 6.x-1.2
-Transliteration 6.x-3.0-rc1
-Views 6.x-2.10
-Views Bulk Operations (VBO) 6.x-1.9
-Views carousel 6.x-2.x-dev
-Views Galleriffic 6.x-1.0-rc3
-XML sitemap 6.x-1.2
I tested in all browsers like Firefox Mozilla 3.x, IE8, Google Chrome and doesn't work.
Thanks
Comment #3
dddave CreditAttribution: dddave commentedI can confirm that the combo of panels 3.5 and ctools 1.5 is not working properly although the patch did solve the problem. I am now using the ctools dev and panels 3.5 and everything is working fine.
My guess: The patch isn't included correctly in ctools 1.5 but in the latest dev.
Comment #4
magdab CreditAttribution: magdab commentedYes, indeed the ctools dev with panel 3.5 solve the problem.
I guess that the patch will be included in a new release.
Comment #5
sdboyer CreditAttribution: sdboyer commentedThat is...fucktarded. It would appear I somehow inexplicably tagged the wrong point for 1.5. VERY weird, given that the release notes for it came out right.
Comment #6
EugenMayer CreditAttribution: EugenMayer commentedWell iam sure i messed up more then 5 releases with CVS already :)
Thanks for the quick replys
Comment #7
henry_drupal CreditAttribution: henry_drupal commentedHi,
I can add panes to panels properly now with Ctools 1.6 (That's really a big relief. Thanks for fixing it) but I still cannot ADD NEW RULE under Visibilities settings.
I get the following error message on test server.
"Unable to complete operation. Fatal error in C:\xampp\htdocs\drupal\sites\all\modules\ctools\plugins\access\node.inc on line 224: Cannot redeclare bulk_export_perm() (previously declared in C:\xampp\htdocs\drupal\sites\all\modules\ctools\bulk_export\bulk_export.module:13)"
I checked the code and if I delete bulk_export_perm() from node.inc, the another message will pop up saying another function has been previously declared.
On my production server, I get the following message.
An error occurred at /panels/ajax/access-add/9/185.
Error Description: ????????????????5???????????????????????????0????????????????????????????????????????????????????????????????????????????????????????????????????????????0????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????5??????????????????????????????5????????????????????o??????????????0???????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????[ { "command": "settings", "argument": { "basePath": "/", "admin_menu": { "margin_top": 1 }, "cron": { "basePath": "/poormanscron", "runNext": 1275487068 } } }, { "command": "modal_display", "title": "Add visibility rule for Existing node", "output": "\x3cdiv class=\"messages\"\x3e\x3cdiv class=\"messages status\"\x3e\n\x3ca href=\"/admin/settings/site-maintenance\"\x3eOperating in off-line mode.\x3c/a\x3e\x3c/div\x3e\n\x3c/div\x3e\x3cform action=\"/panels/ajax/access-add/9/185\" accept-charset=\"UTF-8\" method=\"post\" id=\"panels-content-add-access-test-form\"\x3e\n\x3cdiv\x3e\x3cdiv class=\"form-radios\"\x3e\x3cdiv class=\"form-item\" id=\"edit-type-example-role-wrapper\"\x3e\n \x3clabel class=\"option\" for=\"edit-type-example-role\"\x3e\x3cinput type=\"radio\" id=\"edit-type-example-role\" name=\"type\" value=\"example_role\" class=\"form-radio\" /\x3e CTools example: role\x3c/label\x3e\n\x3c/div\x3e\n\x3cdiv class=\"form-item\" id=\"edit-type-context-exists-wrapper\"\x3e\n \x3clabel class=\"option\" for=\"edit-type-context-exists\"\x3e\x3cinput type=\"radio\" id=\"edit-type-context-exists\" name=\"type\" value=\"context_exists\" class=\"form-radio\" /\x3e Context exists\x3c/label\x3e\n\x3c/div\x3e\n\x3cdiv class=\"form-item\" id=\"edit-type-theme-wrapper\"\x3e\n \x3clabel class=\"option\" for=\"edit-type-theme\"\x3e\x3cinput type=\"radio\" id=\"edit-type-theme\" name=\"type\" value=\"theme\" class=\"form-radio\" /\x3e Current theme\x3c/label\x3e\n\x3c/div\x3e\n\x3cdiv class=\"form-item\" id=\"edit-type-node-access-wrapper\"\x3e\n \x3clabel class=\"option\" for=\"edit-type-node-access\"\x3e\x3cinput type=\"radio\" id=\"edit-type-node-access\" name=\"type\" value=\"node_access\" class=\"form-radio\" /\x3e Node: accessible\x3c/label\x3e\n\x3c/div\x3e\n\x3cdiv class=\"form-item\" id=\"edit-type-node-language-wrapper\"\x3e\n \x3clabel class=\"option\" for=\"edit-type-node-language\"\x3e\x3cinput type=\"radio\" id=\"edit-type-node-language\" name=\"type\" value=\"node_language\" class=\"form-radio\" /\x3e Node: language\x3c/label\x3e\n\x3c/div\x3e\n\x3cdiv class=\"form-item\" id=\"edit-type-node-type-wrapper\"\x3e\n \x3clabel class=\"option\" for=\"edit-type-node-type\"\x3e\x3cinput type=\"radio\" id=\"edit-type-node-type\" name=\"type\" value=\"node_type\" class=\"form-radio\" /\x3e Node: type\x3c/label\x3e\n\x3c/div\x3e\n\x3cdiv class=\"form-item\" id=\"edit-type-php-wrapper\"\x3e\n \x3clabel class=\"option\" for=\"edit-type-php\"\x3e\x3cinput type=\"radio\" id=\"edit-type-php\" name=\"type\" value=\"php\" class=\"form-radio\" /\x3e PHP Code\x3c/label\x3e\n\x3c/div\x3e\n\x3cdiv class=\"form-item\" id=\"edit-type-path-visibility-wrapper\"\x3e\n \x3clabel class=\"option\" for=\"edit-type-path-visibility\"\x3e\x3cinput type=\"radio\" id=\"edit-type-path-visibility\" name=\"type\" value=\"path_visibility\" class=\"form-radio\" /\x3e String: URL path\x3c/label\x3e\n\x3c/div\x3e\n\x3cdiv class=\"form-item\" id=\"edit-type-site-language-wrapper\"\x3e\n \x3clabel class=\"option\" for=\"edit-type-site-language\"\x3e\x3cinput type=\"radio\" id=\"edit-type-site-language\" name=\"type\" value=\"site_language\" class=\"form-radio\" /\x3e User: language\x3c/label\x3e\n\x3c/div\x3e\n\x3cdiv class=\"form-item\" id=\"edit-type-perm-wrapper\"\x3e\n \x3clabel class=\"option\" for=\"edit-type-perm\"\x3e\x3cinput type=\"radio\" id=\"edit-type-perm\" name=\"type\" value=\"perm\" class=\"form-radio\" /\x3e User: permission\x3c/label\x3e\n\x3c/div\x3e\n\x3cdiv class=\"form-item\" id=\"edit-type-role-wrapper\"\x3e\n \x3clabel class=\"option\" for=\"edit-type-role\"\x3e\x3cinput type=\"radio\" id=\"edit-type-role\" name=\"type\" value=\"role\" class=\"form-radio\" /\x3e User: role\x3c/label\x3e\n\x3c/div\x3e\n\x3c/div\x3e\x3cfieldset class=\" collapsible collapsed\"\x3e\x3clegend\x3eCAPTCHA: no challenge enabled\x3c/legend\x3e\x3ca href=\"/admin/user/captcha/captcha/captcha_point/panels_content_add_access_test_form?destination=panels%2Fajax%2Faccess-add%2F9%2F185\"\x3ePlace a CAPTCHA here for untrusted users.\x3c/a\x3e\x3c/fieldset\x3e\n\x3cinput type=\"submit\" name=\"op\" id=\"edit-next\" value=\"Next\" class=\"form-submit\" /\x3e\n\x3cinput type=\"hidden\" name=\"form_build_id\" id=\"form-759eace57da06c50a061a9ca175c71b4\" value=\"form-759eace57da06c50a061a9ca175c71b4\" /\x3e\n\x3cinput type=\"hidden\" name=\"form_token\" id=\"edit-panels-content-add-access-test-form-form-token\" value=\"2203f68d3d0f0e53dce07e11800d0865\" /\x3e\n\x3cinput type=\"hidden\" name=\"form_id\" id=\"edit-panels-content-add-access-test-form\" value=\"panels_content_add_access_test_form\" /\x3e\n\n\x3c/div\x3e\x3c/form\x3e\n" } ]
Please help...Thanks.
Comment #8
merlinofchaos CreditAttribution: merlinofchaos commentedYou should file a new issue rather than trying to divert this issue to something new. To save you some time, however, I'll comment that the node.inc file you reference should be *empty* so there is something wrong with your install that has code where it should not be.
Comment #9
henry_drupal CreditAttribution: henry_drupal commentedHi Merlin,
I have deleted all contents in node.inc and it is working fine now.
It is very weird that there are contents in node.inc as I deleted the ctools folder before upgrading it.
Nonetheless, thanks for help and apologies for not opening a new issue since I thought it is related to the same problem I had with not being able to add panes and ajax.