GithubHelp home page GithubHelp logo

socialigniter / socialigniter Goto Github PK

View Code? Open in Web Editor NEW
79.0 79.0 28.0 14.21 MB

This is core install of social igniter application. Please follow the Readme below

Home Page: http://social-igniter.com

Perl 0.05% PHP 77.48% CSS 5.92% JavaScript 16.55%
codeigniter javascript oauth php

socialigniter's Introduction

Social-Igniter Core

This is the Core install of Social-Igniter. This repository contains all you need to get an install node up and running on your own *AMP webserver.

To check out a working install of Social-Igniter go to: http://social-igniter.com

General Installation Instructions

  • Download or Clone this repository (core Social-Igniter)

  • Place Download or Clone in your web servers directory

  • Download or Clone https://github.com/socialigniter/system (core CodeIgniter)

    • Make sure /system directory lives at the same folder level as the your app (core Social-Igniter)
    • If not you will need to edit $system_path = '../system'; in the index.php file to point to wherever your 'system' folder exists
  • Create a MySQL database & database user with your hosting database tool (cPanel, Plesk, etc...)

  • Navigate to the following URL at the domain you setup http://domain-name.com/install.php

  • Walk through all the steps

  • Voila, you should have a working install of Social-Ingiter

  • Submit any bugs or fork & send a pull request =)

Apache Installation Instructions

  • Create a Virtual Host or route for to this folder (e.g. http://domain-name.com)
  • Make sure you mod_rewrite intalled and loaded in Apache

NGINX Installation Instructions

  • Install the following code in your Server Block

    server { listen 80; server_name example.dev; root /Users/aaronpk/Code/social-igniter;

    try_files $uri /index.php?$args;
    
    location ~ \.php$ {
          fastcgi_pass    unix:/tmp/php-fpm.sock;
          fastcgi_index   index.php;
          include fastcgi_params;
          fastcgi_param   SCRIPT_FILENAME $document_root$fastcgi_script_name;
    }
    

    }

Documentation

To see documentation for Social-Igniter go to: https://github.com/socialigniter/socialigniter/wiki

REST API Methods & Calls

To see documentation on the API go to: http://social-igniter.com/api

Apps

There are a whole bunch of modules (blog, facebook, twitter, etc...) that are in various states of construction to see a full list go to: http://social-igniter.com/pages/apps

License

Copyright 2012 by Social-Igniter.com and contributors MIT License, CodeIgniter License

socialigniter's People

Contributors

aaronpk avatar barnabywalters avatar bnvk avatar erkan-yilmaz avatar hackervera avatar mike-r-karras avatar oscargodson avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

socialigniter's Issues

Unable to locate file

Hi,

after installing "Social Igniter" (last version) in local (WAMP environment), i have the following error in the browser:

An Error Was Encountered

Unable to locate the views/ file: {"theme":"site_default","name":"Default Site","created":"2011-04-14","updated":"2011-04-14","creator":"Brennan Novak","layouts":{"sidebar":["content","sidebar","wide"],"wide":["wide"],"profile":["content","sidebar"]}}/theme_schema.php

Moreover, in the debug file I have:

DEBUG - 2011-11-30 15:39:02 --> Config Class Initialized
DEBUG - 2011-11-30 15:39:02 --> Hooks Class Initialized
DEBUG - 2011-11-30 15:39:02 --> Utf8 Class Initialized
DEBUG - 2011-11-30 15:39:02 --> UTF-8 Support Enabled
DEBUG - 2011-11-30 15:39:02 --> URI Class Initialized
DEBUG - 2011-11-30 15:39:02 --> Router Class Initialized
DEBUG - 2011-11-30 15:39:02 --> Unable to locate the config/ file: routes.php
DEBUG - 2011-11-30 15:39:02 --> No URI present. Default controller set.
DEBUG - 2011-11-30 15:39:02 --> Output Class Initialized
DEBUG - 2011-11-30 15:39:02 --> Security Class Initialized
DEBUG - 2011-11-30 15:39:02 --> Input Class Initialized
DEBUG - 2011-11-30 15:39:02 --> XSS Filtering completed
DEBUG - 2011-11-30 15:39:02 --> XSS Filtering completed
DEBUG - 2011-11-30 15:39:02 --> Global POST and COOKIE data sanitized
DEBUG - 2011-11-30 15:39:02 --> Language Class Initialized
DEBUG - 2011-11-30 15:39:02 --> Language Class Initialized
DEBUG - 2011-11-30 15:39:02 --> Config Class Initialized
DEBUG - 2011-11-30 15:39:02 --> Loader Class Initialized
DEBUG - 2011-11-30 15:39:02 --> Unable to locate the config/ file: social_igniter.php
DEBUG - 2011-11-30 15:39:02 --> Config file loaded: application/config/social_igniter.php
DEBUG - 2011-11-30 15:39:02 --> Unable to locate the config/ file: settings.php
DEBUG - 2011-11-30 15:39:02 --> Config file loaded: application/config/settings.php
DEBUG - 2011-11-30 15:39:02 --> Unable to locate the config/ file: custom.php
DEBUG - 2011-11-30 15:39:02 --> Config file loaded: application/config/custom.php
DEBUG - 2011-11-30 15:39:02 --> Unable to locate the helpers/ file: url_helper.php
DEBUG - 2011-11-30 15:39:02 --> Helper loaded: url_helper
DEBUG - 2011-11-30 15:39:02 --> Unable to locate the helpers/ file: cookie_helper.php
DEBUG - 2011-11-30 15:39:02 --> Helper loaded: cookie_helper
DEBUG - 2011-11-30 15:39:02 --> Unable to locate the helpers/ file: date_helper.php
DEBUG - 2011-11-30 15:39:02 --> Helper loaded: date_helper
DEBUG - 2011-11-30 15:39:02 --> Unable to locate the helpers/ file: text_helper.php
DEBUG - 2011-11-30 15:39:02 --> Helper loaded: text_helper
DEBUG - 2011-11-30 15:39:02 --> Unable to locate the helpers/ file: feed_helper.php
DEBUG - 2011-11-30 15:39:02 --> Helper loaded: feed_helper
DEBUG - 2011-11-30 15:39:02 --> Unable to locate the helpers/ file: view_helper.php
DEBUG - 2011-11-30 15:39:02 --> Helper loaded: view_helper
DEBUG - 2011-11-30 15:39:02 --> Unable to locate the helpers/ file: array_helper.php
DEBUG - 2011-11-30 15:39:02 --> Helper loaded: array_helper
DEBUG - 2011-11-30 15:39:02 --> Unable to locate the helpers/ file: string_helper.php
DEBUG - 2011-11-30 15:39:02 --> Helper loaded: string_helper
DEBUG - 2011-11-30 15:39:02 --> Unable to locate the helpers/ file: directory_helper.php
DEBUG - 2011-11-30 15:39:02 --> Helper loaded: directory_helper
DEBUG - 2011-11-30 15:39:02 --> Unable to locate the helpers/ file: social_igniter_helper.php
DEBUG - 2011-11-30 15:39:02 --> Helper loaded: social_igniter_helper
DEBUG - 2011-11-30 15:39:02 --> Unable to locate the helpers/ file: custom_helper.php
DEBUG - 2011-11-30 15:39:02 --> Helper loaded: custom_helper
DEBUG - 2011-11-30 15:39:02 --> Database Driver Class Initialized
DEBUG - 2011-11-30 15:39:02 --> Unable to locate the libraries/ file: session.php
DEBUG - 2011-11-30 15:39:02 --> Unable to locate the config/ file: session.php
DEBUG - 2011-11-30 15:39:02 --> Session Class Initialized
DEBUG - 2011-11-30 15:39:02 --> Unable to locate the helpers/ file: string_helper.php
DEBUG - 2011-11-30 15:39:02 --> Unable to locate the libraries/ file: encrypt.php
DEBUG - 2011-11-30 15:39:02 --> Unable to locate the config/ file: encrypt.php
DEBUG - 2011-11-30 15:39:02 --> Encrypt Class Initialized
DEBUG - 2011-11-30 15:39:02 --> Session routines successfully run
DEBUG - 2011-11-30 15:39:02 --> Unable to locate the libraries/ file: form_validation.php
DEBUG - 2011-11-30 15:39:02 --> Unable to locate the config/ file: form_validation.php
DEBUG - 2011-11-30 15:39:02 --> Unable to locate the helpers/ file: form_helper.php
DEBUG - 2011-11-30 15:39:02 --> Helper loaded: form_helper
DEBUG - 2011-11-30 15:39:02 --> Form Validation Class Initialized
DEBUG - 2011-11-30 15:39:02 --> Unable to locate the libraries/ file: social_auth.php
DEBUG - 2011-11-30 15:39:02 --> Unable to locate the config/ file: social_auth.php
DEBUG - 2011-11-30 15:39:02 --> Unable to locate the models/ file: auth_model.php
DEBUG - 2011-11-30 15:39:02 --> Model Class Initialized
DEBUG - 2011-11-30 15:39:02 --> Model Class Initialized
DEBUG - 2011-11-30 15:39:02 --> Unable to locate the models/ file: connections_model.php
DEBUG - 2011-11-30 15:39:02 --> Model Class Initialized
DEBUG - 2011-11-30 15:39:02 --> Unable to locate the libraries/ file: social_igniter.php
DEBUG - 2011-11-30 15:39:02 --> Unable to locate the config/ file: social_igniter.php
DEBUG - 2011-11-30 15:39:02 --> Unable to locate the config/ file: activity_stream.php
DEBUG - 2011-11-30 15:39:02 --> Config file loaded: application/config/activity_stream.php
DEBUG - 2011-11-30 15:39:02 --> Unable to locate the models/ file: activity_model.php
DEBUG - 2011-11-30 15:39:02 --> Model Class Initialized
DEBUG - 2011-11-30 15:39:02 --> Unable to locate the models/ file: content_model.php
DEBUG - 2011-11-30 15:39:02 --> Model Class Initialized
DEBUG - 2011-11-30 15:39:02 --> Unable to locate the models/ file: pages_model.php
DEBUG - 2011-11-30 15:39:02 --> Model Class Initialized
DEBUG - 2011-11-30 15:39:02 --> Unable to locate the models/ file: settings_model.php
DEBUG - 2011-11-30 15:39:02 --> Model Class Initialized
DEBUG - 2011-11-30 15:39:02 --> Unable to locate the models/ file: sites_model.php
DEBUG - 2011-11-30 15:39:02 --> Unable to locate the libraries/ file: social_tools.php
DEBUG - 2011-11-30 15:39:02 --> Unable to locate the config/ file: social_tools.php
DEBUG - 2011-11-30 15:39:02 --> Unable to locate the models/ file: categories_model.php
DEBUG - 2011-11-30 15:39:02 --> Model Class Initialized
DEBUG - 2011-11-30 15:39:02 --> Unable to locate the models/ file: comments_model.php
DEBUG - 2011-11-30 15:39:02 --> Model Class Initialized
DEBUG - 2011-11-30 15:39:02 --> Unable to locate the models/ file: places_model.php
DEBUG - 2011-11-30 15:39:02 --> Model Class Initialized
DEBUG - 2011-11-30 15:39:02 --> Unable to locate the models/ file: ratings_model.php
DEBUG - 2011-11-30 15:39:02 --> Model Class Initialized
DEBUG - 2011-11-30 15:39:02 --> Unable to locate the models/ file: relationships_model.php
DEBUG - 2011-11-30 15:39:02 --> Model Class Initialized
DEBUG - 2011-11-30 15:39:02 --> Unable to locate the models/ file: tags_model.php
DEBUG - 2011-11-30 15:39:02 --> Model Class Initialized
DEBUG - 2011-11-30 15:39:02 --> Unable to locate the models/ file: taxonomy_model.php
DEBUG - 2011-11-30 15:39:02 --> Model Class Initialized
DEBUG - 2011-11-30 15:39:02 --> Unable to locate the models/ file: upload_model.php
DEBUG - 2011-11-30 15:39:02 --> Model Class Initialized
DEBUG - 2011-11-30 15:39:02 --> Controller Class Initialized
DEBUG - 2011-11-30 15:39:02 --> Site MX_Controller Initialized
DEBUG - 2011-11-30 15:39:02 --> Loader Class Initialized
DEBUG - 2011-11-30 15:39:02 --> Unable to locate the language/english/ file: social_igniter_lang.php
DEBUG - 2011-11-30 15:39:02 --> Language file loaded: language/english/social_igniter_lang.php
DEBUG - 2011-11-30 15:39:02 --> Unable to locate the language/english/ file: activity_stream_lang.php
DEBUG - 2011-11-30 15:39:02 --> Language file loaded: language/english/activity_stream_lang.php
DEBUG - 2011-11-30 15:39:02 --> Unable to locate the libraries/ file: user_agent.php
DEBUG - 2011-11-30 15:39:02 --> Unable to locate the config/ file: user_agent.php
DEBUG - 2011-11-30 15:39:02 --> User Agent Class Initialized

Could you help me?

Tnx
NicZap

Cant Install

Cant install the package
Showing permission error but i have 777 permission.
install social-igniter 2014-08-29 13-22-23

File permissions issues during install

Hi,

I have just tried to install socialigniter, but the installer is getting stuck claiming it has no permissions to write to the files .. I have tried chmod'ing to 666 and then 777 the files (and even the directory), but I can't get past the error.

I peered in the install.php, and where is_writable is called needed to be negated, so it can go past the not writable error message .. But still the installer fails to proceed ..

Looking at the logs, i see:

2013/12/07 06:37:35 [error] 19626#0: *25 open() "/www/igniter/setup" failed (2: No such file or directory), client: 192.168.10.99, server: 192.168.10.20, request: "POST /setup HTTP/1.1", host: "192.168.10.20", referrer: "https://192.168.10.20/install.php"

Looking at the directory tree, the only executable file named like setup are:

  • ./application/controllers/setup.php
  • ./js/installer/setup.js

So, it seems as if the install script is possibly making a wrong assumption about the path of that file, or is assuming some alias settings within the web server.

Please, can anyone throw more light on this .. Perhaps I am missing something.

PS: This looks like some great work .. I am honoured to have access to try and get it to work .. Well done.

Phone number defaults to "0"

After creating a brand new account, the phone number defaulted to "0". When updating some other portion of the user profile, it then fails with "invalid phone number"

Comments-Replies problem

Thanks to author for this awesome piece of software.

Is master-branc complete please? I had no problems setting it all up but replying to posts doesn't work for me. Button calls a function in /api/comments/write and its not there. Thanks.

Installer failure to create database

In MAMP, I had to switch the ports so that instead of typing 'http://localhost:8888", it would just be localhost. Otherwise, the installer would repeatedly fail despite having all the correct information.

[07-Jul-2012 16:31:35] PHP Strict Standards: Declaration of MX_Lang::load() should be compatible with that of CI_Lang::load() in /Users/romkslrqusz/Sites/TrackersSI/socialigniter/application/third_party/MX/Lang.php on line 0
[07-Jul-2012 16:31:35] PHP Strict Standards: Declaration of MX_Loader::library() should be compatible with that of CI_Loader::library() in application/third_party/MX/Loader.php on line 0
[07-Jul-2012 16:31:35] PHP Strict Standards: Declaration of MX_Loader::helper() should be compatible with that of CI_Loader::helper() in application/third_party/MX/Loader.php on line 0
[07-Jul-2012 16:31:35] PHP Strict Standards: Declaration of MX_Loader::helpers() should be compatible with that of CI_Loader::helpers() in application/third_party/MX/Loader.php on line 0
[07-Jul-2012 16:31:35] PHP Strict Standards: Declaration of MX_Loader::language() should be compatible with that of CI_Loader::language() in application/third_party/MX/Loader.php on line 0
[07-Jul-2012 16:31:35] PHP Strict Standards: Declaration of MX_Loader::_ci_get_component() should be compatible with that of CI_Loader::_ci_get_component() in application/third_party/MX/Loader.php on line 0
[07-Jul-2012 16:32:54] PHP Strict Standards: Declaration of MX_Lang::load() should be compatible with that of CI_Lang::load() in /Users/romkslrqusz/Sites/TrackersSI/socialigniter/application/third_party/MX/Lang.php on line 0
[07-Jul-2012 16:32:54] PHP Strict Standards: Declaration of MX_Loader::library() should be compatible with that of CI_Loader::library() in application/third_party/MX/Loader.php on line 0
[07-Jul-2012 16:32:54] PHP Strict Standards: Declaration of MX_Loader::helper() should be compatible with that of CI_Loader::helper() in application/third_party/MX/Loader.php on line 0
[07-Jul-2012 16:32:54] PHP Strict Standards: Declaration of MX_Loader::helpers() should be compatible with that of CI_Loader::helpers() in application/third_party/MX/Loader.php on line 0
[07-Jul-2012 16:32:54] PHP Strict Standards: Declaration of MX_Loader::language() should be compatible with that of CI_Loader::language() in application/third_party/MX/Loader.php on line 0
[07-Jul-2012 16:32:54] PHP Strict Standards: Declaration of MX_Loader::_ci_get_component() should be compatible with that of CI_Loader::_ci_get_component() in application/third_party/MX/Loader.php on line 0

Add docblocks to all SI libraries, controllers and models

As well as any helpers and 3rd party scripts which it’s feasible to add docblocks too.

Use @Package with subpackages to organise stuff. All social igniter stuff goes in Social Igniter, subpackages are specified using backslashes and should mirror folder structure, e.g:

  • models have @package Social Igniter\Models
  • libraries go in @package Social Igniter\Libraries

3rd party stuff should go in it’s own package. I think most code igniter libraries are under the CI package, but don't bother generating docs for those as they already exist.

Installer fails silently if script doesn't have correct permissions to modify config files

As titled. In errors.log I get the following:

[Sun Sep 02 22:32:10 2012] [error] [client 89.242.51.160] PHP Warning:  file_put_contents(./application/config/config.php): failed to open stream: Permission denied in /path/to/si/install.php on line 14, referer: http://si.waterpigs.co.uk/install.php
[Sun Sep 02 22:32:10 2012] [error] [client 89.242.51.160] PHP Warning:  file_put_contents(./application/config/database.php): failed to open stream: Permission denied in /path/to/si/install.php on line 26, referer: http://si.waterpigs.co.uk/install.php
[Sun Sep 02 22:32:10 2012] [error] [client 89.242.51.160] PHP Warning:  copy(./application/config/routes.php): failed to open stream: Permission denied in //path/to/si/install.php on line 29, referer: http://si.waterpigs.co.uk/install.php
[Sun Sep 02 22:32:10 2012] [error] [client 89.242.51.160] PHP Warning:  copy(./application/config/social_igniter.php): failed to open stream: Permission denied in/path/to/si/install.php on line 30, referer: http://si.waterpigs.co.uk/install.php

Too many user session cookies are sent on login

When logging in, the system is sending multiple set-cookie headers with new user session data in each one. On the login request I got 16 set-cookie headers.

When running in nginx using php-fpm, nginx refuses to send the response because the headers are too big. The error message in the nginx log is "upstream sent too big header while reading response header from upstream".

Create an Apps "App"

Currently there is no centralized way of listing "available" apps within a Social-Igniter install.

See the "Find Apps" page on your install of SI

http://localhost/apps/find

This needs to pull from a centralized API which should be an "app" in and of itself. It just needs to be made :)

Allow installer to pick up where left off

Users should be able to return to a partially completed install and pick up where they left off.

Thoughts on how to implement this:

  1. Do a check for non-template config files
  2. If they exist, grab the DB credentials for them
  3. Try accessing the DB
    1. if it doesn't work, start the install from scratch
    2. if it does work, continue
  4. For each stage after that:
    1. Look for the data associated with that stage
    2. If it exists, present the form with the data filled in
    3. If it doesn't exist, present an empty form

This flow would be quite easy to develop but would still make returning to an install job far easier for a user.

Add error handling to stages of Installer.php

Currently the installer seems to fail on numerous steps for different people. Issues could be anywhere from DB creds failing, to not having the DB already created (see other issue), to file write permissions. The fact is that we need the installer to check all these conditions and return UI feedback to the user.

Also, it should allow a person to continue installing from previously completed steps. Currently this is not possible!

no sql files

Hi

it seems that u create an awesome piece of software .
but i m not able to install it
as there are no sql file or nothing to create table in database
i try to find it in the repo but i cant

i find your description the sql file is in application/install folder but there is no install folder in any of branches neither in master nor in development

please help

thanks

Nathan

Error

There is a folder missing. This is the error I get after running install.php

Your system folder path does not appear to be set correctly.
Please open the following file and correct this: index.php

I open the index.php and it is looking for a folder "../system"

this folder does not exist in the archive for socialigniter.
Is there something missing?

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.