JCollection Homepage

  • Increase font size
  • Default font size
  • Decrease font size
Home Forum
Welcome, Guest
Please Login or Register.    Lost Password?

Search creates a warning notification
(1 viewing) (1) Guest
General questions regarding JCollection
Go to bottomPage: 1
TOPIC: Search creates a warning notification
#688
Search creates a warning notification 7 Months, 2 Weeks ago  
Hello Thorsten,

I don't know if I am doing this correctly, but I have a search module already installed on my website. If I use it to perform a search and select the Jcollection box, it finds the correct files but gives a notification like this.

Undefined property: stdClass::$browsernav in /home/vhosts/riversideplayers.co.uk/httpdocs/components/com_search/views/search/tmpl/default_results.php on line 14

This does not occur on other files found on the system, only those in the jcollection area.

Are you abel to suggest what might be happening and how to remedy.

thanks
Ian
ostracman
Posts: 9
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#689
Re: Search creates a warning notification 7 Months, 2 Weeks ago  
Hi,
thanks for the hint. Those messages are PHP notices (or warnings), that (in a perfect world) should not be generated. However, in some cases those messages are generated, mostly due to a lack of checking the presence of variables or something. Although those messages don't mean fatal errors (in most cases), they are usually ugly and you do not want to expose those to the visitors of your website (and in the worst case scenario, they can also be a security threat). So, on a production server, please switch off the PHP message output (there are some options in the php.ini). I am pretty sure that JCollection isn't the only component where you'll encounter such messages once in a while - but I try to avoid the generation of those warnings as much as possible.
HTH,
Thorsten.
tcriess
Posts: 296
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 1

Donations

If you like JCollection, please consider a small donation to help developing the component. If you don't have a PayPal account and still wish to donate, feel free to send an Amazon.de gift certificate (to thorsten.riess@sh-riess.de). Thank you very much!

Amount: 

Flattr

Advertisement