Questions tagged [Fat-Free Framework] (19)

1
answer

Fatal eror-How to fix not login to the admin panel?

Fatal error: Uncaught Error: [] operator not supported for strings in /var/www/apteka24.tj/data/www/apteka24.tj/wp-content/plugins/revslider/includes/framework/base-admin.class.php:71 Stack trace: #0 /var/www/apteka24.tj/data/www/apteka24.tj/wp-content/plugins/revslider/admin/revslider-admin.class.php(465): RevSliderBaseAdm...
Westley.Mo asked March 19th 20 at 20:35
0
answer

How to link the F3 framework with sockets Wokrerman?

The project authorization, if successful, enter login\password in the session.id is filled in with the user id from the database. How do you connect to the server to know who is connected (id) and get his username from the database?
sonia.Runolfsson asked March 16th 20 at 21:43
5
answers

Websites are written in Fat-Free Framework

A few months ago I read on habré article about microframework Fat-Free. I decided to try and wrote a few small projects on it. The framework he liked it and was struck by its simplicity in learning. Want a deeper dive into this framework. If anybody knows a CMS written using this framework? Or at least examples of some? ...
princess_Bechtelar asked October 8th 19 at 07:16
6
answers

PHP micro framework: Fat free vs Slim?

There is a need to write a small promo-website (multiple languages, a couple of static pages, guest book, pre-orders, several interactive buns). This gives you the opportunity to try out some micro framework. Choose between Fat-free and Slim. Read the source on the diagonal.F3 seems to be easier, more features out of the bo...
Brandon.Jast asked October 7th 19 at 11:05
1
answer

Why a POST request does not save form data in database?

Deal with fat-free framework here on this article www.w3programmers.com/crud-with-fat-free-framework Trying to replicate the example with a few changes, and you have no way from the form in the database. when POST request (add or change) is returned again to the screen with the form without any errors. All sources are not s...
camden80 asked September 28th 19 at 03:58
2
answers

As for fat-free framework to encrypt a password in md5 and send by post method?

Hello, make a website here for this example: valex.net.ru/fatfree-mvc.html Only I've got my users and all other fields. On that basis doing admin area with ability to edit users. Only here how can I pass encrypted password in md5 in the table do not know, because it transmits a text. There is an option to make js to encode ...
dayana_Rippin81 asked September 24th 19 at 19:58
2
answers

Two different controller to one site on fat-free framework, how to do?

Make a website for example: valex.net.ru/fatfree-mvc.html There is a controller in the folder controllers under the name Controller.php Which loads the template for the adminfunction afterroute() { echo Template::instance()->render('admin_layout.html'); }But when finished the administrator and passed to the client side...
dayana_Rippin81 asked September 24th 19 at 19:28
2
answers

How to sort table data by columns in fat free?

Help until the morning you need to do sorting the table by columns Everything works on the F3 framework Code of the page which displays the table itself:<repeat group="{{ @connects }}" value="{{ @connects }}"> </repeat><table cellpadding="3" class="table table-hover table-bordered"> <thead> the <...
dayana_Rippin81 asked September 24th 19 at 12:06
1
answer

Where to find the instruction in Russian at the fat free framework (F3) ?

Picking this framework, but since I'm beginner it is very difficult that the right and nice to do, where you can find the manuals, examples or pieces of code with comments to quickly to understand it ? I would like to find a manual on writing of the authorization and registration by checking the input data (usernames and e-...
dayana_Rippin81 asked September 24th 19 at 11:11
0
answer

How to work with two tables on one page in fat free framework ?

There is the controller:<?php class Controller { protected $f3; protected $db; beforeroute function() { } function afterroute() { echo Template::instance()--->render('client_layout.html'); } function __construct() { $f3=Base::instance(); $db=new DB\SQL( $f3->get('db_host') . $f3->get('db_name'), $f3-...
dayana_Rippin81 asked September 24th 19 at 10:46