I installed the Zen theme to Drupal 7 and everything looked fine until I came in to work the next day. We had a power outage that morning and when I tried to get to my site this is the message I saw:
Error
The website encountered an unexpected error. Please try again later.
Error message
PDOException: SQLSTATE[HY000] [2002] Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in lock_may_be_available() (line 165 of /Library/WebServer/guardonline-test/includes/lock.inc).
I don't know what to do. Please advice. Thank you.
I am planning to start building a website for a cursing company. The website will contain information about available ships, trips, dates, rooms, prices..etc
I thought about the database and I know how to represent the data in tables. And I know in Drupal I can represent this as content types.
Let's say if I was building a database applicatoin, I would have created
a table: Ship with fields likes: Name, Company, PassengersCapacity.
and another table: Room with fields like: ID,Type,Ship,Price
I am trying to create a theme with only five regions. And everytime I insert the regions, Drupal says my theme is not compatible with Drupal 7! If I remove the regions, everything is fine.
Could someone please explain why?
name = Test
description = Test Beschreibung
core = 7.x
stylesheets[all][] = css/my_layout.css
regions[inhalt] = Inhalt
regions[seitenleiste] = Seitenleiste
regions[links] = links
regions[mitte] = mitte
regions[rechts] = rechts
settings[shortcut_module_link] = 0
Hi,
I added a field to the user registration called "field_phone".
I want that in every node, there will be the phone number of the user that created the node.
I know how to change the node.tpl.php and add fields that belongs to the node, but I don't know how to add users fields.
Can you help me ?
I'm currently working on a twitter feed module for 7.x. So far, everything is working great but I have run into a roadblock.
I'm trying to implement the theme system but I'm getting the error
"Notice: Undefined index: render element in theme() (line 811 of C:\wamp\www\madison\site\includes\theme.inc)."