Jump to content

Admin panelinde hata kodu


looserjack

Recommended Posts

Bu hataları Temalar ekranında en üst kısımda aldım.

 

 

 

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/var/www/vhosts/siteismi/httpdocs/themes//index.php/preview.jpg) is not within the allowed path(s): (/var/www/vhosts/siteismi/:/tmp/) in/var/www/vhosts/siteismi/httpdocs/yonetim/tabs/AdminThemes.php on line 148

 

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/var/www/vhosts/siteismi/httpdocs/themes//debug.tpl/preview.jpg) is not within the allowed path(s): (/var/www/vhosts/siteismi/:/tmp/) in/var/www/vhosts/siteismi/httpdocs/yonetim/tabs/AdminThemes.php on line 148

 

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/var/www/vhosts/siteismi/httpdocs/themes//live_edit.tpl/preview.jpg) is not within the allowed path(s): (/var/www/vhosts/siteismi/:/tmp/) in/var/www/vhosts/siteismi/httpdocs/yonetim/tabs/AdminThemes.php on line 148

 

 

 

index.php debug.tpl ve live_edit_tpl yi yenileriylede değiştirdim. Adminthemes.php de 148. satır ;

 

 

 

 

if ($folder != '.' AND $folder != '..' AND file_exists(_PS_ALL_THEMES_DIR_.'/'.$folder.'/preview.jpg'))

$themes[$folder]['name'] = $folder;

 

 

 

Bu şekilde. Burada hata nerde

Edited by looserjack (see edit history)
Link to comment
Share on other sites

Mesela open_basedir /var/hcc/www:/var/hcc/tmp/upload /dev/null ise

 

değeri /var/hcc/www yapmayı deneyebilirsin. Duruma göre değişir. Ama hata kodunda open_basedir kısıtı hata mesajı alıyorsun. Hosting provider'ın da fikri olabilir. Sormakta fayda var.

 

 

 

php.ini üzerinde nasıl bir değişiklik istediğimizi soruyorlar kardeşim, ben o kısıma hiç müdahele etmedim host firmasına ne demeliyiz tam olarak. Yukarıdaki bilgileri verdim anlamadılar galiba.

Link to comment
Share on other sites

Prestashop uygulaması kullanan müşterilerimiz var kurulumda sizi üst dzinlere izin için zorlayan bir uygulama malesef.

Ancak müşterilerimiz kodlarda /var/hcc/www:/var/hcc/tmp/upload yerine örneği /var/www/vhosts/siteadiniz.com/tmp/upload şeklinde düzenleme yaparak kullanmaktalar.

 

 

Bunu veriyolar bende o zaman izin vermiyosunuz siz yapın dedim ve bekliyorum, mevcut değeride soruyorum.

Link to comment
Share on other sites

Safa'ya katılıyorum, ama işte insan herşey kusursuz olsun isteyince böyle oluyor.

 

Benim kurulumda da var böyle hatalar, hala çözüm bulamadığım şeyler.

 

Benim de kafamı kurcalayıp duruyor.

 

Aslında Prestashop'ta kusursuzluk beklemek de ayrı bir paradoks :)

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...