Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2024-04-27, 10:38:39

Author Topic: (ASK) script php  (Read 4066 times)

0 Members and 1 Guest are viewing this topic.

Offline gp313

  • Valuable Member
  • *
  • Posts: 73
  • Karma: +0/-0
    • View Profile
(ASK) script php
« on: 2015-10-26, 10:25:31 »
sysinfo

A. Kloxo-MR: 6.5.0.f-2015083001

B. OS: CentOS release 6.7 (Final) x86_64

C. Apps:
   1. MySQL: mysql55-5.5.46-1.ius.el6.x86_64
   2. PHP: php53u-5.3.29-1.ius.el6.x86_64
   3. Httpd: httpd-2.2.31-1.mr.el6.x86_64
   4. Lighttpd: --uninstalled--
   5. Nginx: --uninstalled--
   6. Qmail: qmail-toaster-1.03-1.3.55.mr.el6.x86_64
      - with: courier-imap-toaster-4.1.2-1.3.18.mr.el6.x86_64
   7. Dns: bind-9.9.7-1.mr.el6.x86_64

D. Php-type (for Httpd/proxy): mod_php_ruid2


ini saya menggunakan web buatan sendiri dengan framework CI. sudah bisa akses domain, pas mau login tidak bereaksi apa apa, mungkin ada masukan?

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: (ASK) script php
« Reply #1 on: 2015-10-26, 12:40:23 »
Ada dua kemungkinan. Pertama, form login ada yang salah. Kedua, proses response tidak berjalan.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline gp313

  • Valuable Member
  • *
  • Posts: 73
  • Karma: +0/-0
    • View Profile
Re: (ASK) script php
« Reply #2 on: 2015-10-26, 15:41:22 »
Untuk kemungkinan kedua, proses response tidak berjalan, kesalahan di file php saya atau ada konfigurasi tertentu di kloxomr?

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: (ASK) script php
« Reply #3 on: 2015-10-26, 15:47:26 »
Saya pikir cenderung karena code di php sendiri. Kemungkinan lain, form login butuh javascript akan tetapi statusnya disable untuk halaman tersebut.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline gp313

  • Valuable Member
  • *
  • Posts: 73
  • Karma: +0/-0
    • View Profile
Re: (ASK) script php
« Reply #4 on: 2015-10-26, 16:03:41 »
"Kemungkinan lain, form login butuh javascript akan tetapi statusnya disable untuk halaman tersebut." apakah ada konfigurasi atau sejenisnya di kloxomr untuk meng-enable js?

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: (ASK) script php
« Reply #5 on: 2015-10-26, 16:23:13 »
"Kemungkinan lain, form login butuh javascript akan tetapi statusnya disable untuk halaman tersebut." apakah ada konfigurasi atau sejenisnya di kloxomr untuk meng-enable js?
Browser seperti Firefox kalau pakai addon NoScript maka defaultnya disable javascript.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline gp313

  • Valuable Member
  • *
  • Posts: 73
  • Karma: +0/-0
    • View Profile
Re: (ASK) script php
« Reply #6 on: 2015-10-26, 16:54:06 »
oke terimakasih pak untuk ilmunya..

Offline gp313

  • Valuable Member
  • *
  • Posts: 73
  • Karma: +0/-0
    • View Profile
Re: (ASK) script php
« Reply #7 on: 2015-10-28, 03:05:40 »
yang masih membuat bingung adalah, code php saya berjalan lancar di localserver dan di shared host juga lancar

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: (ASK) script php
« Reply #8 on: 2015-10-28, 03:11:07 »
Anda harus pelajari spesifikasi untuk aplikasi yang anda pakai. Bisa jadi memerlukan module tertentu pada php.

Kemungkinan lain adalah tidak match-nya ownership atau permissions dari file terkait. Biasanya ini terjadi jika anda upload dari ftp. Untuk ini, coba jalankan 'sh /script/fix-chownchmod'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline gp313

  • Valuable Member
  • *
  • Posts: 73
  • Karma: +0/-0
    • View Profile
Re: (ASK) script php
« Reply #9 on: 2015-10-28, 03:41:03 »
"Kemungkinan lain adalah tidak match-nya ownership atau permissions dari file terkait. Biasanya ini terjadi jika anda upload dari ftp. Untuk ini, coba jalankan 'sh /script/fix-chownchmod'."

ini saya upload via filezilla, ini murni php versi 5.4 tanpa js, nah untuk mengatasi ketidak match an itu gimana pak?

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: (ASK) script php
« Reply #10 on: 2015-10-28, 03:43:46 »
"Kemungkinan lain adalah tidak match-nya ownership atau permissions dari file terkait. Biasanya ini terjadi jika anda upload dari ftp. Untuk ini, coba jalankan 'sh /script/fix-chownchmod'."

ini saya upload via filezilla, ini murni php versi 5.4 tanpa js, nah untuk mengatasi ketidak match an itu gimana pak?

Coba jalankan 'sh /script/fix-chownchmod'
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline gp313

  • Valuable Member
  • *
  • Posts: 73
  • Karma: +0/-0
    • View Profile
Re: (ASK) script php
« Reply #11 on: 2015-10-28, 03:48:58 »
sudah pak, tapi tidak ada perubahan,
ini hasilnya


- For help, type '/script/fix-chownchmod --help'
- No argument supplied. Defaulting to all

Fixing Chown and Chmod
- chmod 755 FOR /usr/local/lxlabs/kloxo/cexe AND INSIDE
- chown apache:apache FOR /home/kloxo/httpd/ AND INSIDE
- chmod 644 FOR *.php* INSIDE /home/kloxo/httpd/
- chmod 755 FOR *.pl* INSIDE /home/kloxo/httpd/
- chmod 755 FOR /home/kloxo/httpd/ AND INSIDE
- chmod 771 FOR /home/kloxo/httpd/
- chown root:root FOR /home/apache/ AND INSIDE
- chmod 755 FOR *.sh INSIDE /home/apache/
- chown root:root FOR /home/lighttpd/ AND INSIDE
- chmod 755 FOR *.sh INSIDE /home/lighttpd/
- chown root:root FOR /home/nginx/ AND INSIDE
- chmod 755 FOR *.sh INSIDE /home/nginx/
- chown admin:apache FOR /home/admin/
- chmod 751 FOR /home/admin/
- chown admin:admin FOR INSIDE /home/admin/kloxoscript/
- chown admin:apache FOR /home/admin/kloxoscript/
- chmod 644 FOR *.php* INSIDE /home/admin/kloxoscript/
- chmod 755 FOR /home/admin/kloxoscript/ AND INSIDE
- chown admin:admin FOR INSIDE /home/admin/user/
- chmod 644 FOR *.php* INSIDE /home/admin/user/
- chmod 755 FOR /home/admin/user/ AND INSIDE
- chown admin:admin FOR /home/admin/user/

di error log " script not found or unable to stat: /var/www/cgi-bin/common" banyak semacam itu, itu kenapa ya pak?
« Last Edit: 2015-10-28, 04:30:27 by gp313 »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: (ASK) script php
« Reply #12 on: 2015-10-28, 04:56:35 »
Aplikasi mencoba mencari /var/www/cgi-bin/common tapi tidak ada. Memang Kloxo-MR tidak gunakan /var/www sebagai alamat document tetapi /home/<user>/<domain>
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

 


Top 4 Global Search Engines:    Google    Bing    Baidu    Yahoo

Page created in 0.081 seconds with 18 queries.

web stats analysis