GithubHelp home page GithubHelp logo

ilosuna / phpsqlitecms Goto Github PK

View Code? Open in Web Editor NEW
138.0 138.0 75.0 965 KB

phpSQLiteCMS is a simple and lightweight web content management system based on PHP and SQLite.

Home Page: phpsqlitecms.net

License: MIT License

PHP 74.89% Smarty 22.46% CSS 1.13% HTML 0.14% JavaScript 1.38%

phpsqlitecms's People

Contributors

bmcbride avatar codersclub avatar ilosuna avatar sim2github 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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

phpsqlitecms's Issues

Q: Adding static content to page

Hi!

I have two phpsqlitecms-sites on the same host and would like to serve static content shared by these two sites, embedded in a page on each site.

Is there a way to do this with the current revision, without compromising security and without changes to the source code? I'd keep the static content in some other place while symlinking the content to inside the webroot of each site.

Thanks!

Still active - Some questions

Hi there,

i hope everyone's fine. I've just discovered phpsqlitecms and it's nice, blazing fast and very small. But i have some questions:

  • It's nice to have a CMS which uses Bootstrap but Bootstrap 3.3.4 is very old. Do you think there will be an update to Bootstrap 4?

  • Is it possible to have Submenus?

bye
Bernd

image_popup

Console:
Uncaught ReferenceError: image_popup is not defined index.php?mode=edit&id=1&disable_wysiwyg=true:1
ondblclick index.php?mode=edit&id=1&disable_wysiwyg=true:1

Use undefined function image_popup in files:
cms/templates/admin/subtemplates/modal_insert_image.tpl, cms/templates/admin/subtemplates/comments.inc.tpl

Responsible disclosure policy

Hey there!

I belong to an open source security research community, and a member (@hitisec) has found an issue, but doesn’t know the best way to disclose it.

If not a hassle, might you kindly add a SECURITY.md file with an email, or another contact method? GitHub recommends this best practice to ensure security issues are responsibly disclosed, and it would serve as a simple instruction for security researchers in the future.

Thank you for your consideration, and I look forward to hearing from you!

(cc @huntr-helper)

Simple news time issue

When you edit Simple news item, saved time is always reset to current.
I believe, there is type-o in simple_news.inc.tpl row 47. There is: name="newstime" and should be name="time"

AntiSpam Module

Hello,

Could you please describe how the antispam works.
Because I try to activate akismet and nothing happened.
Also is it possible to enable reCaptcha
Thanks in advance
Emmanuel

Feature Request - Multiple Sites under single Install

First of all, a 1000k watt thank you for bringing up such nice and light weight php CMS Framework 👍 which is working fine here in php7, as well.

I think, it would be better to add functionality to define/develop multiple websites under a single install like in the http://werc.cat-v.org/; custom config, css, images, templates, scripts and static pages etc. are definable under every site/example.com/ so that a user copies files from original/main framework and customizes it for particular site; installed versions are used as default, otherwise.

Rewrite broken?

Hey,

i've just copied phpsqlitecms (also hidden .htaccess) and played around a bit. looks good but every link is broken. all i get a 404. Did i miss something while install?

File Upload input checking

I accidentally uploaded a blank file - I didn't browse to the picture, or drag and drop or type a name... - my mistake.

The upload script allowed me to upload the non-file, and it then erased / screwed up my media folder. I deleted it from the command line checked out a new copy.

sudo rm -rf media
sudo git checkout HEAD -- media

In an ideal world, the upload script should have checked for valid data.

Debugger

Great job Mark, i need to include some debugger > PHP Debug Bar will be nice, how to make it possible?
Thanks 4 your time

Fatal error: __autoload() is no longer supported

Didn't even have a chance to look at it.
Added phpsqlitecms folder to my doc root. Configured my vhost file. Restarted my server. Navigated to phpsqlite, and got this error:
Fatal error: __autoload() is no longer supported
use spl_autoload_register() instead
xxx\cms\includes\functions.inc.php on line 3

Can't login as admin

I just installed this and im trying admin as the username and admin as the password and it says User unknown or password wrong.

I can't get in to /cms, where do I change the default user's username and/or password to my own?

Thanks in advance :-)

various questions

Hi,

some questions

1)how can I submenus;
eg:
-Home
-test
--test1
--test2
-contact

  1. the the contact form does not send any email!

please help
Thank you

Bug in functions.inc.php

Hallo,
ich schreib es leider in deutsch.

Als ich versuchte mich beim phpSQLiteCMS einzuloggen, bekam ich Warnungen und Fehler angezeigt, dies war sonst nicht der Fall. (xampp / win7)

Warning: require_once cms/includes/classes/Localization.class.php
failed to open stream: No such file or directory in cms\includes\functions.inc.php on line 5
Fatal error: require_once() cms/includes/classes/Localization.class.php
in cms\includes\functions.inc.php on line 5

Die Datei cms/includes/functions.inc.php verursacht diesen Abbruch. Sobald ich die alte functions.inc.php nutze, funktioniert wieder alles wie es soll. Ein Login ist möglich.

Lösung: In Zeile 77 der cms/includes/functions.inc.php das DIRECTORY_SEPARATOR wieder durch '/' ersetzen.

(-) line 77: $base_path = dirname($_SERVER['SCRIPT_FILENAME']) . DIRECTORY_SEPARATOR;
(+) line 77: $base_path = dirname($_SERVER['SCRIPT_FILENAME']) . '/';

What U think about core refactiring?

As i see v3 functionality almost identical to first version. In documentation/about saying that CMS is not large scalable - I think it's issue that must be fixed by rewrithig all functionality via application pattern. For example MVC structure like panique/php-login does. This is nice start to build modern application.

Multilingual site

Hello Mark! I see that it's possible to create a multilingual site with your cms (for instance - http://procosara.org/en/). Could you please give us more info about how to do this (or even - to post a multilingual version of the cms here, if this is not a problem). Thanks! Kiril

Admin

I just installed this and im trying admin as the username and admin as the password and it says User unknown or password wrong.

I can't get in to /cms, where do I change the default user's username and/or password to my own?

Thanks in advance :-)

Tip:Nginx Config and Bootswatch theming

Hi,
Thanks for your work on this! I love the simplicity and features offered by this CMS and I use it on my personal VPS.
I was able to get it working with Nginx webserver using the following nested location directives in my config script:

location / {
 #stuff specific to your root goes here
 location ~ /blog/[^\.]+$ {
       rewrite ^/blog/(.*)$ /blog/index.php?qs=$1;
       location ~/blog/cms/[^\.]*$ {
              rewrite  ^/blog/cms/(.*)$ /blog/cms/index.php?qs=$1;
              }
     }
}

So, in my setup, /blog (containing phpsqlitecms) is nested under my root webspace (/)

Also, another tip: It is quite easy (and fun) to swap out themes from bootswatch (http://www.bootstrapcdn.com/#bootswatch_tab) by editing the /cms/templates/default.tpl file and replacing the default bootstrap cdn url :-)

Images `src` path in wysiwyg

In example path to images is relative(starts with dot) <img src="./static/media/chaco_teaser.jpg"> but in WYSIWYG location is http://phpsqlitecms.com/cms/ so path to image is wrong - http://phpsqlitecms.com/cms/static/media/chaco_teaser.jpg.

Remove Hello World advertise?

How do I remove the default advertise from my HOME page?
Starting with Hello World.

I tried in Administration but couldn't find out.

TinyMCE integration

  • Redactor don't change language when admin panel language is different then english selected. Need to include language file:
language_url : '/languages/de.js'
  • Insert/edit image is allow only to paste URL
    Do you plan to use included image manager or something like elFinder?
  • Is primary idea to use CDN supported scripts?

General question about development and contributions

Hi @ilosuna and all,

first of all I would like to say that this CMS is the lightweight solution I have been looking for for use on all kinds of future procects, especially due to the Bootstrap-integration that adds responsive options en masse... :)

Is the project still active?

I have started to like the CMS and while testing I have fixed issues and extended functions to my liking.

For now the CMS runs nicely, has current Bootstrap and runs with PHP 5.7. Anyhow if I start making production sites with this I would like to have some hope that (what I consider) low level things will get fixed and updated, like new Bootstrap etc.

If there is some activity and common interest I would also like to contribute fixes and functions; I have no prior experience with Github workflow though.

What may be of interest:

  • I fixed some typos in german lang file and would continue to look through it
  • I made TinyMCE show the page like it will really look by adding bootstrap.css to content_css
  • I have started to include more complex Bootstrap HTML as Templates to be included via the editor with previews and will continue to add what I need
  • I have activated TinyMCE for other textareas (e.g. sidebars) with reduced interface

Maybe things like that could be perfected by community-effort.

What I miss most concerning basic options is a better variety of menu-styles and levels. I tried the Dropdown-patch by @sim2github but I would like to have options within the Admin-Interface.

Then, this has been mentioned somewhere here, would be some better workflow for images. I can choose an image from uploaded files with the normal editor and they will be inserted with some markup that does not render in the WYSIWYG, on the other hand I can insert an image by URL in TinyMCE that will show up nicely, but I would have to know the URL first. The Markup does not even show the full path so switching back and forth is no fun when working with images.

In my imagination it should not be so hard to include file upload and selection from the library within TinyMCE. Even simpler the filepicker in the codeeditor could probably be made to produce complete HTML in order to make it show up in the WYSIWYG... (?)

Liebe Grüsse!

Andreas

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.