I still wonder if it’s running out of memory, even without the errors. Do you know how much memory you have assigned in your PHP environment?
This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.
The active forums are here.
July 18, 2007 12:57pm
Subscribe [3]#16 / Jul 19, 2007 2:11pm
I still wonder if it’s running out of memory, even without the errors. Do you know how much memory you have assigned in your PHP environment?
#17 / Jul 19, 2007 2:23pm
I don’t know how much, but I do know I haven’t ever had anything else run out of memory. We are on servers that house 2 GB of RAM each, and the database server has over 1 GB free, while the web server has over 512 MB free.
Also, why would one work but not the other, when the page has the exact same contents? :(
#18 / Jul 19, 2007 2:26pm
Because you’re dealing not with one page, but with many pages - it is entirely possible that something else in the contents is mucking something up. Having that much physical ram is great, but how much is specified in your PHP.ini file? If it’s the default of 8 then that much RAM isn’t helping your site.
Out of curiosity, are you running Textile formatting for that, or is it just xHTML?
#19 / Jul 19, 2007 2:31pm
I went to PHP Info in the Admin section to try to find something. Would it be the memory_limit directive? If so, that says 16M. There is also a post_max_size directive that says 8M.
Might those be the problem, or am I off base?
EDIT: Oh, and I use xHTML on site, and for the wiki I use WIki TOC.
#20 / Jul 19, 2007 2:33pm
Those could be the problem, this is the kb entry on it - I would try upping those to 32 or even 64 meg (you have more than enough memory, lets use some?). That said, I would confirm this with your server administrator because I do *not* have any expertise in server administration. =)
#21 / Jul 19, 2007 2:44pm
Well, looks like that wasn’t the culprit. We bumped it up to 64 MB, and the issue is the same!
#22 / Jul 19, 2007 2:50pm
Ok, can you turn on template debugging and sql queries for the one that is not working and see if the search or find outputs any of that information to the page? If it does, pop it in a text file and attach it here for us?
#23 / Jul 19, 2007 2:52pm
Someone just told me this error comes up when seaching:
PHP Fatal error: Call to a member function tableName() on a non-object in /var/www/vhosts/gearlive.com/*****/*****/wiki/includes/ObjectCache.php on line 409
And this when trying to find/create a page:
PHP Notice: Undefined index: XID in /var/www/vhosts/gearlive.com/****/****/modules/wiki/mod.wiki.php on line 4111, referer: http://mindcamp.gearlive.com/index.php/mindcamp/wiki
I am guessing that helps things? 😊
#24 / Jul 19, 2007 2:57pm
Oh my, errors, thank you!!
Hrm, XID - can you try turning off secure forms and see if that helps? Admin › System Preferences › Security and Session Preferences.
#25 / Jul 19, 2007 2:59pm
Are you caching this page at all? The template itself?
#26 / Jul 19, 2007 3:03pm
Turned off Secure Forms, didn’t change anything.
Wiki is not cached. 😊
#27 / Jul 19, 2007 6:06pm
Anything else? :(
#28 / Jul 19, 2007 6:10pm
Sorry, was looking into it.
PHP Fatal error: Call to a member function tableName() on a non-object in /var/www/vhosts/gearlive.com/*****/*****/wiki/includes/ObjectCache.php on line 409Do you have any idea what ObjectCache.php is? That’s not an EE file.
#29 / Jul 19, 2007 6:15pm
Hey - Derek Jones also pointed out that if you go to that subdomain /wiki you get the error as well - do you perhaps an old wiki engine installed and some .htaccess redirects? The combination seems like there could be some interference.
#30 / Jul 19, 2007 6:34pm
1) We had MediaWiki installed way before EE had a Wiki module. As soon as that was available, we moved all content over to EE and “got rid” of the other one. It’s still there, but not linked to from anywhere.
2) For some reason, when you perform a search in the EE wiki module, you get an error that points to the old wiki for some reason, despite them having totally different URL paths.
3) The Find/Create a new page submission produces an error that points inside of the EE directory:
PHP Notice: Undefined index: XID in /var/www/vhosts/gearlive.com/****/****/modules/wiki/mod.wiki.php on line 4111, referer: http://mindcamp.gearlive.com/index.php/mindcamp/wiki
So I am guessing that these might be two different issues then?
Also, this all used to work as much as 6 months ago, searching and creating new pages in the EE version of the wiki was totally fine.
So, where do we go from here? 😊 I just tried renaming the wiki directory to something else to see if not having one would fix things, but it didn’t change anything either.