Yeni başlayan için MySQL ayarı

Merhaba, drupal'le ilgilenmeye yeni başladım. PHP ve MySQL'e yabancı değilim. Ancak, site'me Drupal kuramıyorum. MySQL hatası alıyorum.

$db_url = 'mysql://username:password@localhost/databasename';

satırı nasıl editleniyor? username, password ve databasename gördüğüm yerlere benim ayarlarımı yazdım, ama bişey çıkmadı. MySQL kullanıcı adı ya da şifremin -doğru olmasına rağmen- doğru olup olmadığını kontrol etmemi istiyor. Bir de altta "$db_prefix = '';" var. Burada istediğimiz bir ön-ek verebiliyoruz sanıyorum?

Forumlar:

kurulumu baştan kısaca özetleyeyim.

settings.php dosyasını, oluşturduğun database kullanıcı adı şifre ile alakalı editleyip, yukarıda söylediğin gibi, kaydettin.

dosyaları ftp'ye attın.

oluşturduğun database'e girip, sana uyan versiyon hangisi ise, yereldeki database klasörünün içindeki, database.4.0.mysql ya da database.4.1.mysql büyük ihtimalle, dosyasını import ettin.

sitenin bunlardan sonra çalışması lazım ama host ile alakalı problem yaşıyorsan o anda, database server ile bağlantıya geçilemiyorsa bu uyarıyı alabilirsin.

kolay gelsin.

Yazmasak yokuz, Var mısınız?

www.universideliyiz.biz

Selam,

bahsettiğiniz adımları izledim. Sonraki adım olarak, "www.mysite.com/drupal" girdim ama olmadı. Bomboş bir sayfa çıkıyor karşıma. Nerede hata yapıyor olabilirim?

Acaba root'a mı koymalıyım drupal dosyalarını?

"sitenin bundan sonra çalışması lazım" demişsiniz, "ne yaparak çalıştıracağız" diye sorsam komik olur mu? "www.mysite.com/drupal" girdim adres satırında, yine de olmadı. :-S

Nirşey gözümden kaçıyor ama bulamıyorum. Yardımcı olur musunuz?

 

database ile ilgili kısmı hallettiysen, dosyaları attığın adrese göre değişir durum. sen mesela "www.mysite.com/drupal" yazıyorsan dosyalarının drupal alt klasöründe olmalı yani index.php,cron.php,database klasörü,misc,modules vs.

mühim olan index.php nerede olduğu. x isimli folder altında ise index.php o zaman www.mysite.com/x yazarsan erişmelisin drupal kurulumuna ya da bu aynen www.mysite.com/x/index.php demek.

eğer roota koyarsan dosyaları www.mysite.com www.mysite.com/index.php çalıştırır.

Yazmasak yokuz, Var mısınız?

http://www.universideliyiz.biz

Umarım sorununu çözer ama bende de settings.php dogru yarlar girildiği halde hep kontrol edin gibi bir mesaj gelioyrdu bende ch mod 777 (windows:salt okunur) yaptım ve bir dahada böle bişeyle karşılaşmadım

Selam,

Oldu ama nasıl oldu anlamadım :-)

Database'deki eski siteye ait başka table'lar vardı. Tamamını kaldırdım. Sonra import ettim. ve nedense oldu... :-)

Localde de benzer problemler yaşıyordum. MySQL'i default ayarlarıyla kullanıyordum. "root" ve "password-OFF" idi.
(Önce database'imi rename ettim n'olur n'olmaz diye ;-)) phpMyAdmin ile yeni bir kullanıcı tanımladım MySQL için. Bu kullanıcıya username ve password verdim. Sıfırdan bir database açtım. Bu kullanıcıyı bu database ile ilişkilendirdim. settings.php'deki ayarları da bu user ve pass'e göre düzenledim. Tataaaa...

Teşekkürler ilgilerinize.

user warning: Access denied for user 'tlg'@'localhost' to database 'veri' query: LOCK TABLES cache WRITE in d:\inetpub\gezegentr.com\www\includes\database.mysql.inc on line 121.

Bu hatayı veriyor arkadaşlar siteyi kuruyorum yalnız simgeler arkaplan filan çıkmıyor. Neden anlamıyorum herşeyi tam yaptım.


<?php
// $Id: settings.php,v 1.27 2006/04/24 19:25:37 dries Exp $
/**
* @file
* Drupal site-specific configuration file.
*
* The configuration file to be loaded is based upon the rules below.
*
* The configuration directory will be discovered by stripping the
* website's hostname from left to right and pathname from right to
* left. The first configuration file found will be used and any
* others will be ignored. If no other configuration file is found
* then the default configuration file at 'sites/default' will be used.
*
* For example, for a fictitious site installed at
* http://www.drupal.org/mysite/test/, the 'settings.php'
* is searched in the following directories:
*
* 1. sites/www.drupal.org.mysite.test
* 2. sites/drupal.org.mysite.test
* 3. sites/org.mysite.test
*
* 4. sites/www.drupal.org.mysite
* 5. sites/drupal.org.mysite
* 6. sites/org.mysite
*
* 7. sites/www.drupal.org
* 8. sites/drupal.org
* 9. sites/org
*
* 10. sites/default
*
* If you are installing on a non-standard port number, prefix the
* hostname with that number. For example,
* http://www.drupal.org:8080/mysite/test/ could be loaded from
* sites/8080.www.drupal.org.mysite.test/.
*/
/**
* Database settings:
*
* Note that the $db_url variable gets parsed using PHP's built-in
* URL parser (i.e. using the "parse_url()" function) so make sure
* not to confuse the parser. If your username, password
* or database name contain characters used to delineate
* $db_url parts, you can escape them via URI hex encodings:
*
* : = %3a / = %2f @ = %40
* + = %2b ( = %28 ) = %29
* ? = %3f = = %3d & = %26
*
* To specify multiple connections to be used in your site (i.e. for
* complex custom modules) you can also specify an associative array
* of $db_url variables with the 'default' element used until otherwise
* requested.
*
* You can optionally set prefixes for some or all database table names
* by using the $db_prefix setting. If a prefix is specified, the table
* name will be prepended with its value. Be sure to use valid database
* characters only, usually alphanumeric and underscore. If no prefixes
* are desired, leave it as an empty string ''.
*
* To have all database names prefixed, set $db_prefix as a string:
*
* $db_prefix = 'main_';
*
* To provide prefixes for specific tables, set $db_prefix as an array.
* The array's keys are the table names and the values are the prefixes.
* The 'default' element holds the prefix for any tables not specified
* elsewhere in the array. Example:
*
* $db_prefix = array(
* 'default' => 'main_',
* 'users' => 'shared_',
* 'sessions' => 'shared_',
* 'role' => 'shared_',
* 'authmap' => 'shared_',
* 'sequences' => 'shared_',
* );
*
* Database URL format:
* $db_url = 'mysql://username:password@localhost/databasename';
* $db_url = 'mysqli://username:password@localhost/databasename';
* $db_url = 'pgsql://username:password@localhost/databasename';
*/
$db_url = 'mysql://username:password@localhost/databasename';
$db_prefix = '';
/**
* Base URL (optional).
*
* If you are experiencing issues with different site domains,
* uncomment the Base URL statement below (remove the leading hash sign)
* and fill in the URL to your Drupal installation.
*
* You might also want to force users to use a given domain.
* See the .htaccess file for more information.
*
* Examples:
* $base_url = 'http://www.example.com';
* $base_url = 'http://www.example.com:8888';
* $base_url = 'http://www.example.com/drupal';
* $base_url = 'https://www.example.com:8888/drupal';
*
* It is not allowed to have a trailing slash; Drupal will add it
* for you.
*/
# $base_url = 'http://www.example.com'; // NO trailing slash!
/**
* PHP settings:
*
* To see what PHP settings are possible, including whether they can
* be set at runtime (ie., when ini_set() occurs), read the PHP
* documentation at http://www.php.net/manual/en/ini.php#ini.list
* and take a look at the .htaccess file to see which non-runtime
* settings are used there. Settings defined here should not be
* duplicated there so as to avoid conflict issues.
*/
ini_set('arg_separator.output', '&');
ini_set('magic_quotes_runtime', 0);
ini_set('magic_quotes_sybase', 0);
ini_set('session.cache_expire', 200000);
ini_set('session.cache_limiter', 'none');
ini_set('session.cookie_lifetime', 2000000);
ini_set('session.gc_maxlifetime', 200000);
ini_set('session.save_handler', 'user');
ini_set('session.use_only_cookies', 1);
ini_set('session.use_trans_sid', 0);
ini_set('url_rewriter.tags', '');
/**
* Variable overrides:
*
* To override specific entries in the 'variable' table for this site,
* set them here. You usually don't need to use this feature. This is
* useful in a configuration file for a vhost or directory, rather than
* the default settings.php. Any configuration setting from the 'variable'
* table can be given a new value.
*
* Remove the leading hash signs to enable.
*/
# $conf = array(
# 'site_name' => 'My Drupal site',
# 'theme_default' => 'pushbutton',
# 'anonymous' => 'Visitor'
# );

Burada hangilerini düzenliyoruz. Yardımcı olur musunuz.

LOCK komutunu kullanmaya iznin yok. hostingcilerinle bi gorus.

komik gelecek ama ben settings.php yi bulamadim

drupal altinda sites/default/settings.php

tesekkurler kurulum gercekten cok kolay oldu.

settings.php dosyasında değişikliği yaptım, veritabanındaki değişikliği de gerçekleştirdim ama bir türlü blog dizinine erişemiyorum. Sebebi ne olabilir? Alttaki hatayı alıyorum.


Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, xxxxx@kayyo.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

.htaccess ve settings.php dosyalarındaki bazı ayarları yapmaya izniniz olmayabilir. .htaccess dosyasının adını değiştirip hata çıkıp çıkmadığına bakın. Eğer hata çıkmamaya başlarsa .htaccess dosyasındaki komutları bir seferde bir komut olmak üzere silerek hata çıkmayana kadar deneyin.

Eğer sorunun kaynağı .htaccess dosyası değilse settings.php dosyasındaki ini_set fonksiyonlarını tek tek başlarına // işareti koyarak yorum içine alıp öyle deneyin.

Uzun bir uğraştan sonra kurdum, nerde hata yaptığımı bulmam çok zamanımı aldı, genelde çok ufak ve saçma sapan hatalar unutkanlıklar saatleri alıp götürüyor.

Ama kurduktan sonra aşağıdaki hata mesajlarını ana sayfada görüyorum ve ne yazık ki ne olduğunu anlamak benim için zor, bunlar nedir, nasıl ortadan kaldırırım? (Bu hata mesajının hemen altında ana sayfam görünüyor)

Bu kurulum aşamalarını başarıyla geçebilirsem, acemi kullanıcılar için bir kurulum nasıl yapılır yazısı yazacağım :)

Warning:  ini_set() has been disabled for security reasons in /data/www/t/tester01/public_html/sites/default/settings.php on line 121
Warning: ini_set() has been disabled for security reasons in /data/www/t/tester01/public_html/sites/default/settings.php on line 122
Warning: ini_set() has been disabled for security reasons in /data/www/t/tester01/public_html/sites/default/settings.php on line 123
Warning: ini_set() has been disabled for security reasons in /data/www/t/tester01/public_html/sites/default/settings.php on line 124
Warning: ini_set() has been disabled for security reasons in /data/www/t/tester01/public_html/sites/default/settings.php on line 125
Warning: ini_set() has been disabled for security reasons in /data/www/t/tester01/public_html/sites/default/settings.php on line 126
Warning: ini_set() has been disabled for security reasons in /data/www/t/tester01/public_html/sites/default/settings.php on line 127
Warning: ini_set() has been disabled for security reasons in /data/www/t/tester01/public_html/sites/default/settings.php on line 128
Warning: ini_set() has been disabled for security reasons in /data/www/t/tester01/public_html/sites/default/settings.php on line 129
Warning: ini_set() has been disabled for security reasons in /data/www/t/tester01/public_html/sites/default/settings.php on line 130
Warning: ini_set() has been disabled for security reasons in /data/www/t/tester01/public_html/sites/default/settings.php on line 131
Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /data/www/t/tester01/public_html/sites/default/settings.php:121) in /data/www/t/tester01/public_html/includes/bootstrap.inc on line 760
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /data/www/t/tester01/public_html/sites/default/settings.php:121) in /data/www/t/tester01/public_html/includes/bootstrap.inc on line 760
Warning: Cannot modify header information - headers already sent by (output started at /data/www/t/tester01/public_html/sites/default/settings.php:121) in /data/www/t/tester01/public_html/includes/bootstrap.inc on line 562
Warning: Cannot modify header information - headers already sent by (output started at /data/www/t/tester01/public_html/sites/default/settings.php:121) in /data/www/t/tester01/public_html/includes/bootstrap.inc on line 563
Warning: Cannot modify header information - headers already sent by (output started at /data/www/t/tester01/public_html/sites/default/settings.php:121) in /data/www/t/tester01/public_html/includes/bootstrap.inc on line 564
Warning: Cannot modify header information - headers already sent by (output started at /data/www/t/tester01/public_html/sites/default/settings.php:121) in /data/www/t/tester01/public_html/includes/bootstrap.inc on line 565
Warning: Cannot modify header information - headers already sent by (output started at /data/www/t/tester01/public_html/sites/default/settings.php:121) in /data/www/t/tester01/public_html/includes/bootstrap.inc on line 566

Sunucunun PHP ayarlarında ini_set fonksiyonuna izin verilmiyor demek ki. Bu fonksiyonları sites/default/settings.php dosyasından kaldırman veya o satırların başına // işaretini koyman gerekecek. Bunu yaptığın zaman bu hataları almayabilirsin ama bu sefer de Drupal'ın düzgün çalışmama olasılığı var.

Merhaba Ustad'lar ;

Benim sorunum sanırım Mysql'dan Bu işe yeni baslayanlardanım mysql kurmasını ya da ayarlamasını bilmiyorum html tasarlardım genelde yalnız 1 php kurmak istedim bi scripti deniyeyim dedim scripti aynen FTP'ye attım ve siteye girdiğimde aldığım sonuç aynen şu yazılar;


Warning: set_time_limit(): Cannot set time limit in safe mode in init.php on line 3

Warning: session_start(): Cannot send session cookie - headers already sent by (output started at init.php:3) in init.php on line 4

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at init.php:3) in init.php on line 4

Warning: Cannot modify header information - headers already sent by (output started at init.php:3) in admin/includes/classes/class.install.php on line 269

Yardımcı olursanız sevinirim Şimdiden Hepinize Teşekkür ederim...

Senin sorunun set_time_limit() fonksiyonunu kullanamamanla ilgili. Ya PHP ayarlarını değiştirip safe mode ayarını kapatacaksın ya da set_time_limit() fonksiyonunu kullanmayacaksın. Bu sorunu çözmek için host şirketine danış.

merhaba ben byethost.com dan host aldım ve kurulum yapmayı denedim. kurulumu araştırdığım ve gördüğüm yazılara göre yapmaya çalışıyorum ama olmuyor.
kurulum sırasında database kullanıcı adı şifresi gibi bilgilerin girildiği ekranda tüm bilgileri doğru girdiğim zaman sayfa kendisini yenilemiş gibi hiç bir şey olmuyor.

bilgilerden birisini yanlış girdiğimde ise hata mesajını normal bir şekilde alabiliyorum ne yapmam gerekli... gösterdiğiniz ilgi için şimdiden teşekkürler

sende porno izlemek istemez misin you win in world class wideo and image
pornolaryani sen kazandı n bir video ve bir çok resim aslında hemen burda sikişenleri görebilirsin.
yada kendi tercih dünyada ki tüm sexianları yaşa veya canlı canlı porno izleaslında sende çok izlemek ve türbanın altında olanı görmek için türbanlı pornosu artık yasak kalktı ve sexse özgürlük geldi

Coach Factory Online provide Coach Shoulder Bag is among the finest good quality manufacturers inside components Coach Outlet Online. With secure leather-based and wonderful design Coach Factory Outlet grow to be a great deal more fashion. Louis vuitton purses has several people with extremely certified pro and managerial talents, plus a substantial taste of high-tech style on the Coach Factory Outlet. Coach Factory On profit make utilization of the excellent substance as nicely as the trendy style to allow persons get satisfaction from the Coach Factory Outlet Online. Coach Factory Outlet Online obtain acclaim in revolutionary design, stylish appearance, excellent and unsurpassed services. All of the louis vuitton handbags are protected and soft, you can use it at ease. Coach Factory Online offer items with fashionable appearances, exceptional good quality materials, well-known manufacturer name, all of those make Coach Factorys grow to be well-known in planet wide. This period is about coloring and style, this Coach Factory Outlet using the adorable coloring and fashionable style satisfy your demands well. The brand Coach Factory new artist Coach Shoulder Bags On profit is offering inside industry now. The coloring as nicely as the design are adorable, cute and trendy with Coach Factory Online embossed logo on this shoulder bag. being honest,it's worthwhile for you personally to purchase these. Don't hesitate, take action, you will find what you want.

The Ralph Lauren Outlet provide a world of comfort and luxury for the men and women, discover the latest and Cheap Polo Ralph Lauren from here! Go on with the Cheap Oakley Sunglasses, no matter where you go, the Oakley Sunglasses Cheap add the happiness and healthy to you!


http://www.getralphlaurenoutlet.com/
http://www.oakleysunglassesonlinecheap.com

Men Oakley sunglasses polarized are designed technologically for performance, sport and lifestyle, Cheap Oakley Sunglasses are available at the official site, the Oakley Sunglasses with latest innovation and fashion, Cheap Oakley Sunglasses let the wearer feel exciting, the gold-timed Jimmy Choo Outlet platform shoes never be missed by the superstar!



http://www.jimmychoo--outletsale.com
http://www.oakleysunglasses-storesonline.com/
http://www.onecheapoakleysunglasses.co.uk

Thanks for the best blog. Along with the development of the Internet, people can buy all kinds of Louis Vuitton Outlet they want, this help a lof of people save the time and the energy.

Louis Vuitton incorporated its leather into most of its products, Louis Vuitton UK All kinds are popular among the whole word people. louis vuitton outlet leads you to bags collection of wide, such as LV bags and LV handbag etc. maybe the dre beats internet site may well be considered. If you need practical, fashionable and well-known beats headphones. rhodium-plated hoop polo ralph lauren uk features a dangling 3D Hello Kitty. Perfumes chanel outlet, in exchange for a monthly stipend. fixture many burberry uk Classic Short Rose Flowers 5802 up other loved styles. Raised in Texas and New Mexico,gucci belt had been interested in fashion. tiffanys and a record-breaking turnout for her college campus tour. In the late 1980s, christian louboutin uk gave turned away from fashion. Coach Outlet Online Store guarantee that all the coach handbags offered are own high quality. Coach Outlet sells products which are excellent in quality and reasonable in price. which one in Coach Factory Outlet Online will never be out of fashion. Louis Vuitton Wallet who had been elevated to President and Chief Executive Officer of louis vuitton sac NV, sac louis vuitton are made of high leather materials which can be durable and fashionable. Coach Wallets for manufacturing technologically upgraded coach outlet canada of stainless steel shells. If you need practical, fashionable and well-known Nike Dunks. coach outlet online is to Bill in Left 4 Dead. lately and browsed coach outlet you may find that, We have large quantity coach outlet online Store . You can find many wonderful cheap Nike Dunks on our nike Factory Stores. Coach Kristin Leather Tote in Coach Outlet Online is feature with top leather which is durable. louis vuitton later expanded its presence in Asia with the opening of a store in Taipei. Magazine said that louis vuitton belt were forced to take legal action.