i get this when creating a project:
A PHP Error was encountered
Severity: Notice
Message: Undefined property: Module::$security
Filename: helpers/security_helper.php
Line Number: 43
Fatal error: Call to a member function xss_clean() on a non-object in /Applications/MAMP/htdocs/_fuelcms/fuel/codeigniter/helpers/security_helper.php on line 43
Comments
http://localhost:8888/_fuelcms/index.php/fuel/projects/create
https://github.com/daylightstudio/FUEL-CMS/tree/0.91
But a few more have now raised.
1. uploading a new image for the project gives you:
Fatal error: Call to undefined method CI_Input::xss_clean() in /Applications/MAMP/htdocs/_fuelcms/fuel/modules/fuel/controllers/module.php on line 1189
URL is: http://localhost:8888/_fuelcms/index.php/fuel/projects/edit/3
2. When selecting an image from "Select Image" button to choose an existing image, the image won't show up, cause i think it's adding '_thumb' to it.
eg.http://localhost:8888/_fuelcms/assets/images/projects/projects/showcase1_thumb_thumb.png
I get: http://localhost:8888/_fuelcms/assets/images/projects/blog/team_placeholder_thumb.png.
3. you can create a new page and a nav link for the new page, but when you click the link you get 404.
http://localhost:8888/_fuelcms/index.php/services
https://github.com/daylightstudio/FUEL-CMS/tree/0.91
Specifically, I changed $this->input->xss_clean to just use the xss_clean function instead (because it no longer exists on input in 2.0). The asset select button now should just limit you to the images/projects subfolder which was a change I put in the projects_model::form_fields() (around line 26)
Working on 3 still.
path to preview: http://localhost:8888/_fuelcms/assets/images/projects/blog/team_placeholder.png
(note: just found that the wysiwyg textarea image icon works with showing image preview.)
Uploading an image still has issues, can't upload image, get either:
- The filetype you are attempting to upload is not allowed. (this image is a .jpg at 650kb)
- The upload destination folder does not appear to be writable. (assets/images, has 777 permissions)
-------------------------------------------------
Create navigation link issue:
when i create a new link and click save the Nav Key field highlights red and i get a blank error message at the top of the page. And when i then click the Navigation button in the left hand column i don't see the new nav link, but if i viewed another existing nav link and then select the drop down menu, it's there, the new link is there.
With regards to the navigation, do you get that error message for all new navigation items you create or just ones with a certain location value? I'm not able to replicate it locally yet so any help with those details would be appreciated. Thanks.