TranceOperator
New Member
- Messages
- 286
- Reaction score
- 0
- Points
- 0
So yesterday PHP was messed up for some reason, but today it has been upgraded to 4.4. When you login to your CPanel you will see "PHP version 4.4.0"
Anyway this will cause a lot of scripts to have errors. I fixed all of mine because what happens is when they upgraded all files that you originally CHMODED when you installed a script are back to the original permissions. So you just need to think about what needs to be able to be written to by the script and CHMOD it to 666 (if it's a file) or 777 (if it's a folder)
What I did was found all the sites that made the scripts I use and downloaded the scripts again and opened the installation file or readme file to see what was CHMODED originally.
I use a comment script and when I tested a file with 0 comments it worked, but when I tested it on something that already had like 7 comments it wouldn't work, so what I figured out was that the old comment files must of been originally CHMODED to 666, so I just redid all of their permissions and now it works again
Anyway this will cause a lot of scripts to have errors. I fixed all of mine because what happens is when they upgraded all files that you originally CHMODED when you installed a script are back to the original permissions. So you just need to think about what needs to be able to be written to by the script and CHMOD it to 666 (if it's a file) or 777 (if it's a folder)
What I did was found all the sites that made the scripts I use and downloaded the scripts again and opened the installation file or readme file to see what was CHMODED originally.
I use a comment script and when I tested a file with 0 comments it worked, but when I tested it on something that already had like 7 comments it wouldn't work, so what I figured out was that the old comment files must of been originally CHMODED to 666, so I just redid all of their permissions and now it works again