$this->Lang() crashes apache

Talk about writing modules and plugins for CMS Made Simple, or about specific core functionality. This board is for PHP programmers that are contributing to CMSMS not for site developers
Post Reply
ignace
New Member
New Member
Posts: 5
Joined: Tue Dec 16, 2008 2:50 pm

$this->Lang() crashes apache

Post by ignace »

Hello i am trying to write my own module i have created the lang directory and the en_US.php file but when i try to call $this->Lang('key') then apache stops working, anyone who have experienced the same problem?
nuno

Re: $this->Lang() crashes apache

Post by nuno »

logs?
ignace
New Member
New Member
Posts: 5
Joined: Tue Dec 16, 2008 2:50 pm

Re: $this->Lang() crashes apache

Post by ignace »

[Tue Dec 16 15:59:29 2008] [notice] Apache/2.2.9 (Win32) DAV/2 mod_ssl/2.2.9 OpenSSL/0.9.8h mod_autoindex_color PHP/5.2.6 configured -- resuming normal operations
[Tue Dec 16 15:59:29 2008] [notice] Server built: Jun 14 2008 19:02:12
[Tue Dec 16 15:59:29 2008] [notice] Parent: Created child process 3632
[Tue Dec 16 15:59:31 2008] [notice] Child 3632: Child process is running
[Tue Dec 16 15:59:31 2008] [notice] Child 3632: Acquired the start mutex.
[Tue Dec 16 15:59:31 2008] [notice] Child 3632: Starting 250 worker threads.
[Tue Dec 16 15:59:31 2008] [notice] Child 3632: Starting thread to listen on port 80.
[Tue Dec 16 15:59:31 2008] [notice] Child 3632: Starting thread to listen on port 443.
[Tue Dec 16 16:00:31 2008] [notice] Parent: child process exited with status 3221225725 -- Restarting.
[Tue Dec 16 16:00:33 2008] [notice] Apache/2.2.9 (Win32) DAV/2 mod_ssl/2.2.9 OpenSSL/0.9.8h mod_autoindex_color PHP/5.2.6 configured -- resuming normal operations
[Tue Dec 16 16:00:33 2008] [notice] Server built: Jun 14 2008 19:02:12
[Tue Dec 16 16:00:33 2008] [notice] Parent: Created child process 4868
[Tue Dec 16 16:00:36 2008] [notice] Child 4868: Child process is running
[Tue Dec 16 16:00:36 2008] [notice] Child 4868: Acquired the start mutex.
[Tue Dec 16 16:00:36 2008] [notice] Child 4868: Starting 250 worker threads.
[Tue Dec 16 16:00:36 2008] [notice] Child 4868: Starting thread to listen on port 443.
[Tue Dec 16 16:00:36 2008] [notice] Child 4868: Starting thread to listen on port 80.
[Tue Dec 16 16:08:43 2008] [error] [client 127.0.0.1] File does not exist: D:/Webroot/favicon.ico
[Tue Dec 16 16:08:59 2008] [notice] Parent: child process exited with status 3221225725 -- Restarting.
[Tue Dec 16 16:09:01 2008] [notice] Apache/2.2.9 (Win32) DAV/2 mod_ssl/2.2.9 OpenSSL/0.9.8h mod_autoindex_color PHP/5.2.6 configured -- resuming normal operations
[Tue Dec 16 16:09:01 2008] [notice] Server built: Jun 14 2008 19:02:12
[Tue Dec 16 16:09:01 2008] [notice] Parent: Created child process 4008
[Tue Dec 16 16:09:03 2008] [notice] Child 4008: Child process is running
[Tue Dec 16 16:09:03 2008] [notice] Child 4008: Acquired the start mutex.
[Tue Dec 16 16:09:03 2008] [notice] Child 4008: Starting 250 worker threads.
[Tue Dec 16 16:09:03 2008] [notice] Child 4008: Starting thread to listen on port 80.
[Tue Dec 16 16:09:03 2008] [notice] Child 4008: Starting thread to listen on port 443.
[Tue Dec 16 16:09:05 2008] [notice] Parent: child process exited with status 3221225725 -- Restarting.
[Tue Dec 16 16:09:07 2008] [notice] Apache/2.2.9 (Win32) DAV/2 mod_ssl/2.2.9 OpenSSL/0.9.8h mod_autoindex_color PHP/5.2.6 configured -- resuming normal operations
[Tue Dec 16 16:09:07 2008] [notice] Server built: Jun 14 2008 19:02:12
[Tue Dec 16 16:09:07 2008] [notice] Parent: Created child process 5920
[Tue Dec 16 16:09:09 2008] [notice] Child 5920: Child process is running
[Tue Dec 16 16:09:09 2008] [notice] Child 5920: Acquired the start mutex.
[Tue Dec 16 16:09:09 2008] [notice] Child 5920: Starting 250 worker threads.
[Tue Dec 16 16:09:09 2008] [notice] Child 5920: Starting thread to listen on port 443.
[Tue Dec 16 16:09:09 2008] [notice] Child 5920: Starting thread to listen on port 80.
[Tue Dec 16 16:09:20 2008] [notice] Parent: child process exited with status 3221225725 -- Restarting.
[Tue Dec 16 16:09:22 2008] [notice] Apache/2.2.9 (Win32) DAV/2 mod_ssl/2.2.9 OpenSSL/0.9.8h mod_autoindex_color PHP/5.2.6 configured -- resuming normal operations
[Tue Dec 16 16:09:22 2008] [notice] Server built: Jun 14 2008 19:02:12
[Tue Dec 16 16:09:22 2008] [notice] Parent: Created child process 5648
[Tue Dec 16 16:09:24 2008] [notice] Child 5648: Child process is running
[Tue Dec 16 16:09:24 2008] [notice] Child 5648: Acquired the start mutex.
[Tue Dec 16 16:09:24 2008] [notice] Child 5648: Starting 250 worker threads.
[Tue Dec 16 16:09:24 2008] [notice] Child 5648: Starting thread to listen on port 443.
[Tue Dec 16 16:09:24 2008] [notice] Child 5648: Starting thread to listen on port 80.
[Tue Dec 16 16:12:06 2008] [notice] Parent: child process exited with status 3221225725 -- Restarting.
[Tue Dec 16 16:12:08 2008] [notice] Apache/2.2.9 (Win32) DAV/2 mod_ssl/2.2.9 OpenSSL/0.9.8h mod_autoindex_color PHP/5.2.6 configured -- resuming normal operations
[Tue Dec 16 16:12:08 2008] [notice] Server built: Jun 14 2008 19:02:12
[Tue Dec 16 16:12:08 2008] [notice] Parent: Created child process 2804
[Tue Dec 16 16:12:10 2008] [notice] Child 2804: Child process is running
[Tue Dec 16 16:12:10 2008] [notice] Child 2804: Acquired the start mutex.
[Tue Dec 16 16:12:10 2008] [notice] Child 2804: Starting 250 worker threads.
[Tue Dec 16 16:12:10 2008] [notice] Child 2804: Starting thread to listen on port 443.
[Tue Dec 16 16:12:10 2008] [notice] Child 2804: Starting thread to listen on port 80.
[Tue Dec 16 16:12:12 2008] [notice] Parent: child process exited with status 3221225725 -- Restarting.
[Tue Dec 16 16:12:14 2008] [notice] Apache/2.2.9 (Win32) DAV/2 mod_ssl/2.2.9 OpenSSL/0.9.8h mod_autoindex_color PHP/5.2.6 configured -- resuming normal operations
[Tue Dec 16 16:12:14 2008] [notice] Server built: Jun 14 2008 19:02:12
[Tue Dec 16 16:12:14 2008] [notice] Parent: Created child process 5660
[Tue Dec 16 16:12:17 2008] [notice] Child 5660: Child process is running
[Tue Dec 16 16:12:17 2008] [notice] Child 5660: Acquired the start mutex.
[Tue Dec 16 16:12:17 2008] [notice] Child 5660: Starting 250 worker threads.
[Tue Dec 16 16:12:17 2008] [notice] Child 5660: Starting thread to listen on port 443.
[Tue Dec 16 16:12:17 2008] [notice] Child 5660: Starting thread to listen on port 80.
[Tue Dec 16 16:12:21 2008] [notice] Parent: child process exited with status 3221225725 -- Restarting.
[Tue Dec 16 16:12:23 2008] [notice] Apache/2.2.9 (Win32) DAV/2 mod_ssl/2.2.9 OpenSSL/0.9.8h mod_autoindex_color PHP/5.2.6 configured -- resuming normal operations
[Tue Dec 16 16:12:23 2008] [notice] Server built: Jun 14 2008 19:02:12
[Tue Dec 16 16:12:23 2008] [notice] Parent: Created child process 3244
[Tue Dec 16 16:12:25 2008] [notice] Child 3244: Child process is running
[Tue Dec 16 16:12:25 2008] [notice] Child 3244: Acquired the start mutex.
[Tue Dec 16 16:12:25 2008] [notice] Child 3244: Starting 250 worker threads.
[Tue Dec 16 16:12:25 2008] [notice] Child 3244: Starting thread to listen on port 443.
[Tue Dec 16 16:12:25 2008] [notice] Child 3244: Starting thread to listen on port 80.
nuno

Re: $this->Lang() crashes apache

Post by nuno »

no php errors? not help much, this logs, is all? no php errors?
i can't reproduce were!
ignace
New Member
New Member
Posts: 5
Joined: Tue Dec 16, 2008 2:50 pm

Re: $this->Lang() crashes apache

Post by ignace »

yep that's everything that was in the errors.log of apache, you can see that apache reboots a couple of times
Post Reply

Return to “Developers Discussion”