To ZAP: As far I understand, MODx error log is the table ’modx_event_log’, am I right? if yes, then it contains nothing special, just a warning about "Writable config file". And during all my experiments i didn’t see any new record in this table.
And Apache logs didn’t show any abnormal behavior...
I didn’t try to update WayFinder... Actually, I’m not sure that it’s involved in this mess. But when I do this, I’ll let you know about results.
To OpenGeek: I reinslall MODx from scratch every time I need it. i.e. I drop all tables in MODx database and remove all files from MODx folder. And, of course, there’s no template switcher plugin in Resources->Plugins.
I tried to find out, what’s the reason of error on line 1296. I modified the code this way:
$sql= "INSERT INTO " . $this->getFullTableName("event_log") . "(eventid,type,createdon,source,description,user) " .
"VALUES($evtid,$type," . time() . ",'$source','$msg','" . $this->getLoginUserID() . "')";
print_r($sql);die(); // <--- breakpoint 1.
$ds= $this->dbQuery($sql);
print_r("done... ". $sql ); die(); // <--- breakpoint 2
When I run the site, i received result immediately (on breakpoint 1). It shows SQL query:
[tt]INSERT INTO `modx`.modx_event_log(eventid,type,createdon,source,description,user) VALUES(0,3,1169847249,’Parser’,’..... error message (HTML) ...... ’,’’)[/tt]
Error message has following information:
[tt]PHP error debug
Error: include_once(assets/modules/quick_edit/output.class.inc.php) [function.include-once]: failed to open stream: No such file or directory
Error type/ Nr.: Warning - 2
File: Z:\\home\\localhost\\www\\lyrics\\MODx\\manager\\includes\\document.parser.class.inc.php(724) : eval()\’d code
Line: 70[/tt]
I should say that I don’t have any MODx file missing.
When I removed breakpoint 1 and then run the site I received those error of 30 secs limit. Breakpont 2 was not executed. And i don’t understand why in sql request "user" column is empty, because in the table it’s defined with NOT NULL parameter.
Maybe I step wrong way, but I think that any problem should be solved.
If I get success with running MODx using XAMPP, I’ll let u know.
And thank u for your help)