มาใหม่จ้า.. New New Amazon Script : 5 Themes ...NO Random แล้วนะจ๊ะ

เริ่มโดย mahaboyd, 08 ตุลาคม 2010, 15:56:09

หัวข้อก่อนหน้า - หัวข้อถัดไป

0 สมาชิก และ 1 ผู้มาเยือน กำลังดูหัวข้อนี้

ปีศาจแอดเซนต์

อ้างถึงจาก: WPDSign ใน 08 ตุลาคม 2010, 20:31:24
อ้างถึงจาก: ปีศาจแอดเซนต์ ใน 08 ตุลาคม 2010, 20:25:10
ของผมมันขึ้น

500 - Internal Server Error
This is a temporary server error.
Please try to reload the webpage later.

If you are the webmaster of this site please log in to Cpanel and check the Error Logs. You will find the exact reason for this error there.

Common reasons for this error are:

    * Incorrect file/directory permissions: Above 755. In order files to be processed by the webserver, their permissions have to be equal or below 755. You can update file permissions with a FTP client or through cPanel's File Manager.
    * Incorrect Apache directives inside .htaccess file. Make sure you have not specified unsupported directives inside the local .htaccess file. Such include PHP settings and Apache module settings.

แก้ไงครับ

เกี่ยวกับ permissions
permissions เป็น 777 อยู่หรือเปล่าครับ 755
folder domain.com ห้าม 777 หรือเปล่่าครับ

ไม่ได้อะ ผิดอะไรหว่า งง อะ
ใครอยากจะซื้อ Niche Keyword จากผม ยังไม่ต้อง PM มาจองผมนะครับ อาจจะมีการยกเลิกครับ มีคนท้วงว่าผมขายถูกไป(ฝรั่ง) ถ้าผมขายจะประกาศอีกครั้งหนึ่งครับ พอดีเขาบอกเทคนิคผมเลยต้องแคร์เขาหน่อย
ขออนุญาตเปลี่ยนครับ

popper_p

อ้างถึงจาก: ปีศาจแอดเซนต์ ใน 08 ตุลาคม 2010, 20:39:00
อ้างถึงจาก: WPDSign ใน 08 ตุลาคม 2010, 20:31:24
อ้างถึงจาก: ปีศาจแอดเซนต์ ใน 08 ตุลาคม 2010, 20:25:10
ของผมมันขึ้น

500 - Internal Server Error
This is a temporary server error.
Please try to reload the webpage later.

If you are the webmaster of this site please log in to Cpanel and check the Error Logs. You will find the exact reason for this error there.

Common reasons for this error are:

    * Incorrect file/directory permissions: Above 755. In order files to be processed by the webserver, their permissions have to be equal or below 755. You can update file permissions with a FTP client or through cPanel's File Manager.
    * Incorrect Apache directives inside .htaccess file. Make sure you have not specified unsupported directives inside the local .htaccess file. Such include PHP settings and Apache module settings.

แก้ไงครับ

เกี่ยวกับ permissions
permissions เป็น 777 อยู่หรือเปล่าครับ 755
folder domain.com ห้าม 777 หรือเปล่่าครับ

ไม่ได้อะ ผิดอะไรหว่า งง อะ

งั้นแสดงว่าผิดที่ .htaccess อ่ะครับ ต้องลองไล่ดู

smith

อ้างถึงจาก: WPDSign ใน 08 ตุลาคม 2010, 20:32:56
อ้างถึงจาก: popper_p ใน 08 ตุลาคม 2010, 20:28:44
อ้างถึงจาก: WPDSign ใน 08 ตุลาคม 2010, 20:10:46
อ้างถึงจาก: pburin22 ใน 08 ตุลาคม 2010, 19:49:29
อ้างถึงจาก: WPDSign ใน 08 ตุลาคม 2010, 19:46:34
ผมพึ่งลอง script นี้ แต่มันขึ้นแบบนี้ แก้ไขอย่างไรครับ



ไฟล์ config.php ท่านใส่ถูกแล้วใช้มั้ยครับ
aws ต้องตรงกับ tracking รึเปล่า ผมไม่แน่ใจนะ

เมื่อกี้ผมลองแก้เอง(จากไฟล์กระทู้เดิมนะครับ ไม่ใช่ไฟล์กระทู้นี้) แล้วมัน run ไม่ได้เหมือนกัน เลยขี้เกียจหา


แก้ไขแล้วยังไม่หายเลยครับ
งง จัง พอดีไม่เคยลอง 155 นี้ครับ
ขอบคุณครับ

ตาม
Warning: file_get_contents() [function.file-get-contents]: URL file-access is disabled in the server configuration in /home/user/public_html/domain.com/anv4/amazonv4.php on line 155

บรรทัดที่ 155 คือ $sfile=file_get_contents($file);



URL file-access is disabled in the server configuration in /home/user/public_html/domain.com/anv4/amazonv4.php on line 155

คิดว่า host ท่านห้ามใช้ function นี้นะครับ

ขอบคุณมากๆ ครับ พอมีวิธีแก้ไม่ครับ

ลองเปลี่ยนมาใช้ curl แทน file_get_contents ดูครับ
ตรงบรรทัด 155 แก้  $sfile=file_get_contents($file);

เพิ่มฟังก์ชั่นไป ประมาณนี้

function get_content($URL) {
         $ch = curl_init();
         $timeout = 0; // set to zero for no timeout
         $useragent="Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)";
         curl_setopt($ch, CURLOPT_USERAGENT, $useragent);
         curl_setopt ($ch, CURLOPT_URL, $URL);
         curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 1);
         curl_setopt ($ch, CURLOPT_CONNECTTIMEOUT, $timeout);
          $String = curl_exec($ch);
          curl_close($ch);
           return $String;
}
$sfile=get_content($file);

WPDSign

อ้างถึงจาก: smith ใน 08 ตุลาคม 2010, 20:55:28
อ้างถึงจาก: WPDSign ใน 08 ตุลาคม 2010, 20:32:56
อ้างถึงจาก: popper_p ใน 08 ตุลาคม 2010, 20:28:44
อ้างถึงจาก: WPDSign ใน 08 ตุลาคม 2010, 20:10:46
อ้างถึงจาก: pburin22 ใน 08 ตุลาคม 2010, 19:49:29
อ้างถึงจาก: WPDSign ใน 08 ตุลาคม 2010, 19:46:34
ผมพึ่งลอง script นี้ แต่มันขึ้นแบบนี้ แก้ไขอย่างไรครับ



ไฟล์ config.php ท่านใส่ถูกแล้วใช้มั้ยครับ
aws ต้องตรงกับ tracking รึเปล่า ผมไม่แน่ใจนะ

เมื่อกี้ผมลองแก้เอง(จากไฟล์กระทู้เดิมนะครับ ไม่ใช่ไฟล์กระทู้นี้) แล้วมัน run ไม่ได้เหมือนกัน เลยขี้เกียจหา


แก้ไขแล้วยังไม่หายเลยครับ
งง จัง พอดีไม่เคยลอง 155 นี้ครับ
ขอบคุณครับ

ตาม
Warning: file_get_contents() [function.file-get-contents]: URL file-access is disabled in the server configuration in /home/user/public_html/domain.com/anv4/amazonv4.php on line 155

บรรทัดที่ 155 คือ $sfile=file_get_contents($file);



URL file-access is disabled in the server configuration in /home/user/public_html/domain.com/anv4/amazonv4.php on line 155

คิดว่า host ท่านห้ามใช้ function นี้นะครับ

ขอบคุณมากๆ ครับ พอมีวิธีแก้ไม่ครับ

ลองเปลี่ยนมาใช้ curl แทน file_get_contents ดูครับ
ตรงบรรทัด 155 แก้  $sfile=file_get_contents($file);

เพิ่มฟังก์ชั่นไป ประมาณนี้

function get_content($URL) {
         $ch = curl_init();
         $timeout = 0; // set to zero for no timeout
         $useragent="Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)";
         curl_setopt($ch, CURLOPT_USERAGENT, $useragent);
         curl_setopt ($ch, CURLOPT_URL, $URL);
         curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 1);
         curl_setopt ($ch, CURLOPT_CONNECTTIMEOUT, $timeout);
          $String = curl_exec($ch);
          curl_close($ch);
           return $String;
}
$sfile=get_content($file);


เจ้าของ script มาตอบเองเลย ขอบคุณมากครับ
เดี่ยวผมลองแก้ไขดูครับ หากไม่ได้ต้องขอรบกวนทาง PM อีกครั้งครับ
+1 พลังน้ำใจครับ
สร้างบ้าน Modern [direct=https://casa-concept1.com/]แบบบ้านโมเดิร์น[/direct] มาแรง
» ต้องการสร้างบ้านดูแบบบ้านสวยๆ [direct=http://www.architect-bkk.com/แบบบ้านสองชั้น]แบบบ้านสองชั้น[/direct] ทุกสไลต์บริการ[direct=http://www.ideaican.com/]รับสร้างบ้าน[/direct] ใครฝันอย่างสร้างบ้านสไตล์รีสอร์ท มี[direct=https://แบบบ้านสไตล์รีสอร์ท.blogspot.com]แบบบ้านสไตล์รีสอร์ท[/direct]พร้อมก่อสร้าง ลงประกาศขายบ้านที่ [direct=http://www.classified108.com/]ลงประกาศ[/direct]

pburin22

#64
เส้นผมบังภูเขา

ไฟล์ .htaccess
ลบ
php_value memory_limit 128M

run ได้แล้วบอกด้วยนะ จะได้รู้


ใครแก้ทุกไฟล์แล้ว ให้ link ได้เฉพาะ ภายในเวป อย่าลืมแจกนะครับ ผมไม่ใช้ programmer ขี้เกียจแก้มากๆ  :wanwan022:


pburin22

#66
:)

KECO

ผมโหลดของคุณ pburin22 มาแล้วครับของลองก่อนนะครับ ขอบคุณมากครับ

kritcg

ขอโหลดของคุณ pburin22 มาเก็บไว้ก่อน ขอบคุณมากครับ  :wanwan017:
....

WPDSign

ขอบคุณ pburin22 อีกครั้งครับ
+1 ไปแล้วใน PM ครับ
สร้างบ้าน Modern [direct=https://casa-concept1.com/]แบบบ้านโมเดิร์น[/direct] มาแรง
» ต้องการสร้างบ้านดูแบบบ้านสวยๆ [direct=http://www.architect-bkk.com/แบบบ้านสองชั้น]แบบบ้านสองชั้น[/direct] ทุกสไลต์บริการ[direct=http://www.ideaican.com/]รับสร้างบ้าน[/direct] ใครฝันอย่างสร้างบ้านสไตล์รีสอร์ท มี[direct=https://แบบบ้านสไตล์รีสอร์ท.blogspot.com]แบบบ้านสไตล์รีสอร์ท[/direct]พร้อมก่อสร้าง ลงประกาศขายบ้านที่ [direct=http://www.classified108.com/]ลงประกาศ[/direct]

kosak

ทีมงานเศรษฐีใหม่ # 9

[direct=http://bestbabygiftsonsale.com]Best BaBy Gifts on Sale[/direct][direct=http://slrcamerasforsale.com]SLR Cameras for Sale[/direct][direct=http://bestnetbooksforsale.com]Netbooks for Sale[/direct][direct=http://best3dtvsforsale.com]3D TVs for sale[/direct]

ปีศาจแอดเซนต์

#71
อ้างถึงจาก: pburin22 ใน 08 ตุลาคม 2010, 21:06:01
เส้นผมบังภูเขา

ไฟล์ .htaccess
ลบ
php_value memory_limit 128M

run ได้แล้วบอกด้วยนะ จะได้รู้


ใครแก้ทุกไฟล์แล้ว ให้ link ได้เฉพาะ ภายในเวป อย่าลืมแจกนะครับ ผมไม่ใช้ programmer ขี้เกียจแก้มากๆ  :wanwan022:

แก้ไม่ได้ครับ เป็นเหมือนเดิมครับ

ของผมเห็นซัพโดเมน แก้ยังไงครับ
ใครอยากจะซื้อ Niche Keyword จากผม ยังไม่ต้อง PM มาจองผมนะครับ อาจจะมีการยกเลิกครับ มีคนท้วงว่าผมขายถูกไป(ฝรั่ง) ถ้าผมขายจะประกาศอีกครั้งหนึ่งครับ พอดีเขาบอกเทคนิคผมเลยต้องแคร์เขาหน่อย
ขออนุญาตเปลี่ยนครับ

smaller

ลงชื่อครับ โหลดไปแล้ว

ขายได้มากเป็นบางวันก็พอ  :-[

ขอบคุณครับ
[direct=http://secure.hostgator.com/~affiliat/cgi-bin/affiliates/clickthru.cgi?id=small-]Host ดีๆ   [/direct]
[direct=http://www.theblogmagic.com/?promocode=NzE=]
ใครที่สนใจ     Blog magic 3.0   Blog Magic 3.0 สุดยอดสคริบที่ทุกคนรอคอย !!! เปิดให้สั่งซื้อแล้ววันนี้
ซื้อ Blog Magic 3.0 @3,500 บาท จาก 4,500
[/direct]

pburin22

อ้างถึงจาก: ปีศาจแอดเซนต์ ใน 08 ตุลาคม 2010, 22:19:51
อ้างถึงจาก: pburin22 ใน 08 ตุลาคม 2010, 21:06:01
เส้นผมบังภูเขา

ไฟล์ .htaccess
ลบ
php_value memory_limit 128M

run ได้แล้วบอกด้วยนะ จะได้รู้


ใครแก้ทุกไฟล์แล้ว ให้ link ได้เฉพาะ ภายในเวป อย่าลืมแจกนะครับ ผมไม่ใช้ programmer ขี้เกียจแก้มากๆ  :wanwan022:

แก้ไม่ได้ครับ เป็นเหมือนเดิมครับ

ของผมเห็นซัพโดเมน แก้ยังไงครับ


พี่สารวัตร ลองโหลดของผมกระทู้ก่อนหน้านี้ดูก่อนว่าได้มั้ยครับ

อย่าลืมแก้ config ก่อนนะ

ความจริงมันยังมีข้อความที่ล้นมาอยู่นิดหนึ่งที่ผมแก้แล้ว กำลังหาวิธีจัดการมันอยู่

oxide


ปีศาจแอดเซนต์

ขั้นตอนแก้ แทร็กไอดีคนอื่นนะครับ

ก่อนอื่นเปิดโปรแกรม Simple Search-Replace จากนั้นหาโฟรเดอร์ ที่เก็บไฟล์เราไว้นะครับ จากนั้นหาคำว่า ats-camera-20 เปลี่ยนเป็นแทร็กไอดีของเรา จากนั้นหาคำว่า allpromotiont-20 เปลี่ยนเป็นแทร็กไอดีของเรา จากนั้นหาคำว่า atssharesite-20 เปลี่ยนเป็นแทรกไอดีของเรา

กดให้มันเปลียนให้อัตโนมัติ มันจะหาทั้งโฟเดอร์ให้เลย และแทรกแท็กไอดีของเราลงไปแทนตัวที่บอกข้างบนครับ จากนั้นให้มาที่ไฟล์  ไฟล์ index.php และ detail.php บริเวณ footer แก้เป็นเวปอะไรก็ได้ครับ เอาเวปนั้นไปแทนนะครับ

แต่ของผมเป็นซัพโดเมน ไม่รู้ยังติดตั้งไม่ได้อะ ใครก็ได้ช่วยที ถ้าเกินเที่ยงคืนไม่ได้ ผมจะไม่ทำตัวนี้ จะรันออโต้อีสโตว์ดีกว่าเสียเวลา ผม
ใครอยากจะซื้อ Niche Keyword จากผม ยังไม่ต้อง PM มาจองผมนะครับ อาจจะมีการยกเลิกครับ มีคนท้วงว่าผมขายถูกไป(ฝรั่ง) ถ้าผมขายจะประกาศอีกครั้งหนึ่งครับ พอดีเขาบอกเทคนิคผมเลยต้องแคร์เขาหน่อย
ขออนุญาตเปลี่ยนครับ

tataee6

Internal Server Error

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

Please contact the server administrator, [email protected] 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.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.
Apache mod_fcgid/2.3.5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 Server at www.bestbuyflashlight.co.cc Port 80

ขึ้นอย่างนี้ทำไงครับ  :wanwan017:
WE ARE POWER 8)
[direct=https://www.facebook.com/Thanettoy]ขายของเล่นมือสอง โมเดล ของสะสม  คาเมนไรเดอร์ ขบวนการ 5 สี[/direct]

WPDSign

อ้างถึงจาก: tataee6 ใน 08 ตุลาคม 2010, 23:51:01
Internal Server Error

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

Please contact the server administrator, [email protected] 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.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.
Apache mod_fcgid/2.3.5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 Server at www.bestbuyflashlight.co.cc Port 80

ขึ้นอย่างนี้ทำไงครับ  :wanwan017:

ลองดูว่า folder bestbuyflashlight.co.cc  permissions เป็น 777 อยู่หรือเปล่า
หากเป็น 777 ก็ให้เปลี่ยนเป็น 755 หรืออย่างอื่นดูครับ เพราะส่วนมาก folder หลักเค้าไม่ให้ทำ permissions 777 เพื่อความปลอดภัย

แค่ไม่รู้ว่าเป็นที่อาการนี้หรือเปล่า พอดีเมื่อกี่ของผมก็ขึ้นแบบนี้เหมือนกัน 755 หายเลย

ปล.นี้มั่วๆน่ะครับ
สร้างบ้าน Modern [direct=https://casa-concept1.com/]แบบบ้านโมเดิร์น[/direct] มาแรง
» ต้องการสร้างบ้านดูแบบบ้านสวยๆ [direct=http://www.architect-bkk.com/แบบบ้านสองชั้น]แบบบ้านสองชั้น[/direct] ทุกสไลต์บริการ[direct=http://www.ideaican.com/]รับสร้างบ้าน[/direct] ใครฝันอย่างสร้างบ้านสไตล์รีสอร์ท มี[direct=https://แบบบ้านสไตล์รีสอร์ท.blogspot.com]แบบบ้านสไตล์รีสอร์ท[/direct]พร้อมก่อสร้าง ลงประกาศขายบ้านที่ [direct=http://www.classified108.com/]ลงประกาศ[/direct]

pburin22

อ้างถึงจาก: tataee6 ใน 08 ตุลาคม 2010, 23:51:01
Internal Server Error

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

Please contact the server administrator, [email protected] 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.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.
Apache mod_fcgid/2.3.5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 Server at www.bestbuyflashlight.co.cc Port 80

ขึ้นอย่างนี้ทำไงครับ  :wanwan017:

ลองใส่ข้อมูลในไฟล์ config.php เป็นของตัวเองให้ครบถ้วนก่อนนะ

tag=xxx
ยังไม่เห็นเปลี่ยนเลย

aws และ secrete ใส่ของตัวเองด้วยครับ

ลองดูก่อนว่าได้มั้ย

mahaboyd

Internet Marketing Never Die!!~~   8)