Hi all,

I used Nodequeue without problems on my local server. When I uploaded my website for testing on the real server it wasn't working properly...

The line, where the user can "add content" is not working.

When I'm trying to add content it is giving me this message:

Notice: Undefined offset: 1 in nodequeue_arrange_subqueue_form_add_submit() (line 1033 of /home/alonk/public_html/modules/nodequeue/includes/nodequeue.admin.inc).

Please enter a valid node title.

It is working properly only if the "Aggregate JavaScript files" under Bandwidth optimization is checked.

I have tried everything. fresh installation, fresh data base, fresh nodqueue, permissions, browsers.

Thanks.

CommentFileSizeAuthor
#10 jquery_cookie.js-fix.jpg139.84 KBalonk27
#4 Untitled-1.jpg802.2 KBalonk27

Comments

amateescu’s picture

Assigned: alonk27 » Unassigned
Priority: Critical » Normal
Status: Active » Postponed (maintainer needs more info)

Do you see any javascript errors on that page before enabling js files aggregation? The output of the Firebug console would be great to investigate this further.

alonk27’s picture

Thanks.

I'm not seeing any errors. The message appears when I'm trying to "add content". The line is not active and it not responding. like it's not functioning. Again, it is all working very good ones the Aggregate JavaScript files is on.

Hope you can help.

Thanks.

amateescu’s picture

Then it's probably an incompatibility issue with some other module.

What do you mean by "the line"? Can you post some screenshots before and after you try to add a node? Preferably with a firebug console open when you do that operations.

Can you try this with a clean D7 install with only Nodequeue enabled? And if that works, you could try to disable some of your modules on the existing site and see if the error goes away.

alonk27’s picture

StatusFileSize
new802.2 KB

I have tried everything. fresh installation, fresh data base, fresh nodqueue, permissions, browsers.

Thank you.

amateescu’s picture

Are you trying to add a node that's already in the queue? That won't work because of: #593468: adding the same node more than once to a queue causes bad behavior.

And when you type some letters in the autocomplete box, can you see the autocomplete functionality? From what I see in those screenshots, you just enter the node title by hand, but the autocomplete functionality also prints a [nid: 12345] at the end of the title.

alonk27’s picture

It doesn't matter if the node is already in the queue. It will do it for any node. The autocomplete functionality is not printing anything. It is like its turned off... This is the reason that I need enter the node title by hand...

Thank you.

amateescu’s picture

Ok, then the problem is not in nodequeue, it's the Drupal autocomplete widget that's not working for you.

Can you give me a list of all modules installed on that site? And I really can't believe this is not working with a clean Drupal install and only the nodequeue module, can you please try that again?

alonk27’s picture

Here it is:
-clean install of drupal 7.9
-clean data base
-clean Nodequeue 7.x-2.0-beta1

Didn't do anything except enabling the module. I have created two nodes (on the front page).
I have created a new "Test queue" and when I try to "add content" it is not working. It is giving the message that I pasted in my first post.

It is working properly only if the "Aggregate JavaScript files" under Bandwidth optimization is checked.

http://www.alphawebst.com/filez/drupal/

Here is the username and the password:
username: alon
password: test

I hope that someone would help me. I have been working on it for three weeks

Thank you very much.

amateescu’s picture

Ah, that test site was great for figuring out the error. Here it is:

"NetworkError: 406 Not Acceptable - http://www.alphawebst.com/filez/drupal/misc/jquery.cookie.js?v=1.0"
jquery...s?v=1.0
$.cookie is not a function
[Break On This Error] var collapsed = $.cookie('Drupal.toolbar.collapsed'); 

This file seems to be missing from your Drupal install:
http://www.alphawebst.com/filez/drupal/misc/jquery.cookie.js

I tried to access http://www.alphawebst.com/filez/drupal/misc/jquery.js and it's there, so you have to check out why there's no jquery.cookie.js :)

alonk27’s picture

StatusFileSize
new139.84 KB

Thank you so much. I have fixed it thanks to you. Cpanel and Drupal7, that was the problem.

When moving the site to the real server it is doing something to the file "jquery.cookie.js". it was there, but blocked...

Here is the fix:
http://forum.hostek.com/showthread.php?446-Drupal-with-cPanel-Issue

Hope it will save some time for other users. It took me three weeks to get to it :-)

Thank you very much for your help :-)

amateescu’s picture

Category: bug » support
Status: Postponed (maintainer needs more info) » Fixed

I'm glad I could help :)

Status: Fixed » Closed (fixed)

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

b8x’s picture

thank you.

aarsic’s picture

I am having the exact same problem. I left the hosting company that had a cpanel to another (better) hosting company w/out it - ftp and it does have php admin - I hope I can figure this out as well. I've been working on this as well for awhile. The auto content finder isn't working any more.

Antoinette

aarsic’s picture

Issue summary: View changes

Dd