ZuCChiNi
07-10-2012, 00:26
SobiPro'yu kurdum, ayarlarını yaptım, bir-kaç bilgi girdim ve yayınladım.
Sayfada SobiPro linkine tıklayınca sayfanın en üstünde aşağıdaki uyarı çıkıyor.
Warning: mkdir() [function.mkdir]: SAFE MODE Restriction in effect. The script whose uid is 10102 is not allowed to access /var/www/vhosts/domain/httpdocs/tmp/SobiPro owned by uid 48 in /var/www/vhosts/domain/httpdocs/components/com_sobipro/lib/cms/joomla_common/base/mainframe.php on line 113
mainframe.php içeriği
109. // try mkdir because it's always used by apache
110. if ( !( Sobi::Cfg( 'cache.store', false ) ) ) {
111. if ( $jconfig->getValue( 'config.ftp_enable' ) ) {
112. if ( !( file_exists( $jconfig->getValue( 'config.tmp_path' ) . DS . 'SobiPro' . DS . 'Cache' ) ) ) {
113. if ( !( mkdir( $jconfig->getValue( 'config.tmp_path' ) . DS . 'SobiPro' . DS . 'Cache' ) ) ) {
114. // really ;)
115. JFolder::create( $jconfig->getValue( 'config.tmp_path' ) . DS . 'SobiPro' . DS . 'Cache', 0775 );
116. }
117. }
118. $cfg->set( 'store', $jconfig->getValue( 'config.tmp_path' ) . DS . 'SobiPro' . DS . 'Cache' . DS, 'cache' );
119. }
120. }
121. }
Yayınlandığı alanın üstünde ise aşağıdaki hatayı veriyor.
Hata
JFTP: :mkdir: Kötü yanıt
JFTP: :chmod: Kötü yanıt
SobiPro'da System Check ettiğimde ise kırmızı ile işaretli satırlar çıkıyor.
Does not comply with the requirement - Safe Mode - PHP Safe Mode has to be disabled
Does not comply with the requirement - SOAP Support - SOAP extension not available
Anladığım kadarı ile Safe Mode : OFF olması gerekiyor.
Hostum ise kesinlikle OFF yapmaz. Çünkü sütten ağzı yandı.
Aslında SobiPro bu hatalara rağmen sorunsuz çalışıyor.
Asıl sorun bunları logluyor. Ziyaretçi sayısına göre bir-kaç günde veritabanına 30 Mb kayıt yapıyor.
Bu da veritabanının lüzumsuz yere şişmesi demek.
Safe Mode için ayrı bir çözüm var mı, ya da bu sorunun bir hal çaresi var mı?
Sayfada SobiPro linkine tıklayınca sayfanın en üstünde aşağıdaki uyarı çıkıyor.
Warning: mkdir() [function.mkdir]: SAFE MODE Restriction in effect. The script whose uid is 10102 is not allowed to access /var/www/vhosts/domain/httpdocs/tmp/SobiPro owned by uid 48 in /var/www/vhosts/domain/httpdocs/components/com_sobipro/lib/cms/joomla_common/base/mainframe.php on line 113
mainframe.php içeriği
109. // try mkdir because it's always used by apache
110. if ( !( Sobi::Cfg( 'cache.store', false ) ) ) {
111. if ( $jconfig->getValue( 'config.ftp_enable' ) ) {
112. if ( !( file_exists( $jconfig->getValue( 'config.tmp_path' ) . DS . 'SobiPro' . DS . 'Cache' ) ) ) {
113. if ( !( mkdir( $jconfig->getValue( 'config.tmp_path' ) . DS . 'SobiPro' . DS . 'Cache' ) ) ) {
114. // really ;)
115. JFolder::create( $jconfig->getValue( 'config.tmp_path' ) . DS . 'SobiPro' . DS . 'Cache', 0775 );
116. }
117. }
118. $cfg->set( 'store', $jconfig->getValue( 'config.tmp_path' ) . DS . 'SobiPro' . DS . 'Cache' . DS, 'cache' );
119. }
120. }
121. }
Yayınlandığı alanın üstünde ise aşağıdaki hatayı veriyor.
Hata
JFTP: :mkdir: Kötü yanıt
JFTP: :chmod: Kötü yanıt
SobiPro'da System Check ettiğimde ise kırmızı ile işaretli satırlar çıkıyor.
Does not comply with the requirement - Safe Mode - PHP Safe Mode has to be disabled
Does not comply with the requirement - SOAP Support - SOAP extension not available
Anladığım kadarı ile Safe Mode : OFF olması gerekiyor.
Hostum ise kesinlikle OFF yapmaz. Çünkü sütten ağzı yandı.
Aslında SobiPro bu hatalara rağmen sorunsuz çalışıyor.
Asıl sorun bunları logluyor. Ziyaretçi sayısına göre bir-kaç günde veritabanına 30 Mb kayıt yapıyor.
Bu da veritabanının lüzumsuz yere şişmesi demek.
Safe Mode için ayrı bir çözüm var mı, ya da bu sorunun bir hal çaresi var mı?