2 mgsolipa Oct 15, 2015 22:13

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...
@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]'
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?
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.
2 recommendations:
Thanks.
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.
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/
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?