You are not logged in.
- Topics: Active | Unanswered
#1 2010-03-13 23:26:39
- bgiddins
- Member
- Registered: 2008-08-17
- Posts: 54
Web host played with APC, now FluxBB is broken
Having problems with my site, and it's inconsistent behaviour. I'm getting the following errors, sometimes consistently, sometimes randomly:
error_log (throws 500 in browser):
PHP Warning: PHP Startup: apc.shm_segments setting ignored in MMAP mode in Unknown on line 0partial responses in browser when viewing topic, followed by error message (nothing logged in error_log):
Fatal error: Cannot run code from this file in conjunction with non encoded files in /home/silverst/public_html/forums/lang/English/pms.php on line 7The first appears to be related to APC segment size, and the second a clash between APC and Zend. Here's the APC details from phpinfo():
apc
APC Support enabled
Version 3.0.19
MMAP Support Enabled
MMAP File Mask no value
Locking type pthread mutex Locks
Revision $Revision: 3.154.2.5 $
Build Date Mar 14 2010 01:42:42
Directive Local Value Master Value
apc.cache_by_default On On
apc.coredump_unmap Off Off
apc.enable_cli Off Off
apc.enabled On On
apc.file_update_protection 2 2
apc.filters no value no value
apc.gc_ttl 3600 3600
apc.include_once_override Off Off
apc.max_file_size 1M 1M
apc.mmap_file_mask no value no value
apc.num_files_hint 1000 1000
apc.report_autofilter Off Off
apc.rfc1867 On On
apc.rfc1867_freq 0 0
apc.rfc1867_name APC_UPLOAD_PROGRESS APC_UPLOAD_PROGRESS
apc.rfc1867_prefix upload_ upload_
apc.shm_segments 2 2
apc.shm_size 64 64
apc.slam_defense 0 0
apc.stat On On
apc.stat_ctime Off Off
apc.ttl 0 0
apc.user_entries_hint 4096 4096
apc.user_ttl 0 0
apc.write_lock On OnAnyone got any suggestions? The web host conducted server maintenance last night, and only a very few customers are experiencing problems like this, so I'm not sure how I'm going to go getting them to make system-wide changes to resolve these issues. Are there any local overrides in a local php.ini or similar I could make to alter the APC settings?
Last edited by bgiddins (2010-06-21 00:27:44)
Offline
#2 2010-03-13 23:36:49
- Mpok
- Member

- From: France
- Registered: 2008-05-12
- Posts: 350
Re: Web host played with APC, now FluxBB is broken
This is related to a mod ("Private messages" ?).
That's all i can say.
Offline
#3 2010-03-13 23:44:33
- bgiddins
- Member
- Registered: 2008-08-17
- Posts: 54
Re: Web host played with APC, now FluxBB is broken
What I don't understand is why - pms.php is just a language file, here's the contents, line 7 highlighted:
<?php
// Language definitions used by the Private Message System-mod
$lang_pms = array(
// Common
[b]'Messages' => 'Messages',[/b]
'Message' => 'Message',
'Save message' => 'Save message',
'Send' => 'Send',
// Messages
'Inbox' => 'Inbox',
'Outbox' => 'Sent',
'Box0' => 'Switch to Sent',
'Box1' => 'Switch to Inbox',
'Action' => 'Action',
'Reply' => 'Reply',
'Delete' => 'Delete',
'Quote' => 'Quote',
'Date' => 'Date',
'Status' => 'Messages status:',
'Subject' => 'Subject',
'Sender' => 'Sender',
'Receiver' => 'Receiver',
'Private Messages' => 'Private Messages',
'New message' => 'Send new message',
'Multidelete' => 'Delete multiple messages',
'Delete messages comply' => 'Are you sure you want to delete the selected messages?',
'Deleted redirect' => 'Messages deleted. Redirecting …',
'Read redirect' => 'All messages marked as read. Redirecting …',
'Mark all' => 'Mark all messages as read',
// Viewtopic
'PM' => 'PM',
// Profile
'Quick message' => 'Send private message',
'Show smilies' => 'Show smilies',
// Send or delete message
'Send to' => 'Send to',
'Send a message' => 'Send a message',
'Delete message' => 'Delete message',
'Del redirect' => 'Message deleted. Redirecting …',
'Sent redirect' => 'Message sent to user. Redirecting …',
// Errors and messages
'No messages' => 'No messages',
'New messages' => 'There are new messages',
'No user' => 'There\'s no user with that username.',
'Full inbox' => 'Your inbox is full!',
'Inbox full' => 'User\'s inbox is full, you cannot send your message to the user.',
'Sent full' => 'Cannot save message to Sent, your box is full.',
'Flood start' => 'At least',
'Flood end' => 'seconds have to pass between sends. Please wait a little while and try send the message again.',
// Stuff for folders add-on
'Add folder' => 'Add folder',
'Add folders' => 'Add folders',
'Add new' => 'Add New',
'Add new folder' => 'Add a new folder',
'All' => 'All',
'Confirm delete folder' => 'Confirm delete folder',
'Delete' => 'Delete',
'Delete folder comply' => 'Are you sure that you want to delete the folder <folder_name>?',
'Delete warning' => 'WARNING! Deleting a folder will move all PM\'s in that folder (if any) to the inbox!',
'Disable' => 'Disable',
'Edit' => 'Edit',
'Edit delete folders' => 'Edit/delete folders',
'Edit folder' => 'Edit folder',
'Edit folder details' => 'Edit folder details',
'Edit folders' => 'Edit folders',
'E-mail already enabled' => 'PM e-mail notification is already enabled.',
'E-mail disabled redirect' => 'PM e-mail notification has been disabled. Redirecting …',
'E-mail enabled redirect' => 'PM e-mail notification has been enabled. Redirecting …',
'E-mail is enabled' => 'PM e-mail notification currently enabled',
'Enable e-mail' => 'Enable PM e-mail notification',
'Folder added redirect' => 'Folder added. Redirecting …',
'Folder delete' => 'Folder delete',
'Folder deleted redirect' => 'Folder deleted. Redirecting …',
'Folder max reached' => 'You have reached the maximum number of folders you can add.',
'Folder name' => 'Folder name',
'Folder name updated redirect' => 'Folder name updated. Redirecting …',
'Folders updated redirect' => 'Folders updated. Redirecting …',
'Manage folders' => 'Manage folders',
'Message moved redirect' => 'Message moved. Redirecting …',
'Move' => 'Move',
'Move message' => 'Move message',
'Move to' => 'Move to',
'Multimove' => 'Move multiple messages',
'New folder info' => 'The name of the new folder you want to add. You can edit the name of the folder later (see below).',
'No folder name' => 'You must enter a folder name.',
'No folders' => 'There are no folders to display.',
'No other folders' => 'There are no other folders to move the private message to.',
'None' => 'None',
'PM folders' => 'PM folders',
'Position' => 'Position',
'Position must be int' => 'Position must be an integer value.',
'Save changes' => 'Save changes',
'Save changes' => 'Save changes',
'Select' => 'Select',
'Select move destination' => 'Select destination of move',
'Update positions' => 'Update positions'
);It's just a regular array of strings - the error related to pms.php was actually triggered when viewing a topic - sometimes the topic shows, other times I get this error. The mod has been installed for months - no software changes have been done for weeks - but the web host performed "system upgrades" about 10 hours ago that caused this behaviour to occur.
Offline
#4 2010-03-14 00:00:47
- Reines
- Lead developer

- From: Scotland
- Registered: 2008-05-11
- Posts: 3,165
- Website
Re: Web host played with APC, now FluxBB is broken
No idea about overrides but I would get on to your host to fix it, APC is known to clash with Zend optimizer so why they think it's smart to run both I've no idea. If they don't fix it I would suggest looking for a new host, I sure as hell wouldn't want to be hosted by some monkeys that think it's okay to install programs which are known to clash and then refuse to fix it.
Offline
