HostGator not working with PHP files

Noktop

Newbie
Joined
Nov 25, 2013
Messages
45
Reaction score
18
I'm working on a WordPress installation hosted by HostGator. I have added new code to a php file which is used for the home page gallery slider. The changes work on my local installation but do not appear on the live site. I have even attempted to insert gibberish code into the file to see if it would update, It did not. This leads me to believe it's being cached somewhere and not updating.



  • I have disabled all suspected caching plugins.
  • Added define('DISABLE_CACHE', true); to wp-config.php
  • Cleared all browser caches, and CTR + F5, As far as I can tell, I've cleared the caches properly. Multiple times.
  • Verified the code is sound
  • Waited overnight to see if it would update eventually
 
From my experience, this type of issue is usually a user error where the wrong file is being edited. If you wanted to send me a PM with your domain name and the file name / folder you are working with, I can try to have a look.
 
Last edited:
If it were the wrong file, that would make sense. I don't understand why it would work on the my local installation and not the live site though.

I sent you a PM Timothy, thanks for the assistance.
 
It could be a result of version conflict in php or some php feature enabled / disabled on the host in contrast to local host.
 
Is PHP version on local and hostgator server same?

I was under the impression they were both up to date. I'm working with Instnatn wordpress 4.3.1. I can't find in the documentation where it says what PHP version it uses. HostGator uses PHP 5.2.17 and phpMyAdmin 3.5.5.

SilentOp said:
...feature enabled / disabled on the host in contrast to local host.
Is there an easy way I can cross reference which features are being called on both?

mazgalici said:
check the error log from your cPanel
No errors to view sadly.


Thanks for the help guys, I'm trying to figure out any possible php version discrepancies atm...
 
Polite bump.

I'm still having the same problem. :(
 
I got similar issues some time ago, was editing wrong files, try to find the real files of your wp theme
 
Back
Top