Search code examples
phpsliderwamplamp

Is LAMP messing up with my PHP?


I'm trying to fix a website, with a slider in front page. When I see it in local, there is no problem whatsoever. Once online, though ... Local slider: local slider Online slider: online slider

The only difference I see between these is that the local passes thorugh WAMP and the online through LAMP. Any idea ?


Solution

  • It can be caused by 2 main reasons:

    1. Case sensitivity. Linux is case sensitivity to it's files. while Windows is not. so if you have defined path like folder/image.png when the real name is actully Folder/image.png. it will only work in windows. make sure you defined in your files the exact path.
    2. Directory structure is not similar.