Comments (13)
I'm not sure if this is relevant, but every time I click on the link to add a post I see this in the log:
[Wed Dec 20 14:00:47.214322 2023] [fcgid:warn] [pid 27459] [client ** mod_fcgid: stderr: PHP Notice: Undefined index: type in /home//public_html/blog/system/htmly. php on line 409, referer: https://*/blog/admin/content
from htmly.
Hello, seems the query parameter ignored in your server (?type=post
). Enable the mod_rewrite, try to modify the htaccess file. Eg. uncomment the RewriteBase /
or use:
RewriteEngine On
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
In localhost I use xampp and no need any extra config except enabling the module needed (zip, intl etc.) For server, I use virtualmin and no need extra config either.
from htmly.
Thanks, it helped with the links and 'Scheduled' and 'Posts' items.
but
Admin or Dashboard returns the 'HTMLy' string
NB
I get an 'HTMLy' string if I have DirectoryIndex index.php admin.php in my .htaccess
If I keep DirectoryIndex index.php onlΠ½ I get a Forbidden message
from htmly.
The problems is your vhost config. In apache 2.4 should:
AllowOverride All
Require all granted
and 2.2:
Order allow,deny
Allow from all
from htmly.
These lines exist in my config. It is running under Virtualmin.
You know I think the reason for the issue is that I installed HTMLy in a subdirectory
So I have a public_html folder with the main site and .htaccess in it.
And a subfolder /blog
where I installed HTMLy. This folder has its own .htaccess
I have attached both .htaccess that you can have a look. I will very much appreciate any help.
htaccess blog subfolder.txt
htaccess root.txt
from htmly.
To debug it, restore the main site and htmly htaccess to the original one, start from there before adding your custom rule.
from htmly.
Well. I disabled the root htaccess file but the issue is still here.
mysite/blog/admin/posts,
mysite/blog/admin/pages
, mysite/blog/admin/draft
, etc can be opened correctly but
only mysite/blog/admin
generates an error β Forbidden
from htmly.
This is my current htaccess in the blog folder
RewriteEngine On
RewriteBase /blog/
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /blog/index.php [L]
from htmly.
so no idea why this script does not work as it should work
from htmly.
Yes I have no idea actually, I use the default htaccess and install it in sub folder and it work as it should be. It's a good idea to review how you set up your server (the virtual host etc.).
from htmly.
@Aido21 Please post your config\config.ini
and the complete error message.
from htmly.
Hi @bttrx
Here it is
config.ini.txt
There is no error messages. Just Forbidden 403 error for mysite/blog/admin.
The same time mysite/blog/admin/posts, mysite/blog/admin/pages, mysite/blog/admin/draft, etc can be opened correctly
from htmly.
I'm sure this is related to server settings and not htmly itself. I will close this one. Thanks
from htmly.
Related Issues (20)
- 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
- [FEATURE REQUEST] Plz add version number on footer HOT 6
- [FEATURE REQUEST] Admin to User Problem HOT 1
- [QUESTION] Theme Issue HOT 1
- [QUESTION] Sitemap.xml - is listing only my current year OR max 39 rows HOT 3
- Errror On Installation HOT 2
- Ukrainian language HOT 1
- Subscribe Module HOT 3
- Hello, there is some error on the sitemap HOT 6
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.