Page 1 of 1

XAMPP localhost to domain

PostPosted: 23. April 2012 21:37
by alexgoaga
Hello , i have a problem, i have a script and on my localhost works perfect, but when i try to put into a domain the script goes crazy, i think something should be changed on security xampp

what i need to change?

http://imageshack.us/photo/my-images/855/13076031.jpg/

http://imageshack.us/photo/my-images/836/26561731.jpg/

[EDIT by Altrea: Headline - no need to write uppercase only]

Re: XAMPP localhost to domain

PostPosted: 23. April 2012 22:21
by Theslcguy
You need to add this to the top of your script:

<?php
// turn off error reporting
error_reporting(0); ?>

Re: XAMPP localhost to domain

PostPosted: 24. April 2012 16:29
by alexgoaga
still not working right....

Re: XAMPP localhost to domain

PostPosted: 24. April 2012 20:22
by Theslcguy
are you calling it right then?

example

public static function getInstanceByName($name=''){
not
function getInstanceByName($name=''){