CB Plugins cause white screen on Edit Profile page

13 years 1 week ago - 13 years 1 week ago #157805 by baparks
"17 Mar 2011 16:37:49","/homepages/20/d342553974/htdocs/ncbwoc/libraries/joomla/session/storage/database.php:
84","() Non-static method JFactory::getDBO() should not be called statically, assuming $this from incompatible context"
"17 Mar 2011 16:40:44","/homepages/20/d342553974/htdocs/ncbwoc/libraries/joomla/session/storage/database.php:
84","() Non-static method JFactory::getDBO() should not be called statically, assuming $this from incompatible context"
"17 Mar 2011 16:43:20","/homepages/20/d342553974/htdocs/ncbwoc/libraries/joomla/session/storage/database.php:
84","() Non-static method JFactory::getDBO() should not be called statically, assuming $this from incompatible context"

Does the above make sense?

Please Log in to join the conversation.

13 years 1 week ago #157813 by baparks
I created an errorlog.php file with the following code:


error_reporting(0);
$old_error_handler = set_error_handler("userErrorHandler");

function userErrorHandler ($errno, $errmsg, $filename, $linenum, $vars)
{
$time=date("d M Y H:i:s");
// Get the error type from the error number
$errortype = array (1 => "Error",
2 => "Warning",
4 => "Parsing Error",
8 => "Notice",
16 => "Core Error",
32 => "Core Warning",
64 => "Compile Error",
128 => "Compile Warning",
256 => "User Error",
512 => "User Warning",
1024 => "User Notice");
$errlevel=$errortype[$errno];

//Write error to log file (CSV format)
$errfile=fopen("errors.csv","a");
fputs($errfile,"\"$time\",\"$filename:
$linenum\",\"($errlevel) $errmsg\"\r\n");
fclose($errfile);

if($errno!=2 && $errno!=8) {
//Terminate script if fatal error
die("A fatal error has occurred. Script execution has been aborted");
}
}

Based on an FAQ I found on my host.

I added it to the index2.php file using the following include:

include('errorlog.php');

but it did not produce an error.csv file

any suggestions?

Please Log in to join the conversation.

13 years 1 week ago #157822 by baparks
OK. So THAT didn't work.

Please Log in to join the conversation.

13 years 1 week ago #157823 by baparks
Attached you will find a current error log.

For anyone else who does NOT have access to their apache error logs please review the following link:
Create an error log.
Attachments:

Please Log in to join the conversation.

13 years 1 week ago #157907 by krileon
Your error log has no errors, just notices and warnings. Looks like you're running PHP in strict mode, Joomla is NOT PHP strict compliant (CB 1.4 is). Please disable strict mode via PHP.ini (or however your host prefers) if enabled or disable the offending CB plugin. Contact author for support if 3rd party, otherwise please let us know specifically which is causing the problem.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.210 seconds

Facebook Twitter LinkedIn