I have installed dev-php 2.0.12 because I thought that there is no need of having installed an apache server and a php extension for it, but I am having problems.
I just have opened dev-php and clicked on the GTK example snippet and it appears on the editor, but when I switch to internal preview it shows a dialog that shows the text in the subject. It also asks me to save the file before trying to show the preview, so I save it as php. I have configured the php-cgi.exe path and the php.ini path in Options configuration panel, but it does not work. Also, in the same panel I see in local server the directory where I set my project, is that ok? I have made it to point to the php subdirectory inside dev-php2 directory, but also does not work. I am newbie in php, but I am feeling like as if I was a newbie in coputer science. Can somebody tell me what can be happening? Thanks in advance.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Sometime later I tried to start from zero. I installed dev-php again and configured all as before and got the same error. This time I noticed that the TAB where it is suposed to be written the php file name was blank, so I closed it and used new button to create a new document. Instead of selecting "internal preview" without saving, I decided to save before doing it. The save dialog box appeared and then highliting entered in action (I have to say it has a bug because the default name that appeared was "Untitled2.php*", so the "*" that indicates modified file has to be removed before passing the file as argument to the GetOpenFileName dialog (or whatever you are using) )
Then I clicked in "internal preview" and it worked. Well, GTK example didnt worked as the dll required was not found (but in Dev-php home page it says that it comes with the library!!!). Anyway I just only want to program "pure" php so for now it is not necessary. Just said that in order to solve it if is a "release bug" or something.
Thanks for all your effort and sorry for the inconvenience.
David.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
php-gtk works not really with php 5.x.x.
The full package comes with this version of php. if you want work with php-gtk you should download a php4.x.x.
before an internal preview you must set the internal webserverpath. this directory is showed in the filebrowser!
the previewed file must be saved and included in this directory. the internal webserver is like a "normal" webserver but works locally on the port you have set in the options dialog. thanks.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Am I correct in saying then, that you're taking this to action meaning by changing the error message for each language displaying the appropriate content and require that users have php4 installed rather than php5?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
1- You can declare your own language. This can be accomplished via 'Options > General Options', selecting the 'Extra'-tab and entering one of the language files provided by Dev-PHP's enthusiastic (and so patient) users. These are normal messages.
2- If you're using php-gtk and the php version provided with the 'Dev-PHP full package' which could be PHP 5.0.3, there's a known bug giving our abnormal (aka paranormal ;) message. However, if you download and install a version 4 of Z end engine and declare it in Dev-PHP via 'Options > General Options', then select the 'Parser'-tab and enter the 'php-cgi.exe' path name... Then, our famous 'Fehler bei ...' message (coming from Delphi run time environment) should normally disappear.
3- If you're using the 'Internal preview'-tab, then you must initialize(check) Dev-PHP via 'Options > General Options', select the 'Web-Server'-tab and enter the 'Local Server Path' corresponding to the path of the file you want to 'run'. Furthermore, you should have save this file before 'running' it. (See also https://sourceforge.net/tracker/?group_id=54728&atid=474628&func=detail&aid=1230455 )
Thanks for your comments.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I got this error message today, after switching to another project and editing the "general options".
The reason (and solution) was that I missed the trailing "/" in the ftp server path.
suggestion
It's fine to get an errormessage, it's much better than crashing.
But it would have helped a LOT, when the errormessage would have told what string it has checked and failed or what directory it did not find.
go on, Urs et. al., you do a good job :-)
Robert Hoerner
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have installed dev-php 2.0.12 because I thought that there is no need of having installed an apache server and a php extension for it, but I am having problems.
I just have opened dev-php and clicked on the GTK example snippet and it appears on the editor, but when I switch to internal preview it shows a dialog that shows the text in the subject. It also asks me to save the file before trying to show the preview, so I save it as php. I have configured the php-cgi.exe path and the php.ini path in Options configuration panel, but it does not work. Also, in the same panel I see in local server the directory where I set my project, is that ok? I have made it to point to the php subdirectory inside dev-php2 directory, but also does not work. I am newbie in php, but I am feeling like as if I was a newbie in coputer science. Can somebody tell me what can be happening? Thanks in advance.
I forgot to tell that I am running Windows XP Proffessional SP1.
Sometime later I tried to start from zero. I installed dev-php again and configured all as before and got the same error. This time I noticed that the TAB where it is suposed to be written the php file name was blank, so I closed it and used new button to create a new document. Instead of selecting "internal preview" without saving, I decided to save before doing it. The save dialog box appeared and then highliting entered in action (I have to say it has a bug because the default name that appeared was "Untitled2.php*", so the "*" that indicates modified file has to be removed before passing the file as argument to the GetOpenFileName dialog (or whatever you are using) )
Then I clicked in "internal preview" and it worked. Well, GTK example didnt worked as the dll required was not found (but in Dev-php home page it says that it comes with the library!!!). Anyway I just only want to program "pure" php so for now it is not necessary. Just said that in order to solve it if is a "release bug" or something.
Thanks for all your effort and sorry for the inconvenience.
David.
php-gtk works not really with php 5.x.x.
The full package comes with this version of php. if you want work with php-gtk you should download a php4.x.x.
before an internal preview you must set the internal webserverpath. this directory is showed in the filebrowser!
the previewed file must be saved and included in this directory. the internal webserver is like a "normal" webserver but works locally on the port you have set in the options dialog. thanks.
Am I correct in saying then, that you're taking this to action meaning by changing the error message for each language displaying the appropriate content and require that users have php4 installed rather than php5?
1- You can declare your own language. This can be accomplished via 'Options > General Options', selecting the 'Extra'-tab and entering one of the language files provided by Dev-PHP's enthusiastic (and so patient) users. These are normal messages.
2- If you're using php-gtk and the php version provided with the 'Dev-PHP full package' which could be PHP 5.0.3, there's a known bug giving our abnormal (aka paranormal ;) message. However, if you download and install a version 4 of Z end engine and declare it in Dev-PHP via 'Options > General Options', then select the 'Parser'-tab and enter the 'php-cgi.exe' path name... Then, our famous 'Fehler bei ...' message (coming from Delphi run time environment) should normally disappear.
3- If you're using the 'Internal preview'-tab, then you must initialize(check) Dev-PHP via 'Options > General Options', select the 'Web-Server'-tab and enter the 'Local Server Path' corresponding to the path of the file you want to 'run'. Furthermore, you should have save this file before 'running' it. (See also https://sourceforge.net/tracker/?group_id=54728&atid=474628&func=detail&aid=1230455 )
Thanks for your comments.
I got this error message today, after switching to another project and editing the "general options".
The reason (and solution) was that I missed the trailing "/" in the ftp server path.
suggestion
It's fine to get an errormessage, it's much better than crashing.
But it would have helped a LOT, when the errormessage would have told what string it has checked and failed or what directory it did not find.
go on, Urs et. al., you do a good job :-)
Robert Hoerner
Thanks for your (good) report.
This bug - about the root directory for ftp - will be fixed with next version,
Subversion server updated, Rev.249
Best regards,
Pierre.