Previous Thread
Next Thread
Print Thread
Hop To
Joined: Jan 2007
Posts: 72
journeyman
journeyman
Joined: Jan 2007
Posts: 72
Hi,

I was updating the permissions on files and folders to get the OK on permissions checks.

I updated permissions on the sessions folder and all of the files within to 666 and now I can't see the control panel at all. admin/login.php shows nothing... a blank page!!!

Thanks

Joined: Jan 2007
Posts: 72
journeyman
journeyman
Joined: Jan 2007
Posts: 72
I can't even get the login page admin/login.php to display errors... error_reporting(E_ALL);

Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
It sounds like maybe you set a directory to 666 instead of 777. Double check that the sessions directory has a 777 permission.

Joined: Jan 2007
Posts: 72
journeyman
journeyman
Joined: Jan 2007
Posts: 72
Yes, the Sessions dir has a permission set to 777. I still see nothing on the control panel page. Otherwise the forum seems to be working fie.

Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
I'd check the permissions on the admin directory as well. If you're getting a blank page after doing permission changes, one of the directories probably got inadvertantly changed.

Joined: Jan 2007
Posts: 72
journeyman
journeyman
Joined: Jan 2007
Posts: 72
Ugh. Nope Admin is fine. Here is the log when the when the page went blank:

Code
COMMAND:>	CDUP
	250 CDUP command successful
COMMAND:>	pwd
	257 "/httpdocs/ubbthreads" is the current directory
COMMAND:>	CWD sessions
	250 CWD command successful
COMMAND:>	pwd
	257 "/httpdocs/ubbthreads/sessions" is the current directory
COMMAND:>	SITE CHMOD 666 sess_12p43vcem6qfm7r0ob9h4jqrb0
	550 CHMOD 666 sess_12p43vcem6qfm7r0ob9h4jqrb0: Operation not permitted
COMMAND:>	SITE CHMOD 666 sess_psbnpdjgttkrunbsqlbjo5o233
	550 CHMOD 666 sess_psbnpdjgttkrunbsqlbjo5o233: Operation not permitted
COMMAND:>	SITE CHMOD 666 sess_srhdh3m9q4cp7valthg9560r96
	550 CHMOD 666 sess_srhdh3m9q4cp7valthg9560r96: Operation not permitted
COMMAND:>	SITE CHMOD 666 sess_uqsl6kavk959hc5g4t8ktoi7r3
	550 CHMOD 666 sess_uqsl6kavk959hc5g4t8ktoi7r3: Operation not permitted
COMMAND:>	pwd
	257 "/httpdocs/ubbthreads/sessions" is the current directory
COMMAND:>	TYPE A
	200 Type set to A
STATUS:>	Retrieving directory listing...
COMMAND:>	PORT 192,168,2,101,10,176
	200 PORT command successful
COMMAND:>	LIST
	150 Opening ASCII mode data connection for file list
STATUS:>	Received 1582 bytes Ok.
STATUS:>	Time: 0:00:01, Efficiency: 1.54 KBytes/s (1582 bytes/s)
	226-Transfer complete
	226 Quotas off
STATUS:>	Done.
COMMAND:>	pwd
	257 "/httpdocs/ubbthreads/sessions" is the current directory
COMMAND:>	SITE CHMOD 600 sess_0nm5avb05vvvduclm6cr5kv090
	550 CHMOD 600 sess_0nm5avb05vvvduclm6cr5kv090: Operation not permitted
COMMAND:>	SITE CHMOD 600 sess_12p43vcem6qfm7r0ob9h4jqrb0
	550 CHMOD 600 sess_12p43vcem6qfm7r0ob9h4jqrb0: Operation not permitted
COMMAND:>	SITE CHMOD 600 sess_15ciqn7cpac37p6avee2nhn9s4
	550 CHMOD 600 sess_15ciqn7cpac37p6avee2nhn9s4: Operation not permitted
COMMAND:>	SITE CHMOD 600 sess_4dcm9c8kt853kaetsamsmijen4
	550 CHMOD 600 sess_4dcm9c8kt853kaetsamsmijen4: Operation not permitted
COMMAND:>	SITE CHMOD 600 sess_57plje2k7te32c744sldrcre03
	550 CHMOD 600 sess_57plje2k7te32c744sldrcre03: Operation not permitted
COMMAND:>	SITE CHMOD 600 sess_5mn3s93iijrcvs969vhkdh6bh5
	550 CHMOD 600 sess_5mn3s93iijrcvs969vhkdh6bh5: Operation not permitted
COMMAND:>	SITE CHMOD 600 sess_btjk0h0q0313p0mkqm6d479a37
	550 CHMOD 600 sess_btjk0h0q0313p0mkqm6d479a37: Operation not permitted
COMMAND:>	SITE CHMOD 600 sess_cq058bq7r9h66ruct3lovdktr6
	550 CHMOD 600 sess_cq058bq7r9h66ruct3lovdktr6: Operation not permitted
COMMAND:>	SITE CHMOD 600 sess_hap7etnjn95vqcg579k0b5a8a2
	550 CHMOD 600 sess_hap7etnjn95vqcg579k0b5a8a2: Operation not permitted
COMMAND:>	SITE CHMOD 600 sess_k6okfnu7eqbj40aad2a2abm0a0
	550 CHMOD 600 sess_k6okfnu7eqbj40aad2a2abm0a0: Operation not permitted
COMMAND:>	SITE CHMOD 600 sess_mvjar3csd9qiidas3otb0r2tg0
	550 CHMOD 600 sess_mvjar3csd9qiidas3otb0r2tg0: Operation not permitted
COMMAND:>	SITE CHMOD 600 sess_psbnpdjgttkrunbsqlbjo5o233
	550 CHMOD 600 sess_psbnpdjgttkrunbsqlbjo5o233: Operation not permitted
COMMAND:>	SITE CHMOD 600 sess_srhdh3m9q4cp7valthg9560r96
	550 CHMOD 600 sess_srhdh3m9q4cp7valthg9560r96: Operation not permitted
COMMAND:>	SITE CHMOD 600 sess_tnaqmdfm6k3ktlgle0cgvbtcn2
	550 CHMOD 600 sess_tnaqmdfm6k3ktlgle0cgvbtcn2: Operation not permitted
COMMAND:>	SITE CHMOD 600 sess_uqsl6kavk959hc5g4t8ktoi7r3
	550 CHMOD 600 sess_uqsl6kavk959hc5g4t8ktoi7r3: Operation not permitted
COMMAND:>	pwd
	257 "/httpdocs/ubbthreads/sessions" is the current directory
COMMAND:>	TYPE A
	200 Type set to A
STATUS:>	Retrieving directory listing...
COMMAND:>	PORT 192,168,2,101,10,203
	200 PORT command successful
COMMAND:>	LIST
	150 Opening ASCII mode data connection for file list
STATUS:>	Received 2022 bytes Ok.
STATUS:>	Time: 0:00:01, Efficiency: 1.97 KBytes/s (2022 bytes/s)
	226-Transfer complete
	226 Quotas off
STATUS:>	Done.
COMMAND:>	SITE CHMOD 666 index.htm
	200 SITE CHMOD command successful
COMMAND:>	SITE CHMOD 666 index.html
	200 SITE CHMOD command successful
COMMAND:>	pwd
	257 "/httpdocs/ubbthreads/sessions" is the current directory
COMMAND:>	TYPE A
	200 Type set to A
STATUS:>	Retrieving directory listing...
COMMAND:>	PORT 192,168,2,101,10,211
	200 PORT command successful
COMMAND:>	LIST

	150 Opening ASCII mode data connection for file list
STATUS:>	Received 2198 bytes Ok.
STATUS:>	Time: 0:00:01, Efficiency: 2.15 KBytes/s (2198 bytes/s)
	226-Transfer complete
	226 Quotas off
STATUS:>	Done.
COMMAND:>	SITE CHMOD 666 test.file
	200 SITE CHMOD command successful
COMMAND:>	pwd
	257 "/httpdocs/ubbthreads/sessions" is the current directory
COMMAND:>	TYPE A
	200 Type set to A
STATUS:>	Retrieving directory listing...
COMMAND:>	PORT 192,168,2,101,10,213
	200 PORT command successful
COMMAND:>	LIST
	150 Opening ASCII mode data connection for file list
STATUS:>	Received 2286 bytes Ok.
STATUS:>	Time: 0:00:01, Efficiency: 2.23 KBytes/s (2286 bytes/s)
	226-Transfer complete
	226 Quotas off
STATUS:>	Done.
COMMAND:>	REST 0
	350 Restarting at 0. Send STORE or RETRIEVE to initiate transfer
COMMAND:>	TYPE I

Joined: Jan 2007
Posts: 72
journeyman
journeyman
Joined: Jan 2007
Posts: 72
Is the index.htm in the sessions dir supposed to be blank... no code???

Joined: Dec 2003
Posts: 6,560
Likes: 78
Joined: Dec 2003
Posts: 6,560
Likes: 78
Yes it is just there to stop a index view of the files.
You might need to go through all your file permissions use the documentation section noted at the top left of the screen here.

Just to double check all file permissions it would be best.


Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Joined: Jan 2007
Posts: 72
journeyman
journeyman
Joined: Jan 2007
Posts: 72
Permissions all seem to be correct. Why would a permission change on the sessions directory cause the login page in the control panel to not display at all?

Joined: Jan 2007
Posts: 72
journeyman
journeyman
Joined: Jan 2007
Posts: 72
Ok I noticed that no files are in the ubbthreads/templates/default/admin directory. I'm really not sure how they got removed. But I'm betting that's why I see nothing when I try to control panel.

Joined: Dec 2003
Posts: 6,560
Likes: 78
Joined: Dec 2003
Posts: 6,560
Likes: 78
Well for sure that is the problem since there is nothing to present the control panel to you. Thats pretty much the only reason they are there is for the control panel.
Something odd happened.
I would upload the files and double check the config file and all the file permissions for all directory's.
For my version the config file is config.inc.php in the includes directory.


Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Joined: Dec 2003
Posts: 6,560
Likes: 78
Joined: Dec 2003
Posts: 6,560
Likes: 78
Did you have any luck?


Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Joined: Jan 2007
Posts: 72
journeyman
journeyman
Joined: Jan 2007
Posts: 72
Ya I did. Thanks a whole lot for all your help Ruben. smile


Joined: Dec 2003
Posts: 6,560
Likes: 78
Joined: Dec 2003
Posts: 6,560
Likes: 78
I guess the real question is, what happened to the files?
Its one thing to get corrupted or have 0 bytes in a file but to be deleted, Who knows.


Blue Man Group
There is no such thing as stupid questions. Just stupid answers

Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
spam issues
by ECNet - 03/19/2024 11:45 PM
Looking for a forum
by azr - 03/15/2024 11:26 PM
Editing Links in Post
by Outdoorking - 03/15/2024 9:31 AM
Question on barkrowler and the like
by Mors - 02/29/2024 6:51 PM
Member Permissions Help
by domspeak - 02/27/2024 6:31 PM
Who's Online Now
2 members (Havenofsobriety, rootman), 624 guests, and 106 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)