deadalon wrote:I guess this has something to do with either apache or mysql settings.
I guess,that you are either wrong, neither apache nor mysql settings.
I guess this has something to do with the fact, that you are running a copy of the online site locally with a different server name (i.e. localhost) than the online site. How did you manage to run the application on two different servers, did you install both from scratch, or did you copy one to another (what does not work properly!)?