You are here:  » trying to update site


trying to update site

Submitted by shaunmac on Mon, 2016-12-05 17:31 in

I was trying to update my site with a new currency drop down menu but I seemed to have messed it up. My site is {link saved}. I was following the instruction as per node "http://www.pricetapestry.com/node/5775" everything was going fine until I edited the tapestry.php file and changed the

function tapestry_price($price)
{
global $config_currencyHTML;
return $config_currencyHTML.$price;
}

after this my page only shows the header. The header file is where I put the drop down code. But since then I have replaced the following file with the old ones to try and get back to my working site. I changed the html/Header.php, includes/Tapestry.php, as well as deleting html/user_header_before.php. I canceled the auto run script and everything should be back to how it was before but still not working.

Submitted by support on Mon, 2016-12-05 17:55

Hi Shaun,

It looks like a PHP fatal error is occurring, but because of your server configuration the error message is not displayed. What I would suggest is to enable error display by temporarily editing config.php and adding the following lines to the end of the file, just before the closing PHP tag:

  error_reporting(E_ALL);
  ini_set('display_errors','on');

That should reveal the error when you view your site, if you're not sure from what is displayed where the problem lies let me know the error, or of course if there is no difference, and I'll check it out further with you...

(if you do identify and fix the problem, don't forget to remove / comment out those lines to disable error display as it is not recommended for production servers...)

Cheers,
David.
--
PriceTapestry.com