This topic is locked

Having trouble uploading files

4/12/2014 9:51:26 PM
PHPRunner General questions
C
cordaco author

I am switching from ASPRunner to PHPRunner and I never had this problem with ASP. I have tried everything I can think of, but I cannot have a user upload a file using edit or add. The process goes well until I include a file in a file/image field and hit the save button. At this time the page stalls and after several minutes it gives me a record updated message, but no update or file in specified folder. It works fine if I don't include file to upload.
I have made sure the upload folder is there. I have tried absolute check box, proofs, proofs/, /proofs, files, files/, php checkbox, both check box, and more. In my MS Access data base I have changed from text, to hyperlink, to OLE, to memo,and more. I have tried checking the permissions for proofs folder, but I get a "setting access properties failed" message.
I have also noticed that on other tables or table views where I have updated using the edit the field value have changed from
or
from [color="#FF0000"]jdscreens.jpg to #[{"name":"proofs\/JDPScreens.jpg","usrName":"JDPS ...

Sergey Kornilov admin 4/13/2014

The setup for upload field is absolutely the same for both ASPRunnerPro and PHPRunner. If you setup your PHPRunner project exactly the same way as you did in ASPRunnerPro it will work.
If you need more help post your application to Demo Account and open a ticket at http://support.xlinesoft.com sending your Demo Account URL. 'Demo Account' button can be found on the last screen in the program.

C
cordaco author 4/14/2014



The setup for upload field is absolutely the same for both ASPRunnerPro and PHPRunner. If you setup your PHPRunner project exactly the same way as you did in ASPRunnerPro it will work.
If you need more help post your application to Demo Account and open a ticket at http://support.xlinesoft.com sending your Demo Account URL. 'Demo Account' button can be found on the last screen in the program.


Do you think this could be an issue with my hosting provider? I have had problems with them lately.

C
cordaco author 4/14/2014



The setup for upload field is absolutely the same for both ASPRunnerPro and PHPRunner. If you setup your PHPRunner project exactly the same way as you did in ASPRunnerPro it will work.
If you need more help post your application to Demo Account and open a ticket at http://support.xlinesoft.com sending your Demo Account URL. 'Demo Account' button can be found on the last screen in the program.


Is it normal for this to change from the file name (eg. filename.jpg) to a code similar to (eg. #[{"name":"proofs\/filename.jpg","usrName":"Kan#). With ASP it would not change...

C
cordaco author 4/14/2014



The setup for upload field is absolutely the same for both ASPRunnerPro and PHPRunner. If you setup your PHPRunner project exactly the same way as you did in ASPRunnerPro it will work.
If you need more help post your application to Demo Account and open a ticket at http://support.xlinesoft.com sending your Demo Account URL. 'Demo Account' button can be found on the last screen in the program.


I have tried to upload to the Demo Account but the process gets stuck on step 2 "Creating a Zip File".

Sergey Kornilov admin 4/15/2014

You can send your project folder along with database script directly to support team at http://support.xlinesoft.com.

D
Dave Lowe 4/15/2014



Is it normal for this to change from the file name (eg. filename.jpg) to a code similar to (eg. #[{"name":"proofs\/filename.jpg","usrName":"Kan#). With ASP it would not change...


Just an observation..... if a long filename is uploaded, there may not be enough characters available in the field to store the extra data. There is no error generated indicating that the filename was too long for the field. The record appears to get added to the table but without the attachment. How many characters are in your document field? Maybe increase it considerably - say 500 characters, to see if this fixes your problem.

C
cordaco author 4/23/2014



Just an observation..... if a long filename is uploaded, there may not be enough characters available in the field to store the extra data. There is no error generated indicating that the filename was too long for the field. The record appears to get added to the table but without the attachment. How many characters are in your document field? Maybe increase it considerably - say 500 characters, to see if this fixes your problem.


I have it set up as a memo field so it should accept the lengthy content.
I am getting a "SyntaxError: Unexpected token <" message on the upload feature.