Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Version tags should be used only for questions that apply to a version only, not to merely say what version a site is using.

0
votes
0answers
14 views

Site re-indexing not happening

I am working on a Drupal 6 site. Facing an issue: Site Re-Indexing not working. Even if after running the cron successfully. I have already gone through google search and Drupal forums. Can ...
1
vote
1answer
129 views

Drush Migration between distant DB and local DB?

I'm trying to set migrations between an online D6 website and a local D8 one. So I want to connect to D6 DB like this: drush @vmdevd8ce migrate-upgrade --legacy-db-url=mysql://d6dbuser:d6dbpass@...
1
vote
1answer
38 views

How to migrate users and keep their IDs unchanged?

I'm trying to use migrate_d2d, via the UI, to migrate a site from D6 to D7. I need to preserve user UID's in the migration. I'm finding the documentation confusing.. Given this in the UI... What ...
0
votes
0answers
36 views

Rules not firing at user creation for non default language

I created a rule that delete a user when a profile field contains a particular, troll specific pattern. It works perfectly when registering with the default language (fr) as current. When registering ...
0
votes
1answer
10 views

Add a DB record for taxonomy with Rules

I actually import terms from Feeds Xpath and copy them to a Content taxonomy field. But this term isn't recorded in the term_node table as expected by checking the checkbox. So can I use Rules to "...
0
votes
0answers
6 views

Reorder Location CCK fields in node.tpl

I would to change the display order of Location CCK sub-fields. Actually, the HTML is like : <div class="street-address"> Lycée des Métiers de la Communication, du Commerce et des ...
0
votes
1answer
92 views

Migrate Alt and Title text from a D6 image file field to D8

I'm trying to migrate a multi-value D6 image field to D8. I've already migrated the files with d6_file and it worked. When I do the node migration with the image field works and I get all the values ...
1
vote
1answer
58 views

Thickbox with Ajax loaded images

I using ThickBox to display large image when thumbnails are clicked. This works great with static content that;s loaded with the page. However, I'm now trying to use Ajax calls to display some of the ...
0
votes
1answer
21 views

Call Google CDN from info file

This describes way to include another version of JQuery file: scripts[] = [...] scripts[] = scripts/jquery-132.js scripts[] = scripts/jquery.foo.js scripts[] = scripts/jquery-noconflict.js Then how ...
0
votes
1answer
19 views

Remove taxonomy page navigation pages

I've a taxonomy page of a company which should show all nodes pages with this term. I want that this page list at least 20 or so nodes, then we will need to click 1 or 2 or 3 to go to next levels. ...
0
votes
0answers
16 views

Replace search “no search results found” string

I want to replace the no result output, "no search results found", with another string. I'm not sure what and where I need to change. I'm guessing maybe I have to either add a hook that catches the ...
0
votes
1answer
518 views

Is there a patch for SA-CORE-2018-002?

How can I apply patch for my Drupal 6 site which is working quite fine until now? I've checked the patch in Drupal 7. It's using sanitize(). How do I add it in Drupal 6? At the same time I'm working ...
0
votes
1answer
17 views

Language switcher give 404

I need to translate part of a website. So I had enabled necessary modules : content translation, i18n + i18n sync. Then create some translation of 2 differents content type (after setting them to ...
0
votes
0answers
7 views

Create dynamically a list of data from custom field

I would to use the "theme_item_list" function to display a list of data stored in a CCK field, like filefield. I found this : https://api.drupal.org/api/drupal/includes%21theme.inc/function/...
0
votes
0answers
35 views

Views gallery issue

I'm working on a new display for a jquery gallery. The result is visually good but links attached on images (URL to their relative bigger format image) is the same. This gallery use BaguetteBox js to ...
0
votes
0answers
16 views

Imagecache responsive images

I'm looking for a solution to produce responsives images on a Drupal 6 website,using Imagecache. Actually this module don't add the image size into the code,but whithout preset, size is included.Like: ...
0
votes
0answers
8 views

How to use viewreference field argument in views

I use a viewreference field in a content type to display a view depending on an argument. Now I would to use this argument in another view, actually I can use the view name used in the viewreference ...
0
votes
0answers
31 views

RSS feed as data content for a view : Feeds XPath

Is it possible to use content provided by an external RSS Feed (from a D6 website) as data to build a view with ? If so, how to do that ? thanks EDIt: I need help about choosing a way to do that, ...
0
votes
1answer
21 views

How do I revert the changes made by a specific user?

I want to revert the changes made by a specific admin user in Drupal 6.37. In all the pages that I want to revert, the create new revision box was not selected. Hence, I have no way of finding out the ...
0
votes
2answers
657 views

How to display image inside a form

I want to show image insida a form I've try it with tag inside form but it's doesnt render anything heres my code $form['y']['image_div'] = array( '#prefix' => '<div class="image"&...
0
votes
1answer
35 views

Feed Import is successful and shows number of nodes imported but nodes not listed under content

I am using the Feeds module to import content from a different Drupal site as xml. The problem is that the feed import is successful, and a message says how many nodes of the new content type it has ...
0
votes
0answers
35 views

How can I add a custom css file to a core theme?

I am trying to add a custom css file. It is located in /sites/all/themes/tf_themes/commontheme/admin.css In chameleon.info file, I tried stylesheets[all][] = /sites/all/themes/tf_themes/...
0
votes
1answer
24 views

How do I stop the site content from being internally indexed?

I have a Drupal 6 website, which is indexing the content for internal use. I don't use the Search module to search in the nodes, but The Search module is installed and enabled, since it seems to be ...
0
votes
2answers
489 views

How do I remove node URLs?

I have path aliasing, which gets the path from the title of the News article, working fine. However, in the Google index, I noticed that the canonical URL for nodes is working as well. So, Google is ...
0
votes
0answers
19 views

Template upgrade from 6 to 7

I've a custom D6 node template that I inherited and am looking for some pointers on upgrading it to D7. The following is a snippet from a long template which basically takes a number of node ...
0
votes
1answer
25 views

D6 - Create a files table entry for a file

I have to migrate some content and everything is fine except the images. I'm getting the images using file_get_contents() and save the file in the drupal /files folder using the following code: ...
0
votes
1answer
42 views

Why would piece of content of each content type be migrated but their text formats wrong?

I'm trying to migrate content D6 -> D7. I've written the importers (actually just edited existing ones) and run the process. However, as far as I can see, body of content are imported but with the ...
0
votes
1answer
43 views

Views doesn't split content into seprates list items

I need to produce a list of images with views 3 but these group items in only one li element...like this: <ul class="rslides"> <li class="views-row views-row-1 views-row-odd ...
0
votes
2answers
129 views

Exporting Drupal 6 blog as CSV

I am using Drupal 6 for a client and i want to export Blog entry as a CSV along with the title and Body content and images. I have installed Views data export Module and went to views ---> Add and ...
0
votes
2answers
129 views

Custom (cck) fields are being ignored during the migration using migration-tools 4.x. Only title and body is imported. How do I fix this?

I'm running a migration from Drupal 6 to Drupal 8, following roughly the advices in the http://pnijjar.freeshell.org/2017/drupal8-migrate/ guide. At the moment, only title and body for each node is ...
0
votes
1answer
24 views

How do I change the top picture for blueprint theme?

I just need to change the top image of the website to another image. The website is using Drupal 6 and the Blueprint theme. I am able to get to the theme building page, is that the right place to ...
0
votes
1answer
43 views

Can one domain be hosted on two drupal instances?

I have a huge Drupal 6 site, and a small, newer partial version of the site on Drupal 8. Instead of migrating, we decided to build a brand new site from scratch. Is it possible to host the site such ...
0
votes
1answer
30 views

String translations not working after setting language in page preprocess function

I am using the domains module (D6) with multiple domains on a 1 site, and we have multiple languages on 1 domain. (We have to have this set up with no other option). Internationalization string ...
0
votes
1answer
28 views

Form submit is not firing on large form

I have an old D6 site. I created a form with hook_form with very many fields (197 rows * 6 columns = 1182 fields). It works good and form submit works properly. But when I add a new, 7th column to ...
0
votes
1answer
34 views

Drupal module securepages problems with ssl setup

I'm using Drupal 6 on a website and trying to configure ssl for it. I installed the securepages module. However I can't figure out the following things: How to give secure pages to all anonymous ...
0
votes
0answers
30 views

Sessions and cookies doesn't work on <front> page

I made my own module which change page background when user refresh a page. When user visit my page, he can see one background, then value of this background (e.g. 1) I put in cookie. Then my php ...
0
votes
1answer
24 views

How to export cck field list from Drupal 6 to CSV files for import in Drupal 7?

I am migrating a D6 site to D7 using migrate_d2d_ui but find that the cck fields for my various content types are not automatically migrated. I would like to build a csv file containing the D6 cck ...
2
votes
0answers
36 views

Can I migrate Drupal 6 to 7 by using Features 7 to import Features 6 code?

I am attempting to migrate Drupal 6 to Drupal 7 using the migrate_d2d_ui module, but the cck fields are not coming over correctly. Can I use the Drupal 6 Features module to generate code which can ...
-1
votes
1answer
70 views

Warning: Missing argument 2 for l() [closed]

I try to show image that have link but i received error like this is anyone know and can help me .. thanks Here's my code <div id="profil"> '.tabel_budgetcenter().' </div> <div id=...
1
vote
0answers
41 views

PHP error - function redeclared form only on edit [closed]

I'm using Drupal 6. I don't know why but, since three days ago, I can't edit nodes with PHP filter that creates forms (using forms api). I get the next PHP error: PHP Fatal error: Cannot redeclare ...
1
vote
1answer
176 views

Error when executing drush sql-sanitize

Drush sql-sanitize doesn't work on my test install. drush @pfdevd6mg sql-sanitize --sanitize-password=newpassword PHP Warning: Module 'curl' already loaded in Unknown on line 0 The following ...
0
votes
1answer
33 views

Don't import users in Database [closed]

Just to be sure, which solution is better when I export / import DB ? just exclude Users table from my dump export ? keep exporting users table but exclude users table content from my dump export ? ...
1
vote
1answer
199 views

How to add jQuery code only to the node add/edit page?

I'd like to execute some jQuery code on a particular element in the node add/edit page of a particular content type. Currently I do that by putting $(document).ready(function() { if (window....
0
votes
1answer
22 views

(Drupal 6.28) Blocks list suddenly doesn't show correctly

I realized today that blocks list (admin/build/block page) doesn't correctly show all the blocks implemented in the site. Most of the blocks are set as disabled and others are set in the wrong region,...
-1
votes
1answer
711 views

Drush 8.1.9+ with Drupal 6 results in “Drush command terminated abnormally due to an unrecoverable error” followed by the site home page source code

My sites are hosted on a Linux server with Apache 2.2, PHP 5.5, MySQL 5.6 installed. I use Drush 8.1.8 which I installed via composer and which works correctly with my D6, D7 and D8 sites. I can ...
2
votes
1answer
168 views

Memory size exhausted when trying to run Cron manually

On my Drupal 6 website, when I run cron manually the following error message shows up: Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 4181580 bytes) in /dirname/...
1
vote
1answer
34 views

Manage/Assign Roles to Users Other than Administrators

I was asked to create a module that allows a user with the specific role to assign roles to other users w/no 'administer user' permissions or not an administrator. The user must not be allowed to edit ...
3
votes
2answers
35 views

How do I see if it's improving my response time?

I installed memcached for a Drupal 6 site. The status report shows it's properly installed. How do I check if it's working as expected, and speeding up my site?
0
votes
1answer
233 views

SA-CORE-2013-003 - Files directory Not fully protected

I'm using Pressflow 6.38 and I'm trying to implement SA-CORE-2013-003 - Drupal core - Multiple vulnerabilities | Drupal.org inside of /etc/httpd/conf.d/pressflow.conf configuration file, like ...
-1
votes
1answer
94 views

How to install the Memcache module? [closed]

I'm running Drupal 6 website with AWS. I have downloaded the Memcache API and Integration module (from the official site). Do I need to just FTP the files into the memcache module directory and load ...