The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Comments |
#2
|
|||
|
|||
Did you also set the permission for the ./includes/datastore directory?
|
#3
|
||||
|
||||
The directory that is it in is 775. It should not have to be 777. Only the file datastore_cache.php should be 777. But it keeps doing what I mentioned in the first post.
|
#4
|
|||
|
|||
Try setting the directory to 777 or ensure that it is owned by the user/group that your webserver is running under.
|
#5
|
||||
|
||||
Ok we got it fixed so it stays at 777 but now it does not save changes to the file. I have to do some more digging now.
|
#6
|
|||
|
|||
And the current file permissions are?
If the directory in which the file is created is set to 777, then the file should also get the correct permissions, unless the account under which the file is created has a strange UMASK set. Under what user/group is the file created and what is the current owner/group of the directory. |
#7
|
||||
|
||||
The directory that is falls under is 775. It should not have to be 777 should it?
--------------- Added [DATE]1199526297[/DATE] at [TIME]1199526297[/TIME] --------------- I tried changing the directory to 777 and that did not help either. If I start out with a new datastore_cache.php file and make it CHMOD 777 and then open up my Admincp it reads the contents from the database into the file and saves the file. Then when I try to delete a forum is says that it was successful but after is says that then it brings up the forum listing again but it it still shows the forum that I just deleted. It seems as though it did not get deleted. I then try to click on the forum that I tried to delete and it says "Invalid forum specified". To me it seems like it is not writing back to the datastore_cache.php file with the changes but nothign is getting changed. The time changes on the file but nothing I do gets changed. |
#8
|
|||
|
|||
Let's look at some possible causes.
First of all what is the username/accountname under which the site is running? Next what are the current permissions and user/group for: - ./includes directory - ./includes/datastore directory - ./includes/datastore/datastore_cache.php file You say that the time is updated on the file but you don't see the changes. Can you verify if the changed data is written to the file or not. Also are you using any caching mechanism that might be serving an old version of the file? |
#9
|
||||
|
||||
Answer to question #1
For security reasons I will use the name "blaze" instead of the username/accountname that I actually use. Here is the permissions. Answer to question #2 root@at [/home/blaze/public_html/forum]# ll -d ./includes drwxr-xr-x 9 blaze blaze 12288 Jan 5 12:42 ./includes/ root@at [/home/blaze/public_html/forum]# ll -d ./includes/datastore drwxr-xr-x 2 blaze blaze 4096 Jan 5 12:14 ./includes/datastore/ root@at [/home/blaze/public_html/forum]# ll ./includes/datastore/datastore_cache.php -rwxrwxrwx 1 blaze blaze 225479 Jan 5 15:14 ./includes/datastore/datastore_cache.php* Answer to question #3 Yes I can view the datastore_cache.php and verify that none of the changes such as adding a forum is getting written to the file. Answer to question #4 I am unsure of what you mean by this question. I am using the datastore_cache.php file that came with VB 3.6.8 and that is the verision I am upgraded to. Should I try and older file? I looked at all the 3.0 and up versions and they all look the same. |
#10
|
|||
|
|||
root@at [/home/blaze/public_html/forum]# ll -d ./includes/datastore
drwxr-xr-x 2 blaze blaze 4096 Jan 5 12:14 ./includes/datastore/ Datastore directory should be set to 777 About #4 I am not talking about vBulletin versions. I was suggesting that maybe a caching mechanism used on your server still had an old copy of the file in memory and serving that. But first set the directory permissions correct and take it from there. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|