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.103 seconds

Just wanted to congratulate you on the J-Cook website / web development tool. In a couple of visits I've had a play around with Cook and have to say I think it is fantastic.  I've played with a number of component builders in the past and yours is certainly looking like the best so far. I'd also like to help you spread the word - I'm really surprised more people aren't excited about this tool. Good luck with the project.
Dean

Get Started