Fatal error message

I went through a Drupal help search on my "fatal error" message and see it is common, but don't see anything that would help me resolve it. I can load, maintain the site if all works well but don't have the expertise to go into coding, so keep that in mind if oyu have a suggestion. Here's the full message I am getting on the Drupal 7 site www.pamlicotoday.com

WSOD on install.php

Hi everyone,

Trying to install D7 on a production server. I keep getting the WSOD at install.php?profile=standard&locale=en

Running the latest PHP.
MYSQL is not the latest but greater than what is recommended for D7.
Apache/2.2.3 (CentOS)

I have searched google and these forums for a fix. tried each that I could find.
From what I can gather its a 500 error.

I've checked the logs but they don't reveal anything.

I have a bunch of drupal 6 sites running on the same host.

Anyone else have this issue and resolved it?

Image upload

Hi all!

I'm quite new at drupal module development and I gues I still have a lot to learn. I'm trying to implement something for 2 days without any success and I hope you guys can help me out. I followed different guides such as http://www.akchauhan.com/create-image-upload-field-using-drupal-form-api/ and I still could no make it work.

I want to make a form in the settings of my module with a text field and an image upload field. I got the textfield to work but I'm having trouble with the image uploader.

In my file panorama.admin.inc I got the following function to define the form.


function panorama_admin_settings() {

//panorama titel
$form['panorama_title'] = array(
'#title' => t('Panorama Titel'),
'#type' => 'textfield',
'#required' => TRUE,
'#description' => t('Vul de titel in van de panorama foto'),
'#default_value' => variable_get('panorama_title', 'ONTDEK ONZE WINKEL'));

//panorama foto
$form['panorama_picture'] = array(
'#type'=> 'fieldset',
'#title' => t('Panorama foto'));

$form['panorama_picture']['picture_upload'] = array(
'#type' => 'file',
'#title' => t('Upload panorama foto'),
'#size' => 150,
'#description' => 'Maximum grootte is 1,5MB en de maximum dimensies zijn 3000x400');

$form['#validate'][] = 'panorama_validate_picture';
$form['#attributes']['enctype'] = 'multipart/form-data';

What are the name for others keys that always exist in $content that can be hidden? Please help me!

I see that with drupal 7 theming, we can mark elements of the $content array as hidden.

for example:

hide($content['comments']);
hide($content['links']);
print render($content);

What are the name for other keys that alway exist?

make page still "active" when you go to another page

make page still "active" when you go to another page

is there a way in drupal to trick a page your on to make another page active? (by active I mean in CSS when you got: .active)

What is the difference between putting a dependent module in your Installation Profile or enabling it after install?

In Drupal 7 ...

Does anyone know the difference between putting your module as a dependency in your installer_profile.info file, or enabling it after you have installed drupal with your installation profile?

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x