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 :: Unread Messages :: Show Polls :: Message Navigator
| Subscribe to topic | Bookmark topic 
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 16:35 Go to next message
TheBarnes is currently offline  TheBarnes
Messages: 19
Registered: February 2009
Karma: 0
Junior Member
add to buddy list
ignore all messages by this user
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] Wed, 18 February 2009 23:00 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3624
Registered: December 2004
Karma: 17
Senior Member
Administrator
Core Developer
remove from buddy list
ignore all messages by this user
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 07:22 Go to previous messageGo to next message
TheBarnes is currently offline  TheBarnes   United Kingdom
Messages: 19
Registered: February 2009
Karma: 0
Junior Member
add to buddy list
ignore all messages by this user
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 13:22 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3624
Registered: December 2004
Karma: 17
Senior Member
Administrator
Core Developer
remove from buddy list
ignore all messages by this user
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 14:15 Go to previous messageGo to next message
kerryg is currently offline  kerryg   Canada
Messages: 157
Registered: September 2008
Karma: 0
Senior Member
add to buddy list
ignore all messages by this user
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 14: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 15:02 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3624
Registered: December 2004
Karma: 17
Senior Member
Administrator
Core Developer
remove from buddy list
ignore all messages by this user
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 14:53 Go to previous messageGo to next message
TheBarnes is currently offline  TheBarnes
Messages: 19
Registered: February 2009
Karma: 0
Junior Member
add to buddy list
ignore all messages by this user
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 15: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 14:59 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3624
Registered: December 2004
Karma: 17
Senior Member
Administrator
Core Developer
remove from buddy list
ignore all messages by this user
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 15:02 Go to previous messageGo to next message
TheBarnes is currently offline  TheBarnes
Messages: 19
Registered: February 2009
Karma: 0
Junior Member
add to buddy list
ignore all messages by this user
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 15:19 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3624
Registered: December 2004
Karma: 17
Senior Member
Administrator
Core Developer
remove from buddy list
ignore all messages by this user
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 15:20 Go to previous messageGo to next message
TheBarnes is currently offline  TheBarnes
Messages: 19
Registered: February 2009
Karma: 0
Junior Member
add to buddy list
ignore all messages by this user
I can indeed log in, but the Admin Control Panel just doesn't work.

Have emailed you details.

[Updated on: Mon, 23 February 2009 15: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 14:28 Go to previous messageGo to next message
TheBarnes is currently offline  TheBarnes
Messages: 19
Registered: February 2009
Karma: 0
Junior Member
add to buddy list
ignore all messages by this user
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 14:59 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3624
Registered: December 2004
Karma: 17
Senior Member
Administrator
Core Developer
remove from buddy list
ignore all messages by this user
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 16:31 Go to previous messageGo to next message
TheBarnes is currently offline  TheBarnes
Messages: 19
Registered: February 2009
Karma: 0
Junior Member
add to buddy list
ignore all messages by this user
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 01:12 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3624
Registered: December 2004
Karma: 17
Senior Member
Administrator
Core Developer
remove from buddy list
ignore all messages by this user
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 03:11 Go to previous messageGo to next message
TheBarnes is currently offline  TheBarnes
Messages: 19
Registered: February 2009
Karma: 0
Junior Member
add to buddy list
ignore all messages by this user
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 03:21 Go to previous message
TheBarnes is currently offline  TheBarnes
Messages: 19
Registered: February 2009
Karma: 0
Junior Member
add to buddy list
ignore all messages by this user
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 04:08]

Report message to a moderator

Quick Reply
Formatting Tools:   
  Switch to threaded view of this topic Create a new topic
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: Sat Oct 21 06:13:34 EDT 2017

Total time taken to generate the page: 0.00973 seconds