Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

[FIXED] Invasive error message when uploading wrong extension type 01 Jan 2017 23:42 #14893

  • MorganL
  • MorganL's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
  • Posts: 438
  • Thank you received: 53
Mime type now seems to be enforced HOWEVER the error message is still majorly invasive

It tales you to a full page error (in sandbox or personal site) that reads (proper error is at the end)
An error has occurred while processing your request.

You may not be able to visit this page because of:

an out-of-date bookmark/favourite
a mistyped address
a search engine that has an out-of-date listing for this site
you have no access to this page
Go to the Home Page

 Home Page

If difficulties persist, please contact the System Administrator of this site and report the error below.

0 This file extension ( pdf ) is not accepted, the accepted files are : jpg,jpeg,png
Morgan Leecy MCSE

Novell / Linux
PHP. MYSQL, Apache, node.js
Coldfusion, JQuery, HTML5
Joomla

Please Log in or Create an account to join the conversation.

[FIXED] Invasive error message when uploading wrong extension type 02 Jan 2017 12:22 #14895

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
True...

This is because I am using the 'throw' method, and it is catched by Joomla.
Fixed. Tell me if you prefer it now....

The item controller now catches it and queue a simple warning message.
Coding is now a piece of cake
The following user(s) said Thank You: MorganL

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Time to create page: 0.049 seconds

This is what you call a component builder. I was able to master using this in a very short time and the resulting component works like a charm. Not just a basic component builder but a fully working component builder with forms fields tables all ready to go. You can make the list and item views to display in the front and back end. Also there is a great forum just starting to evolve and I'm sure this will grow very rapidly when you all realise how good this tool is.
Kevin (JED)

         

Get Started