⚡⚡แจก!! CSZ-CMS ระบบเว็บฯสำเร็จรูป ของคนไทย 100%

เริ่มโดย oklovelove, 16 พฤศจิกายน 2016, 19:20:00

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

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

SingThong

คนไทย ฝีมือ ความรู้ ไม่แพ้ชาติใดในโลก
ปัญหาเดียวที่คนไทยไปไม่รอด
เพราะ เร่งรีบเก็บประโยชน์เข้าตัว

เป็นกำลังใจให้ ผู้พัฒนา ให้พัฒนาต่อไปให้คนไทยได้ใช้ของไทย ให้ใช้กันฟรีๆ
แบบยาวๆ แบบไม่มีกั๊ก ไม่มีแอบแฟง

แล้วค่อยไปเก็บผลประโยชน๋จากช่องทางอื่นแทน



[direct=http://www.winscents.com]น้ำหอมปรับอากาศในรถยนต์ California Scents[/direct]
[direct=http://www.winscents.com]น้ำหอมในรถยนต์ California Scents[/direct]   [direct=http://www.winscents.com]น้ำหอมติดรถยนต์ Car Scents[/direct]

9arduino







DevilMonkeyZ


cskaza

ขอบคุณมากครับ สำหรับกำลังใจครับ
ตอนนี้ผมได้ร่วมมือกับทางมูลนิธิ Astain ประเทศโคลัมเบีย
เพื่อร่วมกันพัฒนาและผลักดัน CMS ตัวนี้ให้ดีขึ้นครับ
แต่คนพัฒนาหลัก ๆ ก็คือผมเองแหละครับ
:wanwan017:
Open Source CMS Codeigniter Bootstrap | CSZ CMS Website
https://www.cszcms.com

nahpak

แบบนี้ผมลงไม่ได้ใช่เปล่าครับ
System Checking

PHP 5.3.7 or higher [PASS]
MySQLi Driver [PASS]
cURL Enable [PASS]
PHP GD library Enable [PASS]
Config Write Permission [FAIL]
ci_session Write Permission [FAIL]
Cache Write Permission [FAIL]
DB_Cache Write Permission [FAIL]
[direct=http://www.nahpakshop.com]บัตรพนักงาน[/direct] [direct=http://www.butpvc.com]บัตรพลาสติก[/direct] [direct=http://www.nahpak.com]ลงประกาศฟรี[/direct] [direct=http://www.xn--42c5aqa5b7aqye8gc7h9eh.com/]เสื้อยืดคนอ้วน[/direct] [direct=http://www.xn--12cm4bqcb3a3b2ien.net]บัตรพนักงาน[/direct]

sinomoney

[direct=http://www.thaiseoboard.com/index.php/topic,438918.0.html]โปรแกรมโพสเว็บบอร์ด[/direct] ระบบโพสบน Server ไม่ต้องติดตั้ง ทดลองฟรี
[direct=https://backlink-seo.com]โปรแกรมทำ Backlink[/direct] CommentBlog ใช้งานบนเว็บ ทดลองฟรี

cskaza

อ้างถึงจาก: nahpak ใน 25 เมษายน 2017, 11:40:08
แบบนี้ผมลงไม่ได้ใช่เปล่าครับ
System Checking

PHP 5.3.7 or higher [PASS]
MySQLi Driver [PASS]
cURL Enable [PASS]
PHP GD library Enable [PASS]
Config Write Permission [FAIL]
ci_session Write Permission [FAIL]
Cache Write Permission [FAIL]
DB_Cache Write Permission [FAIL]

ลงไม่ได้ครับ ต้องจัดการ Permission ของการเขียนไฟล์ ของ Directory ที่ระบุไว้ครับ
Config คือ ไฟล์ config.inc.php.
ci_session คือ directory ของ ci_session.
cache คือ directory ของ cache ใน cszcms.
DB_Cache คือ directory ของ db_cache ใน cszcms.

ครับถ้าแก้เรื่อง Permission ได้ ก็ลงได้ครับ
อย่ลืมทำ permission กับ directory photo ด้วยนะครับ เดี๋ยวอัพโหลดไฟล์ในระบบไม่ได้
Open Source CMS Codeigniter Bootstrap | CSZ CMS Website
https://www.cszcms.com

Naskung

[direct= [/direct]
[direct= [/direct]
[direct= [/direct]
[direct= [/direct]

ptteppawong

สวย เป็นระเบียบดีครับ  เอาไว้จะลองใช้ดูนะครับ  ขอบคุณมากครับ

dekcom


Naskung

[direct= [/direct]
[direct= [/direct]
[direct= [/direct]
[direct= [/direct]

nuonly

[direct=https://www.duduang.in.th]ดูดวง[/direct][direct=https://www.duduang.in.th]duduang[/direct] [direct=https://www.ddbaanteedin.com]ขายที่ดิน[/direct] [direct=https://www.ddbaanteedin.com/]ขายบ้าน[/direct]

Naskung

[direct= [/direct]
[direct= [/direct]
[direct= [/direct]
[direct= [/direct]

Naskung

ติดตั้งไม่ผ่านอะครับ

Parse error: syntax error, unexpected 'u485255407' (T_STRING), expecting function (T_FUNCTION) in /home/u485255407/public_html/install/include/Database.php on line 27
[direct= [/direct]
[direct= [/direct]
[direct= [/direct]
[direct= [/direct]

cskaza

อ้างถึงจาก: Naskung ใน 06 พฤษภาคม 2017, 11:33:07
ติดตั้งไม่ผ่านอะครับ

Parse error: syntax error, unexpected 'u485255407' (T_STRING), expecting function (T_FUNCTION) in /home/u485255407/public_html/install/include/Database.php on line 27
ขออภัยที่มาตอบช้านะครับ พอดีงานเยอะครับช่วงนี้
ลองแก้ไขไฟล์ Database.php ด้วยโค๊ดข้างล่างนี้ครับ copy โค๊ดข้างล่างนี้ แล้วไปวางทับของเก่าทั้งหมดครับ
<?php

/**
 * CSZ CMS
 *
 * An open source content management system
 *
 * Copyright (c) 2016, Astian Foundation.
 *
 * Astian Develop Public License (ADPL)
 * 
 * This Source Code Form is subject to the terms of the Astian Develop Public
 * License, v. 1.0. If a copy of the APL was not distributed with this
 * file, You can obtain one at http://astian.org/about-ADPL
 * 
 * @author CSKAZA
 * @copyright   Copyright (c) 2016, Astian Foundation.
 * @license http://astian.org/about-ADPL ADPL License
 * @link [url]https://www.cszcms.com[/url]
 * @since Version 1.0.0
 * 
 * 
 * Mysql database with MySQLi class - only one connection alowed
 */
class Database{

    public 
$_connection;

    
// Constructor
    
public function __construct($dbhost ''$dbuser ''$dbpass ''$dbname ''){
        
$this->_connection = new mysqli($dbhost$dbuser$dbpass$dbname);
        
$this->_connection->set_charset('utf8');
        
$this->_connection->query("SET collation_connection = utf8_general_ci");
        
// Error handling
        
if(mysqli_connect_error()){
            
trigger_error("Failed to conencto to MySQL: ".mysqli_connect_error(), E_USER_ERROR);
        }
    }

    
// Get mysqli connection
    
public function connectDB(){
        return 
$this->_connection;
    }

    public function 
numrow($result){
        return 
$result->num_rows;
    }

    public function 
closeDB(){
        
$this->_connection->close();
    }

    public function 
mysqli_multi_query_file($mysqli$filename){
        
/* error_reporting(E_ERROR | E_PARSE); */
        
$sql file_get_contents($filename);
        
// remove comments
        
$sql preg_replace('#/\*.*?\*/#s'''$sql);
        
$sql preg_replace('/^-- .*[\r\n]*/m'''$sql);
        if(
preg_match_all('/^DELIMITER\s+(\S+)$/m'$sql$matchesPREG_SET_ORDER PREG_OFFSET_CAPTURE)){
            
$prev null;
            
$index 0;
            foreach(
$matches as $match){
                
$sqlPart substr($sql$index$match[0][1] - $index);
                
// move cursor after the delimiter
                
$index $match[0][1] + strlen($match[0][0]);
                if(
$prev && $prev[1][0] != ';'){
                    
$sqlPart explode($prev[1][0], $sqlPart);
                    foreach(
$sqlPart as $part){
                        if(
trim($part)){ // no empty queries
                            
$mysqli->query($part);
                        }
                    }
                }else{
                    if(
trim($sqlPart)){ // no empty queries
                        
$mysqli->multi_query($sqlPart);
                        while(@
$mysqli->next_result()){
                            ;
                        }
                    }
                }
                
$prev $match;
            }
            
// run the sql after the last delimiter
            
$sqlPart substr($sql$indexstrlen($sql) - $index);
            if(
$prev && $prev[1][0] != ';'){
                
$sqlPart explode($prev[1][0], $sqlPart);
                foreach(
$sqlPart as $part){
                    if(
trim($part)){
                        
$mysqli->query($part);
                    }
                }
            }else{
                if(
trim($sqlPart)){
                    
$mysqli->multi_query($sqlPart);
                    while(@
$mysqli->next_result()){
                        ;
                    }
                }
            }
        }else{
            
$mysqli->multi_query($sql);
            while(@
$mysqli->next_result()){
                ;
            }
        }
    }

}

class 
Version{
    
    function 
__construct() {
        
define('BASEPATH''cszcms');
    }
    
    private function 
getVersionConfig(){
        
$config = array();
        require 
'../cszcms/config/systemconfig.php';
        return 
$config['csz_version'];
    }
    
    private function 
getReleaseConfig(){
        
$config = array();
        require 
'../cszcms/config/systemconfig.php';
        return 
$config['csz_release'];
    }

    public function 
getVersion(){
        
$version '';
        if(
$this->getReleaseConfig() == 'beta'){
            
$version $this->getVersionConfig().' Beta';
        }else{
            
$version $this->getVersionConfig();
        }
        return 
$version;
    }

    public function 
setTimezone($timezone){
        if(!
$timezone)
            
$timezone 'Asia/Bangkok';
        if(
function_exists('ini_set')){
            
ini_set('max_execution_time'300);
            
ini_set('date.timezone'$timezone);
        }
    }

}


ลองดูครับว่าได้หรือไม่ครับ
ขอบคุณครับ
Open Source CMS Codeigniter Bootstrap | CSZ CMS Website
https://www.cszcms.com