/    Sign up×
Community /Pin to ProfileBookmark

On my old server system it used to tell me what the error was, and now it doesnt can sombody help me in finding the problem. i have included my php.ini file un edited

Thanks ?

[upl-file uuid=a229097c-589d-4562-89b6-d189538c9684 size=42kB]php.ini.txt[/upl-file]

to post a comment
PHP

5 Comments(s)

Copy linkTweet thisAlerts:
@NogDogOct 11.2005 — This is your current setting, as per the commment:
<i>
</i>; - Show all errors, except for notices
;
error_reporting = E_ALL &amp; ~E_NOTICE

If you want everything to be reported, delete the "& ~E_NOTICE" portion. If you are running PHP 5.x and want even more stuff reported, set it to "E_STRICT" instead of "E_ALL".

Or, if you don't want to mess with the php.ini settings, you can do it on a per script basis using the [url=http://www.php.net/error_reporting]error_reporting() function[/url].
Copy linkTweet thisAlerts:
@spinnyscripterauthorOct 12.2005 — Nope didn't work,

PHP Script with verry simple to sopt error

[code=php]<?php
echo test
echo test3;
?>
[/code]


The HTML of the page in the browser

[code=html]<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=windows-1252"></HEAD>
<BODY></BODY></HTML>
[/code]


screensho attatched

apache was restarted

i can also add my hosts file and my httpd.conf file if you want

[upl-file uuid=48299344-4161-45ba-aa68-1a2ac5e62fca size=16kB]error.GIF[/upl-file]
Copy linkTweet thisAlerts:
@spinnyscripterauthorOct 12.2005 — Apache/2.0.54 (Win32) mod_jk2/2.0.4 PHP/5.0.5
Copy linkTweet thisAlerts:
@SpectreReturnsOct 12.2005 — I love the typo in your signature.
Copy linkTweet thisAlerts:
@spinnyscripterauthorOct 13.2005 — thanks, SpectreReturns

UPDATE:

i have sorted this problem, it turned out that i also had a php.ini file in the root of my PHP files and renaming this to php.ini-old has stoped them not comming up.
×

Success!

Help @spinnyscripter spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.19,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...