1 kevins Oct 15, 2015 01:37
3 kevins Oct 16, 2015 19:51
I'm hosting it locally on a Windows server. Database is MariaDB on my NAS which is supposed to be highly compatible with MySQL.
By freeze I mean, once I click on the submit button the top of the tab constantly says "Connecting." but it doesn't ever fail. Most of the time it seems to be making the commit to the database, but in a post it put the link on the main page but I get a 404 message when I try to go to the full post. When I look at the post in the back-office it's all there, so no clue what's up...
4 mgsolipa Oct 17, 2015 00:51
@kevins can you take the slug (http://b2evolution.net/man/slug) of the post that throws the 404 error and execute the following SQL in your DB server (using phpmyadmin or similar)?
SELECT * FROM `evo_slug` WHERE `slug_title` LIKE '[post-slug]'
(replace [post-slug] with the actual slug)
There must be one record.
If nothing found, and you haven't touched this table before or played around witht the Slugs tab in the back-office (http://b2evolution.net/man/slugs-list), then there are inconsistencies in your database.
Is your NAS working properly? Have you tested other PHP apps similar to b2evolution over your current server architecture?
5 kevins Oct 17, 2015 02:21
So the evo_slug table is there. There is an entry for the page that's not found.
I have debug on and can see the query that pulls the data from evo_slug when I look at the back-office slugs page.
I've run many php sites in this configuration, though this is the first time I've used the database on the NAS for it.
6 fplanque Oct 17, 2015 14:22
2 recommendations:
- Post a screenshot of your 404 so we can see if it's generated by b2 or by your system
- Post a screenshot of your backoffice system status page so we can see what might be out of order
Thanks.
7 kevins Oct 17, 2015 18:06
The system status page shows 2 things in orange.
PHP memory limit of 256M
PHP opcode cache none
Not sure how to do inline images, but the 404 page is system generated. The site isn't online yet, but the URL showing is http://www.thetinker.net/Welcome-1. The slug Welcome-1 is in the database.
Attachments:
- system___status_b2evo.pdf (94 KB)
8 kevins Oct 17, 2015 18:08
The 404 page.
9 fplanque Oct 21, 2015 23:33
Your .htaccess and/or Apache config is not properly configured and you cannot use URLs like http://www.thetinker.net/Welcome-1
until you have this properly sorted out.
http://b2evolution.net/man/htaccess-file
Alternatively, you can use a URL scheme has requires less configuration:
http://b2evolution.net/man/back-office-reference/collections/collection-settings/urls-settings/
10 kevins Oct 21, 2015 23:46
Ok. Thanks. Not sure the htaccess is going to help running it on IIS, but the other might.
@kevins when you say "the site randomly freezes", does it stop after displaying some parts of the page, just get a blank page or any kind of error message?
Is your b2evolution site running in a hosting company or in local? Do you have any access to the server's error log? Can you activate the debug mode and try to reproduce the error?