![]() |
cross os script problem
1 Attachment(s)
Hello everyone
I spent some time trying to make a rating script work, but had little success. The thing is, this script seems to be working well on linux but for some reason it fails on windows 7 (both in apache and lighttpd).The actual problem is that on windows it doesn't load in the browser...all I can see is the stylised div in which the code should insert stars and such, but it's empty. Again, this doesn't happen on linux. Even though I only know the basics of php and javascript, I'm guessing it has something to do with the misconfiguration of php.It may be something else, I really don't know. Could anyone test it and see if it works for them under windows? Thank you in advance. |
I think you are likely getting more and quicker replies by posting a link to a test site rather than a ZIP file where people have to download, scan for viruses, and set up everything themselves.
|
well this is the original site, but it works here of course http://www.coursesweb.net/php-mysql/...pt-ajax-php_s2
there's no setup required for testing it....it comes with test.html which can be placed along with ratingfiles in the root of the server. but if that's not an option, I can try to keep my test site up for some time http://viewstorm.no-ip.org/ it's that little bar under the other rating |
According to the error console, it looks like a '<' character in the returned string is messing things up on this line:
Quote:
var jsonitems = cerere_http.responseText; |
Quote:
changing that line generates another error so I don't think it has something to do with the actual code, since it works on linux. |
| All times are GMT +1. The time now is 08:25 PM. |
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.