Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

11
  • What is the file path and classname of the controller? Commented Sep 23, 2014 at 2:11
  • Class name is: class NewsShowcaseController extends JController, "News Showcase" is the name of the custom component I'm building, path is: administrator/components/com_newsshowcase/controller.php Commented Sep 23, 2014 at 2:18
  • If you put a statement like echo 'Anything'; in that upload function (toward the top), that is showing up, right? Commented Sep 23, 2014 at 3:21
  • Also just double checked all the code, and everything works for me. I'd check the file size of the file that you are uploading. It may exceed your php.ini limits. Commented Sep 23, 2014 at 3:26
  • When I put a 'echo "test";' after the $filename line it will show the word "test" printed out. I tried a smaller image and still no luck. I tried a couple of things that I added to the original post that, unfortunately, still didn't help. Commented Sep 23, 2014 at 11:14