FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » How To » Admin Control Panel and Posts Not Showing
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Admin Control Panel and Posts Not Showing [message #158344] Wed, 18 February 2009 21:35 Go to next message
TheBarnes is currently offline  TheBarnes
Messages: 19
Registered: February 2009
Karma: 0
Junior Member
Hi,

I recently had a problem with my website, and had to have it restored. When the restore came back, the forum and all it's files were there, but I no longer could access the admin control panel. There was just a blank page.
Also I found that none of the posts/messages were showing any text, they were all blank. I checked the MySQL database, and all the data is there. Is there anything I can do? I can't reinstall the forum, as I can't do a data dump of messages/users until I get into the admin control panel.

Any help would be greatly appreciated.

Regards
TB
Re: Admin Control Panel and Posts Not Showing [message #158345 is a reply to message #158344] Thu, 19 February 2009 04:00 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3771
Registered: December 2004
Karma: 28
Senior Member
Administrator
Core Developer
A blank screen means you need to check your webserver's "error_log" file for details.

Messages are (by default) stored within files in the forum_data/files directory. Check if they are still there and ensure the webserver has read/write permission on them.
Re: Admin Control Panel and Posts Not Showing [message #158354 is a reply to message #158344] Thu, 19 February 2009 12:22 Go to previous messageGo to next message
TheBarnes is currently offline  TheBarnes   United Kingdom
Messages: 19
Registered: February 2009
Karma: 0
Junior Member
Thanks very much for the reply.

I cannot check them until later today, can I confirm what permissions should be set on the files? 755?

What shall I do if they are missing? I have an old copy of the forum_files directory, will the old data work?
Re: Admin Control Panel and Posts Not Showing [message #158355 is a reply to message #158354] Thu, 19 February 2009 18:22 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3771
Registered: December 2004
Karma: 28
Senior Member
Administrator
Core Developer
An old copy may indeed help. However, first try to get it to work with the current files (if they are still there!).

You can chmod the data files to 666 and the directory to 777. Once you get everything back, you can "lock" the forum from the Admin Control Panel to reset the permissions.
Re: Admin Control Panel and Posts Not Showing [message #158357 is a reply to message #158355] Thu, 19 February 2009 19:15 Go to previous messageGo to next message
kerryg is currently offline  kerryg   Canada
Messages: 157
Registered: September 2008
Karma: 0
Senior Member
re: permissions - Frank, can the NNTP sync stay working when the forum files are locked? I want to keep dynamic sync ongoing with this newsgroup but I don't necessarily want to run the forums unlocked - however when I tried locking the files my cron came back with "permission denied".

[Updated on: Thu, 19 February 2009 19:16]

Report message to a moderator

Re: Admin Control Panel and Posts Not Showing [message #158358 is a reply to message #158357] Thu, 19 February 2009 20:02 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3771
Registered: December 2004
Karma: 28
Senior Member
Administrator
Core Developer
Quote:
...can the NNTP sync stay working when the forum files are locked?


It should work if the loader runs under the Apache user. If not, you would probably want to unlock it.
Re: Admin Control Panel and Posts Not Showing [message #158388 is a reply to message #158344] Mon, 23 February 2009 19:53 Go to previous messageGo to next message
TheBarnes is currently offline  TheBarnes
Messages: 19
Registered: February 2009
Karma: 0
Junior Member
I have checked the forum_files/files location and there is nothing in there!

But I also checked the backup I made and there is nothing in there either. Is there any way it could have been working previously with no files in that directory?

And is there any way to get default copies of the files just so I can have the admin control panel back?

[Updated on: Mon, 23 February 2009 20:00]

Report message to a moderator

Re: Admin Control Panel and Posts Not Showing [message #158390 is a reply to message #158388] Mon, 23 February 2009 19:59 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3771
Registered: December 2004
Karma: 28
Senior Member
Administrator
Core Developer
Only if you store your messages in the database. Check your setting for "Use Database for message storage" in the Admin Control Panel.

"If enabled, regular and private messages will be stored inside a database. This is not recommended for performance reasons!"
Re: Admin Control Panel and Posts Not Showing [message #158391 is a reply to message #158344] Mon, 23 February 2009 20:02 Go to previous messageGo to next message
TheBarnes is currently offline  TheBarnes
Messages: 19
Registered: February 2009
Karma: 0
Junior Member
Hi yes, the messages are in the database, so that solves that problem.

So my next questions are (sorry!)
How do I get the messages to display again, and how do I get the Admin Control Panel back?

When I click on the ACP, I get a 'LOG IN TO FORUM' page
Re: Admin Control Panel and Posts Not Showing [message #158394 is a reply to message #158391] Mon, 23 February 2009 20:19 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3771
Registered: December 2004
Karma: 28
Senior Member
Administrator
Core Developer
Can you log in? Do you get any errors?

PS: If you want me to have a look, please PM or mail me the access details.
Re: Admin Control Panel and Posts Not Showing [message #158395 is a reply to message #158344] Mon, 23 February 2009 20:20 Go to previous messageGo to next message
TheBarnes is currently offline  TheBarnes
Messages: 19
Registered: February 2009
Karma: 0
Junior Member
I can indeed log in, but the Admin Control Panel just doesn't work.

Have emailed you details.

[Updated on: Mon, 23 February 2009 20:27]

Report message to a moderator

Re: Admin Control Panel and Posts Not Showing [message #158412 is a reply to message #158344] Tue, 24 February 2009 19:28 Go to previous messageGo to next message
TheBarnes is currently offline  TheBarnes
Messages: 19
Registered: February 2009
Karma: 0
Junior Member
Evening- did you get the files I recently sent you?

Many thanks
Re: Admin Control Panel and Posts Not Showing [message #158416 is a reply to message #158412] Tue, 24 February 2009 19:59 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3771
Registered: December 2004
Karma: 28
Senior Member
Administrator
Core Developer
Yes, thanks. Can you please mail me a copy of your GLOBALS.php file.

Also, check if the GLOBALS.php in your "adm" directory a soft link to your data/include/GLOBALS.php file.

$ ls -l GLOBALS.php
lrwxrwxrwx 1 naudefj naudefj 79 2009-02-24 21:21 GLOBALS.php -> /FUDforum_2-7-7/include/GLOBALS.php

Re: Admin Control Panel and Posts Not Showing [message #158418 is a reply to message #158344] Tue, 24 February 2009 21:31 Go to previous messageGo to next message
TheBarnes is currently offline  TheBarnes
Messages: 19
Registered: February 2009
Karma: 0
Junior Member
This has been sent, thanks.

I think there may be a problem with me using the same globals.php file in all three locations, not realising they are subtly different.
Re: Admin Control Panel and Posts Not Showing [message #158421 is a reply to message #158418] Wed, 25 February 2009 06:12 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3771
Registered: December 2004
Karma: 28
Senior Member
Administrator
Core Developer
All the GLOBAL.php files should be "the same". In fact, you should only have one in the include directory (the others are links to this one).

Failed opening '/var/tmp/FUDforum/include/theme/default/users_reg.inc' for inclusion


Judged on your error_log you are missing some files. Can you please mail me a complete zip/tar of ALL your FUDforum files with a database dump so I can see if its recoverable?
Re: Admin Control Panel and Posts Not Showing [message #158423 is a reply to message #158344] Wed, 25 February 2009 08:11 Go to previous messageGo to next message
TheBarnes is currently offline  TheBarnes
Messages: 19
Registered: February 2009
Karma: 0
Junior Member
Files sent. However, I'm not sure how to do a data dump without the access control panel.
Re: Admin Control Panel and Posts Not Showing [message #158424 is a reply to message #158344] Wed, 25 February 2009 08:21 Go to previous message
TheBarnes is currently offline  TheBarnes
Messages: 19
Registered: February 2009
Karma: 0
Junior Member
Yes! I just sorted the Admin Control panel by adding in the files you have highlighted above from an old backup!!

The posts still aren't showing, but at least I can access the ACP, Thanks for all of your hard work so far!

[Updated on: Wed, 25 February 2009 09:08]

Report message to a moderator

  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Forum header image in header.tmpl for the layman
Next Topic: PORT
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sun Nov 24 09:14:30 GMT 2024

Total time taken to generate the page: 0.02696 seconds