Common Error Messages (and fixes)
Once you produce an error message you can begin to diagnose your particular problem. Generally you can ignore any 'Notice' or 'Warning' that you see. Be on the lookout for 'Fatal Error' as this is the most important one.
If you have been unable to produce an error message, proceed to section "C: Possible Fixes" and you can try some of the suggestions there.
Following is a list of error messages that you might see, along with steps you can take to remedy the problem. (Please feel free to add to this list, or correct the message so it more accurately reflects what PHP says.)
1. "Failed opening required..." or "Undefined function..."
This most likely indicates that a required file could not be loaded. First check if the file is there and in the correct location; if it is, then check the permissions of the file to make sure the webserver can READ it. It is also possible that the file is corrupted, or that your FTP program changed file/directory names. Check your FTP program settings (make sure you "preserve directory structure", and do NOT "force lowercase", etc...) and try again installing/uploading the files again.
2. "Call to a member of a non-object"
Very frequently this is caused by failure to connect to the database. If you get this error occurring near line 286 in kernel/configitem.php, then the database is to blame. Check your database settings in mainfile.php, and also make sure you have setup mysql permissions correctly, and that the database is actually running. In particular, try and access the database directly - if possible using the same user/password that you specified in the Xoops installation. Note that after you change permissions for users within mysql, you must perform "flush privileges" and/or restart your database server before the new settings will be applied.
This error can be caused by other problems as well. If you know PHP, check that file and line number and see which object is the culprit. e.g. If you see "$xoopsDB->query('blah');" on that line, then $xoopsDB is not an object, indicating the the database was not successfully connected. You may have to do a little digging to solve these problems.
3. "Cannot redeclare class ..."
The most frequent cause of this error is the installation of non-standard modules. Some modules are still in very early stages and have not been fully adapted to xoops 2 or have not been properly tested with xoops 2 and with other modules. Probably the module author has used "include" where she/he should have used "include_once". Usually the file identified in the error message will indicate which module is at fault. This module can then be deactivated.
* Or you can go to the line # specified and change the line from include('yourfile'); to include_once('yourfile'); - ackbarr
2006-09-26 06:21:38
·
answer #1
·
answered by god knows and sees else Yahoo 6
·
0⤊
0⤋
There are not any clean solutions. I were in situations the position I prayed very problematic for an effect I said as needed, perfect and optimal for all. I from time to time do not get what I pray for. i ask your self if we are like toddlers to God. we favor what we favor yet we received't see the "vast" image from His attitude. type of like a baby throwing a tantrum at the same time as they could't have as a lot ice cream as they prefer. the youngster thinks we are evil for depriving them. at the same time as they mature, they comprehend. perchance sometime we are able to comprehend that no longer each little thing we choose is sturdy for us. i do not understand. no one does. I only imagine of Proverbs 3, 5 and six. trust contained in the Lord with all of your coronary heart and lean no longer on your own understanding. In all of your techniques renowned him and he will direct your paths. i'm commonly annoyed because i do not understand God's will, yet I do pray to understand it and do it. you could get out of this worry or your on line business would flow down. both way, search for God's will for you and your household. i will wish for you.
2016-11-24 20:28:56
·
answer #2
·
answered by Erika 4
·
0⤊
0⤋
there are thousands of symptoms, hundreds of problems and lacs of remedy.
which one you need.
ask the question on specific problem.
2006-09-26 06:30:22
·
answer #3
·
answered by Neo 2
·
0⤊
0⤋