Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: bluzeman on May 09, 2011, 04:11:46 PM

Title: Administration page is blank.
Post by: bluzeman on May 09, 2011, 04:11:46 PM
Hi all.  I have an unusual problem.  I've installed a few SMF forums and never had one this strange, so I hope someone here can help.

Everything seems fine, except the Administration Center.  I get a blank page.  All the sub menu items work and I can get to everything else except that.  The link says action=admin, just like it should.

I've checked file ownership and permissions, even tried setting the themes directory and all subdirectories to 777.  Still just a blank page.

Any thoughts?

ETA:  I initially installed the latest stable version 1.x(I don't remember, but the latest) and tried upgrading to 2.0 RC5 to see if that would solve the issue.  It didn't. :(
Title: Re: Administration page is blank.
Post by: bluzeman on May 10, 2011, 11:00:58 AM
Any ideas on this?  Is this the right board, or should I post it in a different category?
Title: Re: Administration page is blank.
Post by: Storman™ on May 10, 2011, 01:07:05 PM
I've seen this before when the theme does not support the version of SMF in place.

Do you get the same if using the Default theme ?
Title: Re: Administration page is blank.
Post by: Baby Daisy on May 10, 2011, 01:14:06 PM
You installed fresh files and this still happens?

That's very strange, any errors in your Forum Error Log (http://docs.simplemachines.org/index.php?topic=150.0)?
Title: Re: Administration page is blank.
Post by: bluzeman on May 10, 2011, 02:20:46 PM
Thanks for the replies.  I'm using the default themes.  No errors in the error log.

I'm really stumped.  I've spent hours searching the internet and so far have found nothing.  It just seems to be that one page though.  I can get to everything else, just not the administration center.

I have seen a few errors in the httpd-errors log though, about GD, but I can't make the connection how that could cause it.

Just for giggles, I tried to use IE and instead of a blank page, I get the "Page cannot be found" error.

I have very poor vision and this verification thing is tough!
Title: Re: Administration page is blank.
Post by: kat on May 10, 2011, 02:37:27 PM
This is a long shot.

So long, that it might reach the moon...

In the index.php file, in the root of your forum, do you have this line?

      'admin' => array('Admin.php', 'Admin'),

Come to that, do you have the file Admin.php in your Sources directory?

If so, is it read-enabled?
Title: Re: Administration page is blank.
Post by: bluzeman on May 10, 2011, 02:41:05 PM
Ha ha!  At this point I'll take all the long shots I can!  I'll go check.
Title: Re: Administration page is blank.
Post by: bluzeman on May 10, 2011, 02:47:20 PM
Well, sort of. I have: 'admin' => array('Admin.php', 'AdminMain'),

And yep, it's in Sources, and have rwx permissions, and I'm the owner.
Title: Re: Administration page is blank.
Post by: kat on May 10, 2011, 02:54:33 PM
Ho-hum.

Worth a try. ;)
Title: Re: Administration page is blank.
Post by: bluzeman on May 10, 2011, 03:04:01 PM
I'm starting to think it might be a problem with php or one of the extensions, although I can't understand what would be different about the administration center, since everything else works.

I'll wait awhile and see if anyone else has any ideas, if not I can just move it to one of my other machines.  I have SMF running on a few, so I know one of them will work.  Just thought this was a really odd one!
Title: Re: Administration page is blank.
Post by: kat on May 10, 2011, 03:05:33 PM
Out of pure curiosity, have you tried a different browser?

Out of PURE curiosity... ;)
Title: Re: Administration page is blank.
Post by: ARG01 on May 10, 2011, 03:07:12 PM
Or maybe have someone that you trust login to the admin section and see if the same issue occurs.  ;)
Title: Re: Administration page is blank.
Post by: kat on May 10, 2011, 03:13:49 PM
ARG volunteers... ;)
Title: Re: Administration page is blank.
Post by: ARG01 on May 10, 2011, 03:16:26 PM
Quote from: K@ on May 10, 2011, 03:13:49 PM
ARG volunteers... ;)

That's what my wife always says. I have helped more people move than I can shake a stick at.  ;D
Title: Re: Administration page is blank.
Post by: bluzeman on May 10, 2011, 03:17:36 PM
Yep, like I said, IE gives me an error, like it can't find the page instead of a blank one. 

However, I just tried it on my laptop which is running Linux, and got this error, which my be more enlightening: "/tmp/ot4RH_pk.php.part could not be saved because the source file could not be read."

I've never heard of that file, but at least it's something to search for.

And Yay, I don't have to type the verification anymore!

Title: Re: Administration page is blank.
Post by: kat on May 10, 2011, 03:24:10 PM
My wife, too, ARG...


Ha!

Empty that tmp directory, bluezy!

You never know...
Title: Re: Administration page is blank.
Post by: Illori on May 10, 2011, 03:25:07 PM
i would suggest you contact your host and ask them if the server is running out of disk space or similar, this could be causing part of your problem.
Title: Re: Administration page is blank.
Post by: bluzeman on May 10, 2011, 03:30:17 PM
OK, let me call the host.  He said "I dunno".

LOL!  It's my own boxes.  Plenty of disk space, so that isn't it.  I don't see that file in /tmp either.

When you go to the Administration Center, isn't the file it tries to read Admin.php under Sources?
Title: Re: Administration page is blank.
Post by: Illori on May 10, 2011, 03:31:50 PM
have you tried emptying your forums cache?
Title: Re: Administration page is blank.
Post by: bluzeman on May 10, 2011, 03:36:57 PM
Yep, did that yesterday.  Ran the repair tool, everything seems right.

Like I said, I have other machines running SMF so I can always move it to one of them.  This was such an odd thing though, for only that one page to have problems, that I wanted to figure it out.  I can be too stubborn some times. :)

I appreciate everyone's help, and I'm still open for ideas.  I'd just love to know what could be causing it!
Title: Re: Administration page is blank.
Post by: Illori on May 10, 2011, 03:38:00 PM
have you tried uploading a fresh set of files in place of what is there?
Title: Re: Administration page is blank.
Post by: bluzeman on May 10, 2011, 03:39:11 PM
Not yet, but I think I'll try that now.  I'll download a new copy of the tar.gz file and try installing in a different directory and see what happens.
Title: Re: Administration page is blank.
Post by: bluzeman on May 10, 2011, 04:40:25 PM
I ended up getting called out on a service call, and now I have an appointment to go to.  I'll try that as soon as I get back Illori.

Thanks for the help, I'll let you know how it goes!
Title: Re: Administration page is blank.
Post by: bluzeman on May 11, 2011, 05:07:58 PM
Well, just wanted to post a follow up.  I tried installing to a new directory and have the same exact issue.

Looking at the error I posted from the httpd-errors log, I think that long ago when I upgraded some things on the box it didn't update all the extensions.  I'm still not sure why this would cause only the admin center to show a blank page, but I've decided to just put it on one of my other FreeBSD servers for now.  I'm running a few things on the one in question that I don't want to mess up so that the easiest answer I guess, for now.

Thanks all for the help.  If I get time in the future, I'm going to recompile php and all the extensions.  I'll post back here if that resolves the issue so we can have a definite "solved" status. :)
Title: Re: Administration page is blank.
Post by: mashby on June 09, 2011, 10:14:48 PM
Curious as to the status of things on your end. Is this issue resolved for you? :)