catalyst2 community forums  

Go Back   catalyst2 community forums > Support > Other Support Queries

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old 31-03-2006, 12:28 AM   #1 (permalink)
Registered User
 
adam's Avatar
 
Join Date: Jan 2003
Location: UK
Posts: 181
I am not getting errors in php...

and now its getting frustrating.

If I try to use the following code I should get an error message telling me I messed up around Matt
PHP Code:
<?php
$first_name 
"Matt';
    print "
Welcome$first_name";
?>
However, all I get is nothing.

phpinfo() tells me that display_errors = on

I've tried adding error_reporting(E_ALL);

which don't know will make any difference but it doesn't seem to.

on a side note phpinfo() says that the include_path = .;c:\php4\pear I don't if this is correct either way I can't seem to get PEAR working either.

So how do I get my errors?
adam is offline   Reply With Quote
Old 31-03-2006, 12:51 AM   #2 (permalink)
Registered User
 
adam's Avatar
 
Join Date: Jan 2003
Location: UK
Posts: 181
ok that error problem fixed

adding line in php will change the setting from 1 to 2039 to show all errors:
ini_set('error_reporting', "2039");

Now the PEAR problem

at the moment the moment the include path to pear is appears to be incorrect. At the moment it says .;c:\php4\pear when I guess it should say d:\php4\pear or something.

The error I get at the moment is:
Fatal error: main(): Failed opening required 'DB.php' (include_path='.;c:\php4\pear') in d:\domains\macrodemon.com\wwwroot\test.php on line 9

So I guess that means either PEAR is located in another folder or it has not been installed with PHP.

http://www.macrodemon.com/test.php
__________________
ASP.net is the reason why I am learning PHP

Last edited by adam; 31-03-2006 at 01:22 AM.
adam is offline   Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 06:21 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.