03 Jan, 2011
Drupal cannot modify header
Articles related to drupal cannot modify header
http://digitalpbk.com/php/warning-cannot-modify-header-information-headers-already-sent
Solve &
quot;Cannot modify header information -
headers already sent by *.php"
Warning:
Cannot modify header information -
headers already sent by somefile.php (output started at somefile.php:###) in somefile.php on line ###
This Warning is shown by PHP when you use the
header function to output
headers or use the setcookie function to set cookies after any echo or content which is not inside PHP tag.
Hello World !!!
Both should throw this warning.
You can disable ...
Published 1 year, 10 months ago
http://digitalpbk.blogspot.com/2007/04/http-11-response-status-codes.html
in the Location
Header302 Moved Temporarily : Requested document has been temporarily moved to location specified by the location
header.303 See Other : The requested resource is found in a different location indicated by the Location
Header.304 Not
Modified : Server uses this code in response to the If
Modified Since Request. This indicates the document has not been
modified.305 Use Proxy : Client should use a proxy specified by the location
header.307 Temporary Redirect : Requested resource is temporarily ...
Published 4 years, 10 months ago
http://digitalpbk.com/adsense-analytics/how-integrate-google-analytics-tracking-and-adsense
the following script on the head.
window.google_analytics_uacct = "UA-XXXXXX-X";
Replace XXXXXX-X with your analytics tracking ID which you can obtain from the analytics tracking script or from the analytics setting page as shown in the image below.
Then goto the analytics settings page, and click the link highlighted below Edit Adsense linking settings
Adsense on analytics screenshot
On
Drupal
You can set the
header in code by
drupal_set_html_head or add in the page ...
Published 2 years, 2 months ago
http://digitalpbk.blogspot.com/2007/01/get-smart-against-phishing.html
mailed, So...+ It would not contain your name+ It would not contain any personal info about you that was provided to the legitimate organization.+ It would not have a valid source. If your email client can display advanced
headers, please go through the
headers if you suspect of a phishing scam.+ It may contain grammatical as well as spelling mistakes.Now even if it contains your name and free from mistakes still you
cannot rule out the phishing scenario.Take a part of the phishing message and do ...
Published 5 years, 1 month ago
http://digitalpbk.com/2009/10/other-welcome-digitalpbkcom
Welcome to digitalpbk.com
Well just to have something to get started. :)
This is my experiment with
drupal. I got somehow
drupal to run, figured out and tinkered it as far as I know. I am a
drupal 5 developer, has written a few modules in it, for the company SmartCrowds for which I work for.
Drupal 6 is a little bit different. So if you find it a little plain and have ideas to improve, help me out.
Just Ignore the above, its pretty old and historically true, But now it runs on Django ...
Published 2 years, 3 months ago
http://digitalpbk.com/2009/12/list-publically-accessible-drupal-sites-you-can-play-around
List of Publically accessible
drupal sites you can play around with
Here's a list of sites for
drupal developers to play around with.
HTML Comments without moderation
www.themallblog.com
www.eatsleepandcode.com
www.layt.net
Anonymous node editing
mature-ip.eu/node/115/edit
drupal.kldp.net (Its all Korean I dont know what all is possible)
drupal.x73.ch
proves2.iws.es/
drupal
emusic.mozdev.org/
drupal
www.news7newslinc.net
futuregrid.org
www.aidsvancouver.org
jennycrumiller ...
Published 2 years, 1 month ago
http://digitalpbk.com/drupal/how-change-drupal-root-user-password
How to change root admin user password in
Drupal ?
In order to reset the root or superadmin password on a
drupal system, login into the database by looking at the settings.php. You can use phpMyAdmin or any other MySQL utilities like SQLYog, or MySQL command line.
Run the following query to reset the password.
UPDATE users SET pass = MD5('password') WHERE uid = 1
The user id of administrator is always 1.
Password field in
drupal is stored as MD5 of the actual string password. So ...
Published 1 year, 10 months ago
http://digitalpbk.blogspot.com/2007/03/mp3-id3-tag.html
else?). All data in the ID3 Tags are BigEndianBigEndian refers to the storage method in which the MSB is stored first followed by the bits to the LSB. This is opposite to the LittleEndian method in which the LSB is stored first and followed through to the MSBID3 Tag General Structure (ID3V2.4)ID3 Tags can be imagines as a book, which contains many pages (called frames). Like any book, ID3 tag has a preface/intro about the tags that follows as a 10 byte
header.Header (10 bytes)Extended
Header ...
Published 4 years, 10 months ago
http://digitalpbk.com/apachesolr/apache-solr-mysql-sample-data-config
-config.xml
Create a new file called data-config.xml in the same directory and configure the database connection and table schema to reflect your database structure.
Sample data-config.xml
The dataSource configuration attributes , query in entity tag and database fields must be
modified to match your database structure. The Query given in the example is a simple Join of the
drupal node and node revisions tables.
Now restart or start Apache ...
Published 1 year, 11 months ago
http://digitalpbk.com/drupal/detect-drupal-form-add-edit-created-formalter
Detect in form_alter if the node submitted is added or edited
When you want to alter a form on
Drupal, it is useful to detect if the form being submitted is to add a new node or edit an existing node. To detect if a form is being added or submitted, check the
$form[]['nid']['#value'].
Example :
$form['book']['nid']['#value'].
If the value is "new", the node is being added.
If the value is numeric, the node with nid as the number is being ...
Published 2 years, 1 month ago
Related help topics for drupal cannot modify header
More keywords like drupal cannot modify header
More pages for drupal cannot modify header