This is a discussion on Common PHP errors to identify within the PHP Programming forums, part of the Web Development category; * Parse error: parse error in xxxx - This error message refers to an error in the PHP syntax. You probably forgot ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
| |||
| * Parse error: parse error in xxxx - This error message refers to an error in the PHP syntax. You probably forgot to end a line with ; or you have too many brackets opened or closed ({). * Fatal error: Call to unsupported/undefined function ... in xxxx - This error means that the function your script was going to use isn't defined in the current PHP version with modules, or if you're using user-defined functions that your function hasn't been defined yet (this is usually caused if you forgot to include the function definition). * Warning: Wrong parameter ... for ... in xxxx on line 8 - you have handed over too many (or the wrong) parameters to the function. If it's a built-in php-function, check the manual; to see if it's a user-defined function, then recheck your code. * Warning: Cannot add header information - header was already sent ... in xxxx - you had some text output first (e.g. the doctype declaration or <html>) and called the function header() afterwards. This is most often the case when using cookie stuff. Remember you can not use header() twice! * Parse error: parser stack overflow in xxxx - PHP is out of memory - this usually happens if you built an eternal loop, especially when using include statements. * Warning: fopen("file.txt","r+") - No such file or directory - the requested file or directory doesn't exist. Check the spelling (accuracy counts here). * SAFE MODE Restriction in effect. The script whose uid is 531 is not allowed to access... - The safe mode is switched on. Some functions in the upload systems can't be used. Usually your webhost has put safe mode in place (often not correctly configured). Try switching silly_safe_mode on. xxxx - denotes PHP file path e.g C:\Apache\htdocs\index.php
__________________ With, J. Jeyaseelan Everything Possible |
| Sponsored Links |
| |||
|
__________________ S.VinothkumaR Behind me is infinite power, Before me is Endless Possibility, Around me is Boundless Opportunity, Why should I fear! |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| TFS Errors | arjkhanna | Server Management | 46 | 09-29-2008 06:01 AM |
| What are the different types of errors in php? | sundarraja | PHP Programming | 6 | 01-29-2008 05:36 PM |
| Oracle Errors | kingmaker | Database Support | 21 | 11-14-2007 02:33 AM |
| Classification of Errors by Severity | vadivelanvaidyanathan | Software Testing | 0 | 04-02-2007 03:24 AM |
| Most common software errors | vadivelanvaidyanathan | Software Testing | 0 | 03-23-2007 01:20 AM |