Issues after changing servers

Post

Posted
Rating:
#2608 (In Topic #475)
Avatar
Site staff
enelson is in the usergroup ‘Super-moderators’
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.
Online now: No Back to the top

Post

Posted
Rating:
Item has a rating of 5 (Liked by Chris Graham)
#2609
Avatar
Standard member
Paul Flavel is in the usergroup ‘Honoured member’

Code

{&IMG,..}

Replace & with $
Online now: No Back to the top

Post

Posted
Rating:
#2610
Avatar
Site staff
enelson is in the usergroup ‘Super-moderators’

Paul Flavel 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.
Online now: No Back to the top

Post

Posted
Rating:
#2611
Avatar
Standard member
Paul Flavel is in the usergroup ‘Honoured member’

enelson said

Paul Flavel 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.
Online now: No Back to the top
1 guest and 0 members have just viewed this.

Statistics

Forum statistics:
  • 2,053 topics, 7,195 posts, 10,853 members
  • Our newest member is ledfactory
Birthdays:
Back to Top