Questions tagged [drupal-6]
Drupal 6 is the Drupal version released on February 13, 2008. Rather than using this tag, consider posting your question directly on https://drupal.stackexchange.com/.
3,652
questions
0
votes
1
answer
49
views
How to remove or disable " Subject " In Comments Field in Drupal 10
I am using Drupal 10
I have created a content type (Film Review) & added few fields like Comments & Image.
So When i try to post comments using various roles ( for eg: Anonymous Role ) Comment ...
4
votes
1
answer
892
views
%20 in URL is now causing ERROR 403 FORBIDDEN Errors [duplicate]
This is not a duplicate question.
First of all, I have 3 "identical" Drupal 6.20 CMS desktop type websites using MySQL database 5.7.23 and PHP 5.6.40.
All 3 of these sites have been around ...
0
votes
0
answers
109
views
Did you forget to add a return statement somewhere in your controller?
$country[$country]['desc'] = theme('country_data', array('variable' => $variable));
how to convert the D9 without using return theme
because it give the error is Symfony\Component\HttpKernel\...
-1
votes
1
answer
465
views
x264 [error]: baseline profile doesn't support 4:2:2 ,with ffmpeg php
Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
Conversion failed!
0
votes
0
answers
89
views
Drupal 6 and GlobalPayments HPP Integration
I wonder how to integrate 3DS2 in Drupal 6? I looked everywhere, everything I found is related to Drupal 7 or higher.
Somebody in Dublin wants us to upgrade their gateways to support HPP SCA. They ...
0
votes
0
answers
27
views
Make img embed script work with drupal ajax
I have this script that works with ajax pager in drupal 6 with jquery 1.2.6 it turns youtube links into embeds, now tried to do same but with image links but it doesn't work I have to refresh page ...
0
votes
0
answers
284
views
Docker container cannot connect to the host machine database
I tried to deploy a drupal 6 docker container that works with the host machine database (for testing purpose before deploying it to a remote database) but it just doesn't want to work despite ...
0
votes
1
answer
167
views
Docker container can't connect to the host machine database [duplicate]
I tried to deploy a drupal 6 docker container that works with the host machine database (for testing purpose before deploying it to a remote database) but it just doesn't want to work despite ...
0
votes
1
answer
34
views
drupal 6 site setup in local it's redirecting to production site
I am tried to setup the production site into my local system by copying the source code files and imported DB into my local system successfully.
When I tried to access the local site from browser ...
0
votes
1
answer
70
views
How to iterate this.value in javascript
I am trying to compare this.value with Drupal.settings["pis_var" + i].hasOwnProperty(j).
However, I am not able to iterate this.value. It is just comparing with first value not one by one.
Any ...
0
votes
1
answer
179
views
data in body not getting passed while consuming rest post web service in my custom drupal module
i created a drupal 8 module meant to submit a form to consume a third party api and display the result on the page. (the api works properly)
When the module is enabled and the url is launched and the ...
-2
votes
1
answer
147
views
Need answer for drupal question for upwork test
I need to appear for up-work test.
I found this link http://upworktestru.com/drupal-test-upwork-answers-questions/ which has almost all the question.
But this link have only 25 question.
Can anyone ...
0
votes
2
answers
355
views
Drupal 6 with latest version php
First of all, sorry to say I am not a PHP developer.
Recently I have migrated my all websites to a new shared server. All are working fine except one which is running with druapl 6 platforms. error ...
0
votes
1
answer
36
views
Drupal form design without using associative arrays
How to design Drupal forms without coding a lot?
0
votes
0
answers
35
views
Drupal 6 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 ...
0
votes
0
answers
29
views
PDOException: SQLSTATE[42000]: Syntax error or access violation: 1055 > Expression #3 of SELECT list is not in GROUP BY clause and [duplicate]
I get an error as given below
PDOException: SQLSTATE[42000]: Syntax error or access violation: 1055
Expression #3 of SELECT list is not in GROUP BY clause and contains
nonaggregated column '...
-1
votes
1
answer
14
views
How to add an user right to access a customized tpl page in Drupal 6?
I am new to Drupal and there is an already existing Drupal site I need to maintain. After an user logins, there is a link in menu which connects a node with customized tpl page code. I create a new ...
2
votes
4
answers
4k
views
How to get triggered button id in Drupal 8 Form
Hi I would like to know a way to get the index id of the button clicked in Drupal 8 form.
I have a form withe some fields. It has Add, Remove,Add More buttons.
I want to remove the value of the ...
0
votes
1
answer
538
views
Cannot send emails with phpmailer - smtp.com
I cannot send emails using the smtp server we use.
EDIT: At first I was getting the error getaddrinfo failed: name or service not known, but that has been fixed. But I am still getting the errors ...
1
vote
0
answers
42
views
Missing node titles in Drupal menu children
An issue has arisen on a Drupal site in our infrastructure which is very strange.
The site is running on Drupal and uses nice-menus to generate drop downs. The set-up is standard with a primary links ...
0
votes
1
answer
134
views
Add status code 410 for missing images in Drupal 6
I need to send status 410 for missing images instead of 404, in Drupal 6.
For example I have a image link as https://www.example.com/our-locations/directory/sub-directory/files/xyz.png which no longer ...
1
vote
1
answer
514
views
Drupal 6 site migration issue in PHP 7.2
We have a web server with Ubuntu 12.04. we are running a drupal website in this server and we used PHP 5.3 on this server.
As part of server migration, I am planning to up a new Ubuntu 16.04 server ...
0
votes
1
answer
633
views
Additional fields in schema.xml are not showing up when I do a query
Solr version information: 6.6.0
The core is named: solr
Instance: /var/solr/data/new_core
In the /var/solr/data/new_core/conf/ directory I have a custom schema.xml file
I have multiple custom ...
0
votes
1
answer
19
views
When I go to admin/build/modules, anonymous users get access denied
I go to admin/build/modules, without changing anything, and click 'Save Configuration'
In the database table menu_router it remove the access_callback value for items that had a value of either 1 or '...
0
votes
0
answers
51
views
what a correct statement for this code?
I want print $str_agunan that returned from statement. i make statement that all values can be true, so i use operator .= but on webview its showing string from rows before. thanks advance, sorry if ...
0
votes
0
answers
145
views
Is it possible to create a category list using views without taxonomy in drupal?
I have a content type markets with an address field which comprises of state ,locality and postal code.I have already created a view page called markets which displays all the markets and also has a ...
0
votes
1
answer
89
views
Commerce paypal WPS not convert unsupported currency
Hi i try to use drupal 7 commerce paypal WPS payment method but my store use BGN - Bulgarian lev currency and when i try to checkout my order with paypal 30BGN in paypal are 30USD. How to fix this ...
0
votes
1
answer
70
views
Drupal 6 login failed, with "too many redirects" error
This morning on a website I need to keep alive on Drupal 6, users can no more log in ! Nothing on the code has been modified since 3 years...
What's going on !?
0
votes
1
answer
167
views
db_query for delete is not working in PHP code, but is executing fine directly in mysql
When I run this script on my site, it does not delete any rows, even though the output shows that the query was successful (It outputs the delete query written out, for now). When I run the query in ...
0
votes
1
answer
778
views
How to render image inside a form in drupal
I've try to render an image inside the form but still doesnt render anything
Here's custom module
$image_options = array(
'path' => 'http://novelplanet.com/Content/images/noImage.jpg',
'...
0
votes
0
answers
31
views
Why is my AHAH textfield losing focus on keyup?
Code that is part of the form
$form['search'] = array(
'#type' => 'textfield',
'#title' => 'Search',
'#description' => 'Search by',
'#ahah' => array(
'event' =>...
0
votes
1
answer
123
views
How to create a new page with out navigation bar at the right side in Drupal 6.30
i have a website built using drupal 6.30. When i click every menu in the navigation bar, the sidebar at the right side gets visible by default. Now i had created a new page called Map.
(http://apfisn....
0
votes
1
answer
22
views
Getting WSOD on all Admin pages
Like the title says, I'm getting the WSOD (white screen of death) when going to any admin page. This just started happening when I arrived this Monday, Friday it was working fine.
Here's what I've ...
0
votes
0
answers
64
views
Trouble moving Drupal 6 installation to new domain name
I need to change the domain name of an existing Drupal 6 installation.
The site is hosted on 1and1.com which allows you to map new domain names to existing directories, so I added the new domain ...
4
votes
2
answers
4k
views
Is Drupal 6 is compatible with PHP 7?
I have a website in Drupal 6 version. But now I wanted to change the server and php version to 7.
So just wanted to confirm that is Drupal 6 is compatible with PHP 7?
0
votes
1
answer
431
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 ...
1
vote
1
answer
109
views
Why isn't error reporting working on drupal(6)?
In my settings.php file (located in /sites/default/), I have:
ini_set('error_reporting', E_ALL);
ini_set('display_errors', 'stdout');
However, they are not showing on the screen.
...
0
votes
1
answer
83
views
How can I export views from Drupal 6 to Drupal 8?
I am working on a project of upgrading Drupal 6 to Drupal 8.
I have huge data in Drupal 6 site.
I have upgraded the site from Drupal 6 to Drupal 8.
But, views are not migrated.
0
votes
0
answers
295
views
Fatal error: Call to undefined function db_error()
I've been working to upgrade D6 to D7 but when I run my custom module then received error. what should I do to fix this error or change the db_error API that drupal 7 know as db_error
Here my code
...
0
votes
1
answer
1k
views
Notice: Undefined property: stdClass::$ket in milih_relasi_ledger()
I got error when upgrading drupal 6 module to drupal 7. can anyone help me resolve this problem thanks
Notice: Undefined property: stdClass::$ket in milih_relasi_ledger()
(line 2399 of
C:\...
0
votes
1
answer
461
views
undefined function db_fetch_array()
i received this error when i try to convert drupal 6 module to drupal 7.. i've learned that drupal 7 has a new api in database.. i'am hope someone can give a way to resolve this problem .
...
0
votes
0
answers
677
views
warning: Missing argument 2 for module_name_import_form()
i try to create custom import csv file module in drupal 6. but i received this error
warning: Missing argument 2 for module_name_import_form() in C:\xampp5.6\htdocs\hafizu97\sites\all\modules\...
0
votes
0
answers
761
views
Drupal custom query for fetching few fields data from content types
I want to fetch all data from a particular content type e.g. xyz_movie. I need title of the movie, its type (sci-fi / drama etc) and created date
I have access to the database only (but cant download ...
0
votes
1
answer
52
views
Drupal - Access to Path for anonymous users
I have created a path with a hook_menu function which is intended to be accessed anonymous users. Definition is :
##generic access point for API calls #
items['api'] = array(
'title'...
0
votes
2
answers
301
views
Any gated content module in drupal 7
Could you anyone know is there is any gated content module in drupal.
I want to do add form before downloading the PDF.
Eg. https://www.hds.com/en-us/pdf/ebook/cio-guide-to-digital-transformation....
0
votes
2
answers
67
views
Insert from MySQL joined table
I have two databases named drupal and wordpress. I try to migrate post image paths from drupal 6 to wp.
Tables drupal.content_field_image and drupal_files contain necessary data:
drupal....
0
votes
1
answer
2k
views
how to fix redirected you too many times?
I have Drupal 6 site. www.abc.com
This production site is loading fine. But while accessing the dev site i.e., dev.abc.com
I am getting the below error
The dev.abc.com page isn’t working
dev.abc....
0
votes
1
answer
25
views
Drupal 6 - content type does not store 0 after decimal point "." in db
I have declared one field in content type by name "Amount" and its type as "Float"
I am trying to save 25.00000 value into amout field but it is removing decilaml point and all the zeros.
Is there ...
-2
votes
1
answer
21
views
Drupal - Outputting Custom Fields & Limitting To Specific Pages
I've taken over the support of a Drupal 6 based site, and the client has requested I had a custom field for data input, which I have under Content Types -> Page -> Manage Fields, then added a ...
1
vote
2
answers
259
views
Will Drupal 6 work properly with php 5.6.26 / linux 14.4 or I need to deprecate php version?
I have below machine specifications, and I have my project in Drupal 6.
When I started with installation of Drupal 6 (Project), it did not give any errors with below specification.
I want to confirm ...