Questions tagged [6]

Version tag to tag issues specifically related to Drupal 6.x. Please note that version tags should be used only for questions that apply to a version only, not to merely say what version a site is using.

Filter by
Sorted by
Tagged with
3
votes
3answers
2k views

Select option values loaded with AJAX call, shows error illegal choice has been detected

I have a select field in my form named country. on change country i need to load values in state. I already placed the field for listing state, only want to load the values from ajax. In same way I ...
0
votes
1answer
96 views

Logins with port numbers not including ports on redirect/login

We recently upgraded our site to use Drupal 7. Previously we were using Drupal 6. In the testing phase, the Drupal 7 instance was available at ports 8000 and 8443 of the main domain, while Drupal 6 ...
0
votes
3answers
54 views

How do I allow access to my custom module to “anonymous user”

case : I have created a custom module Implemented a hook_menu() as shown function my_custom_menu() { $items = array(); $items['my/custom/link'] = array( 'title' => t('My Custom Form'),...
1
vote
1answer
724 views

Get Order Object on Checkout Complete Page

I'm trying to develop a new module but just can't get the correct solution, I hope you can help me. On the checkout complete page i need the order object with all information of the just created ...
0
votes
1answer
279 views

How does drupal send emails by default?

I have a site working on drupal 6 , and i uses drupal's default email function drupal_mail() to send emails , but unfortunately its not sending email and gives me "email not send , please contact site ...
1
vote
1answer
649 views

Mail not going from drupal smtp

I have configured the smtp for drupal , as said in this link https://www.drupal.org/project/smtp and my smtp module folder lies in /sites/all/modules/smtp and phpmailer library lies in /sites/all/...
1
vote
1answer
54 views

How to extend a test class of dependent module

I am creating a module with dependency on another contrib module. When I am trying to extend the test class in dependent module, it works fine locally(using test UI). However when I try to test my new ...
2
votes
1answer
227 views

Views Bulk Operation alternative?

As VBO for Drupal 6 is outdated due to a security issue, is there an alternative to this module?
1
vote
1answer
80 views

How to debug users geting automatically logged out for unknown reasons?

For our Drupal 6 site, we've experienced such issue that logged-in users are getting logged out for around one week or several days. Firstly I thought this might happen with Boost module, but it ...
1
vote
1answer
28 views

No orders in user profile with custom state of order-status

Drupal 6 + Ubercart. I had created some new order statuses with own state. But when order gets this status, order dissapears from user "Ordered products" (in user's profile) How to fix this?
1
vote
2answers
38 views

How can I see what visitors are searching for?

Are visitor search terms stored somewhere in Drupal 6? I see a search_total table that might hold that info but the data in there looks kinda weird. I'm using search module in core.
1
vote
0answers
124 views

Migrate content profile to Drupal 7. Failing with source plugin exception - Unknown Column

I am struggling with setting up a migration from a Drupal 6 site to a Drupal 7 site. The Drupal 6 site used Content Profile nodes to store some user information that in the new site will be fields ...
-1
votes
1answer
210 views

Off canvas menu for drupal 6

Are there any modules for Drupal 6 that provide an off-canvas menu? My site has mobile users and I want to hide the navigation bar when they view it. I want something like this: I have searched both ...
0
votes
1answer
30 views

Drupal 6 views and duplicates

I have view that shows articles. It works fine if user selects one image but if she selects multiple images to article, it will duplicate the article on my view X amount time (x = number of images ...
0
votes
2answers
167 views

I am trying to use AJAX with Drupal 6. How do I determine the URL I am trying to contact?

I looked at the documentation here and it left me a bit confused. I don't need to access any files, I am just returning the date that is on the server to my Javascript code. (I don't want the date/...
1
vote
0answers
30 views

Drupal 6 Track step by step performance / execution time

Drupal 6 site is slow. Want to track performance / page execution time. - check each step, PHP code, execution time - check JavaScript execution time - check CSS execution time Krumo prints out the ...
1
vote
1answer
104 views

How do I catch 502 exceptions?

While running the batch process, it takes more than 5 hours to complete; before that, it returns a 502 error. How do I handle it?
1
vote
1answer
229 views

Is it possible to combine a Bootstrap theme with an existing custom Drupal 6 theme?

Is it possible to combine a Bootstrap theme with an existing custom Drupal 6 theme? I want to use Grayscale in my Drupal 6 website. But I already have an existing custom theme and I am not sure if I ...
2
votes
1answer
38 views

Print current drupal menu level

Hitting my head against the wall here. I've volunteered to print a list of the current menu items (at the same level as the currently viewed menu) print theme('links', $secondary_links, array('class' ...
1
vote
1answer
30 views

How do I customize an article URL alias?

In Drupal 6 there is a possibility to customize URL alias by the help of [AUTOMATED ALIAS SETTINGS], but this will affect all the articles. I need to restructure my URL alias only for few paid ...
1
vote
1answer
17 views

Can I show an image in place of a Drupal 6 message?

I have a form, that upon completion, goes back to the page it was called from and displays a message of success when everything is done. Is it possible to just display an image on that same page, or ...
1
vote
1answer
26 views

How do I do a file upload with other form data in Drupal 6?

I have this in my form function: $form['#attributes'] = array('enctype' => 'multipart/form-data'); ... other form fields $form['form']['form_file'] = array ( '#type' => 'file', '#name'...
1
vote
0answers
27 views

What error has the value of one in regards to the file_save_upload in Drupal 6

I called file_save_upload and then form_get_errors. form_get_errors returned 1. What is this error? I tried googling for this error, but I guess the words I used to search for it weren't good enough....
1
vote
2answers
385 views

How to print taxonomy id of the current taxonomy term

I have custom taxonomy term pages which I'm using to override forum pages and I want to emulate advanced forum node/add/forum/tid button so I have to get tid but don't know how, I can only find ...
1
vote
0answers
36 views

Question on Drupal and HTTP requests

I am using the drupal_http_request method and It seems to work well. When I use it, I send by POST from site A, a return URL (which would be site C) to site B that I am directing drupal to go to. So ...
10
votes
5answers
10k views

How to list all users in drush?

I would like to list information about all users using drush. There is user-information, but it shows information only about single user. Are there any other solutions?
1
vote
0answers
74 views

How do I create a dependent dropdown?

I need to create a dependent drop down like, with values that are loaded with AJAX depending from the value selected in another dropdown. What could should I use in Drupal 6 that is equivalent to ...
1
vote
2answers
210 views

How to print You have new private message, You have no new messages

I'm using Privatemsg module and I want to print simple "You have new message" and "You have no new messages" for given user how to do that?
0
votes
1answer
77 views

CCK Migrate filefield to file error [closed]

I tried using CCK Migrate and this happens and field fails to get migrated, can someone let me know how to read this kind of error: Requesting rollback of field "field_evt_mat_download" due to ...
0
votes
1answer
27 views

Features, Drush and Drupal 6

I'm using drush on D6 websites and i would to create and manage my features via drush.So i patched the 1.2 version like in this post : Then i get an error when i try to create a feature for content ...
1
vote
1answer
50 views

show positive and negative votes

i'm trying to make a 'top voted' view of nodes and I want it to appear like this: title of node; 655 positive, 120 negative votes, total 775. how do i do the '655 positive, 120 negative votes' part?...
1
vote
0answers
115 views

Post to Pardot hook_form_alter On user_register Form Not Working

Alright, so this server I'm working on is running Drupal 6 and I need to send form data to Pardot upon user registration. I followed the answer on This Question, while adjusting http_build_query to ...
0
votes
2answers
440 views

check for multiple roles

This code I use when checking if user has a role if (in_array('administrator', array_values($user->roles))) How to check for multiple roles? I tried something like this if (!in_array('...
1
vote
2answers
192 views

Redundant log settings between Drupal and Apache

I'm trying to discover how I can reduce the redundant logs (PHP errors, Drupal messages, debug logs, whatever) that are stored in Drupal's database and in Apache's log folders. I'm primarily a ...
1
vote
1answer
256 views

How to add google analytics code for onclick functions in drupal 6

My requirement is that, i need to my site to be tracked when i click on categories, menus, submenus, send mail button and shopping carts. Need to add onclick function for each tags and that onclick ...
0
votes
1answer
48 views

What is the Drupal 6 equivalent or alternative to hook_node_load? [duplicate]

In Drupal 7, there exists the function hook_node_load. Does anyone know how I can hook into a node being loaded from the database in Drupal 6? If not, can you suggest an alternative hook? I am simply ...
0
votes
1answer
60 views

How to get an image url given term_image_tid using the customfield-PHP views module

I have created a view of type Term that lists all the taxonomy terms plus each term's image. This works. But now I want to wrap the images in a link that links to another view. I am trying to use the ...
1
vote
1answer
65 views

Getting default user picture drupal 6

Hi I got neat facebook style chat called arrowchat for my drupal website, however the script was lacking user picture integration. I managed to get user pictures but if user didn't set picture and is ...
1
vote
1answer
47 views

Passing Argument in Drupal 6 not working [closed]

Im very new to drupal. Recently I have started learning drupal 6 with reference project done by my friend. It was having so many bugs and fixed most of from the list. Still Im not getting how hook ...
2
votes
0answers
26 views

admin content overridden view not displaying

I have updated Drupal 6 using drush and all my admin views stopped working. I create a new view but when I display it the server takes too long with no response. I tried to track error log to see if ...
1
vote
0answers
27 views

Course unable to link to taxonomy

I accidentally disabled the Course module. When I enabled it back, the taxonomy doesn't respond correctly for the course content type. When I add a course it does not link to taxonomy. When I hit ...
3
votes
2answers
151 views

Using VDD with Drupal 6 site

I'm trying to get a Drupal 6 site up and running with the Vagrant Drupal Development project. I can get VDD going.. get my site installed, the database imported etc.. but I need to make VDD use an ...
1
vote
1answer
33 views

output same form buttone on same page - drupal_render($form

I try to duplicate form button on the same page. The button is printed like this drupal_render($form['continue_shopping']); The problem is that once I render the button, the second one is not ...
1
vote
1answer
84 views

facets do not display on my search page

I've setup apache solr and the facet api for my drupal 6 site, however I can't seem to get my facets to show up on my search page. The only time they show up is when I enable 'show enabled facet ...
-1
votes
1answer
56 views

Using Masquerade to test UC coupons

I'm dealing with an old D6 Ubercart site that uses UC Coupon & UC Free Order to enable free orders for users with a certain role when they enter free order code. I'm masquerading as one these ...
0
votes
1answer
50 views

Strict warning and views - site not working

I am using drupal 6 and after moving to php 5.4 or 5.5 from 5.3, I am getting error "strict warning: Declaration of views_plugin_style_default::options() should be compatible with views_object::...
1
vote
1answer
524 views

How do I reroute a logged-in user after page access denied at user/login?

My Drupal 6 site has the login form at /user/login. If I'm logged in already and I click it, I'm sent to the Access Denied page (though the login URL stays the same). I'd like to send such users ...
0
votes
1answer
403 views

IMCE 6.27 Missing Buttons to Upload to Editor

I'm attempting to correct my IMCE file browser issue where the images don't appear. I cannot click on the file names to select them, I am, however, able to move around the left hand navigation sitemap ...
1
vote
0answers
21 views

Organic Groups Registration Codes / Keys

I am trying to set up a registration code/key for my site. I know these modules (listed below) assign a code or i can assign a key to each organic group. The issue i am having that if i select Group ...
0
votes
1answer
26 views

Get rid of absolut links / redirects

I just got a project from a friend: D6, 6.34, 3 languages. Theme: Sharp Sales (via Fusion via Topnotch) So quite an ancient project and I first installed a local copy, but I can't login - it keeps on ...