-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
İlk Kurulum Sorunları #23
Comments
Sorun 1 : PHP Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/lib/php/sessions) in Unknown on line 0 Hatası Bu sorunlar satın alınan sunucularda karşılaşılmıyor, eğer yerelde denemelerde uygulama çalıştığında konsolda aşağıdaki gibi hata alınabilir.
[Wed Feb 13 00:33:00 2019] 127.0.0.1:48716 [200]: /favicon.ico
[Wed Feb 13 00:33:02 2019] 127.0.0.1:48720 [200]: /
[Wed Feb 13 00:33:02 2019] PHP Warning: Unknown: Session data file is not created by your uid in Unknown on line 0
[Wed Feb 13 00:33:02 2019] PHP Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/lib/php/sessions) in Unknown on line 0 Çözüm 1: Dizin iznini 750 verelim:
Muhtemelen aynı dosya üzerine yazmaya çalışıyordur, aşağıdaki gibi var olan bir dosyayı silelim:
|
Sorun 2: SQLSTATE[42000]: Syntax error or access violation: 1055 Expression of SELECT list is not in GROUP BY clause and contains nonaggregated column 'DATABASE.user.id' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by → /var/www/html/lib/ApplicationSql.php at line 157 Hatası Çözüm 2: Bu sorun ( Bakıyoruz: mysql> SELECT @@GLOBAL.sql_mode; # check sql_mode Ayarlıyoruz: mysql> SET GLOBAL sql_mode=(SELECT REPLACE(@@sql_mode,'ONLY_FULL_GROUP_BY','')); MySQL 5.8'den sonra böyle bir hata yok. |
Sorun 3: /var/www/html/islamvakti.net/public_html/.htaccess: Invalid command 'RewriteEngine', perhaps misspelled or defined by a module not included in the server configuration, referer: http://172.104.155.13/home/index Çözüm 3: modül aktif etme sudo a2enmod rewrite apache restart etme sudo service apache2 restart |
Sorun 4: Call to undefined function curl_init() Çözüm 4: sudo apt-get install php-curl apache restart etme sudo service apache2 restart |
Burada uygulamanın kurulum ve yapılandırma eksiklikleri hakkında talepler açılacaktır.
Örnek taslak :
The text was updated successfully, but these errors were encountered: