Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
 
  HOME    TRACKER    PHP




Bug In Zend Studio, Anybody Else Have?


I've encountered an extremely annoying bug that I have no idea how to remedy. Even reinstalling doesn't fix it.

I have a project with a bunch of files, but something happened now when certain files will no longer show with syntax highlighted. They have the proper .php extension, code completion works, but syntax highlight is gone. And what ever I do, I cannot get the syntax highlight back on these files.

Has anybody else encountered this problem and know how to fix it?

I've tried renaming the file, reinstalling Zend Studio and recreating the project. None of works. These files just will no longer syntax highlight. They did at one time .. then somebody buggered in Zend Studio and they hadn't highlighted since.

I should also add, double clicking them opens the file in a background tab. Meaning, it doesn't pop the file in focus like it does other php files that correctly highlight within the same project.




View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread
Zend Studio 5.1
Has anyone tried zend studio 5.1 standard or 5.1 professional? If so
would you recommend me buying it? yes? no? why? Please I will greatly
appreciate all of the feedback possible.

Zend Studio
I'm trying to figure out a problem with the zend studio 2.6 debugger. When I type ldap_connect(), I get an autocomplete dialog which tells me that this function is built in and recognized. But, when I debug the script I get a fatal error saying that I've made a call to an undefined function, ldap_connect().

My first thought was that there may be a version inconsistency between the editor and the debugger, but that shouldn't matter even if they're was because ldap_connect has been around since php 3, no?

Zend Studio
does anyone knows how to define a site in zend studio the same way you would in dreamweaver?

Zend Studio + MySQL
I am looking at Zend Studio, and I have a question. I've read the docs and everything and noticed that the server components install APACHE if you do not already have it installed.
My point of confusion is with mySQL.

Is the MySQL database Server also installed with ZendStudio if I purchase it, or is it a seperate download or purchase that I must play around with.

Tools : Zend Studio
I was wondering if this is a tool that professional programmers use to aid them in working quickly or what are some of the standard tools if there are any ?

At the moment I'm using a plain text editor. For the most part I just comment the hell out of my work so that I can easily find the sections I need to adjust. Then I usually get rid of most of my comments on the final version.

Another quick question:
what do they mean when they say "documenting your code"?
Is this like keeping a log of code adjustments?

And one final question:
How would you justify using PHP over Java in a concise way?
So far I'm thinking about this: simpler code. No compiler necessary for PHP. No Java Servlet Development Kit necessary. No need to restart the server process each time you recompile your code for the changes to take effect.

To sum it up: PHP is a lighter dynamic code that will save time (and money). (and in the future PHP 5 will feature more Java-like functionality).

Zend Studio, Server & Auto_prepend_files
I've just given Zend Studio a try together with Zend Server, but I am unable to make use of the
"auto_prepend_file".

Newbie Zend Studio And Extensions
Trying to use Zend Studio 3.5.2 on WinXP, have run into problems.

How do you add extension in this environment? Added soap by putting it
where it wanted it (c:/php5/*.dll). The various php.ini files have no
effect for setting extension dir.

Now it is complaining about my_sql not being there when clearly it is.

Was making excellent progress with XAMPP and Dreamweaver. But hit
brick wall with this product.

Include_path Error, Dbg With Zend Studio
I'm a little confused, I have test apps, using Pear DB.php but in my
application, and debugging through Zend studio, I have some Database
updates obviously working and then I get a Fatal Error.
Apparently, it cannot find DB.php and shows include_path as:
".;C:PHP5"

On my Windows XP system, I've got php installed at C:php
and any php.ini or apache conf files reflect this accurately.
My phpinfo() also correctly shows include_path as:
".;C:PHPpear"

Even stranger, is why I'd get some updates to work initially, then it
hiccups.

Zend Studio 3.5.2 And File Corruption With FTP?
I'm using Zend Studio 3.5.2 on a Win2000 machine to develop PHP code on
a RedHat Enterprise Linux server and I'm using Secure FTP to move the
files back and forth between the server and Zend Studios edit buffer.
This works fine and hasn't been a problem. However, last week the PHP
files I was working on were corrupted and turned into 512 byte long
files that contained nothing but a single low ascii control code
repeated 512 times. Someone suggested to me this could be a problem
caused by FTP. Has anyone else had this proble or experienced anything
like this? Has anyone got any insight on this?

Zend Studio Calling Something Valid A Bug...or IS It A Bug?
I have lines of code that look like this:

while ($row2sx = mysql_fetch_array($result2sx)) {

Now that's the way I've always learned to create an array from a mySQL
querey.

I just started trying the Zend Studio (and to be honest, except for the
debugger I'm seeing that it has less features than EditPlus.)
And the debugger calls all my WHERE() functions bugged because I'm
using one = instead of two as in ==.

a) Is there a better way of formatting a mysql_fetch_array, or
b) Is there a way to tell Zend Studio that hey, that's a-ok code?
(I haven't been able to find an option to allow that.)

While on the subject, I'll have includes like this:
include_once("includes/connect.php");
which will have in it lines that establish variables like:
$dbh=mysql_connect ("localhost", "username", "password") or die ('I
cannot connect to the database because: ' . mysql_error());

but in the main page it will say $dbh in the line:
$result_home_feature = @mysql_query($sql_home_feature, $dbh);
is an error because $dbh is being used before it's defined.
Yet, in the little Studio file list of included files it shows the
connect.php file that establishes what $dbh is.

Is there something that needs to be set that I can't find for it to
recognize its...set-ness?

Zend Studio 4.0: Issues With PostgreSQL 8.0?
I can connect to my Pg database through ZS just fine. It
lists all the databases, all the schemas, and quite a few items under
each schema. Unfortunately, all of *those* items are empty when I know
that, at the very least, the "Table" item shouldn't be.
I'm also getting the following error when trying to test queries
within ZS: 'PostgreSQL (localhost) --> ERROR: relation "tablename" does
not exist'. However, the same query will work perfectly when executed
through PHP.

I'm currently using Windows XP. Is there something I'm missing, or
does Zend Studio 4.0 not properly support PostgreSQL 8.0?

Zend Studio Freezes My Computer
I have Windows XP - I thought that might be relevant. Oh also, thought I should just include it here - PHP 4.1 have session problems? Because I downloaded 4.3.x and I no longer have problems with the code that did not work with version 4.1.

PHP Zend (studio) Does It Make Sense To Purchase?
I'm looking for some feedback on Zend Studio (professional). I'm
considering a license and was wondering what other PHP developers
experience was. I am not related to Zend or any other organization; I
truly am looking for honest feedback of users.

I usually build basic news sites, some web services, simple stuff by
far. I'm not a big fan of Dreamweaver (homesite is where I've lived for
some time). I use Dreamweaver mostly for the built-in FTP, but that's
about the only feature I use from that software (I don't use the server
behaviors, snippits, etc).

Any compelling reason to purchase a license to Zend Studio?

Zend Studio (debug Feature) 5.5 And XAMPP
I've install XAMPP for php,mysql. I use Zend Studio for writing
php,mysql

codes. I know Zend Studio 5.5 has debug feature for php codes. How can
i use

the debug feature of zend studio with XAMPP server. I tried to use
debug

feature but it say "could not conecct to http://localhost/dummy.php..
Do i have to change some setting in php.ini.

Zend Studio 3.5.2 Possibly Deleting Files?
At work I'm using Zend Studio 3.5.2 to develop PHP files on my Win2K
desktop machine. I've got Zend Studio setup with a secure FTP (SFTP)
connection to a RedHat Enterprise Linux machine. The files I'm editing
'live' on a Solaris machine and the linux machine mounts them through
NFS. I actually access the files through a symbolic link to the mount
point on the linux box. A little complicated I know, but it does work.

I've been having a random problem lately. Every once in awhile (every
couple of weeks) when I'm in Zend Studio and have a few (not all) php
files open, all the files in the directory where I'm working get
corrupted. They all get turned to a file of nothing but nulls (zeros)
and the files are exactly 512 bytes long. This concerns me because it
seems to only happen to me even though other people work on PHP files
in other directories. The difference is that I'm the only one who uses
Zend Studio regularly. I can't see how that would be a problem since
the connection to the files is through SFTP and is essentially
stateless and connectionless. Has anyone else seen this problem or have
any insight about what might be going on?

[Q] Installing Zend Studio Server 3.0 On MacOS X
I am attempting to install the Zend Studio Server on a normal
installation of MacOS X 10.2.8.

I have downloaded ZendStudioServer-3.0.0a-Darwin-ppc (evaluation copy)
and have gotten part way through the install script.

The problem appears to be with installing php 4.3.2. MacOS X only comes
with php 4.1.2.

When it asked for my apache config directory, I entered:

/etc/httpd

After it apparently tries to install php 4.3.2, I get the following
error message:

x Zend Studio Server installation was NOT completed successfully. x
x x
x Broken Apache configuration: The needed directory: x
x /etc/libexec/httpd x
x where Apache modules should be placed could not be found. x
x The installation cannot proceed. x
x x
x x
x For further assistance, please contact Zend Support at x
x http://www.zend.com/support/


One more question...I assume I will be able to make full use of this
from a non-admin account...

Zend Dev Studio And Includes, And HTML Tools
Two questions actually, I hope I can get some advice from people who've
used Zend Development Studio 4.

1. When I "analyze code", any variable that was defined in an included
file and then used later in the page being analyzed, I get an error
that the variable hasn't been defined.
Is there a way to have Zend dip into the includes and check for
variables in there?
Or, is there a proper procedure for redefining variables on a page that
were created in an included page?

2. Are there any add-ons or plug-ins that provide more advanced HTML
and/or CSS usage tools? Like quick buttons that can insert TABLE tags
and IMG tags, etc? I currently use EditPlus in Windows and Quanta in
Linux, and both have great HTML and CSS quick buttons.
I really want to use Zend for the whole thing, as I really wouldn't
want to switch between applications constantly.

Updating Zend Studio Client To Use Snapped PHP5
Has anyone/does anyone know how to go about upgrading the internal version of PHP that Zend Studio Client uses for debug, etc. Just got last night's snap of 5.0 installed but ZDE's being all screwy and not doing syntax highlighting/auto complete.

Visual Studio.NET And PHP
Does anyone have an idea how to integrate PHP into Visual Studio .NET 2003

Zend
This has probably been asked before so apologies for that. I'm using
Dreamweaver for PHP and have been for nearly a year. I've done some
stuff that I'm very happy with but I'm getting to the stage where it
doesn't go far enough. I want something that will still automate a lot
of what I do rather than having to hand code 100%.

Zend Php
Anyone experience with Zend ? Is it worth to start investigation ?

What Id ZEND?
What is ZEND. Why it has anything to do with programming PHP?

About Zend PHP Certification
I am using PHP from last 1.5 years. Now I want to do PHP Certification.I need help for that. Please sugest me how I prepare for it. If you have any related study material then please send it to me.

Zend Certification.
Can  anybody send me any ebooks or study guide regarding Zend certification.

PHP And Zend Optimization
We are running the web host comparison speed project where web hosts are ranked on their speed.

One of the tests we use is a 100kb PHP file that is uploaded to the servers of the competing web hosts. The script calculates the time it takes to load the file.

We are encountering very fast results on web hosts that have optimized their servers with Zend.

Can anyone give me advice wether these speed results (that are 100 to 1000-fold faster than average) are accurate page load results? Do these results reflect the real page load time or does Zend just calculate and report the time it takes to execute the script?

PHP And Zend Optimizer
I keep hearing about this Zend Optimizer and stuff. I understand that it makes the PHP code run faster. My question is is Zend built into PHP 4 or is it a separate application to make it run faster? So, if I wanted to follow the instructions on how to setup the PHP/mySQL/Apache/SSL server, Zend would have to be done after everything else was set up. Correct?

Zend Support Is Really Bad.
just wanted to share my experiences with Zend "the php
company".
I decided to do the test drive of the Enterprise grade developer
studio.
Big mistake![color=blue]
>From day one I had nothing but problems.[/color]
After realizing that something terrible had happened to my webserver
during the install process, I figured WTF maybe I did something wrong.

I wiped my hard drive and started again, this time using the
Apache/MySQL/PHP that comes with it, rather than pointing it to my own.

Same result, but this time I realized the installer had fubared some
scripts and locations. It also missed a few permissions that it should
have set.

I tracked them down, repointed some scripts to the right sockets, and I
was off.
At that point I decided to install the Developer Studio Client on my
workstation.

That thing just crapped out saying it couldn't find some libraries.

So I created a support ticket to ask what I should do.
They kindly pointed me to an obscure knowledge base article, that
didn't appear when searching ANY of the keyword errors.

This article told me, that I needed to hexedit the installer, then
after it installed I had to hexedit the ZDE binary!

What the hell kind of installer requires you to hexedit it, before it
can work?
Furthermore the article claimed the binary was in a place that didn't
exist, so I had to updatedb and do a search on the filename, cross my
fingers and hope against hope I had picked the right one.

Fortunately I did.

After I installed the client, I decided to double check developer
studio server, and make sure everything was going fine.
Thats when I ran into this error.

"ini_modifier error: ini_modifier was not set"

It was the sole content on EVERY page!

I created a new support ticket asking what it meant.
They emailed me asking me to send them a file generated by thier
troubleshooting utility. So I ran the utility, and sent them the file.
Another day passes by, this time they ask for access to the server.
I give them the access they request and the password.

It's now been a week. I have updated the ticket daily asking if
anything has been done. They are completely silent.

Tonight I decided I had enough, told them thanks for showing me what it
must be like to be a real paying customer, and asked them to close the
ticket. I'll watch and wait and see how long it is until they get back
with me, or close the ticket.

And to add insult to injury, when I emailed my sales person who said in
his initial email to me, that he would be happy to answer any questions
I may have, etc and so forth. I got my message back in seconds,
stating that the email address was incorrect, the email was sent to
mark@zend.com same as the letter was sent from, same as he said was
his email! He's supposed to be the Director of Inside Sales, but it
appears in the 5 days I took to evaluate the product he has been fired,
or re-assigned or something.

Ok well I'm not out anything but a lot of my time, however I just
wanted to warn any developers considering Zend products, that they
didn't care about me when I was supposed to be evaluating the
enterprise grade product.

PHP5 And Zend
I have a little problem with debugging php application with Zend
Configuration:
WAMP5 (PHP5, Apache, MySQL)
Zend 3.5.2 (Debug Internal)

When debug Zend return this error:

Debug Error: C:wampwwwmybarphputils.inc.php line 42 - Call to undefined
function mysql_pconnect()

but in localhost connection works fine.

I know that is a php.ini ( of Zend ) configuration problem, but I don't know
how configure it.

PDT Zend Debugger
I am new to php. i have installed the PDT all in one package and then
i installed the zend debugger plugin for PDT. Every thing is running
fine and i am able to debug the single php page using zend debugger.
However, i want to know how i can configure it to debug the whole
project. I mean i need to debug all files at one time not single file....

Zend Optimizer
I just took over a project from another web developer who left 'under less than ideal circumstances'. Unforunately, all of his code was encrypted with Zend Optimizer and he took or erased all of the original code.

What I am wondering is if anyone out there knows of a way to de-encrypt this code.

Zend Framework
Could you please explain what is Zend framework? I am using php from last 2 years. How is it helpful to me?

Zend 4.0 And Mysqli
Im using Zend 4.0 IDE with PHP5 and I get this error

cannot find class mysqli. Any reason for this, im using the latest php
5.0.3.

About Zend Optimizer
is zend optimizer any good?

Can Zend Be Turned Off?
Is there a way to turn off the zend code that comes with php so that I
can see if some errors we are getting are coming from there?

I can't find anything in install docs or in php.ini

Zend PHP Certification
Just curious, is anyone got a Zend PHP certification. Any
opinion/comments about this certification? I tried
<http://vue.com/zend/>,

Problems With ZEND And DLL And C++
I´m not sure if this is the right group...
.... if not, please tell me the right one.

Ich compile a DLL with VC6 with the switch /Tc.
So the DLL compiles as a C DLL.
This works.
But I need a class in my DLL.
When I compile without the switch, it compiles, but PHP says me, that that
is not a valid PHP DLL.
Is there an example how to compile a PHP C++ DLL?
Or can anybody give me a hint?

Regarding Zend Framework
I want to know more about zend framework.I don't know where to start with.I have downloaded zend framework .And i have gone through the some functions but i haven't got a good idea of it.

Zend Issues
does anyone know of a way to decrypt zend files? it just comes up blank when i try to open it because its encrypted. and without decrypting it i can't fix the file.

Zend.ze1_compatibility_mode
We have old (pre 4.1) php code that we would like to migrate to a Linux server that is running Php 5.1.6.

Do I need to set register_globals on, for the zend.ze1_compatibility_mode directive to allow the old code to run on the new server? We don't want to set register_globals on.

Encode PHP With Out Zend Or Ion?
Im trying to think of a way to encode php with out using zend encoder. Say ya dont have the money to buy zend encoder. Base 64 isnt good enough people can just echo out the decode and then change what they need recode it than use the new output to decode. So how could you really go about this?

Zend PHP Certification - Is It Valuable?
Zend PHP Certification is valuable one, If I am going to attend for PHP developer job , will Zend PHP Certification valuable? May I do Zend PHP Certification?

Zend Optimizer Encoding
I'm currently running into problems with Zend Optimized PHP code; or
more clear, a partner of mine asked me to adapt a script he bought which
is encoded this way.

Does anyone know if this can be done, or if there are any projects
trying to develop a free decoder/decompiler?

I know this might be a bit off-topic here, but I couldn't find a list
that seemed to fit better to me.

Alternatives To The Zend Encoder..
Are there any alternatives to the zend encoder?

Zend Framework & Calendars
I'm trying to embebe an event calendar on my website but I'm usign
Zend Framework and I don't know how to do it. It seems like Zend
Framework doesn't accept third party tools. I don't know if it's like
this. I need someone who has done something similar with Zend
Framework. I'm turning crazy!!

Problem With Zend Optimizer
I have installed php 4.3.3 and Zend Optimizer2.1.0b on debian woody.
I added to my php.ini lines:
zend_optimizer.optimization_level=7
zend_extension="/usr/local/Zend/lib/ZendOptimizer.so" (there is library for
php 4.3.x)
but phpinf() still don't display "with Zend Optimizer ..." info
What is the problem? Anyone has a sugestion?

Zend Engine Api 120020429
Which PHP version has Zend Engine API 20020429 ?
Installing the Zend Server/Debugger gives an error, complaining it is
confronted with a ZE API that is too new (20021010). It needs
20020429...

I have PHP 4.3.4 installed, but apparently need to down-grade

or maybe I need a newer Zend Server...

Zend Eclipse + Subversion
I am working on a project maintained in Subversion (SVN) and using Zend Eclipse. How do you have a zend project that works with subversion within the Eclipse framework?

Zend Framework View & Viewhelper
I have seen the view helper in the Zend Framework. Does anyone know if
there is any kind of plan to bring in bring in HTML_QuickForm like
validation into the Zend Framework? The view helper is currently
capable of generating form elements like quickform.

Handling GET Parameters In New Zend Framework 0.9.1
It seems that I'm not getting any values out of GET and POST methods.
Everything was working properly on previous versions.

Do you know how to get GET (or POST ) values?

I'm using this type of URL

http://localhost/controller/action/id/1

I tried directly to $_GET array, but I'm getting nothing. I tried to
use Zend_Controller_Request_Http class, but no luck.


Copyright © 2005-08 www.BigResource.com, All rights reserved