.htaccess problems on NAS development drive

I am trying to use my QNAP TS-210 NAS to develop Drupal websites. I suddenly got 403 forbidden access problems on anything related to the webserver including phpmyadmin.

After much head scratching and perusing various forums I found the problem myself. There was a .htaccess file in my qweb root - I removed this and access was fine again.

How to Repopulate a Previously Submitted Form?

Hello,

I'm trying to retrieve and repopulate a form so that users could go in and edit a form they previously submitted. The form has many fields, but, as a first step, I tried to set things up so that only the user's saved heading (from a drop-down menu) would show up correctly. I figured if I understood this, I could cobble together the balance of the code. So, I wrote this

<?php
function aModule_edit_the_ad_listing($id) {
global $user;
$output = '';

// Retrieve the listing
$listing = db_query("SELECT * FROM {aModule_listing} WHERE `id` = :id", array(':id' => $id))->fetchObject();

if (!$listing) {
drupal_goto('aModule/list_the_ad_categories');
}

// Get the headings and save which one was previously selected
$options_first = aModule_get_headings();
$selected = $listing->heading;

$form['heading'] = array(
'#type' => 'select',
'#title' => 'Heading',
'#options' => $options_first,

// Try to populate the form with the previously selected value - but this doesn't work
// because the FAPI's description for '#default_value' is 'The value of the form element
// that will be displayed or selected initially if the form has not been submitted yet'
// In this case, the form has already been submitted once
'#default_value' => $selected,

An Urget Needed module or tool

Drupal is a very powerful CMS but it misses one big feature. Many modules are not working more. So i thought a lot about updating modules. I read documentation about upgrading modules but they are not useful for most users who are not programmers. So i think it will be excellent if you write a plugin or tool for upgrading modules from Drupal 5 & 6 to 7 automatically. It only needs that you write a program that converts updated functions and replace them. Whats your idea about it?

Help with several tricky parts of a commerce store development

Helllo,
I a senior devoloper in Drupal and already create several commerce websites - A normal ones.
This time I have a commerce store with several chellenges.
I have tried to approach them in many diifernt ways with no luck.
So here is what I need:
I have 2 content types:

University Website Theme

Hey all--

I am a grad student at the University of Nebraska-Omaha working on developing a new website for the Computer Science department.

We're using Drupal 7, and I spent the last few months planning the site out and familiarizing myself with the Drupal environment. I have a year experience developing Coldfusion and am pretty familiar with Perl, and thus PHP.

Too-many-open-files-error: a drupal-long-term-issue, with a bug-review covering 5 yrs: 2007 to 2012

hello dear Drupalers, good day!

You may wonder why i post with this subject: Too many open files error? - The long-term-issue of Drupal: a bug-review from 2007 to 2012

well i am pretty new - and i have terrible issues in installing drupal on a dedicated server (which is 6 years old ... sure thing) To begin with the begining:

During the installation process i have noticed several warnings (see below) Has anyone else been confronted with similar issues during the installation-process like this? Well all i found is that the issue may or may not hit performance issue (of the server),
The error is noted in several threads - to be frank - in many many threads - i have seen it in threads that report this bug for the past 5 years: (/from 2007 to 2012). Well this issues can be named the the long-term-bug, cant they!!?

In order to give all those who are faced with the same issue a little overview i collected all the threads i found:

see them here - well they report all the same!

Too many open files error?
Posted by nr152522 on April 16, 2007 at 2:57pm
http://drupal.org/node/136732

Too many open files error?
http://drupal.org/node/1231106
Posted by mistaparker on July 27, 2011 at 2:07pm

Server Performance Warning: Drupal & modules (ab)uses too many files !

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x