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
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)

Environment: Windows XP Professional x64 Edition SP 2, Intel Core 2 CPU 6300 @ 1.86GHz, 2 GB of RAM

Impact on Workflow: Major
Specific Build Number: 1.2.1.020234
Studio Install Type: Standalone
Operating System: Windows XP
Relevant Browser: Internet Explorer (IE), Firefox
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.

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

What error do you see in your apache log file?

Thank you,
Dima


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.


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.

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.

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).

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