Giter VIP home page Giter VIP logo

phpsu's Introduction

PHPSU - php.su

Description

Official repository of http://php.su

Latest development demo available at https://phpsu.libra.ms

Requirements

Install

  1. At first step you should create a new database and import SQL dump from misc/sql/install.mysql.sql into you database.

  2. On second step configure you virtual hosts in Apache config

    <VirtualHost *:80>
            ServerName domain.tld
            DocumentRoot "/path/do/project_name/public_html"
    
            <IfModule alias_module>
                    Alias /static "/path/do/project_name/static_html"
            </IfModule>
    
            <IfModule alias_module>
                    Alias /uploads "/path/do/project_name/uploads_html"
            </IfModule>
    
            ErrorLog ${APACHE_LOG_DIR}/error.log
            LogLevel debug
            CustomLog ${APACHE_LOG_DIR}/access.log combined
    </VirtualHost>

    Note! You need to activate mod_alias in you Apache config.

    • If you run project in you local environment, e.g. localhost, and want to use domain name you need to add some changes in you /etc/hosts (%WINDIR%\System32\drivers\etc\hosts on Windows platform) file
    127.0.0.1 domain.tld.localhost

    Descriptions of folders and hosts:

  3. Third and last step is to create a configuration files:

    • Create an empty file at application/config/main.json and copy content from misc/main-EXAMPLE.json into newly created.

    • Create an empty file at application/config/hosts.json and copy content from misc/hosts-EXAMPLE.json into newly created. In this file change:

      • main to domain.tld.localhost
      • st to domain.tld.localhost/static
      • img to domain.tld.localhost/uploads
    • Customize other parameters in these files according to you settings.

For advanced install see Advanced install section.

Development

  1. Frontend development

License

Project is released under the GPL v3 (or later) license, see misc/gpl-3.0.txt

phpsu's People

Contributors

globulopolis avatar delphinpro avatar deepvarvar avatar panoptik avatar romandry avatar

Stargazers

 avatar

Watchers

 avatar  avatar Melkij avatar  avatar  avatar  avatar

phpsu's Issues

Ошибка с session_write_close()

Возникает если неверно указан логин или пароль к БД в настройках.

Fatal error: Uncaught exception 'SystemErrorException' in D:\WWW\htdocs\su\application\core\DBC.php:56 Stack trace: #0 D:\WWW\htdocs\su\application\core\DBI.php(48): DBC->__construct(Object(stdClass)) #1 D:\WWW\htdocs\su\application\core\StorageDatabaseHandler.php(66): DBI::getConnection('master') #2 [internal function]: StorageDatabaseHandler->write('j2lm63fn9vshi98...', '') #3 [internal function]: session_write_close() #4 {main} thrown in D:\WWW\htdocs\su\application\core\DBC.php on line 56

PS! Проявляется на Windows7 64, MySQL 5.5.32, PHP 5.5.15 (VC11 X86 32bit thread safe) + PEAR

Breadcrumbs сделать списком

  • Сделать ненумерованный список
  • Увеличить шрифт до 1.3em
  • HTML-сущность заменить на content + transform + border
  • Увеличить отступ между элементами списка

Cannot modify header information...

Появилась ошибка

PHP Warning: Cannot modify header information - headers already sent by (output started at 'phpsu\application\core\DBC.php':48) in 'phpsu\application\core\Request.php' on line 167

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.