Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

Re: LongReadLen error in PHP: msg#00189

db.maxdb

Subject: Re: LongReadLen error in PHP

Am Dienstag, 21. Dezember 2004 03:09 schrieb Mark Newnham:
> Warning: maxdb_fetch_array(): Column/Parameter 7
> truncated. Maybe LongTruncOk is not set and/or
> LongReadLen is too small

Try setting maxdb.long_readlen=<num_of_bytes_to_be_read> in your php.ini
config file. Note that maxdb.long_readlen = 0 does not mean "no limit" but
"don't read anything at all".

Check the output of phpinfo() or php -i for the location of the php.ini used
in your environment.

ini_set() does the trick for you, if you don't have access to the php.ini
file. Try to place ini_set() calls in auto_prepend files, so that they can
take effects for all scripts of your application.

Note that you may need to restart your PHP interpreter to make changes
becoming active. If you are using an Apache PHP module, then you should
restart the Apache.

On Unix you have another option to make the Apache (your PHP interpreter
loaded into it) reread it's config if it runs a process based client model.
Send the session leader process a SIGUP signal (hang-up). Similar to most
deamon processes this makes all processes reread their config files.

Regards,
Nixnutz

--
MaxDB Discussion Mailing List
For list archives: http://lists.mysql.com/maxdb
To unsubscribe: http://lists.mysql.com/maxdb?unsub=gcdm-maxdb@xxxxxxxxxxx




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe

Navigation

Home | advertise | OSDir is an inevitable website. super tiny logo