Flatboard not working: errors and no permission to view
Flatboard not working: errors and no permission to view
45995857 Friday 24th May 2019, 09:44:59At first when I put the index.php and the flatboard.zip file in my directory and go to the url it sais:
When I ignore this and go through with the installation i get a second error: Notice: Constant JSON_PRETTY_PRINT already defined in D:\LP_Werk\_dev\flatfileforum\www\1.0\public_html\init.php on line 44
When I ignore this and add a new forum I get redirected to a 403 forbidden page that sais: You don't have permission to access /index.phporum on this server.
Does anyone know what the problem is I run flatboard on localhost.
Notice: Use of undefined constant PATH_ROOT - assumed 'PATH_ROOT' in D:\LP_Werk\_dev\flatfileforum\www\1.0\public_html\index.php on line 34
When I ignore this and go through with the installation i get a second error: Notice: Constant JSON_PRETTY_PRINT already defined in D:\LP_Werk\_dev\flatfileforum\www\1.0\public_html\init.php on line 44
When I ignore this and add a new forum I get redirected to a 403 forbidden page that sais: You don't have permission to access /index.phporum on this server.
Does anyone know what the problem is I run flatboard on localhost.
Last modified by 45995857 on Friday 14th June 2019, 22:41:00
45995857 locked the discussion.
Replies 3
Hey anonymous user,
This bug will be fixed in the next version.
This bug is only present when you run Flatboard on Windows.
While waiting for the update, here is how you can fix it:
Replaces the lines :
1. init.php, line 44 :
2. add.php, line 11 :
3. auth.php, line 11 :
4. blog.php, line 12 :
5. config.php, line 11 :
6. delete.php, line 11 :
7. edit.php, line 11 :
8. feed.php, line 11 :
9. header.php, line 16 :
10. index.php, line 11 :
11. install.php, line 12 :
12. lib/Captcha.lib.php, line 15 :
13. plugin/identicon/autoload.php, line 20 :
14. plugin/identicon/autoload.php, line 22 :
15. search.php, line 11 :
16. view.php, line 11 :
This bug will be fixed in the next version.
This bug is only present when you run Flatboard on Windows.
While waiting for the update, here is how you can fix it:
Replaces the lines :
1. init.php, line 44 :
if(!defined('JSON_PRETTY_PRINT')) define('JSON_PRETTY_PRINT', 128);
2. add.php, line 11 :
require_once __DIR__ . '/' . 'header.php';
3. auth.php, line 11 :
require_once __DIR__ . '/' . 'header.php';
4. blog.php, line 12 :
require_once __DIR__ . '/' . 'header.php';
5. config.php, line 11 :
require_once __DIR__ . '/' . 'header.php';
6. delete.php, line 11 :
require_once __DIR__ . '/' . 'header.php';
7. edit.php, line 11 :
require_once __DIR__ . '/' . 'header.php';
8. feed.php, line 11 :
require_once __DIR__ . '/' . 'header.php';
9. header.php, line 16 :
const DS = '/';
10. index.php, line 11 :
require_once __DIR__ . '/' . 'header.php';
11. install.php, line 12 :
const DS = '/';
12. lib/Captcha.lib.php, line 15 :
'font_path' => __DIR__ . '/' . 'arial.ttf',
13. plugin/identicon/autoload.php, line 20 :
$fileName = str_replace('\\', '/', $namespace) . '/';
14. plugin/identicon/autoload.php, line 22 :
$fileName = __DIR__ . '/' . $fileName . $className . '.php';
15. search.php, line 11 :
require_once __DIR__ . '/' . 'header.php';
16. view.php, line 11 :
require_once __DIR__ . '/' . 'header.php';
- Before ask a question, read the documentation.
- 🎉 Featured as #1 product of the day on Product Hunt
- Please like in alternativeto.net 👍🏻
- ╰☆╮Flatboard╰☆╮ is a open source and community contributions are essential to project success!
- <TextField>, my new CMS project designed by a passionate developer, for developers!
- My last project Fast⚡︎CMS, a Flat-File cms.
- I am currently busy 😫.
The last release correct this error, i close this thread.
If you have other errors, thank to open new thread.
If you have other errors, thank to open new thread.
- Before ask a question, read the documentation.
- 🎉 Featured as #1 product of the day on Product Hunt
- Please like in alternativeto.net 👍🏻
- ╰☆╮Flatboard╰☆╮ is a open source and community contributions are essential to project success!
- <TextField>, my new CMS project designed by a passionate developer, for developers!
- My last project Fast⚡︎CMS, a Flat-File cms.
- I am currently busy 😫.
Suggested Topics
AlexanderLiebrecht@5e3cf8af
started 🇩🇪 Fred, Are you doing well with Flatboard?
Open Bar
topicsandreplies
started topics and replies
General Questions
JesusGod-Pope666@c1adcbb2
started I'm just looking around and thinking
General Questions
Tillreetree@fc7e1f5a
started Where can I get an older version of Flatboard?
General Questions