Site.php Update broke the Site
Permalink
Hey Guys,
I am currently using a 5.5+ site. I can't find the exact version as my site broke. I tried to add a MAIL FROM option so that my clients form submissions would show her email and not mine. I've used this in the past with 5.4 and below and now it completely wrecked the site.
define('FORM_BLOCK_SENDER_EMAIL','info@mhbphoto-graf.com');
Seehttp://mhbphoto-graf.com for error.
I restored the site.php back to the way it was and nothing... My backup failed and I'm really screwed. Is there ANY way to convince the site to go back to the way it was before?
Thaaaaanks....
I am currently using a 5.5+ site. I can't find the exact version as my site broke. I tried to add a MAIL FROM option so that my clients form submissions would show her email and not mine. I've used this in the past with 5.4 and below and now it completely wrecked the site.
define('FORM_BLOCK_SENDER_EMAIL','info@mhbphoto-graf.com');
Seehttp://mhbphoto-graf.com for error.
I restored the site.php back to the way it was and nothing... My backup failed and I'm really screwed. Is there ANY way to convince the site to go back to the way it was before?
Thaaaaanks....
Remove your database info and post the site.php contents so we can see it.
Will this help?
I had the MAIL FORM definition but this is what is looks like now that I deleted it.
define('DB_SERVER', '###########'); define('DB_USERNAME', '##############'); define('DB_PASSWORD', '#################'); define('DB_DATABASE', '#######'); define('PASSWORD_SALT', '#####################################################################################'); define('PERMISSIONS_MODEL', 'advanced'); define('CACHE_LIBRARY', 'apc');
I had the MAIL FORM definition but this is what is looks like now that I deleted it.
Line one should have <?php
Did you forget to add it to the post or is it missing from your site.php file?
Did you forget to add it to the post or is it missing from your site.php file?
Yes, sorry it does contain the php tag. Just forgot to include it.
_________________________
Roz Murphy
(403) 467-9210
Sent from a miraculous device called an "iPhone"
_________________________
Roz Murphy
(403) 467-9210
Sent from a miraculous device called an "iPhone"
Okay,
The other thing to check is that you have no empty lines after the last line of code i.e. after the define('CACHE_LIBRARY', 'apc');
The other thing to check is that you have no empty lines after the last line of code i.e. after the define('CACHE_LIBRARY', 'apc');
You could also try using a closing php tag thus
define('CACHE_LIBRARY', 'apc');?>
define('CACHE_LIBRARY', 'apc');?>
No empty lines :/
I reverted it back to the old php file and the site wouldn't load despite calling up the original file
_________________________
Roz Murphy
(403) 467-9210
Sent from a miraculous device called an "iPhone"
I reverted it back to the old php file and the site wouldn't load despite calling up the original file
_________________________
Roz Murphy
(403) 467-9210
Sent from a miraculous device called an "iPhone"
Your site is currently throwing this error:
Have a look in "[root]/helpers/" and rename date.php to something else like date-broken.php.
Fatal error: Cannot redeclare class DateHelper in /home/content/13/3354913/html/helpers/date.php on line 24
Have a look in "[root]/helpers/" and rename date.php to something else like date-broken.php.
You must have done something cuz your site is now lookin' good!
I love you guys so much, I could kiss you!!!!
There was an extra spacing after the ?> tag.
Danke, Danke!
On 10/30/2012 4:53 PM, concrete5 Community wrote:
There was an extra spacing after the ?> tag.
Danke, Danke!
On 10/30/2012 4:53 PM, concrete5 Community wrote:
http://www.concrete5.org/community/forums/chat/site.php-update-broke-the-site/#discussionpost