Okay, this is the third time my site has gone down and it's starting to tick me off. The last time, I was able to finally get it back up with everything working correctly, but it wiped my database out! So every profile, picture, etc. was lost. Now... I'm getting the same error that started this mess:
Warning: main(/home/triumph/public_html/community/ray/modules/global/inc/header.inc.php) [function.main]: failed to open stream: Permission denied in /home/triumph/public_html/community/inc/header.inc.php on line 173
Fatal error: main() [function.require]: Failed opening required '/home/triumph/public_html/community/ray/modules/global/inc/header.inc.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/triumph/public_html/community/inc/header.inc.php on line 173
I know I know, my ray folder permissions are incorrect... it's set to 000.... But it wasn't yesterday. This is the second time that my ray folder permission has changed without me doing it. Does anyone know of a bug that does that?
|
Do to security on some servers (hosts) by default will auto set file permissions, second senario is if your using an FTP client to CHMOD and the file permissions were changed originally at script level, you may have to login to your admin panel (example.. cPanel, Plesk..) and change them from there if they have owner permssions only.
Ive had where I changed the file permissions in my FTP program and thought they were changed but had found they actually hadn't because I didnt refresh my FTP window to check if the change took effect. I personally havent heard of any bugs that would do what your saying in dolphin.
|
I set all the permissions through cpanel. But I've only had this problem with Ray. Is there any way I can run the free version of dolphin without Ray? |
I set all the permissions through cpanel. But I've only had this problem with Ray. Is there any way I can run the free version of dolphin without Ray?
I dont believe you can but you might want to ask someone higher up that would know that question. I personally havent tryed it without. If your folder permissions are constantly changing you might want to look at changeing your admin passwords and verify all folders have the correct files in them and its not being changed from someone else (hacked). Not saying this is the case but just something to think about.
|
You can disable ray under "advanced settings" |
So, I reloaded the ray folder and now the site can be seen, but this error is posted in the header of every page and none of the ray modules are working:
Warning: main([path_to]inc/header.inc.php) [function.main]: failed to open stream: No such file or directory in /home/triumph/public_html/community/ray/modules/global/inc/header.inc.php on line 10
Warning: main([path_to]inc/header.inc.php) [function.main]: failed to open stream: No such file or directory in /home/triumph/public_html/community/ray/modules/global/inc/header.inc.php on line 10
Warning: main([path_to]inc/header.inc.php) [function.main]: failed to open stream: No such file or directory in /home/triumph/public_html/community/ray/modules/global/inc/header.inc.php on line 10
Warning: main() [function.include]: Failed opening '[path_to]inc/header.inc.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/triumph/public_html/community/ray/modules/global/inc/header.inc.php on line 10
Warning: Cannot modify header information - headers already sent by (output started at /home/triumph/public_html/community/ray/modules/global/inc/header.inc.php:10) in /home/triumph/public_html/community/inc/design.inc.php on line 488
I'm assuming this error is coming from the incorrect permissions for the ray folder and files.
I reloaded the install folder so I could change the permissions (I don't remember what file is suppose to be set on what)
But it said, "Installed. Please delete the file and refresh the page to activate your site"
This is is the address, if someone can help me fix this, I would really appreciate it. Thanks so much. http://www.community.wetriumph.org
|
Do to security on some servers (hosts) by default will auto set file permissions, second senario is if your using an FTP client to CHMOD and the file permissions were changed originally at script level, you may have to login to your admin panel (example.. cPanel, Plesk..) and change them from there if they have owner permssions only.
Ive had where I changed the file permissions in my FTP program and thought they were changed but had found they actually hadn't because I didnt refresh my FTP window to check if the change took effect. I personally havent heard of any bugs that would do what your saying in dolphin.
I'm kinda thinking I was hacked since the permissions were changed twice without my doing. I've changed the password. Do you know of anything else I should do, because it's not like I had an easy one to figure out.
|
Personally I would back up the datavbase and do a reinstall from scratch. You really do not have a lot at the moment on the site and it would probably be faster to reinstall and resetup then to chase down the problem. Make sure in case it was a small hack that you install Sammie's security fix. If you must chase down the problem the first thing you need to do is look at the header.inc in ray/modules/global/inc/header.inc and make sure the right files are being called, speciifically line 10 like it says which should be calling your root header.inc. When you manually put Ray back in the Header.inc files were probably not set up as they are automatically when you originally install.
Signed,
Reginald
|
Where would I find Sammie's Security Fix? |
And yes, there isn't very much on there because my database got swiped a couple of days ago. |
here is the link:
http://www.boonex.com/unity/forums/?action=goto&topic_id=fix-for-dolphin-exploit
Send me a message in my profile if you need any help. I actually have a community very similiar to yours and wish you the best in getting your site back up.
|
just go to /ray/modules/global/inc/header.inc.php
find [path_to]
and replace it with
/home/triumph/public_html/community/
Regards
Artur
|