To make it short, I am trying to create new content through a content type that I've created. However, when I go to 'Add content', my new content type does not show up. Instead, it shows up between my main menu and page body (only visible for administrators) like so. I've been pulling my hair out for the past day or so trying to fix this, and searches give me zero result. The odd thing is that
I've created a few content types before, and they do show up in the 'Add content' pane.
Database Version: 5.0.51a-24+lenny4
Database Collation: utf8_general_ci
PHP Version: 5.2.6-1+lenny9
Web Server: Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny9 with Suhosin-Patch mod_python/3.3.1 Python/2.5.2 mod_perl/2.0.4 Perl/v5.10.0
Get this error at first drupal-7.0 fresh install:
PDOException: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') ORDER BY fit DESC LIMIT 0, 1' at line 1 in /mnt/data/www/drupal-7.0/includes/database/database.inc on line 2039 Call Stack #TimeMemoryFunctionLocation 10.000256592{main}( )../index.php:0 20.0068548352drupal_bootstrap( )../index.php:21 30.04813547408_drupal_bootstrap_full( )../bootstrap.inc:2056 40.13768976116menu_set_custom_theme( )../common.inc:4935 50.13768976116menu_get_custom_theme( )../menu.inc:1689 60.13838979316menu_get_item( )../menu.inc:1674 70.13948987600db_query_range( )../menu.inc:443 80.13948987600DatabaseConnection_mysql->queryRange( )../database.inc:2250 90.13948987920DatabaseConnection->query( )../database.inc:69 100.13958988340DatabaseStatementBase->execute( )../database.inc:595 110.13968988340PDOStatement->execute( )../database.inc:2039 Variables in local scope (#10)
The site recently upgraded to drupal 7 version and after the update, the page_title module does not work.
I've downloaded the latest version of the page_title module as well as the Token module. I was able to configure the page_title module thru the "Administer" link and then Configuration>Search and Meta Data>Page Titles. But when I access my site thru the URL www.mysite.com/user and then I click on the page that I want to edit and click on the "Edit" button, the field 'Page Title' does not show up.
In the movie, the author change the date / time settings to a custom one. I can make my own custom one, but I cannot (like the author of the movie does) enter a php-code.
I want to only show the day's and somewhere else the time.