When I install MySite Some of my content-pages disapear and becomes totally blank. For instance the front page, nodes with page or static page content, /q=admin, /q=tracker. On the other hand i can see the pages underlying admin (i.e. "/site building" and "content management".

I thought that maybe it was because I needed to adjust some settings so I have tried that ("Site configuration" is accessable). MySite Icons is administerable, but MySite administration opens such a blank page.

The Modules-page works but is affected too. I can add or remove modules but get to a blank page when it is done and must browse back to modules-page and reopen it to get back.

Also, I can manage to reach Default page settings and Default page content via Content icons, but after setting my choises it is impossible to chose what to view on MySite.

I have tried to uninstall JQuery, I have tried with the enclosedjquery.js-file and the original file, I have tried to uninstall MySiteIcons but nothing seems to help.

I do not get any error messages, only blank pages.

* Drupal version 5.2
* PHP version 5
* Database type and version MySQL 5.0.27
* Release version of MySite 5.x.2.12

Comments

agentrickard’s picture

Category: bug » support

I don't think this is a MySite error. Two causes of blank pages in Drupal are typically:

- Typos in a module that causes php to fail.

- Running out of memory. Typically, your modules screen won't load if this is the problem.

Did you install the jQuery Update and jQuery Interface modules?

Did you install any other modules recently, or make changes to your themes?

If you aren't using Garland -- the default theme -- try switching to Garland and seeing if the problem occurs.

If you disable MySite (and MySite Icons) do the problems go away?

majsan’s picture

Thanks for support!

I don't think this is a MySite error.
- But why does this occur right when I install MySite? That is the last module installed...

Running out of memory. Typically, your modules screen won't load if this is the problem.
- Yes, that might be part of the problem. I get error messages in my systemlog that something gets into some loop and gets stuck in it.

Did you install the jQuery Update and jQuery Interface modules?
- Yes.

Did you install any other modules recently, or make changes to your themes?
-Yes, but BEFORE installing MySite and then all was working well. I have installed CCK-, Event- Image-, OG-, Buddylist-, Views-, Birthdays and Guestbookmodules and the reason I want to install MySite is that I hope it will make a better looking and customizable MyAccount-page.

If you aren't using Garland -- the default theme -- try switching to Garland and seeing if the problem occurs.
- Then it seems to be olny the admin-mainpage which has the problem.

If you disable MySite (and MySite Icons) do the problems go away?
Yes, that is why I think the problem lies there.

agentrickard’s picture

This is very helpful.

I ran into a similar problem when I installed the Event module onto an intranet site. I suspect that there may be a JavaScript conflict of some sort. I won't be able to test that until Monday, though I'll try to replicate the error on my test machine.

For instance, when I try to save the modules page, I get a what screen at the path 'admin/build/modules/list/confirm'.

Can you post the message from the error log? That might be key.

agentrickard’s picture

what screen == white screen.

I could not replicate this on localhost, so I'll have to test tomorrow.

majsan’s picture

Thanks!

Error report when I tried to install MySite again:

[Sun Oct 07 23:57:56 2007] [error] [client] Request exceeded the limit of 100 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace., referer: http://my.server.home/?q=admin
[Sun Oct 07 23:58:05 2007] [error] [client] Request exceeded the limit of 100 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace., referer: http://my.server.home/?q=admin/build/modules
[Sun Oct 07 23:58:18 2007] [error] [client] PHP Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 4864 bytes) in /home/www-root/my_site/themes/newsflash/template.php on line 54, referer: http://my.server.home/?q=admin/build/modules
Allowed memory size of 16777216 bytes exhausted (tried to allocate 46 bytes)
[Sun Oct 07 23:58:24 2007] [error] [client] PHP Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 51 bytes) in /home/www-root/my_site/includes/form.inc on line 686, referer: http://my.server.home/?q=admin/build/modules
Allowed memory size of 16777216 bytes exhausted (tried to allocate 46 bytes)
[Sun Oct 07 23:58:32 2007] [error] [client] Request exceeded the limit of 100 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace., referer: http://my.server.home/?q=admin/build/modules/

When trying to access front-page:

[Mon Oct 08 00:05:54 2007] [error] [client] PHP Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 265 bytes) in /home/www-root/my_site/modules/views/views_cache.inc on line 146
Allowed memory size of 16777216 bytes exhausted (tried to allocate 46 bytes)

Accessing a node:

[Mon Oct 08 00:07:44 2007] [error] [client] PHP Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 40961 bytes) in /home/www-root/my_site/themes/engines/phptemplate/phptemplate.engine on line 392
[Mon Oct 08 00:07:44 2007] [error] [client] PHP Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 2232 bytes) in /home/www-root/my_site/includes/database.inc on line 152
*** glibc detected *** /usr/sbin/httpd: double free or corruption (!prev): 0x805e4428 ***

When trying to access a node it just goes on trying to load the page "chewing and chewing" so I stopped the browser after a little while.

agentrickard’s picture

Interesting.

This suggests that an internal redirect is at fault.

MySite only uses one redirect: when you navigate to path 'mysite' so that should not be a factor here.

The memory issue on front-page and node pages are unrelated to MySite.

What is your PHP memory limit set to? You may need to increase it in settings.php.

agentrickard’s picture

Might just be memory. On the site where I'm having trouble, trying to save the modules page gives this error:

PHP Fatal error:  Allowed memory size of 18874368 bytes exhausted (tried to allocate 981565 bytes) 
agentrickard’s picture

Status: Active » Postponed (maintainer needs more info)

Try setting your memory values higher. The site I was running fixed the problem.

Add this line to your settings.php file:

ini_set('memory_limit', '24M');

Mine was set to 18M and I was getting out of memory errors.

agentrickard’s picture

See http://drupal.org/node/158043 for more information.

Please let me know if this fixes the problem.

majsan’s picture

It was a memory problem! After increasing the memory limit it started working.

Sorry for all your trouble, but thank you for helping me!

agentrickard’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

Not a problem. We've all been there.

And if it had been MySite's fault, that's a crippling bug.