Hi I have just done a fresh install of fuel CMS version 0.91.
And i can't view the admin area i get this: FORBIDDEN - You don't have permission to access /_fuelcms/fuel/ on this server.
i have the .htaccess set to: RewriteBase /_fuelcms/
the FCPATH output is: /Applications/MAMP/htdocs/_fuelcms/
Can you help me out, thanks.
Comments
FCPATH: C:\xampp\htdocs\fuel\
Notice: Undefined offset: -1 in C:\xampp\htdocs\fuel\fuel\modules\fuel\config\fuel_constants.php on line 14
again when i go to here: http://127.0.0.1/fuel/fuel/
i get this:
Access forbidden!
You don't have permission to access the requested directory. There is either no index document or the directory is read-protected.
If you think this is a server error, please contact the webmaster.
Error 403
Yes, mod_rewrite is active and working fine with other sites.
The FCPATH should include index.php at the end like so. C:\xampp\htdocs\fuel\index.php
CodeIgniter sets that constant on line 94 in the index.php bootstrap file. I'll need to do a little research into why
define('FCPATH', __FILE__);
does not return index.php as part of the path. Are you by chance using fast-cgi for your php instead of the Apache module (phpinfo() should tell you)?
My Setup:
- Using xampp
- Mod_rewrite active and working fine.
- Windows System
- PHP 5 & MySQL 5
- Apache 2
- NO Fast-CGI
Site location: C:\xampp\htdocs\fuelcms\
----------------------------------------------------------------------
Install Problems:
1. Type in: http://127.0.0.1/fuelcms/index.php/
I get FCPATH: C:\xampp\htdocs\fuelcms\
I get the Welcome to FUEL CMS page, but above the logo and title i have this:
Notice: Undefined offset: -1 in C:\xampp\htdocs\fuelcms\fuel\modules\fuel\config\fuel_constants.php on line 15
A PHP Error was encountered
Severity: Warning
Message: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\fuelcms\fuel\modules\fuel\config\fuel_constants.php:13)
Filename: libraries/Session.php
Line Number: 670
A PHP Error was encountered
Severity: Warning
Message: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\fuelcms\fuel\modules\fuel\config\fuel_constants.php:13)
Filename: libraries/Session.php
Line Number: 670
-------------------------------------------------------------------
2. Type in: http://127.0.0.1/fuelcms/index.php/fuel/login, and i get this:
I get FCPATH: http://127.0.0.1/fuelcms/index.php/fuel/login
I get the Login Box, but above this i have this:
Notice: Undefined offset: -1 in C:\xampp\htdocs\fuelcms\fuel\modules\fuel\config\fuel_constants.php on line 13
A PHP Error was encountered
Severity: Warning
Message: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\fuelcms\fuel\modules\fuel\config\fuel_constants.php:13)
Filename: libraries/Session.php
Line Number: 670
A PHP Error was encountered
Severity: Warning
Message: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\fuelcms\fuel\modules\fuel\config\fuel_constants.php:13)
Filename: libraries/Session.php
Line Number: 670
-------------------------------------------------------------------
3. Once logged in i see only errors like this:
Notice: Undefined offset: -1 in C:\xampp\htdocs\fuelcms\fuel\modules\fuel\config\fuel_constants.php on line 13
A PHP Error was encountered
Severity: Warning
Message: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\fuelcms\fuel\modules\fuel\config\fuel_constants.php:13)
Filename: libraries/Session.php
Line Number: 670
A PHP Error was encountered
Severity: Warning
Message: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\fuelcms\fuel\modules\fuel\config\fuel_constants.php:13)
Filename: libraries/Session.php
Line Number: 670
A PHP Error was encountered
Severity: Warning
Message: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\fuelcms\fuel\modules\fuel\config\fuel_constants.php:13)
Filename: libraries/Session.php
Line Number: 670
A PHP Error was encountered
Severity: Warning
Message: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\fuelcms\fuel\modules\fuel\config\fuel_constants.php:13)
Filename: libraries/Session.php
Line Number: 670
A PHP Error was encountered
Severity: Warning
Message: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\fuelcms\fuel\modules\fuel\config\fuel_constants.php:13)
Filename: core/Input.php
Line Number: 226
A PHP Error was encountered
Severity: Warning
Message: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\fuelcms\fuel\modules\fuel\config\fuel_constants.php:13)
Filename: helpers/url_helper.php
Line Number: 54
-------------------------------------------------------------------
The info for database.php file have been added, and in the config/MY_fuel.php file just these have been changed: $config['admin_enabled'] = TRUE; and $config['fuel_mode'] = 'auto';.
No other fuel settings have been touch just pasted in folder and viewed.
i removed xampp and installed WAMP and it works!
The only thing i keep getting is this:
Notice: Undefined offset: -1 in C:\wamp\www\fuelcms\fuel\modules\fuel\config\fuel_constants.php on line 12
And in config.php if i remove $config['index_page'] = ""; with mod_rewrite active it won't work, just goes back to wamp homepage. or i get Forbidden message.
https://github.com/daylightstudio/FUEL-CMS/tree/0.91
Admin area at http://localhost/fuel/fuel is working. any thoughts?
still can't get it working. config.php there wasn't fuel_mode value at all. i added it, but no success. fuel is installed in fuel dir relative to webservers root
Options +FollowSymLinks
RewriteEngine On
RewriteBase /fuel
why i can't get this working?
in admin->pages when i click view (http://localhost/fuel/fuel/pages/view/1) i get transfered to http://localhost/fuel/test
http://localhost/fuel/ displays welcome message with getting stated guide
http://getfuelcms.com/forums/discussion/3/problems-with-.htaccess-and-404-dashboard-not-found/#Item_18