Hello,

After adding the code of readme.txt at the end of template.php, i get a blank page when i refresh the website.

I am using the template Acquia Marina.

Attached is the resulting template.php.

Thanks for your help!

Matthieu

CommentFileSizeAuthor
template.php.txt31.6 KBMattDrupalee
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

torgosPizza’s picture

It's because you already have a function called phptemplate_preprocess_page. If you were to examine your logs, or turn on error reporting, you would see something like "Fatal error: cannot redeclare phptemplate_process_page." If you look at the text file you posted here, do a search for that function name, you'll see it appears twice.

A way to fix this would be to take the code contained in the function you added, move it to the one that already exists, and then delete your new function.

davemybes’s picture

Priority: Critical » Normal
Status: Active » Closed (fixed)

I assume this was resolved, so setting it to closed.