Comments (43)
Mungkin itu log lama, coba dilihat tanggalnya kapan soalnya eksekusi seperti itu cuman dari functions.php
from htmly.
semalem sih.. padahal sudah update dari tanggal 18 siang/sore gitu
18-Jan-2014 22:17:03 Asia/Jakarta
from htmly.
tapi emang di function masih ada panggil markdownparser mas dan, cek deh
// Return static page path.
function get_static_path(){
$posts = get_static_pages();
$tmp = array();
// Create a new instance of the markdown parser
$md = new MarkdownParser();
from htmly.
O iya lupa yang itu :) bentar saya commit sekalian admin panelnya saja meskipun belum ada preview tapi ngga masalah sih sekalian testing.
from htmly.
Oke sipp +1
from htmly.
Sorry oot, woo ini maksudnya tag jadi lebih fleksibel yah, sy test bikin artikel dengan judul ada "htmly" nya lalu dengan tag "desain" tapi saat sudah jadi lalu saya klik halaman tag "htmly" eh ternyata ada juga artikel yang di ta desain itu :)
Update :
karena ini ya
$total = get_count($tag, 'filename');
karena baca judul :)
from htmly.
Itu sih bug, bukan karena itu tapi ini:
if( strpos($url, "$tag") !== false){
Kurang explode :)
from htmly.
Woo, karena itu yah hehe, sy pikir mah fleksibel.. tapi bagus juga sih buat mutiple tags :D
from htmly.
Kalau pakai admin panel nanti nama file agak ribet ngga masalah, karena nanti otomatis pembuatan nama filenya, user misal hanya dikasih input tags, urlnya gimana, dan content.
from htmly.
Ya lebih enak nantinya dong :) biasanya pemakai maunya gk ribet, filename jadi otomatis kan
from htmly.
Bener filename otomatis dan tanggal diambil ketika save dilakukan, terpikirkan untuk bikin multiple tags juga setelah pakai admin panel. Untuk pembuatan user mendingan di semacam config.ini, dilist saja misal:
dan|password
admin|password
Nanti folder juga otomatis tercipta, atau mungkin bikin folder user nah bikin misal dan.md terus password ada didalamnya.
Sepertinya HTMLy sudah tidak main-main lagi ini :)
from htmly.
Wah, mantap.. gimana security nya mas dan? file itu musti dijaga dong :)
Update:
itu tags gpp begitu aja , kayanya ambil dari filename koq, karena artikelnya filenamenya ada htmly nya :) gpp begitu aja masih relevan
from htmly.
Wah bahaya tagsnya : judul masa kebaca tags
from htmly.
Itu karena tidak pakai explode itu :)
from htmly.
HTMLy sudah tidak main main lagi :) hehe thanks to Joe Satriani, selalu menemani coding toh hehe :D
from htmly.
Untuk security sih mengandalkan htaccess. Sudah bisa multi user menulis, config.ini pindah ke folder admin, mungkin sudah dicommit dulu tidak masalah ya? sekalian pada testing, belum ada CSS sedikitpun, dan link ke postingan masih link ke file system.
Iya Joe Satriani, kagak ribet dengernya :)
from htmly.
Boleh dicommit, mas dan bug explode kayanya banyak, arsip juga kena.. Smua taxonomi deh :)
from htmly.
Sudah di commit and tags sepertinya sudah terpecahkan. Coba admin panelnya untuk create post dan edit. url haruslah misal htmly-testing.
from htmly.
test dilocalhost udah setting config koq gini ya : [views.root] is not set
adminnya simple dan mantep :D tinggal di style kan
test posting nama file jadi gini : 2014-01-20-13_test_test-artikel.md ------ tag "test"
from htmly.
Config ini kan saya pindah ke admin biar jadi satu, iya sementara baru 1 tag saja :) yang angka 13 itu jam, tambahin menit juga harusnya.
from htmly.
Wah gk liat ada commit baru :D sudah bisa nih, mantap.. lagi ujicoba-ujicoba dulu nih :)
from htmly.
Ingat ketika di server, folder content permissionnya harus 777, harusnya di hapus sekalian saja ya biar tidak perlu gini, kalau apache yang bikin dari admin panel permissionnya tidak masalah.
from htmly.
Semua didalam content 777 apa folder content nya saja ?
from htmly.
warning, pas login
Warning: Cannot modify header information - headers already sent by (output started at /home/defakaco/public_html/admin/index.php:16) in /home/defakaco/public_html/admin/includes/login.php on line 13
from htmly.
Itu di error log atau browser?
from htmly.
Browser nya mas dan, pas login keluar gitu, padahal udah bikin file dan password buat user :)
from htmly.
Sekarang masih begitu, ketika mengunjungi halaman admin defaka saya tidak menemukan error tuh, bisa kasih screenshotnya?
from htmly.
Pas login mas dan, sy buatin admin buat mas dan yah :D
dan
admin
from htmly.
error muncul ketika user login, tapi ketika di refresh errornya hilang,
"Cannot modify header information - headers already sent by"
from htmly.
Nah ketika di server saya ko tidak ya? terus dilocalhost juga gitu? coba pada login.php
<?php
if(isset($_POST['submit'])) {
$user = $_POST['user'];
$user_file = 'users/' . $user . '.txt';
$pass = $_POST['password'];
$user_pass = @file_get_contents($user_file);
if(file_exists($user_file)) {
if($pass === $user_pass) {
$_SESSION['user'] = $user;
header('location: index.php');
}
else {
echo 'Username and password not match!';
}
}
else {
echo 'Please create username.txt inside "admin/users" folder and put your password inside it.';
}
}
?>
dipindah ke bawahnya:
<p>Login Form</p>
<form method="POST">
User:<br>
<input type="text" name="user"/><br><br>
Pass:<br>
<input type="password" name="password"/><br><br>
<input type="submit" name="submit" value="Login"/>
</form>
from htmly.
karena ini mas dan 👯
ob_start();
from htmly.
+1 to @ncang die yang googling tuh haha
from htmly.
Iya bisa karena itu tapi sebelumnya coba codenya di reorder dulu, coba lakukan perubahan diatas lalu masih error atau tidak
from htmly.
Sudah sy coba reorder sepertinya masih error, mungkin terkait settingan php.ini ?
from htmly.
Coba setelah
header('location: index.php');
kasih exit();
Lebih keren lagi kalau saya punya akun ftp untuk merubah itu :)
from htmly.
masih sama errornya mas dan..
from htmly.
Gpp deh cukup tambahin ob_start(); saja setelah buka <?php
kayanya terkait settingan php deh
output_buffering = On
from htmly.
Coba kamu tambahin dan lihat hasilnya kalau bisa berarti sudah bukan masalah lagi :)
from htmly.
Sudah bisa koq :) mas dan login saja :D kan user passnya masih ada tuh ...
from htmly.
Sip pull request saja dengan perbaikan itu :) ini jalan pintas sebenarnya, harusnya tahu mana yang menyebabkan hal itu, best practice lah ceritanya.
from htmly.
saya hapus ya username mas dan ? kecuali memang mau jadi author di defaka wkwkwkwkwk ?
test post http://www.defaka.com/2014/01/htmly-sekarang-memiliki-halaman-admin
oke sy pull request
from htmly.
Iya hapus saja. Tinggal menambahkan fitur-fitur lainnya tapi operasinya hanya pada folder content saja. Sekarang jadi tidak ribet nih :)
from htmly.
Wah, enak ini udah mantap-- pengembangan ke arah lebih lagi-- bisa jadi cms bener bener ini sih :D
from htmly.
Related Issues (20)
- Not is possible delete static pages, categories HOT 2
- /admin/update page not working on v2.9.7 (not showing v2.9.8 update) HOT 2
- VK.COM HOT 3
- Spoiler HOT 4
- metatags HOT 3
- H4 tags capitalized HOT 5
- example.com/feed/rss HOT 2
- SEO standard invalid of META tags - Inside BODY tag HOT 1
- Support isso comment system HOT 1
- Possible to add custom HTML and/or JavaScript HOT 2
- Commentics HOT 10
- Enhancement Req : Every SAVE button shoud have ClearCache together HOT 2
- new Install white page no theme HOT 8
- HTMLy is not installed! HOT 3
- How to add custom social buttons? (Independent Publisher theme) HOT 6
- Adding sub-categories HOT 3
- What is the safe way to disable all navigation menu items? (Grid Zone Theme) HOT 3
- How to customize the sidebar (Grid Zone Theme) HOT 1
- How to Submit Enquiry Form together HOT 2
- Article summary at home page getting error HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from htmly.