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

TOPIC:

JLoader Strict Standard 07 Dec 2016 19:13 #14828

  • liubov
  • liubov's Avatar Topic Author
  • Offline
  • Elite Member
  • Elite Member
  • (=) 10 mn and it's ready!
  • Posts: 279
  • Thank you received: 36
Hi Admin,

If I set the Joomla!3.6.4 Error Reporting as 'Developpement', I get this message when i run my component :
Strict standards: Declaration of JbreedingClassLoader::registerAlias() should be compatible with JLoader::registerAlias($alias, $original, $version = false) in /var/www/html/joomla360/administrator/components/com_jbreeding/classes/loader.php on line 0
For the moment, it's not a php fatal error, but I am a Joomla!3.7-dev beta tester, and this error clearly failed as Fatal Error with this version.

I guess it comes from the missmatch parameters sent, 'not compatible' it says ;p
is it possible to have a look about that...

thx

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

Last edit: by liubov.

JLoader Strict Standard 07 Dec 2016 19:21 #14829

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
Strange.
For me this is fixed since Joomla 3.6.4 has been released.
I remember that the declaration changed in the JLoader class.

check the file
classes/loader.php

For me, I have :
public static function registerAlias($alias, $original, $version = false)
Which seems to be correct.

And you ?
Coding is now a piece of cake
The following user(s) said Thank You: liubov

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

JLoader Strict Standard 07 Dec 2016 19:34 #14830

  • liubov
  • liubov's Avatar Topic Author
  • Offline
  • Elite Member
  • Elite Member
  • (=) 10 mn and it's ready!
  • Posts: 279
  • Thank you received: 36
public static function registerAlias($alias, $original)

Ok, it's my fault, I didn't updated the classes/loader.php. Because I have now many many custom code, I have to follow the Jcook-sources and update files manualy ...

Very sorry !

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

Last edit: by liubov.

JLoader Strict Standard 07 Dec 2016 19:39 #14831

  • liubov
  • liubov's Avatar Topic Author
  • Offline
  • Elite Member
  • Elite Member
  • (=) 10 mn and it's ready!
  • Posts: 279
  • Thank you received: 36
No php error with the good file :)
work fine now !

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

JLoader Strict Standard 07 Dec 2016 20:02 #14832

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
Fine.
Coding is now a piece of cake

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

  • Page:
  • 1
Time to create page: 0.063 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