This topic is locked
[SOLVED]

 GoDaddy docx problem

4/10/2017 9:29:47 AM
PHPRunner General questions
C
cjsaputo author

I have a PHPR application that has been running for years. We are storing organizational documents like board minutes, etc. Now when we try to upload a file and save, the system says there is no file and the app stops working. I have to logoff and restart. It appears to happen only when an attempt is made to upload a document, which could be a Word file or a PDF, or any other file to be stored.
I have tried to reupload the complete PHPR files but that did not fix it. I have also noticed that if I execute this from within PHPR by clicking "View in Browser" it works fine. Since this method of executing the app is still using the production data bases, please correct me if I am wrong, it would appear that the data bases are not corrupted. I can only surmise that there must be a SQL control file that is corrupted.
I am hosted on Godaddy along with the MySql data bases. Does anyone have a guess?
Thanks in advance, Chuck

romaldus 4/10/2017

Perhaps it was a server or hosting configuration issue or things like .htaccess file. First thing first, check your access log and error log file to find out the problem

Sergey Kornilov admin 4/10/2017

What makes you think something was hacked? Looks like server misconfiguration to me like not enough disk space, missing permissions on upload folder, restrictions on file size upload etc. If your hosting company provides access to PHP error log you should look what is in there.

C
cjsaputo author 4/10/2017



Perhaps it was a server or hosting configuration issue or things like .htaccess file. First thing first, check your access log and error log file to find out the problem


Any ideas why it would work fine from "View in Browser" from within PHPR?

romaldus 4/10/2017



Any ideas why it would work fine from "View in Browser" from within PHPR?


"View in Browser" means run in localhost?

C
cjsaputo author 4/10/2017



"View in Browser" means run in localhost?


You may or may not believe this but I just spoke with tech support from Godaddy and we found the problem. Godaddy has decided that allowing .docx files to be uploaded is a security risk. You can still upload .doc files or .pdf files, etc. I ran a production test and trying to upload a .docx file is causing the exact problem. I was able to upload a .doc file and a .pdf file without a problem.
Problem solved!

romaldus 4/10/2017



You may or may not believe this but I just spoke with tech support from Godaddy and we found the problem. Godaddy has decided that allowing .docx files to be uploaded is a security risk. You can still upload .doc files or .pdf files, etc. I ran a production test and trying to upload a .docx file is causing the exact problem. I was able to upload a .doc file and a .pdf file without a problem.
Problem solved!


I search google with keyword "godaddy docx" and found that many goddaddy customers have similiar [size="2"]problem. Thanks for sharing the answer.

[/size]