iis+php problems

Source: Internet
Author: User
Tags ranges
My server is Win2003, before using the Apache server, now to be replaced by IIS.
The IIS+PHP+MYSQL environment has been built.
Now the problem is: when you visit some pages, the error always says: ' null ' is empty or not an object. :
But with Apache server, that's not the problem. Ask the great God, how this problem should be dealt with.


Reply to discussion (solution)

This is the browser error, is the JS errors
It may be that your JS file is not loaded correctly.
In IIS, the folder that holds the JS file needs to have "execute" permission, do not rule out your path is problematic or the parent path is not enabled

Click Yes to see if there's a problem.

Should see if JS is loaded correctly. Firebug and other tools can be seen

Click Yes or there is a problem, that is, nothing is displayed. This error is the server IIS inside the browser only, if the other computer input domain name access, even the hint is not, is a blank.
It should not be the JS loading problem, because the error is 1150 lines.

http://zuohang.net:8088 Network
Did your mistake appear in that link? Why didn't I see it?

Array (    [0] = http/1.1-OK    [1] = content-length:8665    [2] = content-type:text/html    [3] =&G T Content-location:http://zuohang.net:8088/index.html    [4] = Last-modified:sun, 01:11:14 GMT    [5] = Accept-ranges:bytes    [6] = ETag: "9f1e6887be95d01:a24"    [7] = = server:microsoft-iis/6.0    [8] =& Gt Date:mon, June 08:25:03 GMT    [9] = connection:close)
It's IIS.

http://zuohang.net:8088 Network
Did your mistake appear in that link? Why didn't I see it?

Array (    [0] = http/1.1-OK    [1] = content-length:8665    [2] = content-type:text/html    [3] =&G T Content-location:http://zuohang.net:8088/index.html    [4] = Last-modified:sun, 01:11:14 GMT    [5] = Accept-ranges:bytes    [6] = ETag: "9f1e6887be95d01:a24"    [7] = = server:microsoft-iis/6.0    [8] =& Gt Date:mon, June 08:25:03 GMT    [9] = connection:close)
It's IIS.

After landing, the novice or member Center will be wrong. The page is: http://zuohang.net:8088/taobao/#index Test Account: aaaaaa Password: 123456 "is IIS good" what do you mean?

Can not login with IE (login box appears multiple, cannot input)
Only one spot was found after 360 rapid landings, but inconsistent with your description

This is the Internet Explorer after clicking on the user name box

Found the problem, my site has a. tpl file, adding the mine type is normal.
Specific solutions:
Open IIS, right-click on "Web Site" (or a specific site)? properties, select the "HTTP Headers" tab, select "Mine type", click New, expand ". TPL", Mine type "application/ Vnd.groove-tool-template ", click OK.

Thanks to the moderator for my strong help

  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.