ขอวิธีเปลี่ยนชื่อไฟล์​​ default.settings.php ​​เป็น​​ settings.phpอย่างละเอียดหน่อยรับครับติดนานแล้ว

By formura1

เปลี่ยนชื่อไฟล์​​ default.settings.php ​​เป็น​​ settings.phpไม่เป็นครับติดนานแล้ว

19 comments

รูปภาพของ boymaker
By boymaker
2 years 12 weeks ago

?? ติดตั้งใหม่รึครับ

?? ติดตั้งใหม่รึครับ ก็ก๊อบบี้เฉยๆมิใช้รึ แล้วก็รีเนม

รูปภาพของ Karatae99
By Karatae99
2 years 12 weeks ago

เข้าไปที่โฟร์เดอร์

  1. เข้าไปที่โฟร์เดอร์ ..\sites\default

  2. เอาเม้าส์ คลิกซ้ายที่ default.settings.php หนึ่งที แล้วกดปุ่ม Ctrl + C

  3. กดปุ่ม Ctrl + V ก็จะได้ ไฟล์ใหม่ชื่อ Copy of default.settings.php

  4. คลิกขวาที่ไฟล์ Copy of default.settings.php แล้วเลือก Rename แล้วลบ Copy of default ออก ให้เหลือแต่ settings.php

  5. จบครับ

By formura1
2 years 12 weeks ago

เอาเม้าส์ คลิกซ้ายที่

     เอาเม้าส์ คลิกซ้ายที่ default.settings.php หนึ่งที แล้วกดปุ่ม Ctrl + C

กดปุ่ม Ctrl + V ก็จะได้ ไฟล์ใหม่ชื่อ Copy of default.settings.php

                           ที่ ออกมา=Copy of default.settingsไม่มีdotphpทำไงต่อดีคับงงมาก
By formura1
2 years 12 weeks ago

ผมลงApache2Triad แล้วแต่

ผมลงApache2Triad แล้วแต่ default.settingsไม่มีdotphpเลยrenameไม่ได้และลงdrupalไม่ได้ ไม่รู้ผิดตรงไหนที่ทำไห้phpไม่run

รูปภาพของ Karatae99
By Karatae99
2 years 12 weeks ago

นั่นเป็นเพราะว่า

นั่นเป็นเพราะว่า เครื่องของคุณยังไม่ได้ Show extensions for known file types รึเปล่าเอ่ย?

ถ้าใช่ ให้ rename ทั้งๆที่ไ่ม่มี dot php ก็ได้เช่นกันครับ ให้เหลือแต่ settings ก็ OK หละ

แต่ถ้าไม่ใช่ ลอง View ดู Details ว่า Type เป็น File เฉยๆ หรือเปล่า

ว่าแต่ default.settings.php แต่เดิม ของคุณ มี dot php รึเปล่าหละครับ

By formura1
2 years 12 weeks ago

ผมอ่านหนังสือของse-edcแล้วทำต

ผมอ่านหนังสือของse-edcแล้วทำตามงงมากเพราลงdupalไม่ได้แล้วที่ว่าไม่ได้ Show extensions ทำไงครับชื่อไฟล์​​ default.settings.ก้อเปนphpแต่พอตัด​​ defaultออกเหลือsettingsก้ลงdruppalไม่ได้

รูปภาพของ Karatae99
By Karatae99
2 years 12 weeks ago

สรุปง่ายๆ ใน โฟร์เดอร์

สรุปง่ายๆ ใน โฟร์เดอร์ default ของคุณ ต้องมี

  1. default.settings.php
  2. settings.php

โดยข้อ 2 จะมาจากการ Copy จากข้อ 1 มา Rename ครับ

คุณจะทำยังไงก็ได้ ให้มี 2 ข้อนี้ เป็นพอครับ

By formura1
2 years 12 weeks ago

C:\apache2triad\htdocs\drupal

C:\apache2triad\htdocs\drupal-6.13\sites\default renameแล้วตัดdefaultออกก้อ=

Requirements problem The following error must be resolved before you can continue the installation process: The Drupal installer requires that you create a settings file as part of the installation process. Copy the ./sites/default/default.settings.php file to ./sites/default/settings.php. Change file permissions so that it is writable by the web server. If you are unsure how to grant file permissions, please consult the on-line handbook. More details about installing Drupal are available in INSTALL.txt.

ทำไงต่อดี

รูปภาพของ Karatae99
By Karatae99
2 years 12 weeks ago

เข้าไปที่โฟร์เดอร์

  1. เข้าไปที่โฟร์เดอร์ ..\sites\default
  2. เอาเม้าส์ คลิกขวา ที่ default.settings.php แล้วเลือก Copy
  3. คลิกเม้าส์ขวาในที่ว่าง แล้วเลือก Paste จะได้ไฟล์ใหม่ชื่อ Copy of default.settings.php
  4. คลิกขวาที่ไฟล์ Copy of default.settings.php (ที่ได้จากข้อ 3) แล้วเลือก Rename แล้วตัด Copy of default. ออก ให้เหลือแต่ settings.php
รูปภาพของ ball.in.th
By ball.in.th
2 years 12 weeks ago

ถ้าไฟล์ไม่มี .php

ถ้าไฟล์ไม่มี .php ก็น่าจะก๊อปปี้ default.settings แล้วเปลี่ยนชื่อเป็น settings ครับ
ไม่เคยลองแต่นะจะใช้ได้นะ 555

By Aya
2 years 12 weeks ago

ผมเคยสงสัยว่าทำไมเขาไม่ยอมทำม

ผมเคยสงสัยว่าทำไมเขาไม่ยอมทำมาให้ใน pack ก่อนโหลดตั้งแต่แรกนะ XD

รูปภาพของ Karatae99
By Karatae99
2 years 12 weeks ago

ผมเดาว่า..

ผมเดาว่า.. น่าจะเป็นเหตุผลทางการ Update ครับ ตอนเรา Update เวอร์ชั่นของ drupal

เวลาเราสั่ง Extract files ลงไปทับโดยตรง ถ้าเขาทำ settings.php มาให้ใน pack ตั้งแต่แรก

ของใหม่ก็จะไปทับของเก่า ซึ่ง settings.php อันเดิมของเรา ที่ได้ปรับแต่งค่าไว้ (อย่างน้อยมันก็มีค่า $db_url อยู่หละ)

ซึ่งถ้ามันไปทับของเก่า อาจจะทำให้คุณ " งานเข้าได้ " นิดหน่อย

By chan
2 years 7 weeks ago

ของผม ทำการกอปปี้แล้ว

ของผม ทำการกอปปี้แล้ว และเปลียนชื่อแล้ว มันขึ้นว่า Requirements problem

The following error must be resolved before you can continue the installation process: The directory sites/default/files does not exist. An automated attempt to create this directory failed, possibly due to a permissions problem. To proceed with the installation, either create the directory and modify its permissions manually, or ensure that the installer has the permissions to create it automatically. For more information, please see INSTALL.txt or the on-line handbook.

Please check the error messages and try again.

ขอท่านผุ้รุ้ตอบหน่อยนะครับ ผมใช้ ubuntu 9.12 drupal 6.15 ครับ

รูปภาพของ Karatae99
By Karatae99
2 years 7 weeks ago
By hooyai
1 ปี 29 weeks ago

อยากทราบวิธีกำหนดสิทธิ์

อยากทราบวิธีกำหนดสิทธิ์ settings.php อย่างละเอียดครับ ซื้อหนังสือมาอ่านแล้วงงๆ เพราะไม่มีลายละเอียด เพียงแต่บอกให้เข้าไป prop... แล้วเปลี่ยนเป็น 666 ไม่รู้จะเปลี่ยนตรงไหนครับ

นั่งงมตั้งแต่ หกโมงเย็น ยันตี 2

T^T

ช่วยผมด้วยครับ

By hooyai
1 ปี 29 weeks ago

อยากทราบวิธีกำหนดสิทธิ์

อยากทราบวิธีกำหนดสิทธิ์ settings.php อย่างละเอียดครับ ซื้อหนังสือมาอ่านแล้วงงๆ เพราะไม่มีลายละเอียด เพียงแต่บอกให้เข้าไป prop... แล้วเปลี่ยนเป็น 666 ไม่รู้จะเปลี่ยนตรงไหนครับ

นั่งงมตั้งแต่ หกโมงเย็น ยันตี 2

T^T

ช่วยผมด้วยครับ

รูปภาพของ Karatae99
By Karatae99
1 ปี 29 weeks ago

ถ้าทำใน localhost ด้วยเครื่อง

ถ้าทำใน localhost ด้วยเครื่อง Window$ ก็ไม่ต้องไปสนใจเรื่อง กำหนดสิทธิ์ ครับ

แต่ถ้าทำใน Server จริงๆ หรือ ใช้ Linux ค่อยไปกำหนด

ปล.เขียนถามที่เดียวก็พอแล้วครับ เขียนหลายที่ มันซ้ำซ้อน ^^

รูปภาพของ tondeklnw
By tondeklnw
1 ปี 29 weeks ago

ผมลองทำตามแล้วได้ออกมาแล้วทำไ

ผมลองทำตามแล้วได้ออกมาแล้วทำไงต่อคับที่จะใช้โปรแกรมนี้ได้

รูปภาพของ collection
By collection
1 ปี 29 weeks ago

หมายถึงอะไรครับที่ได้ออกมา

หมายถึงอะไรครับที่ได้ออกมา (ถ้าเรียบร้อยแล้ว หมายถึงติดตั้งเสร็จหรือว่าอย่งไรอธิบายหน่อยครับ)