× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Sean, I will try for 3 out of 3:

Don't you find the error message a bit suspicious?

*Unable to connect to server: myservername*

Do you have a server called "myservername?"

Alan



On 10/29/12 10:14 AM, Porterfield, Sean wrote:
Looks like you're 2/2.

Not authorized to object. Object is /etc/zce.rc.

/usr/local/ZendSvr/etc is configured as *PUBLIC *EXCLUDE. I changed that, so I can read the file.

Now I get:
PHP Warning: mssql_connect(): Unable to connect to server: myservername in myscript.php on line 10

Did mssql_connect() change as well?

I'm on my backup system, so I can't be sure it worked before, as I only ran it on the production system. I just tried running it in Zend Core on the backup system, but I got an error about undefined function ldap_connect() on line 3 which probably isn't worth troubleshooting.

I do see in the production Zend Core php.ini:
extension=mssql.so

Adding that to the zendsvr php.ini didn't help.

Sean Porterfield
Sr. Systems and Network Engineer
Beacon Roofing Supply
919-739-8126


From: Alan Seiden
Sent: Friday, October 26, 2012 16:27
To: Web Enabling the AS400 / iSeries
Cc: Porterfield, Sean
Subject: Re: [WEB400] Zend and V7R1

Sean,

Could be a permissions issue with the user profile you are using. See this forum posting:
http://forums.zend.com/viewtopic.php?f=77&t=8819

I'll jump right to the punch line:

"/etc/zce.rc is a symbolic link to /usr/local/zendsvr/etc/zce.rc.

Therefore, you must set permissions on the /usr/local/zendsvr/etc folder as well."

Alan
On 10/26/12 1:08 PM, Porterfield, Sean wrote:

/usr/local/zendsvr/bin/php-cli myscript.php

/etc/zce.rc doesn't exist!

--

Sean Porterfield


________________________________
This email is confidential, intended only for the named recipient(s) above and may contain information that is privileged. If you have received this message in error or are not the named recipient(s), please notify the sender immediately and delete this email message from your computer as any and all unauthorized distribution or use of this message is strictly prohibited. Thank you.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.