Unable to login as user in my drupal 6.x website while able to access without login

Unable to login as user in my drupal 6.x website while able to access without login

I am having a strange problem with my drupal website where site is working and anybody is able to surf it properly however the moment I try to login using my admin or account it shows offline message given below. What could be the reason +++++++++++++ Site off-line... read more
Unable to login as user in my drupal 6.x website while able to access without login

Where to add track_changes option in migrate_d2d class

I have an ongoing migrate_d2d migration where I will need to be able to detect changes on a node by node basis, and I would really like to be able to use the functionality in the Hash source rows to detect changes feature to do that. However, I can’t find where... read more
How to NOT "Print" a section by using Print module?

How to NOT "Print" a section by using Print module?

I installed “Print” and “Book Made Simple” modules on Drupal 7. The Print module also print the button “add this child” from “Book Made Simple”. How can I not print “Add this child” on PDF? below screenshot... read more
Unable to login as user in my drupal 6.x website while able to access without login

Send email with URL of same page as the email link?

We have a page that displays a logged-in user’s selections from a Flag Lists process. The page includes code to generate the specific URL of that page, so it can be copied and pasted elsewhere. (essentially a “share this” type of thing, but this is... read more
Need to center images in wyswyg block

Need to center images in wyswyg block

I am trying to center 3 images in a block I have created in my footer but the images just won’t center. I tried the wysiwyg editor’s center button, but that did not work. I then tried to put in manual css which failed. I can’t seem to get these... read more
Unable to login as user in my drupal 6.x website while able to access without login

drupal_http_request redirect is not a fully qualified uri. Throws missing schema error 1002

I am trying to authorise with an Viagogo API using oauth in my custom module (i have my credentials from Viagogo). I can construct the initial URL OK but the redirect response from the API is a relative reference with an absolute path i.e.... read more
Hide results of drupal view when filter value is empty after search

Hide results of drupal view when filter value is empty after search

Help needed, how to hide all results of a view when filter value is empty, after search button pressed. (I have this: Set Advanced | Exposed Form | Exposed Form Style to input required. Not working well. When open view OK, but for empty search field, and search button... read more
Unable to login as user in my drupal 6.x website while able to access without login

Programmtically add image to custom image field User

I can’t figure out how to add image to a custom image field on a sepcific user. $f = file_save_data($user[‘thumbnailphoto’][0], ‘private://profile/’. $data[‘name’] .’.jpg’, FILE_EXISTS_REPLACE); $fid = $f->fid;... read more
Add additional values to a view result

Add additional values to a view result

I try to accomplish following task: I have a view with all products that were ordered during certain period of time (based on invoice creation time). (view is of type of order) I am using sql agregation and table display. I have 3 products: apple, orange, banana... read more
Unable to login as user in my drupal 6.x website while able to access without login

node_load not show taxonomy terms

i dont know why the script node_load(7) output is : public ‘field_tags’ => array (size=1) ‘und’ => array (size=2) 0 => array (size=1) ‘tid’ => string ‘2’ (length=1) 1 => array (size=1) ‘tid’... read more
Unable to login as user in my drupal 6.x website while able to access without login

How can I translate the checkout system?

I have been translating my Commerce Kickstart site with no ease although with success until now. Have translated content, taxonomy, product fields etc, following some tutorials and Drupal own documentation. Have installed a variety of modules for localization. But now... read more
Unable to login as user in my drupal 6.x website while able to access without login

Import soap webservice xml to node with Feeds?

I have a soap web service which requires authentication to access its various function. I want to call one function of this web service and import that XML to node in Drupal with feeds module. I am not finding any example of authentication from the Feeds... read more
Unable to login as user in my drupal 6.x website while able to access without login

Set the Contextual Filter: Author uid. to a default user?

I have a view called Map Items showing a list of map markers in a chart. Info: I have 3 Accounts in my drupal installation called person1, person2, and admin. I’ve set the contextual filter to Author uid: User ID from Logged in user. and its working perfectly,... read more
Unable to login as user in my drupal 6.x website while able to access without login

Hiding Field(s) if Date is Expired

I’m using Drupal 7 date field. Using views, when the date has expired, the page goes to a section labeled ‘past events.’ In the template page, the date and time are both separated for instance. $date_output and $time_output. I need to hide the time... read more
Unable to login as user in my drupal 6.x website while able to access without login

Use Exposed Filter value in no result Global text

I’d like to use the value of the chosen Exposed Filter (=dropdownlist) in the Global text block when there is no result. In detail: Exposed filter (which is a taxonomy list) has 3 values of provinces: Province 1 Province 2 Province 3 When there is no result... read more
Problem with equal height of columns in Display Suite

Problem with equal height of columns in Display Suite

I`ve got Fluid two column stacked layout in Display Suite. There is responsive picture in the first column, the second column contain some rendered fields. Below that columns is long text. My problem is with right column. I need to make the height of that column equal... read more
Unable to login as user in my drupal 6.x website while able to access without login

Upgraded to 7.31 but getting "no pending updates" message

After copying over the files for 7.31 (was 7.26), minus the /sites folder, and running update.php, the result is “no pending updates.” I followed the instructions at https://www.drupal.org/node/1494290 properly – any thoughts about what to do next?... read more
Unable to login as user in my drupal 6.x website while able to access without login

How to change date format in Views Calendar Pager?

I have multiple displays rendered in a Calendar View (Mo/Day/Upcoming/etc.) and everything’s working as it should… except I changed a setting somewhere and applied it to all pages instead of current display and now the heading for the month display uses... read more
Split a date field output into two spans

Split a date field output into two spans

I have a Date field on a content type. I’m trying to render it so that just the Month and Day are visible, but I need each in a separate . I think the most appropriate place to do this is in the preprocess function for the node theme function. Within that... read more
Unable to login as user in my drupal 6.x website while able to access without login

Select users with only one role

How can i select all users wich have only 1 role. For example i got 4 users: User 1: Role 1, Role 2 User 2: Role 1 User 3: Role 1, Role 2 User 4: Role 1 How can i retrieve a list of users wich only got Role 1? But not Role 2. $query = db_select(‘users’,... read more