Issues after changing servers
Posted
#2608
(In Topic #475)
Site staff

I just moved a site from a local machine to a live server and am having errors displayed.
For example
Code
A parameter, IMG, is referenced in the template, no_cache, but not passed
A parameter, IMG, is referenced in the template, global, but not passed
A parameter, IMG, is referenced in the template, search, but not passed
A parameter, IMG, is referenced in the template, menu__mobile, but not passed
A parameter, IMG, is referenced in the template, personal_stats, but not passed
A parameter, IMG, is referenced in the template, news, but not passed
A parameter, IMG, is referenced in the template, random_quotes, but not passed
A parameter, IMG, is referenced in the template, newsletter, but not passed
A parameter, IMG, is referenced in the template, cns, but not passed
A parameter, IMG, is referenced in the template, calendar, but not passed
It appears on every page I've opened so far, not the exact combination above, but it seems every page using a template with{&IMG,..} has the issue.
The localhost was running php 5.6, the live server runs on php7.0.15(I'll need to confirm this, but it's php7)
I was running on v 10.0.1 on my laptop. I've upgraded to 10.0.4 but this doesn't change anything.
Posted
Standard member

Code
{&IMG,..}
Replace & with $
Posted
Site staff

Paul Flavel said
Thanks Paul. You've just reminded me of a class I'd added to global.css. This is my mistake. I forgot to put $ when referencing a theme image. I corrected it and all is fine. It was the last thing I did before uploading.
Posted
Standard member

enelson said
Paul Flavel said
Thanks Paul. You've just reminded me of a class I'd added to global.css. This is my mistake. I forgot to put $ when referencing a theme image. I corrected it and all is fine.
From “Post #2,610”, 27th April 2017, 8:41 am
Excellent. Was going to add to post saying clear cache etc. Thought I may have been too short.
Glad you're all fixed.
1 guest and 0 members have just viewed this.

