php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #35401 in php 5 when there are function errors it does not give a correct link
Submitted: 2005-11-26 03:32 UTC Modified: 2005-11-26 10:04 UTC
From: itunes66 at gmail dot com Assigned:
Status: Not a bug Package: Unknown/Other Function
PHP Version: 5.1.0 OS: linux
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: itunes66 at gmail dot com
New email:
PHP Version: OS:

 

 [2005-11-26 03:32 UTC] itunes66 at gmail dot com
Description:
------------
in php 5 when there are function errors it does not give a 
correct link like if a mysql has to many connections it will 
say something simalar to this: Warning: mysql_connect() 
[function.mysql-connect]: Too many connections in path/to/
database/connection/file on line #
and where it says [function.mysql-connect] it gives a link but 
it does not point to the php.net function it justs adds 
function.mysql-pconnect to the url e.g. if the domain was 
http://www.example.com it would point to http://
www.example.com/function.mysql-connect and not http://
www.php.net/function.mysql-pconnect

Reproduce code:
---------------
<?php mysql_connect(); ?>

Expected result:
----------------
it would give a mysql connection but if the server has to many 
connections it would do what i said above

Actual result:
--------------
Warning: mysql_connect() [function.mysql-connect]: Too many 
connections in path/to/database/connection/file on line #

it happens with al; other functions to

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-11-26 10:04 UTC] tony2001@php.net
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to report
a bug at http://bugs.php.net/how-to-report.php

Use docref_root to change that:
http://www.php.net/manual/en/ref.errorfunc.php#ini.docref-root
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Wed Oct 07 03:00:01 2026 UTC