Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by pedrocrown · Mar 12, 2012 at 04:26 PM · wwwunity 3.5

WWW 3.5 500 Internal Server Error

I use this code in the 3.4 without any problems. Now updating to 3.5 it gives this error "500 Internal Error". As it worked on 3.4 I don't think is a problem with the PHP code. What changed to the WWW class that could give this error?

 var URLLogin : String = "http://xxx.xxx.x.x/example.php";
 var form = new WWWForm();
 
 form.AddField( "usuario",usuario);
 form.AddField( "senha",senha);
 getLogin = WWW(URLLogin, form);
 yield getLogin;
 if (getLogin.error != null) 
 {
     print(getLogin.error);
 } 
 else 
 {
     Debug.Log(getLogin.text);
 }
Comment
Add comment · Show 2
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image syclamoth · Mar 12, 2012 at 04:28 PM 0
Share

Try removing all the dynamic typing. $$anonymous$$ake sure you explicitly state what types all yor variables are. While I can't see how this would solve the problem (to be honset) as a general rule of thumb it's a good thing to do.

avatar image Mike-Nate · Dec 03, 2015 at 01:07 PM 0
Share

This doesn't solve the problem ............

Have tried this code on my server but still I am getting error while upload array using playmaker arraymaker with easy save 2 ?

did anyone find the perfect solution yet ?

2 Replies

· Add your reply
  • Sort: 
avatar image
2
Best Answer

Answer by Rabbit-Stew-dio · Mar 12, 2012 at 09:18 PM

A 5xx HTTP-Error code indicates that there is a problem on the server, not on the client. So why don't you check your server's logs? They should tell you what is going wrong here.

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image pedrocrown · Mar 13, 2012 at 02:04 PM 0
Share

I found the problem was in the PHP script. It was a line that unity didn't use for the PHP that was written wrong. Before on the 3.4 it didn't matter, but now Unity 3.5 it doesn't allow any errors.

avatar image
1

Answer by pipiroo6 · Sep 27, 2013 at 10:21 PM

I also has the 500 internal server error, but I was no able to modify the PHP.ini or the Apache configuration. Finally I fix it creating a .htaccess file in the folder where my upload.php is located. With the following instructions:

 ####################################################
 <IfModule mod_security.c>
 <Files upload.php>
 SecFilterEngine Off
 SecFilterScanPOST Off
 </Files>
 </IfModule>
 #####################################################
Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image myddt · Sep 19, 2017 at 01:31 AM 0
Share

It works!!! you saved me from hall. Thank you.

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

11 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

WWW Flash player with Unity 3.5 1 Answer

What kind of error handling does the WWW class have? 1 Answer

Loading text from web or RSS using WWW class 1 Answer

Extra WWW download statistics? 3 Answers

Adding data to a set of transforms 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges