Syntax Check Error
Moderator: kfury77
Forum rules
Please try to follow these guidelines. This will help to receive faster and more accurate response.
Please try to follow these guidelines. This will help to receive faster and more accurate response.
- Check the Support section of the corresponding product first. Chances are you will find your answer there;
- Do not create new topics for already reported problems. Add your comments to the existing topics instead;
- Create separate topic for each problem request. Do NOT post a number of non-related problem reports in a single topic;
- Give your topic a meaningful title. Titles such as "A question," "Bug report" and "Help!" provide others no clue what your message is about;
- Include the version number of the software you are using;
- This is not an official customer support helpdesk. If you need a prompt and official response, please contact our support team directly instead. It may take a while until you receive a reply in the forum;
Syntax Check Error
Hi all,
I just installed the demo version of "Rapid PHP 2006" version 7.4.0.70 to it try out.
I open a simple PHP page then activated the "PHP Syntax Check" and I got the following error message :
Access violation at address 0081593E in module ā€rapidphp.exe’.
Read of address 00000000.
Could anyone help me to get "PHP Syntax Check" to work properly ?
Thank,
Ducktape
I just installed the demo version of "Rapid PHP 2006" version 7.4.0.70 to it try out.
I open a simple PHP page then activated the "PHP Syntax Check" and I got the following error message :
Access violation at address 0081593E in module ā€rapidphp.exe’.
Read of address 00000000.
Could anyone help me to get "PHP Syntax Check" to work properly ?
Thank,
Ducktape
Detail, detail
Sorry,
Forgot to let you know that I am using "EasyPHP" version 1.8.0.1
Ducktape
Forgot to let you know that I am using "EasyPHP" version 1.8.0.1
Ducktape
- chrisjlocke
- Top Contributor
- Posts: 995
- Joined: Mon Aug 01, 2005 4:12 pm
- Location: Essex, UK
- Contact:
Operating systeme
Hi chrisjlocke,
I have the French Canadian version of Windows XP home edition with SP2 all up-to-date.
Ducktape
I have the French Canadian version of Windows XP home edition with SP2 all up-to-date.
Ducktape
Hi
I still get the occasional access violation error in WeBuilder, but it's no way near as often as before.
But unlike last time http://forums.blumentals.net/viewtopic.php?t=889 I cannot point it down to the same routine every time, it is very random this time.
It's not doing a PHP Syntax Check as I don't do PHP!!!
I still get the occasional access violation error in WeBuilder, but it's no way near as often as before.
But unlike last time http://forums.blumentals.net/viewtopic.php?t=889 I cannot point it down to the same routine every time, it is very random this time.
It's not doing a PHP Syntax Check as I don't do PHP!!!
- chrisjlocke
- Top Contributor
- Posts: 995
- Joined: Mon Aug 01, 2005 4:12 pm
- Location: Essex, UK
- Contact:
Haven't tried it on XP yet, but on my Win2000 test box, Rapid PHP and EasyPHP seem to talk OK.
Have you changed any settings in the php.ini file? From a default install, it was moaning about couldn't load php_gd2.dll, so had to remove that extension from the php.ini file. Once I'd done that, it was happy.
I don't know if php.exe is the same from the 'official' download:
http://uk.php.net/get/php-5.2.0-Win32.zip/from/a/mirror
Might be worth trying that one?
Have you changed any settings in the php.ini file? From a default install, it was moaning about couldn't load php_gd2.dll, so had to remove that extension from the php.ini file. Once I'd done that, it was happy.
I don't know if php.exe is the same from the 'official' download:
http://uk.php.net/get/php-5.2.0-Win32.zip/from/a/mirror
Might be worth trying that one?
RapidPHP Syntax Check
Hi all,
Good news and bad news; first off I found a major mistake that I am responsible for :
In the setting menu "Option -Ā» Preferences -Ā» PHP Options" my original path to the PHP Executable (php.exe) was :
"C:\Program Files\EasyPHP1-8\EasyPHP.exe"
which is not the file RapidPHP is expecting so I change it to
"C:\Program Files\EasyPHP1-8\php\php.exe"
(the only php.exe file that I have on my hard drive)
Unfortunately, I now get the following Warning : Unknown():
Unable to load library "./php_gd2.dll" – Le module spécifié est introuvable
(translation : unable to find this module).
I have this file, it is located at
"C:\Program Files\EasyPHP1-8\php\extensions"
but I do not know how to configure RapidPHP to this location.
Any help is appreciated so that I can get the Syntax Check to work and highlight my PHP errors.
Ducktape
Good news and bad news; first off I found a major mistake that I am responsible for :
In the setting menu "Option -Ā» Preferences -Ā» PHP Options" my original path to the PHP Executable (php.exe) was :
"C:\Program Files\EasyPHP1-8\EasyPHP.exe"
which is not the file RapidPHP is expecting so I change it to
"C:\Program Files\EasyPHP1-8\php\php.exe"
(the only php.exe file that I have on my hard drive)
Unfortunately, I now get the following Warning : Unknown():
Unable to load library "./php_gd2.dll" – Le module spécifié est introuvable
(translation : unable to find this module).
I have this file, it is located at
"C:\Program Files\EasyPHP1-8\php\extensions"
but I do not know how to configure RapidPHP to this location.
Any help is appreciated so that I can get the Syntax Check to work and highlight my PHP errors.
Ducktape
- chrisjlocke
- Top Contributor
- Posts: 995
- Joined: Mon Aug 01, 2005 4:12 pm
- Location: Essex, UK
- Contact:
So, open php.ini and find "php_gd2.dll". Stick a semicolon (;) before the text (so it matches the lines above it) and save. All should be well again.chrisjlocke wrote:From a default install, it was moaning about couldn't load php_gd2.dll, so had to remove that extension from the php.ini file. Once I'd done that, it was happy.
This won't affect the syntax highlighting or anything, so you won't break anything.
PHP Syntax Check
Hi chrisjlocke,
I have made the following change in the "php.ini" directory :
I have replaced :
Directory in which the loadable extensions (modules) reside.
extension_dir = "./"
With the following :
Directory in which the loadable extensions (modules) reside.
extension_dir = "./extensions/" (where "php_gd2.dll" reside")
But now when I launched "PHP Syntax Check" for the following file,
<php>
I do not get any warning from "PHP Syntax Check" that the ECHO command was misspelled.
Any suggestion ?
Ducktape
I have made the following change in the "php.ini" directory :
I have replaced :
Directory in which the loadable extensions (modules) reside.
extension_dir = "./"
With the following :
Directory in which the loadable extensions (modules) reside.
extension_dir = "./extensions/" (where "php_gd2.dll" reside")
But now when I launched "PHP Syntax Check" for the following file,
<php>
I do not get any warning from "PHP Syntax Check" that the ECHO command was misspelled.
Any suggestion ?
Ducktape
- chrisjlocke
- Top Contributor
- Posts: 995
- Joined: Mon Aug 01, 2005 4:12 pm
- Location: Essex, UK
- Contact:
Just checked in my version of WeBuilder, and that is indeed correct - I get the same results. I assume thats because echoi() could be a user function.
I think the syntax check is only going to check general syntax - ie, the right number of opening and closing brackets, proper nested commands, etc.
As a test, try this line:
echo("Hello, World!"
ie, no closing bracket. It should then moan.
I think the syntax check is only going to check general syntax - ie, the right number of opening and closing brackets, proper nested commands, etc.
As a test, try this line:
echo("Hello, World!"
ie, no closing bracket. It should then moan.
Posts can be edited, rather than re-post again.Sorry chrisjlocke, missing text in my previous post,
Syntax checker
Hi chrisjlocke,
I tried your test suggestion and you are right in saying that RapidPHP check only general syntax of the PHP code.
This is unfortunately since I am looking more for a syntax checker software.
Any good software you know of that youy could recommend to me (not to expensive please, I am a poor student after all).
Tank you,
Ducktape
I tried your test suggestion and you are right in saying that RapidPHP check only general syntax of the PHP code.
This is unfortunately since I am looking more for a syntax checker software.
Any good software you know of that youy could recommend to me (not to expensive please, I am a poor student after all).
Tank you,
Ducktape
- chrisjlocke
- Top Contributor
- Posts: 995
- Joined: Mon Aug 01, 2005 4:12 pm
- Location: Essex, UK
- Contact: