function php ที่ไม่ค่อยได้ใช้ เก็บไว้เผื่อลืม

wget with username , password for http

Commard: wget –user=destination-username –password=destination-password http://destination-url/

Outlook setting for Hotmail/Live

ค่าสำหรับตั้ง Outlook หรือโปรแกรมอื่นๆ ที่จะใช้งานกับอีเมลของ Microsoft

อ่านต่อคลิกที่นี่ »

Joomla 1.5.20 + SMF 1.1.11 (Bridge: jFusion 1.5.1)

บันทึกนี้ไม่ใช่วิธีติดตั้ง แต่เป็นบันทึการติดตั้งของผมเท่านั้น เพราะติดตั้งเสร็จแล้ว ผมก็ยังรู้สึกมันยังใช้งานไม่สมบูรณ์

อ่านต่อคลิกที่นี่ »

Google Apps ไม่สามารถกด Activate E-mail Service ได้

อาการคือมันกด แล้วมันก็อยู่ที่หน้าเดิม…. -*-

วิธีแก้…

จากหน้า Dashboard ให้คลิกเข้าที่ Email

เข้าที่ Instructions on how to activate Email

เข้าที่ Change MX records

Google Apps “Your domain is not yet ready”, “โดเมนของคุณยังไม่พร้อม”

ตอนสมัคร Google Apps แล้วไม่ได้ Verify ความเป็นเจ้าโดเมนเนม หรืออะไรสักอย่างที่ผิดพลาด จะทำให้อยู่ในสถานะ ที่ Google จะให้เราทดลองใช้งาน แทนที่จะเป็นการใช้งานจริง

อาการคือ จะมีข้อความนี้แสดงอยู่ในหน้า cpanel ของ Google Apps

โดเมนของคุณยังไม่พร้อม – เรายังคงประมวลผลการชำระเงินสำหรับการลงทะเบียนโดเมนของคุณ ในระหว่างนี้ คุณสามารถดำเนินการต่อและใช้คุณลักษณะบางประการของ Google Apps เช่น การสร้างผู้ใช้หรือ เรียนรู้วิธีเริ่มต้นใช้งาน เมื่อเราได้รับการชำระเงินแล้ว Google Apps ของคุณทั้งหมดจะเปิดใช้งานโดยอัตโนมัติ ขอขอบคุณที่กรุณาอดทนรอ

Your domain is not yet ready – We are still processing payment for your domain registration. Meanwhile, you can go ahead and use some of the features of Google Apps, such as creating users or learn how to get started. Once we receive your payment, all your Google Apps will be activated automatically. Thanks for your patience.

—————–

วิธีแก้ไข คือ ให้ไป Verify Domain Ownership ที่หน้านี้

http://www.google.com/a/{add your domain here}/VerifyOwnership

Joomla! – JAuthentication Could not load authentication libraries

Error ขึ้นที่หน้า Administrator Login ว่า
JAuthentication::__construc: Could not load authentication libraries.

วิธีแก้

เข้าไปแก้ใน phpmyadmin โดยไปแก้ที่ตาราง jos_plugins

แก้ค่า published ของ Authentication – Joomla ให้เป็น 1

Joomla ไม่แสดงผลใน IE (http:///)

Template บางตัวของ Joomla เวลาเปิดด้วย browser อื่นๆ เข้าได้ แต่ถ้าเป็น IE เวลาเปิดมันจะ Redirect ไปที่ http:///
มันเกิดจาก code HTML นี้ (ยังไม่ได้เช็คในรายละเอียด)
<script language=”javascript” type=”text/javascript”>
function iFrameHeight() {
var h = 0;
if ( !document.all ) {
h = document.getElementById(‘blockrandom’).contentDocument.height;
document.getElementById(‘blockrandom’).style.height = h + 60 + ‘px’;
} else if( document.all ) {
h = document.frames(‘blockrandom’).document.body.scrollHeight;
document.all.blockrandom.style.height = h + 20 + ‘px’;
}
}
</script>
<iframe id=”blockrandom”
name=”"
src=”http://”
width=”100%”
height=”200″
scrolling=”auto”
align=”top”
frameborder=”0″
class=”wrapper”>
No Iframes</iframe>
ตำแหน่งของไฟล์
./modules/mod_wrapper/tmpl/default.php
./components/com_wrapper/views/wrapper/tmpl/default.php
code นี้
<iframe <?php echo $load; ?>
id=”blockrandom”
name=”<?php echo $target ?>”
src=”<?php echo $url; ?>”
width=”<?php echo $width ?>”
height=”<?php echo $height ?>”
scrolling=”<?php echo $scroll ?>”
align=”top”
frameborder=”0″
class=”wrapper<?php echo $class ?>”>
<?php echo JText::_(‘NO_IFRAMES’); ?>
</iframe>
วิธีแก้ที่ไข (ที่ปลายเหตุ)  ก็ comment ตัว <iframe> ข้างต้นออกไปเลย  เหอ

JFolder::create: Infinite loop detected

เวลาติดตั้ง Module หรือ Component แล้วเจอ Error ลักษณะนี้

  • JFolder::create: Infinite loop detected
  • JFTP::store: Bad response
  • Warning! – ไม่สามารถย้ายไฟล์ได้

Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/) is not within the allowed path(s): (/home/username/:/tmp:/usr/local/lib/php/) in/home/username/domains/your-domain.com/public_html/libraries/joomla/filesystem/folder.php on line 392

Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/) is not within the allowed path(s): (/home/timeonsale/:/tmp:/usr/local/lib/php/) in/home/username/domains/your-domain..com/public_html/libraries/joomla/filesystem/folder.php on line 392

(Keyword: Infinite loop detected)

ให้เข้าไปเช็คที่หน้า Administrator > Help > System Info > Directory Permissions

โดยเช็คตรง Cache Directory , Log Directory และ Temp Directory ว่ามีอันไหนที่มันไม่สามารถเขียนได้หรือป่าว (Unwritable) ให้แก้ไขให้มันเป็น Writable ให้หมด

nothing

สมัยก่อนตอนที่ต้องทำงานอะไรสักอย่าง เราสามารถเริ่มทำได้เลย โดยที่ไม่ต้องคิดวางแผนอะไรมากมาย งานที่ทำสามารถทำเสร็จได้อย่างรวดเร็ว แต่เดี๋ยวนี้ รู้สึกว่าไม่สามารถคิดปุ๊บ ทำปั๊บ ได้เหมือนเมื่อก่อนแล้ว มีทั้งคิดไม่ออก และมีทั้งคิดออกแต่รู้สึกว่ามันยังใช้ไม่ได้ มันเลยเป็นการทำงานที่ช้ามาก ไม่รู้ว่าเป็นเพราะว่าคิดมากไป กังวลมากไป หรือสมองตอนนี้มันทื่อไปแล้ว… กลุ้ม -*-…

งานหลักๆ ตอนนี้เป็นการแก้ไขปัญหาให้ลูกค้า เล็กบ้าง ใหญ่บ้าง มันก็สนุกดี เหมือนว่าเราเป็นหมอรักษาคนไข้เลย ทำซ้ำไปซ้ำมาจนโคตรพริ้วแล้ว บางทีไม่มีสติก็ทำได้ แต่ก็มีที่ทำพลาดไปเหมือนกัน (-_-”)….

ไม่รู้ว่าเป็นเพราะทำงานตรงส่วนนี้มากไปหรือป่าว เลยไม่ได้ใช้สมองในแบบของการคิดออกแบบเพื่อทำอะไรต่างๆ เหมือนเมื่อก่อนนี้ ถึงยังไงก็ตามมันจะเป็นได้เพียงข้ออ้างสำหรับความเศร้าที่เกิดจากความรู้สึกที่ว่าเรากำลังโง่ลง คงจะต้องหัดคิดให้มากขึ้น ไม่ให้มันฟ่อมากไปกว่านี้ T_T

ตอนนี้อยากรู้อะไรหลายอย่างเลย แต่ก็ยังไม่ชอบการอ่านเยอะๆ อยู่ดี ชอบแนว workshop มากกว่า แต่ที่น่าเศร้าคือ เรื่องที่ต่างๆ ที่อยากรู้ตอนนี้ มันต้องอ่านเยอะมากเลย โอววว…