Issues after changing servers

Post

Posted
Rating:
#2632 (In Topic #521)
Hi all
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.

Post

Posted
Rating:
Item has a rating of 5 Item has a rating of 5 Item has a rating of 5 Item has a rating of 5 Item has a rating of 5 (Liked by Chris Graham)
#2633

Code

{&IMG,..}

Replace & with $

Post

Posted
Rating:
#2634

Deleted said

Code

{&IMG,..}

Replace & with $


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.

Post

Posted
Rating:
#2635

enelson said

Deleted said

Code

{&IMG,..}

Replace & with $


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.

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 recently viewed this.