Am I doing something wrong here?

Ok so i'm working to to optimise my server for dolphin but i keep getting errors.

 

If i switch from suPHP to DSO then i get these errors.

Warning: session_start() [function.session-start]: open(/tmp/sess_e77664300b56c1d1d93f42b73792f040, O_RDWR) failed: Permission denied (13) in/home/fluxhost/public_html/modules/deano/deanos_facebook_connect/inc/fbsdk/dbcs_fbc_facebook.php on line 38


Warning: Unknown: open(/tmp/sess_e77664300b56c1d1d93f42b73792f040, O_RDWR) failed: Permission denied (13) in Unknown on line 0

Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp) in Unknown on line 0


But it fixes the issues with magic_quotes_gpc.


When I switch back to suPHP magic_quotes_gpc turns itself on (even though it is off in PHP Configuration Editor) 


the other issue is with cache servers, when i switch to memcache the site fails to load blocks and i get the following errors.

Warning! PageView cache cannot be evaluated. Please recompile.
Warning: Cannot modify header information - headers already sent by (output started at /home/fluxhost/public_html/inc/classes/BxDolPageView.php:163) in/home/fluxhost/public_html/inc/design.inc.php on line 133

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/fluxhost/public_html/inc/classes/BxDolPageView.php:163) in/home/fluxhost/public_html/modules/deano/deanos_facebook_connect/inc/fbsdk/dbcs_fbc_facebook.php on line 38

I have made sure memcache is both installed and available

 

I ran the following to make sure it is running

 

root@buttercup [~]# ps aux | grep memcachedroot      7935  0.0  0.2   5492   716 pts/1    S+   16:02   0:00 grep memcachedroot@buttercup [~]# /sbin/chkconfig memcached onroot@buttercup [~]# /sbin/chkconfig --list | grep memcachedmemcached       0:off   1:off   2:on    3:on    4:on    5:on    6:offroot@buttercup [~]# memcached -d -m 1024 -u root -l 127.0.0.1 -p 11211

 

 any ideas?

~~Mike ~~ This Signature is missing something :(
Quote · 13 Sep 2012

Under suphp, the permissions of files and folders does not matter to much as the web server and php run as the owners account.

However that is not the case under DS0

You must go through all folders and make sure the permissions are correct. This is not just the standard dolphin permissions but all content that was uploaded by the webserver. This would include all content in the cache, cache_public and tmp folders which you should just remove anyway. All content uploaded by members. Photos, videos, files, ect. All of that stuff would either have to be changed to writable so the webserver can access it, or ownership changed to the apache server.

This is no easy task, especially on a already established site. To do it you need to know and fully understand unix file permissions and ownership of files.

https://www.deanbassett.com
Quote · 13 Sep 2012
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.