|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
Generate data entry and reporting .NET Web apps in minutes, straight from your database. Read our FREE whitepaper “Build Web 2.0 Applications Without Hand-Coding” Download now! |
|
#1
|
|||
|
|||
|
Article Discussion: Making Sense Of PHP Errors
Making Sense Of PHP Errors Have you had bad experiences with PHP errors that made you scratch your head? Share your experiences with fellow devArticler's in this forum thread.
You can read the article here . |
|
#2
|
|||
|
|||
|
Quote:
I had this problem and it drove me mad for a whole afternoon because none of my friends could understand why it was going wrong. I ended up reading all about sessions on the php.net site and I found the answer from one of the users comments. The reason this error appears is because it's trying to save session data to a folder on a server which doesn't exist. You can either create the folder which it's trying to find (c:\tmp) or use the method below: Locate your php.ini file in your... c:\windows ...directory. Find the line which says... session.save_path = c:\tmp ...and change it to your windows temp folder. My line now looks like this... session.save_path = c:\windows\temp I hope this helps fellow php beginners as I had to look high and low for the solution as it doesn't seem to be documented anywhere else. ![]() |
|
#3
|
|||
|
|||
|
Illegal offset type
Illegal offset type
What causes this error? $result = array(array("")); while ($row = mysql_fetch_row($res)) { $x = end($result); for($i=0;$i<count($row);$i++) $result[$x][$i] = $row[$i]; } This is the offending code ![]() |
![]() |
| Viewing: Dev Articles Community Forums > Programming > Programming Tools > Article Discussion: Making Sense Of PHP Errors |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|