ilosuna / phpsqlitecms Goto Github PK
View Code? Open in Web Editor NEWphpSQLiteCMS is a simple and lightweight web content management system based on PHP and SQLite.
Home Page: phpsqlitecms.net
License: MIT License
phpSQLiteCMS is a simple and lightweight web content management system based on PHP and SQLite.
Home Page: phpsqlitecms.net
License: MIT License
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!
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
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
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)
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"
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
I Translated from English to Japanese.
Can I post it, okay?
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.
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?
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.
Great job Mark, i need to include some debugger > PHP Debug Bar will be nice, how to make it possible?
Thanks 4 your time
I like this CMS because it's quite minimal. I think I'm going to use it in my next project.
Anyway, in editor, can you add a wysiwyg for non experienced web users? and for experienced users, can you add syntax highlight for code?
You can use (try) Bootstrap wysiwyg and highligh.js
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
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 :-)
Hi,
some questions
1)how can I submenus;
eg:
-Home
-test
--test1
--test2
-contact
please help
Thank you
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']) . '/';
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.
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
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 :-)
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 :-)
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
.
love the simplicity and it would be even better with tagging
How do I remove the default advertise from my HOME page?
Starting with Hello World.
I tried in Administration but couldn't find out.
language_url : '/languages/de.js'
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:
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.