Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > General > General Hosting/Server Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Is this a server issue? Details »»
Is this a server issue?
Version: , by attroll attroll is offline
Developer Last Online: Mar 2023 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 01-05-2008 Last Update: Never Installs: 0
 
No support by the author.

I do not know which forum to put this post in so I picked what I thought was right. I think this may be a server issue but I am unsure. Let me explain what is going on.

I am having a server problem with one of my VB domains and it is not happening on any of my other VB sites so I am hoping that someone with some experience can shed some light on this and help me fix it.

I have set up my config.php file to use the datastore_cache.php file as VB has designed it to be used. I have set it to CHMOD 777. Then after I access my Admincp and do anything in the Admincp and save it the file reverts back to CHMOD 644 and then I can no longer wrtiten to it. In fact it changes the permissions so that even I can not change it back to CHMOD 777 again.

Let me shed a little light one all I have done to me server lately.

I updated my PHP to PHP 5 about two weeks ago and then I noticed this problem. I don?t know if I can blame this on the PHP5 upgrade or not because I also have four other VB sites running on this server and they do not have this problem.

Can someone shed some light on this that may know what I can do to fix this?

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 01-06-2008, 11:11 AM
attroll's Avatar
attroll attroll is offline
 
Join Date: Jan 2003
Location: Litchfield, Me
Posts: 664
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I went in and made the datastore directory 777 and then after I tried it the datastore_cache.php and all the files in the datastore directory changed to 644 and I can not changed them back to 777 now. I think it changed all the permisions. So I deleted the directory and reuploaded it again and made the directory and the file 777 again and tried it again and the file reverted back to 644 again. So now I am back to where I started.
Reply With Quote
  #13  
Old 01-06-2008, 03:45 PM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The directory should be 777 and the file should be 666 (or 664)
Reply With Quote
  #14  
Old 01-06-2008, 09:19 PM
attroll's Avatar
attroll attroll is offline
 
Join Date: Jan 2003
Location: Litchfield, Me
Posts: 664
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Are you sure of this because VB only says that the file is suppose to be 777?
http://www.vbulletin.com/docs/html/datastore
Reply With Quote
  #15  
Old 04-08-2008, 03:27 AM
Alien's Avatar
Alien Alien is offline
 
Join Date: Oct 2001
Posts: 827
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have this exact same issue occurring, did you ever resolve this?
Reply With Quote
  #16  
Old 04-08-2008, 04:59 AM
attroll's Avatar
attroll attroll is offline
 
Join Date: Jan 2003
Location: Litchfield, Me
Posts: 664
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Alien View Post
I have this exact same issue occurring, did you ever resolve this?
No I never got this resolved. I just disabled it again. I got sick of people talking out their butts or not understanding the problem or not knowing what they were talking about. I ask VB.com and they said it was a server issue and would not explain. I talk to my server management team and they told me that it was a software issue with VB. I love VB but I hate it when ever you have something they don't want to help you with they always default to blaming it on the server.

I asked the VB team what was the problem and they said it was a server issue. I explained that I owned my server and asked them what would cause this on a server so I could fix it. They replied "Honestly I have no idea what would cause the server to change the file permissions like that". How can they blame it on a server if they don't know what would cause it? They were spouting off just to get me off there back because they did not have the answer.

I have upgraded my VB to the latest version but have not tried using the "datastore_cache" file since I upgraded. I just gave up. It pisses me off that VB would put this in the config file but not help you when you have problems with it.

Don't get me wrong, I love VB but when they don't want to help you resolve something they do not have an answer to then what can you do.

PS. If you ever figure this out please let post your results here to help me and possibly others.
Reply With Quote
  #17  
Old 04-10-2008, 10:37 AM
snakes1100 snakes1100 is offline
 
Join Date: Dec 2001
Location: Michigan
Posts: 3,733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If the files are reverting back to 644 after you change them to 777, this is most likely an Apache issue and is typically caused by the owner:group being set incorrectly.

This can also be caused by servers running cpanel and the automatic script running to fix insecure file permissions.

If the server is running php as a fastcgi, this could also cause a issue when the file owner:group is set incorrectly.

Make sure you main home directory, typically /home/username is actually owned:group'd to your username for your account.
Reply With Quote
  #18  
Old 04-10-2008, 03:33 PM
puertoblack2003's Avatar
puertoblack2003 puertoblack2003 is offline
 
Join Date: Aug 2005
Location: Philadelphia
Posts: 1,073
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

but you said at the beginning of the post that all of this happened after you upgraded to php5 try reverting back to the version you had to see if it resolved.

not much of a server tech but , reading this it sounds like a php issue.
Reply With Quote
  #19  
Old 04-11-2008, 04:17 AM
attroll's Avatar
attroll attroll is offline
 
Join Date: Jan 2003
Location: Litchfield, Me
Posts: 664
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by puertoblack2003 View Post
but you said at the beginning of the post that all of this happened after you upgraded to php5 try reverting back to the version you had to see if it resolved.

not much of a server tech but , reading this it sounds like a php issue.
I could probably revert back and try it but that was almost four months ago. The other reason I really do not want to revert back to PHP4 is because VB is only going to be supporting PHP5 when VB 3.7 comes out.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 08:41 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04273 seconds
  • Memory Usage 2,285KB
  • Queries Executed 23 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (8)postbit
  • (9)postbit_onlinestatus
  • (9)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete