https://www.icyphoenix.com/viewtopic.php?f=35&t=8474&p=55617#p55617
-----------------------------------
Hans
Sat 21 Apr, 2012 09:38

Re: Fatal Error: Call To Undefined Function Session_pagestart() In /index.php - /pagestart.php - /erc.php
-----------------------------------
[quote user="Jihuatz" post="55607"]...[i][b]Joshua203[/b][/i]
Thanks my friend [i][b]Hans[/b][/i], I do make CHMOD our files to 705 and I thing everything is working fine.  :mrgreen:[/quote]

No problem. And that is just extra precaution. You don't want to chmod everything 705 though. I will include a better example, however I am glad you got your website working.


I would start by changing directory to the root directory of IcyPhoenix. Execute the following command first to give only the owner write acces and read access only to web-users.
[code linenumbers=false]/icy_phoenix$ sudo chmod 705 -R ./[/code]

After that command you will need to give the permissions to the following directory and files as quoted.


[code linenumbers=false]
chmod 707 backup
chmod 707 cache
chmod 707 cache/cms
chmod 707 cache/forums
chmod 707 cache/posts
chmod 707 cache/sql
chmod 707 cache/topics
chmod 707 cache/uploads
chmod 707 cache/users
chmod 707 downloads
chmod 707 files
chmod 707 files/album
chmod 707 files/album/cache
chmod 707 files/album/med_cache
chmod 707 files/album/users
chmod 707 files/album/wm_cache
chmod 707 files/posted_images
chmod 707 files/screenshots
chmod 707 files/thumbs
chmod 707 images/avatars
chmod 707 logs
chmod 606 logs/logfile_attempt_counter.txt
chmod 606 logs/logfile_blocklist.txt
chmod 606 logs/logfile_debug_mode.txt
chmod 606 logs/logfile_malformed_logins.txt
chmod 606 logs/logfile_spammer.txt
chmod 606 logs/logfile_worms.txt
[/code]

After doing that your site will be a little more safe. Most larger public hosts automatically chmod files in that manner though.


