[CLOSED]no run action defined for php files

This is for bugs in a version of Puppy 4.x that is still under development. If you have bugs for a released version of Puppy, please post them in the forum's main Bugs section, not here. Bugs are when a program does not function as intended. Usability issues are not bugs.
Locked
Message
Author
User avatar
ecomoney
Posts: 2178
Joined: Fri 25 Nov 2005, 07:00
Location: Lincolnshire, England
Contact:

[CLOSED]no run action defined for php files

#1 Post by ecomoney »

Title says it all...misconfigured mimetype?
Puppy Linux's [url=http://www.murga-linux.com/puppy/viewtopic.php?p=296352#296352]Mission[/url]

Sorry, my server is down atm!

User avatar
dejan555
Posts: 2798
Joined: Sun 30 Nov 2008, 11:57
Location: Montenegro
Contact:

#2 Post by dejan555 »

This can be easily set, but why in Geany? php are webpages right? They should open in seamonkey/defafultbrowser? And then add rox right click for web developers/designers? I'm not at home right now but I can make pet for these, just not sure if we should set DEFAULT run action to open in geany, html files are set to open in seamonkey right?
puppy.b0x.me stuff mirrored [url=https://drive.google.com/open?id=0B_Mb589v0iCXNnhSZWRwd3R2UWs]HERE[/url] or [url=http://archive.org/details/Puppy_Linux_puppy.b0x.me_mirror]HERE[/url]

User avatar
ecomoney
Posts: 2178
Joined: Fri 25 Nov 2005, 07:00
Location: Lincolnshire, England
Contact:

#3 Post by ecomoney »

php files are more like interpreted programs, that need the php service to be installed to run (like on webservers). Puppy isnt a webserver distro (although it can do it), so perhaps best that php files are open with a code editor, edited and uploaded to a webserver to be run.
Puppy Linux's [url=http://www.murga-linux.com/puppy/viewtopic.php?p=296352#296352]Mission[/url]

Sorry, my server is down atm!

User avatar
dejan555
Posts: 2798
Joined: Sun 30 Nov 2008, 11:57
Location: Montenegro
Contact:

#4 Post by dejan555 »

Yes, but if you go online on some php page and save it "Save as..." it will save it with php extension, so imagine everyday user saving webpage and then it opens in text editor where he sees bunch of lines he doesn't understand :) I don't mind, I can make it anyway you need, someone just need to decide what will go in official version.
puppy.b0x.me stuff mirrored [url=https://drive.google.com/open?id=0B_Mb589v0iCXNnhSZWRwd3R2UWs]HERE[/url] or [url=http://archive.org/details/Puppy_Linux_puppy.b0x.me_mirror]HERE[/url]

aragon
Posts: 1698
Joined: Mon 15 Oct 2007, 12:18
Location: Germany

#5 Post by aragon »

ecomoney, are your customers raising so quick to php-developers? if it should be newbie-friendly, defaultbrowser would be the correct action. if you rightclick on a php-file you'll get

edit with geany
edit with leafpad
send to trash
view with seamonkey

the options are all there, so maybe just leave it as it is. if there is no clear run-action, why define one.

aragon

User avatar
WhoDo
Posts: 4428
Joined: Wed 12 Jul 2006, 01:58
Location: Lake Macquarie NSW Australia

#6 Post by WhoDo »

aragon wrote:defaultbrowser would be the correct action. if you rightclick on a php-file you'll get

edit with geany
edit with leafpad
send to trash
view with seamonkey

the options are all there, so maybe just leave it as it is. if there is no clear run-action, why define one.
aragon is correct. There is no point associating a web file type with an editor by default because it could prevent the file from being opened normally with the web browser. Use RoxRightClicks to edit if necessary. Individual users can still use the Set Run Action option in Rox to associate the file with their editor of choice.
[i]Actions speak louder than words ... and they usually work when words don't![/i]
SIP:whodo@proxy01.sipphone.com; whodo@realsip.com

Locked