products forums blog support careers about
  History | Log In     View a printable version of the current page.  
PRO USERS, to ensure 'PRIORITY SUPPORT' make sure that your ASAP account is "tagged" when you file the request. Click here for instructions on how to tag your account.
Issue Details (XML | Word | Printable)

Key: STU-1792
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Michael Xia
Reporter: Kurodesu
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Aptana Studio

PHP 500 Error on Server when uploading with FTP

Created: 02/Apr/08 02:49 AM   Updated: 27/Feb/09 03:14 PM
Return to search
Component/s: FTP
Affects Version/s: Aptana Studio 1.2, Aptana Studio 1.2.1
Fix Version/s: Andretti Alpha #1 (1.4.0.024021)

Impact on Workflow: Major
Specific Build Number: 1.2.1.020234
Studio Install Type: Standalone
Operating System: Windows XP
Participants: Dima Geller, Ingo Muschenetz, Kurodesu, Lori Hylan-Cho, Michael Xia, Paul Colton, Pavel Petrochenko, stephen homan-berry and Waldemar Gadzia


 Description  « Hide
I work on a external server so I usually edit existing files in this case PHP files and then save without problem, however when I try to create a NEW PHP document direct to the server when I access it I get a 500 Server Error.

The Error I get on the logs is :
!ENTRY org.eclipse.ui.workbench 2 0 2008-04-02 00:39:31.765
!MESSAGE MultiPageEditorPart (FTP) thisisaphpfile.php did not propogate selection for (FTP) thisisaphpfile.php



 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Pavel Petrochenko - 02/Apr/08 12:48 PM
Seems to be yours.

Change by Pavel Petrochenko - 02/Apr/08 12:48 PM
Field Original Value New Value
Assignee Pavel Petrochenko [ ppetrochenko ] Denis Denisenko [ munch ]

Change by Dima Geller - 02/Apr/08 01:18 PM
Status Open [ 1 ] Reviewed [ 10000 ]

Dima Geller - 02/Apr/08 01:20 PM
Hi,

What error do you see in your apache log file?

Thank you,
Dima


Change by Dima Geller - 02/Apr/08 01:20 PM
Status Reviewed [ 10000 ] Awaiting User Response [ 10001 ]

Kurodesu - 02/Apr/08 09:14 PM
I don't get any error on the Apache Log files. When I create a new php file on Aptana I get error 500:
http://www.newhomebr.com/thisisaphpfile.php

When I create it with any other FTP soft it works:
http://www.newhomebr.com/thisisaphpfile2.php


Kurodesu - 05/Apr/08 08:38 AM
Any response please?

stephen homan-berry - 14/May/08 04:33 AM
Just thought I'd add that I also have this problem.

When creating a new remote file of any type via the built-in FTP, permissions are set to rw-rw-rw

This gives me Internal Server Error 500 on my hosting config so I have to ssh and chmod to 644 rw-rr- in order to execute the file.

What would be great is a new field on the FTP Site Configuration dialog that lets us set the default permissions for newly created files.

Note this isn't a show-stopper for us, Aptana is still a rocking IDE for PHP & AJAX development - but this permissions issue can really slow down the coding activity.


Change by Ingo Muschenetz - 19/May/08 05:13 PM
Fix Version/s 0.9.0 [ 10062 ]

Change by Ingo Muschenetz - 19/May/08 06:06 PM
Status Awaiting User Response [ 10001 ] Reviewed [ 10000 ]

Change by Ingo Muschenetz - 19/May/08 06:14 PM
Key PHP-105 STU-1792
Fix Version/s 0.9.0 [ 10062 ]
Fix Version/s Aptana Studio 1.2 [ 10024 ]
Affects Version/s 1.0 [ 10063 ]
Project Aptana PHP Support [ 10006 ] Aptana Studio [ 10002 ]

Ingo Muschenetz - 19/May/08 06:16 PM - edited
We'll reuse the dialog box check boxes from the permissions screen (one group of check boxes for file, one for folders) to allow users to set the default remote file permission. You'll want to make sure that setting is eprsisted as part of the serialization of the FTP properties on Studio shutdown.

Change by Ingo Muschenetz - 19/May/08 06:16 PM
Assignee Denis Denisenko [ munch ] Kevin Sawicki [ ksawicki ]

Change by Ingo Muschenetz - 23/May/08 04:41 PM
Priority Unprioritized [ 6 ] Average [ 4 ]

Change by Ingo Muschenetz - 27/May/08 05:40 PM
Workflow External-Open [ 13702 ] External-Open v2 [ 16450 ]

Change by Kevin Sawicki - 18/Jul/08 06:59 PM
Assignee Kevin Sawicki [ ksawicki ] Paul Colton [ paul ]

Change by Ingo Muschenetz - 22/Jul/08 12:39 PM
Priority Average [ 4 ] Major [ 3 ]

Change by Ingo Muschenetz - 25/Jul/08 12:25 PM
Component/s FTP [ 10013 ]

Change by Paul Colton - 19/Sep/08 05:28 PM
Assignee Paul Colton [ paul ] Michael Xia [ mxia ]

Michael Xia - 25/Sep/08 03:38 PM
A preference page (Aptana->File View->Permission) is added for setting default permissions for new files and folders created from the file explorer view.

Change by Michael Xia - 25/Sep/08 03:38 PM
Resolution Fixed [ 1 ]
Status Reviewed [ 10000 ] Resolved [ 5 ]

Waldemar Gadzia - 23/Dec/08 12:17 PM
If I edit or create a file in the project-view (the file is local) and then upload or sync it, it gets the chmod 666 (Preferences - Permissions are set to chmod 755) and I get the known server-errors.
The file-view works fine (remote).

Change by Waldemar Gadzia - 23/Dec/08 12:17 PM
Resolution Fixed [ 1 ]
Status Resolved [ 5 ] Reopened [ 4 ]
Affects Version/s Aptana Studio 1.2.1 [ 10131 ]
Specific Build Number 1.2.1.020234
Relevant Browser [Firefox, Internet Explorer (IE)] [Internet Explorer (IE), Firefox]

Change by Michael Xia - 23/Dec/08 12:30 PM
Status Reopened [ 4 ] Reviewed [ 10000 ]

Change by Michael Xia - 23/Dec/08 12:31 PM
Fix Version/s Aptana Studio 1.3 [ 10092 ]
Fix Version/s Aptana Studio 1.2 [ 10024 ]
Affects Version/s Aptana Studio 1.2 [ 10024 ]
Relevant Browser [Firefox, Internet Explorer (IE)] [Internet Explorer (IE), Firefox]

Michael Xia - 15/Jan/09 05:11 PM
Fixed for 1.3.

Change by Michael Xia - 15/Jan/09 05:11 PM
Status Reviewed [ 10000 ] Resolved [ 5 ]
Resolution Fixed [ 1 ]

Change by Lori Hylan-Cho - 28/Jan/09 01:00 AM
Workflow External-Open v2 [ 16450 ] External-Open v3 [ 23423 ]

Change by Lori Hylan-Cho - 27/Feb/09 03:14 PM
Fix Version/s Aptana Studio 1.3.0 [ 10174 ]
Fix Version/s Aptana Studio 1.3.1 [ 10092 ]